Commit Graph
2563 Commits
Author SHA1 Message Date
Matthias Koefferlein b369137741 Fixing issue #2362
1. Python does a range check for values passed to int, unsigned int, short, unsigned short
   (and longs on Windows)
2. The round trip of a MIN_INT value through string now works
2026-08-23 15:17:45 +02:00
Matthias Köfferlein 3937a1f4ed Merge pull request #2431 from KLayout/bugfix/issue-2429
Bugfix: Fixing issue #2429 (PEX error)
2026-08-23 14:03:58 +02:00
Matthias Koefferlein a8669d35ce Cleanup 2026-08-22 22:21:01 +02:00
Matthias Koefferlein 9fad2ff1fa Fixing issue #2429 by introducing a rectangular envelope for triangulation
Previously the algorithm tried to dynamically build a convex envelope.
However, in case of the #2429 polygon, this rendered extremely skinny
triangles which could not be removed.

These caused numerical issues.
2026-08-22 22:15:55 +02:00
Matthias Koefferlein 0c8a3387ee WIP 2026-08-22 17:35:25 +02:00
Matthias Köfferlein e06b188633 Merge pull request #2430 from KLayout/bugfix/issue-2428
Bugfix/issue 2429
2026-08-21 23:11:23 +02:00
Matthias Köfferlein ddf6d03e00 Merge pull request #2420 from KLayout/wip
Wip
2026-08-21 23:10:53 +02:00
Matthias Koefferlein 67d4758354 Refined bug fix 2026-08-21 16:58:47 +02:00
Matthias Koefferlein ca45619b2b WIP 2026-08-21 01:17:25 +02:00
Matthias Koefferlein a435b186a7 A proposal to fix the issue 2026-08-21 00:52:11 +02:00
Matthias Koefferlein 34dfd5fa96 Fixing Windows builds 2026-08-20 14:40:53 +02:00
Matthias Koefferlein 64497a0361 Merge branch 'master' into wip 2026-08-20 11:23:50 +02:00
Matthias Koefferlein 7351a880e7 Resolving conflicts 2026-08-20 11:21:01 +02:00
Matthias Koefferlein 1b48dcb4cd Clarify documentation. 2026-08-20 09:44:24 +02:00
Matthias Koefferlein 6b4e3b6e2a Fixing issue #2423 (local merge has to capture touching shapes) 2026-08-20 09:39:24 +02:00
Matthias Koefferlein e22aeea494 WIP: debugging, added const version of parameter getter 2026-08-17 18:54:52 +02:00
Matthias Koefferlein 64e83c96dd WIP 2026-08-17 01:39:53 +02:00
Matthias Koefferlein 5d16171107 WIP: further preparations 2026-08-16 17:00:29 +02:00
Matthias Koefferlein 8ed6abba19 WIP: preparations for custom PCell parameter pages 2026-08-16 15:29:24 +02:00
Matthias Koefferlein 7d70b83e9d Edge layers are ignored in flat LVS's name() function like in deep mode 2026-08-15 21:14:44 +02:00
Matthias Koefferlein 2e54668001 Avoid a crash on invalid vector fonts 2026-08-15 00:09:34 +02:00
Matthias Koefferlein 8e6e72fd83 Fixing bug #2416 (two-layer DRC check without merged first input produces separation violations that 0.30.9 does not report) 2026-08-11 23:19:25 +02:00
Matthias Koefferlein aa6f49fc1c Fixed a flaw: PCellDeclarationHelper documentation was not visible for Python 2026-08-09 21:29:53 +02:00
Matthias Koefferlein d35e21be29 Rewriting Python samples to klayout.* modules, fixing some bugs and flaws in the samples 2026-08-09 16:43:11 +02:00
Matthias Koefferlein 22042a0b10 DXF: avoiding generating duplicates of zero layer during DXF read/write spin. 2026-08-07 00:12:52 +02:00
Matthias Koefferlein 189ba72666 Performance enhancements for two-layer DRC checks
The main optimization was introducing "distance overrides"
in the local processor. That means, the primary shapes
mixed in for local merge are collected with distance 0,
while the shapes from the other layer are collected with
the check distance.

