[dxf] fix typos
This commit is contained in:
parent
19dafad157
commit
d32a5ee762
3 changed files with 3 additions and 3 deletions
|
|
@ -55,7 +55,7 @@ def write(
|
||||||
tuple: (1, 2) -> '1.2'
|
tuple: (1, 2) -> '1.2'
|
||||||
str: '1.2' -> '1.2' (no change)
|
str: '1.2' -> '1.2' (no change)
|
||||||
|
|
||||||
DXF does not support shape repetition (only block repeptition). Please call
|
DXF does not support shape repetition (only block repetition). Please call
|
||||||
library.wrap_repeated_shapes() before writing to file.
|
library.wrap_repeated_shapes() before writing to file.
|
||||||
|
|
||||||
Other functions you may want to call:
|
Other functions you may want to call:
|
||||||
|
|
|
||||||
|
|
@ -82,7 +82,7 @@ def write(
|
||||||
datatype is chosen to be `shape.layer[1]` if available,
|
datatype is chosen to be `shape.layer[1]` if available,
|
||||||
otherwise `0`
|
otherwise `0`
|
||||||
|
|
||||||
GDS does not support shape repetition (only cell repeptition). Please call
|
GDS does not support shape repetition (only cell repetition). Please call
|
||||||
`library.wrap_repeated_shapes()` before writing to file.
|
`library.wrap_repeated_shapes()` before writing to file.
|
||||||
|
|
||||||
Other functions you may want to call:
|
Other functions you may want to call:
|
||||||
|
|
|
||||||
|
|
@ -84,7 +84,7 @@ class PolyCollection(Shape):
|
||||||
|
|
||||||
def set_offset(self, val: ArrayLike) -> Self:
|
def set_offset(self, val: ArrayLike) -> Self:
|
||||||
if numpy.any(val):
|
if numpy.any(val):
|
||||||
raise PatternError('Path offset is forced to (0, 0)')
|
raise PatternError('PolyCollection offset is forced to (0, 0)')
|
||||||
return self
|
return self
|
||||||
|
|
||||||
def translate(self, offset: ArrayLike) -> Self:
|
def translate(self, offset: ArrayLike) -> Self:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue