Commit Graph

5416 Commits

Author SHA1 Message Date
Matthias Koefferlein a3593efa18 Layer settings are now better preserved between calls of boolean, merge and size dialogs 2025-03-23 17:36:07 +01:00
Matthias Koefferlein efeb2c061b Layout queries support diff as placeholder for the current cell 2025-03-23 16:51:47 +01:00
Matthias Koefferlein a22f48d87a Texts#polygons now has an argument to specify a property key that receives the text string 2025-03-23 15:54:18 +01:00
Matthias Koefferlein f977973b85 RecursiveShapeIterator#property and RecursiveShapeIterator#properties 2025-03-23 15:23:19 +01:00
Matthias Koefferlein 71644fa56c Implementing additional vertexes for triangulation 2025-03-23 11:34:13 +01:00
Matthias Koefferlein 8727c31d36 Merge branch 'bugfix/issue-1996' into wip 2025-03-23 11:11:20 +01:00
Matthias Koefferlein 16be7bf8c1 Merge branch 'bugfix/issue-2002' into wip 2025-03-23 11:10:54 +01:00
Matthias Koefferlein 593678e228 WIP: Polygon#delaunay and variants 2025-03-23 09:55:08 +01:00
Matthias Koefferlein 986474d465 Added one more testcase 2025-03-23 08:57:06 +01:00
Matthias Koefferlein 73364ee406 Solving issue #2002 by allowing variable widths on the path segments due to 45 degree segment snapping. 2025-03-23 00:57:25 +01:00
Martin Köhler b8a6d0a1cd Timer::memory_size() implementation for macOS 2025-03-23 00:03:29 +01:00
Matthias Koefferlein 6228668fa1 Fixing issue #1996: Providing a more robust triangulation 2025-03-22 21:47:22 +01:00
Matthias Koefferlein a727ed0b1d Fixed a compiler warning 2025-03-22 20:47:28 +01:00
Matthias Koefferlein 2668b42d29 Separating tl::hfunc from std namespace. Needed to support int128 in tl::Variant for 64bit coordinate builds. 2025-03-22 20:35:15 +01:00
Matthias Koefferlein 561a760881 Updating doc, python stubs, fixed non-Qt builds 2025-03-22 17:51:07 +01:00
Matthias Koefferlein e6914c78b9 Fixing builds for Qt4 2025-03-22 17:29:16 +01:00
Matthias Koefferlein 2aa88fe29c Fixed a linker issue on Qt4 2025-03-22 14:09:00 +01:00
Matthias Koefferlein 283a9d0b22 Build fixes for Qt4 2025-03-22 00:02:13 +01:00
Matthias Koefferlein 69a8f3ac11 Preparations for 0.30. 2025-03-21 23:52:08 +01:00
Matthias Koefferlein 6f69efd427 WIP 2025-03-20 23:30:30 +01:00
Matthias Koefferlein d9343ee530 WIP 2025-03-18 17:28:12 +01:00
Matthias Koefferlein 1f5c2b5132 Marked one test as long runner 2025-03-18 14:44:27 +01:00
Matthias Koefferlein df631aa970 Some minor refactoring 2025-03-18 00:19:15 +01:00
Matthias Koefferlein 6596008826 instrumenting triangles implementation with Quad Tree, but without effect 2025-03-18 00:10:00 +01:00
Matthias Koefferlein cd62f62140 WIP (quad tree) 2025-03-16 23:24:06 +01:00
Matthias Koefferlein 4e65b96cb7 WIP (quad tree) 2025-03-16 21:10:15 +01:00
Matthias Koefferlein f3037d11f3 WIP (quad tree) 2025-03-16 18:16:15 +01:00
Matthias Koefferlein 4aeb94d42e WIP (quad tree) 2025-03-16 17:13:06 +01:00
Matthias Koefferlein 477e2b5a31 WIP (quad tree) 2025-03-16 16:43:56 +01:00
Matthias Koefferlein 4369835e8b WIP (quad tree) 2025-03-16 16:36:49 +01:00
Matthias Koefferlein f1f35ae2a4 WIP (quad tree) 2025-03-16 14:46:03 +01:00
Matthias Koefferlein 5c8e0539ee WIP (quad tree) 2025-03-16 13:56:16 +01:00
Matthias Koefferlein 54b5d9f5d6 WIP (quad tree) 2025-03-16 13:35:51 +01:00
Matthias Koefferlein f136fdcde6 WIP 2025-03-16 00:52:57 +01:00
Matthias Koefferlein d60b296417 Improvement: Device#terminal_ref to get a NetTerminalRef from a Device. 2025-03-14 23:29:09 +01:00
Matthias Koefferlein d6273f9bbb [consider merging] avoiding a crash due to recursion in PCell recomputation with macro editor open (IDE generated processEvent calls and these may issue mouse events during execution of a mouse event response code) 2025-03-13 00:01:28 +01:00
Matthias Koefferlein 930e09809b Added an argument name 2025-03-09 23:20:57 +01:00
Matthias Koefferlein 2baaf322eb Fixed a few doc typos and default values for 'lmap' on build_nets 2025-03-09 23:20:18 +01:00
Matthias Koefferlein da88973df9 A number of new methods and variants in LayoutToNetlist
The goal is to support texts as native objects in
LayoutToNetlist.
Primarily this means, that instead of using a Region
to identify a layer, it is encouraged to use a
layer index instead. Also, Region is not longer the
only way to represent a layer, Texts is available
too.

