david_10806 Tue, 10/28/2014 - 17:21 Forums: Other usage issuesHi 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 jelle 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 Log in to post comments jelle 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 Log in to post comments Gilles DAVID 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. Attachments: Untitled.jpg Log in to post comments
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.