Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oriented BoundBox not working correctly #624

Open
jdegenstein opened this issue May 13, 2024 · 0 comments
Open

Oriented BoundBox not working correctly #624

jdegenstein opened this issue May 13, 2024 · 0 comments

Comments

@jdegenstein
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant