mirror of
https://github.com/KLayout/klayout.git
synced 2026-08-29 17:30:09 +02:00
Addressing issue #2011
- "report" can now be late in DRC without internal error Yet, the report will only capture the output layers after the report statement has been called. - Text objects don't create zero-area polygons in deep mode XOR now.
This commit is contained in:
Vendored
+26
@@ -0,0 +1,26 @@
|
||||
|
||||
source $drc_test_source
|
||||
target $drc_test_target
|
||||
|
||||
if $drc_test_deep
|
||||
deep
|
||||
end
|
||||
|
||||
l1 = input(1, 0)
|
||||
l2 = input(2, 0)
|
||||
|
||||
l1.output(1, 0)
|
||||
l2.output(2, 0)
|
||||
|
||||
x = l1 ^ l2
|
||||
|
||||
# we detect point-like polygons here by explicitly
|
||||
# iterating. The enlargement makes sure, we have something
|
||||
# to write to the output layout.
|
||||
boxes = x.data.each.collect do |p|
|
||||
RBA::Box::new(p.bbox.enlarged(10, 10))
|
||||
end
|
||||
x.data = RBA::Region::new(boxes)
|
||||
|
||||
x.output(10, 0)
|
||||
|
||||
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
Reference in New Issue
Block a user