
Tue, 10/28/2014 - 17:21
Forums:
Hi
I want to create a solid shape that cover all the shape. I need the primary cubic of the model without features.
Can anybody help me?
Thanks
David
Hi
I want to create a solid shape that cover all the shape. I need the primary cubic of the model without features.
Can anybody help me?
Thanks
David
Tue, 10/28/2014 - 17:28
Use a bounding box to compute the dimension of the shape, see:
http://dev.opencascade.org/doc/refman/html/class_bnd___box.html
Tue, 10/28/2014 - 17:31
sorry, the correct class would be BRepBndLib. Just add your shape and you should be on your way...
see:
http://dev.opencascade.org/doc/refman/html/class_b_rep_bnd_lib.html
Tue, 10/28/2014 - 19:53
Thanks jelle
i cann't write the code :(. can u help me more?
i have topods shape like figure 1 and need the primary cubic(topods) like figure2.