For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Making a solid out of a convex hull

Dennis Krischok's picture
Forums: 

Hi all,

I have a problem making a solid out of a convex hull. I've tried many things, but it always works for some cases only. Maybe one of you has an idea.

That's the situation:
I have a computed convex hull (from another other library) and I get all the triangles that form the convex hull. This convex hull I want to bring into a TopoDS_Solid to use it with Open Cascade (6.3.0).

I've tried:
Basicly I tried making a face out out every triangle and sewing them in the end. The results for different objects / convex hulls differ in the ShapeType, i.e. CompSolid, Shell or Compound. When having the first two types it is possible to create a solid using MakeSolid(...). But if I have a Compound I do not know how to transform it into a solid.

Has anyone an idea how to solve my problem?
Thanks a lot!

Dennis

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.