Commit Graph

552 Commits

Author SHA1 Message Date
dc2c12c26f missing import 2023-02-06 19:00:56 -08:00
a1c4cdee1e fix type for __contains__ 2023-02-06 18:58:53 -08:00
44f823c736 allow ports2data to take a tree 2023-02-06 12:39:43 -08:00
9d466882a0 misc fixes 2023-02-06 12:11:53 -08:00
369bad9ae4 Only allow 1-sized Libraries 2023-02-04 09:28:53 -08:00
ee6d857cad Allow lshift to operate on any library. If only one name, return it, else None 2023-02-04 09:08:05 -08:00
5e2018a1a1 add missing functions to tree 2023-02-04 09:06:51 -08:00
5446a8c40b add Pather.mk() 2023-02-04 09:06:31 -08:00
a9188c5655 add name arg 2023-02-04 09:06:22 -08:00
05f327387e pather reorganization/clenaup 2023-02-04 09:05:34 -08:00
482ca058bb add lshift operator to MutableLibrary 2023-01-31 22:50:10 -08:00
c69081331c set default for library to None 2023-01-31 22:33:45 -08:00
4a2c4c5220 Turn Builder into a subset of Pather 2023-01-31 22:28:02 -08:00
83c710a85f fix add_tree operator 2023-01-31 15:33:42 -08:00
81171e9b02 Allow LazyLibrary to store Trees as well? 2023-01-31 15:31:54 -08:00
02da37a890 Use lshift for tree combination 2023-01-31 15:31:22 -08:00
7da6f5126b stringy type 2023-01-31 12:07:50 -08:00
b9848d149c ergonomics 2023-01-31 12:05:44 -08:00
454f167340 Add Tree as a possible way to allow construction of whole subtrees at once 2023-01-30 18:38:56 -08:00
7191e5f62c Add move_references() and auto-move references during add()-with-rename
Also remove enable_cache, since we now rely on the cache.
2023-01-30 14:38:23 -08:00
3be4da3e7c implement auto-renaming during merge, and change _merge() to support it 2023-01-30 13:30:59 -08:00
jan
6f6143da1a remove some trailing undescores 2023-01-29 16:05:22 -08:00
3105a669b4 add NamedPattern 2023-01-27 10:07:39 -08:00
171d61ccab add .create() 2023-01-27 09:24:17 -08:00
95485ab4cd notes on organization 2023-01-26 23:51:13 -08:00
0be7f9d42a note in comments 2023-01-26 23:47:27 -08:00
7fc0902fe7 Add recurse arg to get_bounds 2023-01-26 23:47:16 -08:00
3758df6938 remove log messages 2023-01-26 19:51:15 -08:00
3205091286 Return WrapLibrary from read() and readfile() 2023-01-26 19:28:10 -08:00
9351f5b5f8 Default to adding ports at the origin 2023-01-26 19:16:34 -08:00
658eca5eea some cleanup 2023-01-26 16:49:42 -08:00
783953bb73 add FlatBuilder 2023-01-26 16:49:35 -08:00
afab6fd940 import ports2data at top level 2023-01-26 15:37:36 -08:00
7adaea32ec add library .rename(...) 2023-01-26 14:26:00 -08:00
d6b897131b missing comma 2023-01-26 13:54:04 -08:00
6172abf77c writefile should write to a temporary file first 2023-01-26 13:54:00 -08:00
6cbdd7930d add name_and_set 2023-01-26 11:43:55 -08:00
a061c5a2d9 add missing comments 2023-01-26 11:43:49 -08:00
f80c21ed4d Allow library __setitem__ to take in either Pattern or Callable
No longer need it to be Generic!
2023-01-26 11:36:27 -08:00
089e5192e3 various fixes and cleanup
mainly involving ports_to_data and data_to_ports
2023-01-25 23:57:02 -08:00
6599dad48f move builder.port_utils into utils.ports2data
and rename functions
2023-01-25 23:26:06 -08:00
c2ce9ed547 more fixes and improvements 2023-01-25 23:19:25 -08:00
6eb4af3203 get things working with a LazyLibrary hack while we think about cycles 2023-01-24 23:52:32 -08:00
22735125d5 Lots of progress on tutorials 2023-01-24 23:25:10 -08:00
34a5369a55 Add note about reproducibility for DXF 2023-01-24 14:13:46 -08:00
7cec1e84c9 remove dead code 2023-01-24 13:58:49 -08:00
592b91044b formatting 2023-01-24 13:43:49 -08:00
060f6978cd Fix extra vertex added during OASIS loading 2023-01-24 13:43:22 -08:00
1b04fb7ed0 lots of fixes to get test_rep running 2023-01-24 12:45:44 -08:00
88b64bf525 improve gzipped file reproducibility
Mostly avoid writing the old filename and modification time to the gzip
header
2023-01-24 12:45:21 -08:00