4699d5c14f
doc updates
2023-10-13 00:31:00 -07:00
d14d5438a4
renderpather, get_bounds includes repetitions, Boundable
2023-04-13 17:54:52 -07:00
88d123af71
move to dicty layers and targets
2023-04-12 13:56:50 -07:00
66f3ad04b7
comment updates
2023-04-07 23:19:55 -07:00
463c41b62a
cleanup
2023-04-06 17:03:31 -07:00
742058885f
fix rounding
2023-03-19 10:17:37 -07:00
a710494dd8
use Self type
2023-02-23 13:37:34 -08:00
c9402500e2
modernize type annotations
2023-02-23 13:15:32 -08:00
23c64b4f63
remove per-shape polygonization state
2023-02-23 11:25:40 -08:00
e482107366
wip
2023-01-19 22:20:16 -08:00
cb8897b8fe
some type updates
2023-01-18 18:14:53 -08:00
83b9af0cc3
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.
2023-01-18 18:14:33 -08:00
ecb61c9174
get rid of "identifier"
2023-01-18 17:14:35 -08:00
1741cfb755
wip again
2023-01-13 20:33:14 -08:00
42c3a2b1e1
WIP: make libraries and names first-class!
2023-01-11 18:59:57 -08:00
8edb7b0956
round().astype() -> rint(...)
2023-01-11 18:29:28 -08:00
a4aa50d814
fix another instance where numpy prohibits using not bounds
2022-02-28 23:43:16 -08:00
20be409341
fix numpy complaining about .any() / .all()
2022-02-28 23:03:23 -08:00
a4fe3d9e2e
Use ArrayLike and NDArray wherever possible. Some type fixes and some related corner cases
2022-02-23 15:47:38 -08:00
89f327ba37
reformat some multiline arg lists and add missing 'None' return types
2022-02-23 15:16:25 -08:00
4796676a4e
use ArrayLike when accepting pseudo-ndarrays
2021-06-22 18:59:13 -07:00
f364970403
style and type fixes (per flake8)
...
could potentially fix some bugs in `Library` class and dxf reader
2020-10-16 19:00:50 -07:00
c6684936cf
Improve docs, error messages, and type annotations
2020-09-26 17:33:46 -07:00
f51144ae6a
misc doc/import/typing fixes
2020-09-20 16:32:17 -07:00
49a3b4e322
add support for annotations
...
and other fixes
2020-09-20 16:32:17 -07:00
d14182998b
various fixes
2020-09-20 16:32:17 -07:00
629a6a9ba2
enable per-shape repetitions
2020-09-20 16:32:16 -07:00
bab40474a0
Add repetitions and split up code into traits
2020-09-20 16:32:16 -07:00
8302286a7a
allow using a string for the layer
...
Can't use it in gdsii, but no reason to forbit it in masque...
2020-05-17 14:11:47 -07:00
6b09fc0c20
make section comments more prominent
2020-05-11 20:31:35 -07:00
a440f2e256
add Shape.set_layer()
2020-05-11 20:31:21 -07:00
c79eee2a8c
Stricter locking (lock contained ndarrays and turn lists into tuples)
2020-05-11 19:29:00 -07:00
157df47884
Improve type annotations based on mypy errors
2020-05-11 19:09:35 -07:00
334633662e
Remove extra __author__ declarations
2020-05-11 18:41:13 -07:00
df179c9233
Improve type annotations for layer
2020-05-11 18:39:02 -07:00
5adabfd25a
Docstring format change
...
(new param and return format)
Also some minor code formatting fixes in utils
2020-02-17 21:02:53 -08:00
e0db621595
allow locking of all objects
2019-12-13 21:18:31 -08:00
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
2019-05-17 00:41:26 -07:00
16c6bfc70a
Cosmetic changes to argument lists
2019-05-17 00:39:46 -07:00
38f64f7c62
Use __slots__ for class members
...
Also use the other sort of type hints for instance variables
2019-05-17 00:37:56 -07:00
9ab1372c7b
Allow shapes to carry an arbitrary identifier (Tuple)
2019-05-13 23:55:14 -07:00
8fe8bbd655
Normalization-related fixes
2019-04-20 14:18:52 -07:00
e3586a4574
fix variable names (manhattanize_fast fixes)
2019-04-16 22:24:43 -07:00
c6830abe22
Fix corners in manhattanize_fast
2019-04-16 00:42:48 -07:00
5bce2005b6
Add docstring for manhattanize_fast
2018-11-13 23:32:44 -08:00
ab483fc9d4
Remove pyclipper dependency; remove shape.cut()
2018-11-13 23:32:26 -08:00
86068102d9
Clarify that layer can be a tuple
2018-08-30 23:06:56 -07:00
d5a255a9d7
Add mirror() to shapes
...
Might need to fix ordering on Text.to_polygons()
2018-04-14 15:27:56 -07:00
e2b05d7c86
add fast approximate manhattanization function
2018-01-15 23:55:28 -08:00
9308454ad4
allow cutting any shape, always require pyclipper
2017-10-17 12:35:56 -07:00