mirror of
https://github.com/gumyr/build123d.git
synced 2025-12-06 02:30:55 -08:00
fix: correct type on to_align_offset
This commit is contained in:
parent
e06337a0e8
commit
931cf4c15f
1 changed files with 1 additions and 1 deletions
|
|
@ -1019,7 +1019,7 @@ class BoundBox:
|
||||||
and second_box.max.Z < self.max.Z
|
and second_box.max.Z < self.max.Z
|
||||||
)
|
)
|
||||||
|
|
||||||
def to_align_offset(self, align: Tuple[float, float]) -> Tuple[float, float]:
|
def to_align_offset(self, align: Tuple[Align, Align]) -> List[float]:
|
||||||
"""Amount to move object to achieve the desired alignment"""
|
"""Amount to move object to achieve the desired alignment"""
|
||||||
align_offset = []
|
align_offset = []
|
||||||
for i in range(2):
|
for i in range(2):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue