mirror of
https://github.com/gumyr/build123d.git
synced 2025-12-06 02:30:55 -08:00
geometry.py -> remove mesh step from optimal=False, oriented=True
This commit is contained in:
parent
58e82b8963
commit
d7da7e9837
1 changed files with 0 additions and 2 deletions
|
|
@ -997,8 +997,6 @@ class BoundBox:
|
||||||
else:
|
else:
|
||||||
# this is adds +margin but is faster
|
# this is adds +margin but is faster
|
||||||
if oriented:
|
if oriented:
|
||||||
mesh = BRepMesh_IncrementalMesh(shape, tolerance, True)
|
|
||||||
mesh.Perform()
|
|
||||||
BRepBndLib.AddOBB_s(shape, bbox_obb)
|
BRepBndLib.AddOBB_s(shape, bbox_obb)
|
||||||
else:
|
else:
|
||||||
BRepBndLib.Add_s(shape, bbox, True)
|
BRepBndLib.Add_s(shape, bbox, True)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue