029a0f681f
[gdsii_arrow] fix rep_valid
2025-04-27 12:53:13 -07:00
bc36e92aab
[gdsii_arrow] fill some more nulls
2025-04-27 12:23:53 -07:00
681f8e6354
[gdsii_arrow] fixup
2025-04-25 01:24:14 -07:00
1992cf572a
[traits.annotatable] Don't break when setting annotations to None
2025-04-25 01:24:01 -07:00
3a73fb1d60
[PolyCollection] many fixes
2025-04-25 00:50:57 -07:00
25cde0abb5
[gdsii_arrow] fixup annotation types
2025-04-25 00:50:35 -07:00
2ef7a6e9e3
[gdsii_arrow] make polycollections if able
2025-04-25 00:50:17 -07:00
f78ba3655e
[gdsii_arrow] clean unused var in loop
2025-04-24 23:20:30 -07:00
b4d287f384
[gdsii_arrow] fix var name typo
2025-04-24 23:20:00 -07:00
037118883b
[shapes] Don't create empty dicts for annotations
2025-04-24 23:19:40 -07:00
5368fd4e16
[PolyCollection] rework PolyCollection into ndarrays of vertices and offsets
2025-04-24 23:19:01 -07:00
d0c1b00d7e
fix some polycollection syntax
2025-04-24 21:22:33 -07:00
6fba14ae21
[wip] add poly_collection shape
2025-04-24 21:22:33 -07:00
82fafdc61b
fixup indexing
2025-04-24 21:22:16 -07:00
7336545f07
[gdsii_arrow] add some TODO notes
2025-04-22 20:22:01 -07:00
4e40e3f829
[gdsii_arrow] use direct access for all element types
2025-04-22 20:20:46 -07:00
79f2088180
[utils.curves] ignore re-import of trapeziod
2025-04-22 20:19:59 -07:00
e89d912ce8
allow annotations to be None
...
breaking change, but properties are seldom used by anyone afaik
2025-04-21 20:26:34 -07:00
76511b95e6
gdsii_arrow wip
2025-04-21 19:07:26 -07:00
88bd5e897e
split out _read_to_arrow
...
for ease of debugging
2025-04-21 19:07:26 -07:00
dc89491694
actually make use of raw mode
2025-04-21 19:07:26 -07:00
de9714041f
add gdsii_arrow
2025-04-21 19:07:26 -07:00
35e28acb89
[polygon] Only call rotate if necessary
2025-04-21 19:07:21 -07:00
c1bfee1ddd
[library] minor stylistic cleanup
2025-04-15 17:34:05 -07:00
560c165f2e
remove deprecated rule from ignore list
2025-04-15 17:26:33 -07:00
284c7e4fd0
Use quoted first arg for cast()
...
ruff rule TC006
2025-04-15 17:25:56 -07:00
1eac3baf6a
[pattern] add arg to , useful for whole-library scaling
2025-04-15 17:21:49 -07:00
5a4b9609bd
close code block
2025-03-12 23:14:45 -07:00
30cfa0da31
Bump version to v3.3
release
v3.3
2025-03-12 23:11:35 -07:00
d11c910dfd
[utils.curves] improve type annotations
2025-03-12 23:10:49 -07:00
9b2f8599e6
[utils.curves] use numpy.trapezoid for 2.0 compatibility
...
fall back to trapz if import fails
2025-03-12 23:09:45 -07:00
6c76e1f5cf
Add R90 and R180 constants for rotation shorthand
2025-03-12 23:04:51 -07:00
6567394fbf
[utils.curves.bezier] Fix and clarify bezier() code
...
- Accuracy fix (incorrect +1 term)
- Explicitly index last dim of `nodes`
- Suppress warnings about div by zero
- simplify `umul` and `udiv` calculation
2025-03-04 23:00:52 -08:00
858ef4a114
[utils.curves.euler_bend] add num_point arg and improve naming
2025-03-03 00:53:34 -08:00
b27b1d93d8
[utils.curves.bezier] improve handling of non-ndarray inputs
2025-03-03 00:52:51 -08:00
c74573e7dd
[Arc] improve some variable names
2025-03-03 00:52:24 -08:00
0e34242ba5
misc type hint fixes
2025-03-03 00:52:04 -08:00
c3534beb3f
[utils.curves.bezier] be more explicit about broadcast axes
2025-02-25 21:27:16 -08:00
cae6de69c1
[path] Fix calls to numpy.linalg.solve for numpy 2
2025-02-25 21:15:32 -08:00
f14528654b
[utils.curves] add masque.utils.curves with Bezier and Euler curves
2025-02-25 21:09:04 -08:00
6631c5e558
clear out some old TODOs
2025-02-25 21:09:04 -08:00
cd60dcc765
add the toolctx() context manager to simplify temporary retool() calls
2025-02-25 21:09:04 -08:00
fcb470a02c
use cast() to clarify some type checker complaints
2025-02-25 21:09:04 -08:00
93471a221c
add ok_connections
arg to allow plugging mismatched ports without warnings
2025-02-25 21:09:04 -08:00
4e862d6853
cleanup
2024-12-12 23:47:46 -08:00
9917355bb0
speed up prune_empty() on large patterns
2024-12-12 23:47:28 -08:00
94a1b3d793
cleanup comment
2024-10-14 17:25:01 -07:00
7c7a7e916c
Fix offset handling in polygon normalized_form()
2024-10-14 17:24:49 -07:00
73193473df
Fixup arclength calculation for wedges (or other thick arcs)
2024-10-05 11:24:40 -07:00
febaaeff0b
add Library functions for finding instances and extracting hierarchy
...
added child_graph, parent_graph, child_order, find_refs_local and find_refs_global
2024-10-04 17:21:31 -07:00