Commit Graph

603 Commits (master)

Author SHA1 Message Date
Jan Petykiewicz c4ff53a0ba fix isinstance call arg order 7 months ago
Jan Petykiewicz 3415a16cd1 Give a more explicit error message 7 months ago
Jan Petykiewicz 0ea3b6625f add missing end condition 7 months ago
Jan Petykiewicz 272cfb7e48 fix arclength calculations giving invalid values or non-integral steps 7 months ago
Jan Petykiewicz 8fe7b14f4b repr updates 7 months ago
Jan Petykiewicz 086d07a82d Add the option to use explicit x= or y= in path_to 7 months ago
Jan Petykiewicz d02ea400a0 Move plug/place/interface to Pattern
Since Pattern has ports already, these should live in Pattern and get
wrapped elsewhere. Builder becomes a context-holder (holding .library
and .dead) and some code duplication goes away.
7 months ago
Jan Petykiewicz 4bca0e2638 clean some old code 7 months ago
jan 63e8f0b10e fix old variable name 7 months ago
jan 99f3b0871a missing import 7 months ago
jan d5608786ea Remove more mentions of AutoSlots 7 months ago
jan a2cc94794e don't need to deepcopy twice 7 months ago
jan c2008f2719 Improve arc arclength estimation (untested) 7 months ago
jan e2c7f8c8cc various doc updates 7 months ago
Jan Petykiewicz 04e15f7c85 use retstep instead of subtracting 7 months ago
Jan Petykiewicz a5ddfc76ca speed up get_bounds when called on a manhattan ref 7 months ago
Jan Petykiewicz 0c0012def0 find_ptransform -> find_port_transform 7 months ago
Jan Petykiewicz 468322ceb9 add has_ports() 7 months ago
Jan Petykiewicz d4bb466ad9 add mutate_other arg 7 months ago
Jan Petykiewicz e6ff6daa32 move __repr__ higher 7 months ago
Jan Petykiewicz f7f5a62f54 Update comments 7 months ago
Jan Petykiewicz e47f9b76b1 remove TODO labels from mypy #3004 comments 7 months ago
Jan Petykiewicz b872e19dec Improve arclength calculation for elliptical arcs 7 months ago
Jan Petykiewicz 31d97d8df0 add retool() 7 months ago
Jan Petykiewicz 3b2be804e2 Only remove existing ports 7 months ago
Jan Petykiewicz b443a2a41e add prune_layers and prune_refs 7 months ago
Jan Petykiewicz 064c3803ed fix comment 7 months ago
jan 0618be91d4 delete some old code 7 months ago
jan c55d95505c improve accuracy of manhattan rotations 7 months ago
jan 97ccd8c303 fix missing tools prop 7 months ago
jan df4c867e5c fix bounds 7 months ago
jan 91465b7175 don't keep track of y-mirroring separately from x 7 months ago
jan 9bc8d29b85 renderbuilder fixes 7 months ago
jan 9a28e1617c renderpather, get_bounds includes repetitions, Boundable 7 months ago
jan 22e1c6ae1d fix bounds 7 months ago
jan 87be06dcbe pattern copy should be deep 7 months ago
jan bbc61a2fcd wrong func name 7 months ago
jan e3c7150e18 missing import 7 months ago
jan 976ca0a2da missing parens 7 months ago
jan 723d856915 repetitions affect bounds 7 months ago
jan 079250e665 wip get_bounds 7 months ago
jan 8959101162 faster get_bounds for manhattan refs 7 months ago
jan 234264c0af Make rotation matrix immutable and cache the value 7 months ago
jan 93ab0a942d misc fixes 7 months ago
jan 9a077ea2df move to dicty layers and targets 7 months ago
jan 6b240de268 delete FlatBuilder (Builder subsumes it) 7 months ago
jan 3028ea0941 pather fixes / type updates 7 months ago
jan 5f24ceb13f add RenderPather 7 months ago
jan 75821c4ff9 comment 7 months ago
jan 2ed868ec25 split out find_ptransform (static version, only need ports) 7 months ago
jan cbe5c07f8f add todo about underscore 7 months ago
jan b13d7286e5 shorten labels 7 months ago
jan de0d35d3d7 cleanup 7 months ago
jan 1008b6aabd split pather into its own file 7 months ago
jan bb3caf1ad7 comment updates 7 months ago
jan c5c31a5f0f only mutable variant should have rename_top 7 months ago
jan 08291da167 fixes 7 months ago
jan 68318a1382 add functions for dealing with the topcell and its name 7 months ago
jan 31cf0047e7 add mktree 7 months ago
jan f0a71bfb8b redo library class naming 7 months ago
jan a07446808a should be union; we want to exclude dangling refs 7 months ago
jan 340fe7f656 fixes to subtree and lshift, as well as some cast() improvements 7 months ago
jan 45265faec4 oneshot available at toplevel 7 months ago
jan 46a7f60460 add @oneshot decorator 7 months ago
jan d7e89ef5c8 lshift operator shouldn't special-case trees
Instead, just call .tops() if there are multiple cells, and fail if
there are multiple tops
7 months ago
jan 0efd9afd16 find_toplevel -> tops 7 months ago
jan 64413f69d4 create no longer exists. Make mk() give similar ordering as mkpat() 7 months ago
jan 37e4c03547 fix return value 7 months ago
jan 94691dac85 top is always a string 7 months ago
jan 4eee4d19e9 cleanup 7 months ago
jan cbfbdf66a1 get rid of NamedPattern in favor of just returning a tuple 7 months ago
Jan Petykiewicz 9115371b19 Drop ports when repeating 7 months ago
Jan Petykiewicz cf634f1c16 port translation is already handled in Pattern 7 months ago
Jan Petykiewicz ea2eaa4603 fix rounding 7 months ago
Jan Petykiewicz b744a11e8e str(namedpattern) should just return its name 7 months ago
Jan Petykiewicz f54193edf0 updates to Pattern.polygonize() 7 months ago
Jan Petykiewicz 59c8f47f4d update to newer ezdxf 7 months ago
Jan Petykiewicz e5ed28a854 Need to check against self, since we may add new conflicts as we go 7 months ago
Jan Petykiewicz b4f36417fd Pipe-operator does not support forward references 7 months ago
Jan Petykiewicz 45081c2d31 add polygon() and label() convenience methods 7 months ago
Jan Petykiewicz 4482ede3a7 use Self type 7 months ago
Jan Petykiewicz 1463535676 modernize type annotations 7 months ago
Jan Petykiewicz ada8c591a0 fix error message 7 months ago
Jan Petykiewicz 9d42df831e remove per-shape polygonization state 7 months ago
Jan Petykiewicz 7befe89af3 fixes based on mypy 7 months ago
Jan Petykiewicz f766a3ad64 add prune_empty and delete() 7 months ago
Jan Petykiewicz 85a2eb6acc fixes/updates 7 months ago
Jan Petykiewicz 069dde3648 Drop ports by default 7 months ago
Jan Petykiewicz e0939049dd force 'wb' mode for gzipfile 7 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)
7 months ago
Jan Petykiewicz 4ab718d578 pass along library for bounds 7 months ago
Jan Petykiewicz f834aaee47 fix precache 7 months ago
Jan Petykiewicz 27d87a988d redo library merging 7 months ago
Jan Petykiewicz 6f97f7e6db pass along tools 7 months ago
Jan Petykiewicz d0f76d150f Make default quiet for underscores 7 months ago
Jan Petykiewicz 5ffcadb362 always apply postprocess 7 months ago
Jan Petykiewicz 2ccef554db misc fixes 7 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.
7 months ago
Jan Petykiewicz 680da46f5c LazyLibrary should not contain `Tree`s
altering itself during iteration is not a good idea
7 months ago
Jan Petykiewicz 59a986546c missing import 7 months ago