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

Search the Forums
See All Topics
Open CASCADEShowroomGet it!Developer CornerSupport and ProductsAbout us
Technical overview
Areas of use
Advantages
FAQ
Screenshots
Shape factory
Shape gallery
Demonstrations
What's new
System requirements
Download Center
Public license
Documentation
Getting started
Forums
Open Source community
Training and e-learning
A-la Carte Support
Value-added software
Complementary Components
Customer Corner
Company Profile
Marketing Materials
Contact Us
News
Home / Developer Corner / Forums / Usage issues / Couldn't export Vertex and Edges to IGES file format

Couldn't export Vertex and Edges to IGES file format

Couldn't export Vertex and Edges to IGES file format
Game Milky 2013/03/27 12:08


Dear All,

I want to export Vertex and Edges to IGES file format!

I tried the following way, what i normally use for faces.


I have an array of edges:

TopoDS_Edge Edges;

Handle(Geom_Curve) curve = BRep_Tool::Curve(edge, first, last);

//Writing Iges f

IGESControl_Controller::Init();
IGESControl_Writer face("MM", 1);
if (!Interface_Static::SetIVal("write.precision.mode",-1))

//face.AddShape(Edges); // to add OCC shapes
face.AddGeom(curve); // to add curve and surfaces
//adds shape to IGES model
face.ComputeModel();
Standard_Boolean OKface = face.Write("Edges.igs");

Have no error message but the output Edges.igs is empty! Only Global section is there!

Any help!

Regards
Game
 
 
Latest news
  • Open CASCADE Technology 6.7.1 is available for download!
  • Open CASCADE Technology 6.7.0 is available for download!
  • Open CASCADE Technology 6.6.0 is available for download!

  • © OPEN CASCADE 2000 - 2014  |  Search  |  Contacts   |  Site map