jan
37e4c03547
fix return value
9 months ago
jan
94691dac85
top is always a string
9 months ago
jan
4eee4d19e9
cleanup
9 months ago
jan
cbfbdf66a1
get rid of NamedPattern in favor of just returning a tuple
9 months ago
Jan Petykiewicz
9115371b19
Drop ports when repeating
9 months ago
Jan Petykiewicz
cf634f1c16
port translation is already handled in Pattern
9 months ago
Jan Petykiewicz
09291e58f7
drop ability to use python-gdsii
9 months ago
Jan Petykiewicz
ea2eaa4603
fix rounding
9 months ago
Jan Petykiewicz
b744a11e8e
str(namedpattern) should just return its name
9 months ago
Jan Petykiewicz
f54193edf0
updates to Pattern.polygonize()
9 months ago
Jan Petykiewicz
59c8f47f4d
update to newer ezdxf
9 months ago
Jan Petykiewicz
e5ed28a854
Need to check against self, since we may add new conflicts as we go
9 months ago
Jan Petykiewicz
b4f36417fd
Pipe-operator does not support forward references
9 months ago
Jan Petykiewicz
45081c2d31
add polygon() and label() convenience methods
9 months ago
Jan Petykiewicz
4482ede3a7
use Self type
9 months ago
Jan Petykiewicz
1463535676
modernize type annotations
9 months ago
Jan Petykiewicz
ada8c591a0
fix error message
9 months ago
Jan Petykiewicz
9d42df831e
remove per-shape polygonization state
9 months ago
Jan Petykiewicz
7befe89af3
fixes based on mypy
9 months ago
Jan Petykiewicz
f766a3ad64
add prune_empty and delete()
9 months ago
Jan Petykiewicz
85a2eb6acc
fixes/updates
9 months ago
Jan Petykiewicz
069dde3648
Drop ports by default
9 months ago
Jan Petykiewicz
e0939049dd
force 'wb' mode for gzipfile
9 months ago
Jan Petykiewicz
88adc08259
data_to_ports max_depth default to 0
...
Makes it more compatible with LazyLibrary -- with recursive approach, we
have to load all the subcells to run ports2data, but those subcells may
or may not exist (e.g. partial library, or maybe we've removed some
duplicates-to-be prior to merging with a different lib)
9 months ago
Jan Petykiewicz
4ab718d578
pass along library for bounds
9 months ago
Jan Petykiewicz
f834aaee47
fix precache
9 months ago
Jan Petykiewicz
27d87a988d
redo library merging
9 months ago
Jan Petykiewicz
6f97f7e6db
pass along tools
9 months ago
Jan Petykiewicz
d0f76d150f
Make default quiet for underscores
9 months ago
Jan Petykiewicz
5ffcadb362
always apply postprocess
9 months ago
Jan Petykiewicz
2ccef554db
misc fixes
9 months ago
Jan Petykiewicz
d349aa3366
Revert "allow ports2data to take a tree"
...
This reverts commit 44f823c736
.
LazyLibrary can't take Trees anymore, so no need for it.
9 months ago
Jan Petykiewicz
680da46f5c
LazyLibrary should not contain `Tree`s
...
altering itself during iteration is not a good idea
9 months ago
Jan Petykiewicz
59a986546c
missing import
9 months ago
Jan Petykiewicz
19ac45a4f4
fix type for __contains__
9 months ago
Jan Petykiewicz
db7a98bb0f
allow ports2data to take a tree
9 months ago
Jan Petykiewicz
8687badac5
misc fixes
9 months ago
Jan Petykiewicz
4a6584a60a
Only allow 1-sized Libraries
9 months ago
Jan Petykiewicz
4a94259249
Allow lshift to operate on any library. If only one name, return it, else None
9 months ago
Jan Petykiewicz
7cc732248e
add missing functions to tree
9 months ago
Jan Petykiewicz
98728521fd
add Pather.mk()
9 months ago
Jan Petykiewicz
460222ce6e
add name arg
9 months ago
Jan Petykiewicz
f1a380b170
pather reorganization/clenaup
9 months ago
Jan Petykiewicz
38585e5a9e
add lshift operator to MutableLibrary
9 months ago
Jan Petykiewicz
2449486a28
set default for library to None
9 months ago
Jan Petykiewicz
4fc2e67b62
Turn Builder into a subset of Pather
9 months ago
Jan Petykiewicz
039320d180
fix add_tree operator
9 months ago
Jan Petykiewicz
853c20e8df
Allow LazyLibrary to store Trees as well?
9 months ago
Jan Petykiewicz
f642c226c7
Use lshift for tree combination
9 months ago
Jan Petykiewicz
103eb4f1f8
stringy type
9 months ago