Compare commits

..

25 Commits

Author SHA1 Message Date
00021c00e6 [gdsii_arrow] fix rep_valid 2025-09-14 12:37:49 -07:00
4e69273b5e [gdsii_arrow] fill some more nulls 2025-09-14 12:37:49 -07:00
923c00d72f [gdsii_arrow] fixup 2025-09-14 12:37:49 -07:00
7bd15ede88 [traits.annotatable] Don't break when setting annotations to None 2025-09-14 12:37:49 -07:00
4960c95637 [PolyCollection] many fixes 2025-09-14 12:37:49 -07:00
adbc86100b [gdsii_arrow] fixup annotation types 2025-09-14 12:37:49 -07:00
cb178bb694 [gdsii_arrow] make polycollections if able 2025-09-14 12:37:49 -07:00
18e5a4ac5a [gdsii_arrow] clean unused var in loop 2025-09-14 12:37:49 -07:00
215926269e [gdsii_arrow] fix var name typo 2025-09-14 12:37:48 -07:00
4487c3825b [shapes] Don't create empty dicts for annotations 2025-09-14 12:37:48 -07:00
5608a6717e [PolyCollection] rework PolyCollection into ndarrays of vertices and offsets 2025-09-14 12:37:48 -07:00
b0ec2a51f5 fix some polycollection syntax 2025-09-14 12:37:48 -07:00
jan
ded473c290 [wip] add poly_collection shape 2025-09-14 12:37:48 -07:00
d2f85c70ee fixup indexing 2025-09-14 12:37:48 -07:00
050f1b597c [gdsii_arrow] add some TODO notes 2025-09-14 12:37:48 -07:00
b4116a738d [gdsii_arrow] use direct access for all element types 2025-09-14 12:37:48 -07:00
aae467021b [utils.curves] ignore re-import of trapeziod 2025-09-14 12:37:48 -07:00
5ae990a83b allow annotations to be None
breaking change, but properties are seldom used by anyone afaik
2025-09-14 12:37:48 -07:00
3046e33742 gdsii_arrow wip 2025-09-14 12:37:48 -07:00
6d8efe82f2 split out _read_to_arrow
for ease of debugging
2025-09-14 12:37:48 -07:00
534002d4b5 actually make use of raw mode 2025-09-14 12:37:48 -07:00
jan
4364c809f3 add gdsii_arrow 2025-09-14 12:37:47 -07:00
325a8b9590 [circle] fix mirror ignoring axis 2025-09-14 12:36:17 -07:00
jan
c071b33732 Bump version to v3.4 2025-08-17 21:05:15 +02:00
jan
42a7df3055 add pytest config 2025-08-17 21:03:23 +02:00
3 changed files with 6 additions and 2 deletions

View File

@ -90,5 +90,5 @@ from .utils import (
__author__ = 'Jan Petykiewicz' __author__ = 'Jan Petykiewicz'
__version__ = '3.3' __version__ = '3.4'
version = __version__ # legacy version = __version__ # legacy

View File

@ -123,7 +123,7 @@ class Circle(Shape):
return self return self
def mirror(self, axis: int = 0) -> 'Circle': # noqa: ARG002 (axis unused) def mirror(self, axis: int = 0) -> 'Circle': # noqa: ARG002 (axis unused)
self.offset *= -1 self.offset[axis - 1] *= -1
return self return self
def scale_by(self, c: float) -> 'Circle': def scale_by(self, c: float) -> 'Circle':

View File

@ -89,3 +89,7 @@ lint.ignore = [
"TRY003", # Long exception message "TRY003", # Long exception message
] ]
[tool.pytest.ini_options]
addopts = "-rsXx"
testpaths = ["masque"]