geometry.py -> remove mesh step from optimal=False, oriented=True

This commit is contained in:
jdegenstein 2024-10-10 15:17:40 -05:00 committed by GitHub
parent 58e82b8963
commit d7da7e9837
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)