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


Anonymous's picture

I try to make a topods_shell with some topods_face but it doesn't work.

In the Open cascade help, I read that the constructor of this type of shape use a geom_surface, so I tried to make a geom_surface with my topods_shape and a TopLoc_Location But when I tried to compute, I had an error on my shell!


TopoDS_Face F4 = BRepBuilderAPI_MakeFace(W4);

TopLoc_Location location;

Handle (Geom_Surface) F11=BRep_Tool::Surface(F4,location);

TopoDS_Shell shell1= BRepBuilderAPI_MakeShell (F11);

After that, I tried with this syntax because there is a second constructor witch use a geom_surface and four real, but I don't know what are their utilities:

TopoDS_Shell shell1= BRepBuilderAPI_MakeShell (F11,10,10,10,10);

I had no error but when I tried to display my shell in the viewer...there is nothing.

I'm afraid this problem isn't difficult but I don't find the solution alone. So if you have a simple example for me or an explication...

Thanks for your help.

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.