| Close a sweeped TopoDS_Shape |
 |
| David d Angelo
|
2008-05-14 12:17 |
Hi folks,
I encountered a (most probably) simple problem while sweeping a face.
Basically I am calculating the following:
--
TopoDS_Face face = //create face
gp_Dir direc(0,1,0);
gp_Vec v = direc;
TopoDS_Shape
res=BRepPrimAPI_MakePrism(face,v,Standard_False);
--
The problem now is, that the resulting TopoDS_Shape (res) is not closed. E.g. if the face to be sweeped is a rectangle, the resulting 3d box has one open face.
Is there an easy way to generally close a shape or to produce a sweep which resulting shape is closed?
Thanks in advance.
Regards,
David |
 |
|
|
|
|