Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Open CASCADEShowroomGet Open CASCADEDeveloper CornerSupportAbout us
Technical overview
Areas of use
Advantages
Public license
FAQ
Screenshots
Shape factory
Shape gallery
Demonstrations
System requirements
What's new
Download Center
CD-ROM
Documentation
Getting started
Forum
Open Source community
Training and e-learning
A la Carte Support
Value-added software
Client Area
Company Profile
Contacts and Locations
Customers
News
Home / Developer Corner / Forum / Close a sweeped TopoDS_Shape

Forum

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
 
 
Latest news
  • Open CASCADE Technology 6.3
  • SolidWorks Import by Datakit
  • UG NX Import by Datakit

  • © Open CASCADE 2000 - 2008  |  Search  |  Contacts