Compare commits

..

22 Commits

Author SHA1 Message Date
48fe789d67 [gdsii_arrow] fix rep_valid 2025-05-28 00:40:47 -07:00
d559c1231b [gdsii_arrow] fill some more nulls 2025-05-28 00:40:47 -07:00
08dd66ea78 [gdsii_arrow] fixup 2025-05-28 00:40:47 -07:00
dad9055089 [traits.annotatable] Don't break when setting annotations to None 2025-05-28 00:40:47 -07:00
97a1d4d718 [PolyCollection] many fixes 2025-05-28 00:40:47 -07:00
adf8345022 [gdsii_arrow] fixup annotation types 2025-05-28 00:40:47 -07:00
23b1eedc10 [gdsii_arrow] make polycollections if able 2025-05-28 00:40:47 -07:00
ce30c4f6cd [gdsii_arrow] clean unused var in loop 2025-05-28 00:40:47 -07:00
ba4fc9f4b6 [gdsii_arrow] fix var name typo 2025-05-28 00:40:47 -07:00
611b556499 [shapes] Don't create empty dicts for annotations 2025-05-28 00:40:47 -07:00
30553b9766 [PolyCollection] rework PolyCollection into ndarrays of vertices and offsets 2025-05-28 00:40:47 -07:00
1241d99473 fix some polycollection syntax 2025-05-28 00:40:47 -07:00
jan
10306f1d0c [wip] add poly_collection shape 2025-05-28 00:40:47 -07:00
48187875ee fixup indexing 2025-05-28 00:40:47 -07:00
ca0826ac09 [gdsii_arrow] add some TODO notes 2025-05-28 00:40:47 -07:00
c178eabc1e [gdsii_arrow] use direct access for all element types 2025-05-28 00:40:47 -07:00
fb5d4602ee [utils.curves] ignore re-import of trapeziod 2025-05-28 00:40:47 -07:00
b44486bd2a allow annotations to be None
breaking change, but properties are seldom used by anyone afaik
2025-05-28 00:40:47 -07:00
4817ea1f4e gdsii_arrow wip 2025-05-28 00:40:47 -07:00
cc727cacbe split out _read_to_arrow
for ease of debugging
2025-05-28 00:40:47 -07:00
af0db0b278 actually make use of raw mode 2025-05-28 00:40:47 -07:00
jan
72fe0dccab add gdsii_arrow 2025-05-28 00:40:47 -07:00
3 changed files with 2 additions and 6 deletions

View File

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

View File

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

View File

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