Matthias Koefferlein
f346e70746
RecursiveShapeIterator now features a push mode
...
This will eventually enable catching a hierarchy
skeleton (with shapes) from a RecursiveShapeIterator.
2018-11-12 23:44:26 +01:00
Matthias Koefferlein
c91f54569a
Provide GSI bindings for the new edge pair support
...
This affects Shapes and Shape. New methods from EdgePairs are added
and minor enhancements of Region and Edges. Ruby tests added
2018-11-10 22:41:40 +01:00
Matthias Koefferlein
7a37da91e0
EdgePairs refactoring
...
- Uses a db::Shapes container
- Aligned with db::Edges and db::Region
- With original layer delegate
2018-11-10 00:07:53 +01:00
Matthias Koefferlein
8e19474095
Introduced edge pairs as valid shapes for db::Shapes
2018-11-09 22:59:26 +01:00
Matthias Koefferlein
b9b00a08b5
Many bug fixes after refactoring.
2018-11-09 01:14:22 +01:00
Matthias Koefferlein
8107e1bb51
Refactoring: separated sources for db::Region
2018-11-07 22:17:51 +01:00
Matthias Koefferlein
9c92a9c72e
Region refactoring: many unit tests are passing again.
2018-11-07 00:45:29 +01:00
Matthias Koefferlein
7062c4acf5
WIP: next part of region refactoring.
2018-11-05 00:25:16 +01:00
Matthias Koefferlein
3392c08d36
Merge branch 'pymod' into net-extract
2018-10-09 23:43:58 +02:00
Matthias Koefferlein
db981b0f7d
A huge patch to make Windows build functional again after recent updates
...
The issue was: for MacOS/clang, the virtual format-specific
option structs had to be embedded in one compile unit (for RTTI).
In Windows this will lead to link errors since the DLL is not
reachable at build time for the generic reader/writer configuration in
the buddy tools.
The solution is to use GSI methods (provided for scripting) to
set the reader/writer options in a generic way that does not
require linking against the plugin DLLs.
2018-10-08 23:31:22 +02:00
Matthias Koefferlein
c75e67268b
Merge branch 'pymod' into net-extract
2018-09-26 21:40:23 +02:00
Matthias Koefferlein
6795de1dbb
Merge remote-tracking branch 'remotes/origin/master' into pymod
...
Provides fixes for issue #166 and #172 .
2018-09-26 21:15:08 +02:00
Matthias Koefferlein
3214200e17
WIP: code factory
2018-09-22 02:45:56 +02:00
Matthias Koefferlein
b25401c254
Added twofold-typed box scanner.
2018-09-20 23:44:51 +02:00
Matthias Koefferlein
6efdb3a9e1
Added testcase for #166 .
2018-09-17 01:51:23 +02:00
Matthias Koefferlein
f72fda7bae
Added test case for #166 .
2018-09-17 01:48:31 +02:00
Matthias Koefferlein
e9de4252fb
Fixed #166 (internal error when writing GDS file)
...
This fix consists of computing the intersection
points in the split procedure with higher resolution
to avoid topology changes due to snapping on the cut
line.
2018-09-17 01:29:31 +02:00
Matthias Köfferlein
28f8a1ee7d
Merge branch 'pymod' into pymod-msvc
2018-09-07 22:56:22 +02:00
Matthias Köfferlein
356a468d66
A couple of changes to make MSVC work - not done yet.
2018-09-02 00:40:35 +02:00
Matthias Koefferlein
c9771f54eb
Merge branch 'master' into pymod
2018-09-01 09:37:08 +02:00
Matthias Köfferlein
af50c0f0c3
Many warnings fixed for MSVC
2018-08-29 01:46:18 +02:00
Matthias Koefferlein
8578918764
Updated PolygonTools test with recent edge processor update.
2018-07-23 20:28:01 +02:00
Matthias Koefferlein
6b48b2bb3d
Fixed Edge unit tests.
2018-07-23 19:37:36 +02:00
Matthias Koefferlein
f05b3249ca
Fixed fast EdgeProcessor unit tests with recent update.
2018-07-23 19:36:00 +02:00
Matthias Koefferlein
2178b72704
Refined test for 74 issue for different orientations.
2018-07-23 19:12:12 +02:00
Matthias Koefferlein
5741a120e9
More precise point/edge interaction for scanner
2018-07-22 22:52:04 +02:00
Matthias Koefferlein
efd9e47c1f
Attempt to fix a scanline issue.
2018-07-22 18:49:17 +02:00
Matthias Koefferlein
2b64c4bf82
Bugfix: multithread-safety for gsi::Proxy (required for the tiling processor use case).
2018-07-06 00:56:34 +02:00
Matthias Koefferlein
803a29037a
Added test for reproducing threading issue on TP
2018-07-06 00:09:22 +02:00
Matthias Koefferlein
a82adbbe83
Massive reduction of Qt dependencies, but also massive refactoring.
2018-07-03 00:51:36 +02:00
Matthias Koefferlein
94387529d6
Fixed #134
...
The issue was caused by an internal error in the edge processor.
Effectively the weak attractor scheme was causing this problem.
As the weak attractors are making things worse rather than
better I dropped them.
In theory, the weak attractors render an edge undisturbed by
neighboring intersection points, but in cases or parallel edges
this lead to problems: omitting cut points violates the output
edge configuration warranties the the polygon stitcher fails.
In addition, to maintain the solution for bug #74 , the cut point
capture condition was relaxed, so that edge crossing the exact
corner of the snapping rectangle of a point are not considered
captured.
2018-06-26 01:04:20 +02:00
Matthias Koefferlein
5421f77e61
WIP: finished refactoring to plugins for CIF, DXF & OASIS too.
2018-06-13 22:23:27 +02:00
Matthias Koefferlein
9883ea5679
WIP: added streamers plugin structure (partially)
2018-06-13 21:39:39 +02:00
Matthias Koefferlein
409392d561
WIP: started refactoring the plugin structure. Goal: standalone db module with it's own plugins like LEF/DEF, Gerber, MEBES including GSI bindings.
2018-06-13 00:33:43 +02:00
Matthias Koefferlein
f74f2d3416
Fixed bug #121 (reopening of PCell's in GDS and - partially - in OASIS)
2018-05-17 22:24:32 +02:00
Matthias Koefferlein
a4b396535f
Fixed #116 (polygon cutting issue)
...
Last step: polygon cut algorithm with fallback: merge before cut on invalid polygons.
2018-04-24 20:58:00 +02:00
Matthias Koefferlein
9622a2e669
WIP: added testcases for extreme polygon decomposition on GDS writing.
2018-04-24 19:28:45 +02:00
Matthias Koefferlein
ca9a6db8a5
Scanline polygon generator: avoid spikes
...
The implementation of the scanline polygon generator
will avoid spikes as hole cutlines. Helps
fixing #116 .
2018-04-23 22:22:32 +02:00
Matthias Koefferlein
067d52a269
FEATURE: DXF accuracy and "keep layer names" feature
...
* "keep layer name" will not try to modify layer names into
GDS layer/datatypes. The feature is available in the DXF
reader options and for the buddy scripts as "--keep-layer-names"
It applies to CIF too.
* "contour accuracy": when merging lines into contours, this
accuracy is applied to find neighbors. By default this value
is 0. If set to a value >0, points with distances (square
metrics) less than this value will be connected.
The buddy script option is --dxf-contour-accuracy=value.
2018-04-18 23:34:59 +02:00
Matthias Koefferlein
86a90571e6
WIP: DXF keep layer names option, refactoring, added tests, UI, XML serialization.
2018-04-16 19:47:12 +02:00
Matthias Koefferlein
e1922da3b2
Better memory statistics.
2018-04-15 00:54:30 +02:00
Matthias Koefferlein
d3227b5bda
Merge branch 'master' of https://github.com/Kazzz-S/klayout
2018-04-07 16:02:39 -07:00
Matthias Koefferlein
da1daae1d8
Fixed #107 (Undo not working with shapes)
2018-04-07 16:00:37 -07:00
Matthias Koefferlein
829966d9a1
Fixed #108 (Box#enlarge, Box#move on empty boxes)
2018-04-07 09:21:50 +02:00
Matthias Koefferlein
415d52f35d
Fixed some issues found by Coverity scan.
2018-03-19 18:24:09 +01:00
Matthias Koefferlein
802237141b
Fixed #90 (DRC issue with 'extended' and joined = true)
2018-03-12 00:47:04 +01:00
Matthias Koefferlein
2f46f0d1c6
Fixed some issues found with Coverity.
2018-02-21 00:21:19 +01:00
Matthias Koefferlein
6df645a917
Fixed #74 (small-corner boolean issue). Tests need update
2018-02-08 23:12:58 +01:00
Matthias Koefferlein
808159bcab
Fixed #72 (Edges/Region NOT issue)
2018-02-01 22:35:47 +01:00
Matthias Koefferlein
23c2ae7306
Fixed #69 (DRC: 'inside' does not merge shapes of second input)
2018-01-30 00:40:17 +01:00