It is possible now to retrieve the texts of a net
using "texts_of_net".

Also, the "lmap" parameter of "build_nets" became
optional. If "nil", a layer map is created based
on the layer info attribute of the layers.
2025-03-09 23:07:46 +01:00
Matthias Koefferlein 86202fa23c WIP: refactoring of LayoutToNetlist for more consistent support of Texts for layers 2025-03-09 19:22:04 +01:00
Matthias Koefferlein 903bd70223 Fixed merge issues 2025-03-06 22:24:05 +01:00
Matthias Koefferlein 87e7d8e493 Merge branch 'master' into devel 2025-03-06 19:35:32 +01:00
Matthias Koefferlein e06498763a Fixing issue #1997. 2025-03-05 19:12:38 +01:00
Matthias Koefferlein 5edb32cc33 Merge branch 'master' of github.com:KLayout/klayout 2025-03-05 18:41:43 +01:00
Matthias Koefferlein 4ebb292b7a Updating doc, py includes 2025-03-05 18:41:28 +01:00
Matthias Koefferlein 605fa44ca6 Another refinement for DSS bug fix. 2025-03-05 10:26:45 +01:00
Matthias Koefferlein 70af6bd7c9 Another refinement for DSS bug solution 2025-03-04 20:37:58 +01:00
Matthias Koefferlein 7b4e8a3462 Refined solution for DSS remapping bug 2025-03-04 19:50:33 +01:00
Matthias Koefferlein 3893f3be56 Merge branch 'master' of github.com:KLayout/klayout 2025-03-03 18:36:05 +01:00
Matthias Köfferlein 8a01352549
Merge pull request #1992 from KLayout/feature/issue-1989
Feature/issue 1989
2025-03-03 18:35:46 +01:00
Matthias Koefferlein ac1c656bc0 Fixed unit tests 2025-03-03 18:34:43 +01:00
Matthias Koefferlein 20111ce08d Fixed issue #1993 ('with_area' modifies result of 'join')
Root cause was a held layout lock inside the TilingProcessor.
As that object was not always released inside the Ruby
DRC script, the lock was held sometimes longer than
needed and messed with the hierarchy system.
2025-03-03 01:05:04 +01:00
Matthias Koefferlein fb9e0c4602 Fixed a compile issue 2025-03-02 22:24:04 +01:00
Matthias Koefferlein 5b4848ee50 Merge branch 'master' of github.com:KLayout/klayout 2025-03-02 22:22:05 +01:00
Matthias Köfferlein 2acbbffe19
Merge pull request #1991 from KLayout/feature/configure-lazy-pcell-evaluation
Feature/configure lazy pcell evaluation
2025-03-02 22:20:04 +01:00
Matthias Koefferlein 2e150980d5 Bugfix: 'Save all' was not updating the dirty state in the panel tabs 2025-03-02 22:12:18 +01:00
Matthias Koefferlein 414a06c70f Bugfix: tab title was not updated when current cell is renamed 2025-03-02 20:54:00 +01:00
Matthias Koefferlein 32fe65adc0 [consider merging] Fixed a bug when returning a Region into a layout with cells unselected. 2025-03-02 19:06:48 +01:00
Matthias Koefferlein 01cc54ba49 [consider merging] avoid a crash during certain queries
This query used to crash:
"instances of cell .*.* where inst.trans.rot == 2"
on a layout with 1 hierarchy level and some cells with rot 180 degree
2025-03-02 19:06:45 +01:00
Matthias Koefferlein 3185a7aeb2 [consider merging] fixed a potential crash on 'save all' 2025-03-02 19:06:41 +01:00
Matthias Koefferlein b434eb3239 [consider merging] Fixing two problems with layer mapping
1. Mapping "[*/*] 100/0:0/0" (for example) created 0/0
   two times when the input contains 100/0 and 0/0. Now
   it is a single layer only
2. The mapping table generated from strings now uses
   layer indexes from a range that should not collide
   with existing layer indexes.
2025-03-02 19:06:37 +01:00
Matthias Koefferlein 1372a7d04e [consider merging] Bugfix: fixing a crash when editing PCell parameters (QR code PCell in this case) while the macro editor is open 2025-03-02 19:06:31 +01:00
Matthias Koefferlein c6e7c47d6c Some bug fixes, updated tests 2025-03-02 18:30:31 +01:00
Matthias Koefferlein 08666aeb82 API implementation ... many, many new functions named 'split_...' 2025-03-02 17:30:47 +01:00
Matthias Koefferlein 79262028ff [consider merging] Fixed a bug when returning a Region into a layout with cells unselected. 2025-03-01 23:18:29 +01:00
Matthias Koefferlein 850a6f56d3 [consider merging] avoid a crash during certain queries
This query used to crash:
"instances of cell .*.* where inst.trans.rot == 2"
on a layout with 1 hierarchy level and some cells with rot 180 degree
2025-02-25 23:35:33 +01:00
Matthias Koefferlein 0e4594c0c3 [consider merging] fixed a potential crash on 'save all' 2025-02-25 22:06:56 +01:00
Matthias Koefferlein c437d75a01 [consider merging] Fixing two problems with layer mapping
1. Mapping "[*/*] 100/0:0/0" (for example) created 0/0
   two times when the input contains 100/0 and 0/0. Now
   it is a single layer only
2. The mapping table generated from strings now uses
   layer indexes from a range that should not collide
   with existing layer indexes.
2025-02-25 22:02:11 +01:00
Matthias Koefferlein 50ab169385 Default for lazy eval mode is 'as requested by PCell' for backward compatibility 2025-02-18 23:41:20 +01:00
Matthias Koefferlein b9079cdfdc First proposal for a feature to configure lazy PCell evaluation
- The PCell page gets an option menu instead of "show parameter names"
- That option goes into that menu
- In addition, there is a "lazy PCell evaluation" submenu with the
  modes:
  * As requested by PCell (like now)
  * Never
  * Always
2025-02-18 23:36:30 +01:00
Matthias Koefferlein 7d1ddd95df More patches 2025-02-16 22:38:29 +01:00
Matthias Koefferlein f6616dfaf4 WIP: more fixes for Qt 6.8 compatibility 2025-02-16 21:49:05 +01:00
Matthias Koefferlein c3fe77acd0 Fixing issue #1987 (build failure against Qt6.8) 2025-02-16 20:28:22 +01:00
Matthias Koefferlein ae5ae25000 Properties filters for EdgePairs and Texts too. 2025-02-16 13:59:50 +01:00
Matthias Koefferlein 1fed2767e8 Property filter for edges too. 2025-02-16 13:35:49 +01:00
Matthias Koefferlein a219576296 WIP: Region, Edges, EdgePairs and Texts filters can filter by property now, first implementation of Region property filter. 2025-02-16 00:08:35 +01:00
Matthias Koefferlein 54242bc848 Fixed some issues with operator+ and operator+= on Texts, Edges, Regions and EdgePairs with properties 2025-02-15 18:03:15 +01:00
Matthias Koefferlein e48c6f3660 Edges#each, Edges#each_merged, Region#each, Region#each_merged, Texts#each and EdgePairs#each now deliver objects with properties too. 2025-02-14 22:11:18 +01:00
Matthias Koefferlein 502346608f [consider merging] Bugfix: fixing a crash when editing PCell parameters (QR code PCell in this case) while the macro editor is open 2025-02-09 22:44:34 +01:00
Matthias Koefferlein c09184989f Avoiding call ambiguities when creating Edges, Region, EdgePairs and Texts from arrays of objects with properties. 2025-02-04 23:59:04 +01:00
Matthias Koefferlein 1f44a951f4 Polygon neighborhood compound operation 2025-02-03 20:47:31 +01:00
Matthias Koefferlein aa67448401 WIP: polygon neighborhood 2025-02-02 23:57:59 +01:00
Matthias Koefferlein aaae05016e Fixed unit tests 2025-02-02 21:57:21 +01:00
Matthias Koefferlein 08dbe3aba5 Fixing problem with sorting order of tl::Variant as key in std::map 2025-02-02 19:41:54 +01:00
Matthias Koefferlein 1bd1bb06ce More support for objects with properties: RDB integration. 2025-02-02 17:00:31 +01:00
Matthias Koefferlein a282a5d665 Some more tests for properties inside Edges, Regions 2025-01-29 02:42:16 +01:00
Matthias Koefferlein 4fda872048 Fixed unit tests 2025-01-29 02:29:13 +01:00
Matthias Koefferlein 375ac6364b More support for properties inside Edges, Texts, EdgePairs. WIP 2025-01-29 01:59:00 +01:00
Matthias Koefferlein dfc7d6bef4 Enhancing Python/Ruby API for better support with properties 2025-01-29 00:59:28 +01:00
Matthias Koefferlein d9233caa42 Fixed issue #1981 2025-01-29 00:56:37 +01:00
Matthias Koefferlein f3bed8d4f2 Merge branch 'master' into devel 2025-01-25 21:41:30 +01:00
Matthias Koefferlein 2b2eb2e524 Fixed issue #1976 (crash on cross mode, lw > 1 and oversampling) 2025-01-22 00:24:57 +01:00
Matthias Koefferlein 2a47006a84 C++11 compatibility 2025-01-21 17:07:51 +01:00
Matthias Koefferlein 33b54f3f88 Merge branch 'master' into devel 2025-01-19 22:04:55 +01:00
Matthias Koefferlein 18c86cb204 Supporting log levels <0 on command line too, consistent behavior or log dialog 2025-01-17 10:49:54 +01:00
Matthias Koefferlein 44038cec9e Updating .pyi files 2025-01-17 10:47:06 +01:00
Matthias Köfferlein 253270aaa3
Merge pull request #1973 from KLayout/feature/issue-1971
Feature/issue 1971
2025-01-17 10:10:19 +01:00
Matthias Köfferlein b4dc9a6b1d
Merge pull request #1968 from KLayout/bugfix/issue-1967
Bugfix/issue 1967
2025-01-17 10:10:03 +01:00
Matthias Koefferlein a75eca5511 Fixing issue #1971: providing log levels -10 to disable warnings and -20 to disable errors too. 2025-01-16 20:42:53 +01:00
Matthias Koefferlein 07da5a3cf2 More details on Python doc involving class properties. 2025-01-16 20:42:14 +01:00