Commit Graph

614 Commits

Author SHA1 Message Date
jan
ab4f24cd77 missing parens 2023-04-12 21:41:18 -07:00
jan
237b24ae8e repetitions affect bounds 2023-04-12 19:31:17 -07:00
jan
835bcc24e0 wip get_bounds 2023-04-12 18:43:44 -07:00
jan
6f67c81b97 faster get_bounds for manhattan refs 2023-04-12 18:21:37 -07:00
jan
fe3a373807 Make rotation matrix immutable and cache the value 2023-04-12 18:21:18 -07:00
jan
152dea9b60 misc fixes 2023-04-12 14:47:10 -07:00
jan
88d123af71 move to dicty layers and targets 2023-04-12 13:56:50 -07:00
jan
dc4f24a028 delete FlatBuilder (Builder subsumes it) 2023-04-11 20:05:50 -07:00
jan
e5de33e1f1 pather fixes / type updates 2023-04-11 19:57:09 -07:00
jan
f22e737e60 add RenderPather 2023-04-11 11:47:57 -07:00
jan
6ec4823244 comment 2023-04-11 11:44:53 -07:00
jan
fa7b94a4c0 split out find_ptransform (static version, only need ports) 2023-04-11 11:44:47 -07:00
jan
9b88be0e92 add todo about underscore 2023-04-08 00:40:52 -07:00
jan
4aad8ab786 shorten labels 2023-04-07 23:50:31 -07:00
jan
de04d06b7a cleanup 2023-04-07 23:49:20 -07:00
jan
8b3f76c2e3 split pather into its own file 2023-04-07 23:20:09 -07:00
jan
66f3ad04b7 comment updates 2023-04-07 23:19:55 -07:00
jan
ed77e389af only mutable variant should have rename_top 2023-04-07 22:29:47 -07:00
jan
372deaca09 fixes 2023-04-07 22:00:23 -07:00
jan
8b92d1ee96 add functions for dealing with the topcell and its name 2023-04-07 21:53:48 -07:00
jan
e7a1d1824a add mktree 2023-04-07 18:13:21 -07:00
jan
9c9d3c3928 redo library class naming 2023-04-07 18:08:42 -07:00
jan
c7505a12b0 should be union; we want to exclude dangling refs 2023-04-07 16:55:50 -07:00
jan
abef8771db fixes to subtree and lshift, as well as some cast() improvements 2023-04-07 16:48:40 -07:00
jan
f1baf8b577 oneshot available at toplevel 2023-04-07 16:33:59 -07:00
jan
355af43fe4 add @oneshot decorator 2023-04-07 16:33:23 -07:00
jan
e8b5c7dec8 lshift operator shouldn't special-case trees
Instead, just call .tops() if there are multiple cells, and fail if
there are multiple tops
2023-04-07 15:29:14 -07:00
jan
438b81e62e find_toplevel -> tops 2023-04-07 15:20:51 -07:00
jan
41409cf4f7 create no longer exists. Make mk() give similar ordering as mkpat() 2023-04-06 17:09:46 -07:00
jan
0a14325af8 fix return value 2023-04-06 17:06:41 -07:00
jan
5b1abf5f72 top is always a string 2023-04-06 17:06:13 -07:00
jan
463c41b62a cleanup 2023-04-06 17:03:31 -07:00
jan
62b82eb230 get rid of NamedPattern in favor of just returning a tuple 2023-04-06 16:52:01 -07:00
3e48cc7190 Drop ports when repeating 2023-03-31 13:35:18 -07:00
2364288ba7 port translation is already handled in Pattern 2023-03-31 13:34:49 -07:00
ddcd38674f drop ability to use python-gdsii 2023-03-19 10:18:01 -07:00
742058885f fix rounding 2023-03-19 10:17:37 -07:00
0917b02a31 str(namedpattern) should just return its name 2023-03-19 10:17:30 -07:00
c515ada2f8 updates to Pattern.polygonize() 2023-03-19 10:17:09 -07:00
68ac593270 update to newer ezdxf 2023-03-19 10:16:54 -07:00
e87b13c4eb Need to check against self, since we may add new conflicts as we go 2023-02-24 09:34:26 -08:00
f5d1fd2c29 Pipe-operator does not support forward references 2023-02-23 16:23:06 -08:00
28424be3db add polygon() and label() convenience methods 2023-02-23 13:42:26 -08:00
a710494dd8 use Self type 2023-02-23 13:37:34 -08:00
c9402500e2 modernize type annotations 2023-02-23 13:15:32 -08:00
dfd745a76b fix error message 2023-02-23 11:26:07 -08:00
23c64b4f63 remove per-shape polygonization state 2023-02-23 11:25:40 -08:00
7a4a96ff5f fixes based on mypy 2023-02-09 16:43:06 -08:00
3191866ce0 add prune_empty and delete() 2023-02-09 16:38:42 -08:00
8c42145e44 fixes/updates 2023-02-09 16:38:33 -08:00