Some more optimizations involve early shortcuts in some
cases.
2026-07-23 22:48:42 +02:00
Matthias Koefferlein 1e02ffe539 More consistently inherit the min_coherence flag during flat Region operations 2026-07-22 23:29:59 +02:00
Matthias Koefferlein 9382e259ce Adding support for min_coherence toggling in OriginalLayerRegion 2026-07-22 23:11:26 +02:00
Matthias Koefferlein 51f39d71e2 WIP: hardening FlatRegion against min_coherence toggles (IHP PDK optimization) 2026-07-22 22:30:09 +02:00
Matthias Koefferlein 7ed80e6dd8 Bugfix: inserting a Shapes container into another one did not always properly consider translation from editable to non-editable one and vice-versa 2026-07-22 22:29:12 +02:00
Matthias Koefferlein a82f428d4c WIP: hardening DeepRegion against min_coherence toggles (IHP PDK optimization) 2026-07-22 00:00:33 +02:00
Matthias Koefferlein 5055d4fcf4 Merge remote-tracking branch 'origin/master' into wip 2026-07-20 23:20:47 +02:00
Matthias Koefferlein 93c43d049a Bugfix: Region#edges wasn't working properly in deep mode with properties - edges are not separated according to polygon properties 2026-07-20 01:09:47 +02:00
Matthias Koefferlein 5060d0fcdb Refactoring 2026-07-20 01:00:24 +02:00
Matthias Koefferlein b2b5df3d45 Some refactoring 2026-07-19 23:36:14 +02:00
Matthias Koefferlein 484ab91850 WIP: deep mode implementation of enhanced 2-layer check, tests 2026-07-19 20:53:27 +02:00
Matthias Koefferlein a75f1d77e3 WIP: trying performance improvement of two-layer DRC checks (do merge internally instead of before) 2026-07-19 19:55:05 +02:00
Matthias Koefferlein b51187bf7c Merge branch 'master' into wip 2026-07-19 15:13:40 +02:00
Matthias Koefferlein ca61d8d4af Fixing issue #2392 (PCell rebinding fails aber technology change)
The bug was that the rebinding by name did not happen
because the name was looked up in the wrong layout.

A testcase has been added to test proper PCell rebinding
in case of technology switches.
2026-07-18 15:44:25 +02:00
Matthias Koefferlein 8b867bbc44 Fixing tests after layer names get loaded properly 2026-07-18 00:38:38 +02:00
Matthias Koefferlein edad8f5221 Bugfix: update layer names in layer list (when used in secondary fashion) on reload
1. The readers will overwrite the layer names if given in secondary fashion
   (additionally to layer/datatype)
2. The layer properties nodes will update the "real source" according to
   the actual name if the name is used in addition to layer/datatypes
2026-07-17 23:46:14 +02:00
Matthias Koefferlein b21f253cf8 Bugfix: entering '16:17' (or similar) into 'new layout' layer list made KLayout hang 2026-07-17 17:47:21 +02:00
Matthias Koefferlein abe9479ced Bugfix: removing a pin from a Circuit does not crash if the pin was not disconnected before. Now it's disconnected automatically. 2026-07-12 00:14:30 +02:00
Matthias Koefferlein 1cd9cbc8ba Enhancement: using PCell parameter 'name' won't break PCell's cell_name_impl default implementation 2026-07-11 22:32:42 +02:00
Matthias Koefferlein b2afb55fe3 Convenience constructor for Layout from a cell (hierarchical copy) 2026-07-11 21:56:02 +02:00
Matthias Koefferlein 43a5d8c548 Fixed issue #2384
Problem was that the magnification was applied twice
when running the checks inside compound DRC checks.
2026-07-09 23:43:25 +02:00
Matthias Koefferlein 7d5f61db59 Issue #2360: Implemented name sorting by default (can be turned off) for 'make_top_level_pins' 2026-05-26 23:26:16 +02:00
Matthias Koefferlein 4db6afb5f3 Merge remote-tracking branch 'origin/bugfix/issue-2356' into wip 2026-05-25 20:51:55 +02:00
Matthias Koefferlein be8b165b6a Merge remote-tracking branch 'origin/bugfix/issue-2350' into wip 2026-05-25 20:51:42 +02:00
Matthias Koefferlein 7508c8e4a4 Enabling context writing also for top cells - this allows the OASIS writer to generate proxy cells on output during fix of issue #2350 2026-05-25 01:13:58 +02:00