Skip to content

Internal error on R extraction #2111

Closed

Description

@klayoutmatthias

Script to reproduce:

import klayout.db as kdb
import klayout.pex as pex

region15 = kdb.Region()
region15.insert(kdb.Polygon([(1395,700), (1395,1440), (1830,1440), (1830,800), (1760,800), (1760,700)]))
regions = { 15: region15 }

vertex_ports = {}
polygon_ports = {
  15: [ kdb.Polygon([ (1395,700), (1395,1440), (1830,1440), (1830,800), (1760,800), (1760,700) ]) ]
}

tech = pex.RExtractorTech()
cond = pex.RExtractorTechConductor()
cond.layer = 15
cond.resistance = 0
cond.algorithm = pex.Algorithm.Tesselation
tech.add_conductor(cond)

rex = pex.RNetExtractor(0.001)
resistor_network = rex.extract(tech,
  regions,
  vertex_ports,
  polygon_ports)

Gives this error:

ERROR: src/db/db/dbPLCTriangulation.cc,238,! m_is_constrained

Expected result: no error raised.

Activity

  1. added a commit that references this issue on Aug 9, 2025
  2. added this to the 0.30.4 milestone on Aug 9, 2025
  3. added a commit that references this issue on Aug 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions