gumyr/build123d

Oriented BoundBox not working correctly

Opened this issue · 0 comments

bb2 = BoundBox._from_topo_ds(
    Solid.make_cylinder(0.5, 0.5).translate((0, 0, 0.1)).wrapped, optimal=False, oriented=True
)

Returns:
AttributeError: 'OCP.Bnd.Bnd_OBB' object has no attribute 'Get'

The API for these two is different apparently in OCCT

https://dev.opencascade.org/doc/refman/html/class_bnd___o_b_b.html

https://dev.opencascade.org/doc/refman/html/class_bnd___box.html