Jan Petykiewicz
272cfb7e48
fix arclength calculations giving invalid values or non-integral steps
8 months ago
jan
63e8f0b10e
fix old variable name
8 months ago
jan
c2008f2719
Improve arc arclength estimation (untested)
8 months ago
Jan Petykiewicz
04e15f7c85
use retstep instead of subtracting
8 months ago
Jan Petykiewicz
e47f9b76b1
remove TODO labels from mypy #3004 comments
8 months ago
Jan Petykiewicz
b872e19dec
Improve arclength calculation for elliptical arcs
8 months ago
jan
91465b7175
don't keep track of y-mirroring separately from x
8 months ago
jan
9a28e1617c
renderpather, get_bounds includes repetitions, Boundable
8 months ago
jan
9a077ea2df
move to dicty layers and targets
8 months ago
Jan Petykiewicz
1463535676
modernize type annotations
8 months ago
Jan Petykiewicz
9d42df831e
remove per-shape polygonization state
8 months ago
Jan Petykiewicz
963918d1d9
various fixes and cleanup
...
mainly involving ports_to_data and data_to_ports
8 months ago
Jan Petykiewicz
6b01b43559
flake8-aided fixes
8 months ago
jan
d9ae8dd6e3
wip
8 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.
8 months ago
Jan Petykiewicz
a0ca53f57a
get rid of "identifier"
8 months ago
jan
7ca017d993
wip again
8 months ago
jan
7aaf73cb37
WIP: make libraries and names first-class!
8 months 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
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
bce3d9f37c
Avoid placing duplicate vertices when polygonizing an arc
3 years ago
Jan Petykiewicz
b7383a30ca
fix mirroring across y for arcs and ellipses
4 years ago
Jan Petykiewicz
f364970403
style and type fixes (per flake8)
...
could potentially fix some bugs in `Library` class and dxf reader
4 years ago
Jan Petykiewicz
0e04633f61
Force use of keyword args on most constructors
4 years ago
Jan Petykiewicz
49a3b4e322
add support for annotations
...
and other fixes
4 years ago
Jan Petykiewicz
f57ccc073d
add `raw` arg, which skips setter funcs
4 years ago
Jan Petykiewicz
629a6a9ba2
enable per-shape repetitions
4 years ago
Jan Petykiewicz
bab40474a0
Add repetitions and split up code into traits
4 years ago
Jan Petykiewicz
0fa073b488
Make sure linspace gets an integer number of points
4 years ago
Jan Petykiewicz
c236fdb81b
Add __repr__ methods to most objects`
...
These are closer to what __str__ should be and will likely change in the
future.
4 years ago
Jan Petykiewicz
c79eee2a8c
Stricter locking (lock contained ndarrays and turn lists into tuples)
4 years ago
Jan Petykiewicz
157df47884
Improve type annotations based on mypy errors
4 years ago
Jan Petykiewicz
334633662e
Remove extra __author__ declarations
4 years ago
Jan Petykiewicz
df179c9233
Improve type annotations for layer
4 years ago
jan
5adabfd25a
Docstring format change
...
(new param and return format)
Also some minor code formatting fixes in utils
4 years ago
Jan Petykiewicz
25c9e591cb
shapes: unlock before modifying during deepcopy
5 years ago
Jan Petykiewicz
e0db621595
allow locking of all objects
5 years ago
Jan Petykiewicz
f00d283c56
Add missing imports
5 years ago
Jan Petykiewicz
032c410b43
Add mirror_x to extrinsic properties
...
It's not implemented for Polygon shapes, since I haven't thought about
how to normalize those for reflection yet
5 years ago
Jan Petykiewicz
16c6bfc70a
Cosmetic changes to argument lists
5 years ago
Jan Petykiewicz
38f64f7c62
Use __slots__ for class members
...
Also use the other sort of type hints for instance variables
5 years ago
Jan Petykiewicz
a461446059
Custom deepcopy() implementations to help speed things up
5 years ago
Jan Petykiewicz
8fe8bbd655
Normalization-related fixes
5 years ago
Jan Petykiewicz
c6fac19fe0
Set standard constructor arg order and add `rotation` and `mirrored` args where reasonable
5 years ago
Jan Petykiewicz
b295c318a9
Fix arc bounding box calculation
6 years ago
jan
f3115baabe
Add get_cap_edges()
6 years ago
jan
832e3b46fa
Add general angle-to-parameter helper function
...
and improve accuracy of to_polygons
6 years ago
jan
6bafaaf4fc
Fix typo in arc docs
6 years ago