mirror of
https://github.com/gumyr/build123d.git
synced 2025-12-06 02:30:55 -08:00
operations_generic.py -> bounding_box(optimal=False).diagonal
This commit is contained in:
parent
be4cd518b0
commit
58e82b8963
1 changed files with 1 additions and 1 deletions
|
|
@ -734,7 +734,7 @@ def project(
|
|||
shape_list = [
|
||||
Vertex(*o.to_tuple()) if isinstance(o, Vector) else o for o in object_list
|
||||
]
|
||||
object_size = Compound(children=shape_list).bounding_box().diagonal
|
||||
object_size = Compound(children=shape_list).bounding_box(optimal=False).diagonal
|
||||
|
||||
point_list = [o for o in object_list if isinstance(o, (Vector, Vertex))]
|
||||
point_list = [Vector(pnt) for pnt in point_list]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue