jan
24c77fd3c3
remove custom __copy__
...
no longer necessary now that we're not locking anything
6 months ago
Jan Petykiewicz
7f927c46b3
another arc fix
6 months ago
Jan Petykiewicz
c7736a18c3
add missing arc endpoints
6 months ago
jan
bfd81f777c
Cleanup based on flake8 lint
7 months ago
jan
0aa4a6ee7a
doc updates
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
63e8f0b10e
fix old variable name
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
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
0618be91d4
delete some old code
7 months ago
jan
91465b7175
don't keep track of y-mirroring separately from x
7 months ago
jan
9a28e1617c
renderpather, get_bounds includes repetitions, Boundable
7 months ago
jan
723d856915
repetitions affect bounds
7 months ago
jan
9a077ea2df
move to dicty layers and targets
7 months ago
jan
bb3caf1ad7
comment updates
7 months ago
jan
4eee4d19e9
cleanup
7 months ago
Jan Petykiewicz
ea2eaa4603
fix rounding
7 months ago
Jan Petykiewicz
4482ede3a7
use Self type
7 months ago
Jan Petykiewicz
1463535676
modernize type annotations
7 months ago
Jan Petykiewicz
9d42df831e
remove per-shape polygonization state
7 months ago
Jan Petykiewicz
963918d1d9
various fixes and cleanup
...
mainly involving ports_to_data and data_to_ports
7 months ago
Jan Petykiewicz
6b01b43559
flake8-aided fixes
7 months ago
Jan Petykiewicz
db9b39dbc0
fix more type issues
7 months ago
jan
d9ae8dd6e3
wip
7 months ago
Jan Petykiewicz
2635c6c20c
some type updates
7 months ago
Jan Petykiewicz
c7f3e7ee52
Remove support for dose
...
Since there isn't GDS/OASIS level support for dose, this can be mostly
handled by using arbitrary layers/dtypes directly. Dose scaling isn't
handled as nicely that way, but it corresponds more directly to what
gets written to file.
7 months ago
Jan Petykiewicz
a0ca53f57a
get rid of "identifier"
7 months ago
jan
7ca017d993
wip again
7 months ago
jan
7aaf73cb37
WIP: make libraries and names first-class!
7 months ago
jan
8edb7b0956
round().astype() -> rint(...)
1 year ago
Jan Petykiewicz
b188589b60
Fix / simplify some cases where the arc is a sector
2 years ago
jan
4cc824526b
fix deepcopy for locked shapes
2 years ago
jan
a4aa50d814
fix another instance where numpy prohibits using `not bounds`
2 years ago
jan
20be409341
fix numpy complaining about .any() / .all()
2 years ago
jan
0471addd65
add get_bounds_nonempty
2 years ago
jan
a4fe3d9e2e
Use ArrayLike and NDArray wherever possible. Some type fixes and some related corner cases
2 years ago
jan
89f327ba37
reformat some multiline arg lists and add missing 'None' return types
2 years ago
Jan Petykiewicz
886bd59726
should be casting with numpy.array() not .ndarray()
3 years ago
Jan Petykiewicz
4796676a4e
use ArrayLike when accepting pseudo-ndarrays
3 years ago
Jan Petykiewicz
65466a5986
Force keyword args in more cases
3 years ago
Jan Petykiewicz
21ef4207df
Enable repetition arg for other Polygon constructors
3 years ago
Jan Petykiewicz
bce3d9f37c
Avoid placing duplicate vertices when polygonizing an arc
3 years ago
Jan Petykiewicz
b7383a30ca
fix mirroring across y for arcs and ellipses
3 years ago
Jan Petykiewicz
6c4fe0e9e4
Add octagon constructor
4 years ago
Jan Petykiewicz
8e1c05cf73
add mirror2d() to Rotatable
4 years ago