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 / IGES and solids

IGES and solids

IGES and solids
James D. 2012/12/04 16:14
Hi,
I have this solid here and get the message:

Report: 6 unknown entities.

And dont't understand why? I have a solid!
You have to be logged in to download the attached file
Forum supervisor 2012/12/04 17:03
Dear James,
You have compound of 6 faces.
You may check type of just read shape.
If you want to keep in iges file a shape of type Solid,
use the corresponding write mode(variable ' modecr') ==> BRep.
In last case you will be able to read back a solid.
Regards
James D. 2012/12/06 14:43
"use the corresponding write mode(variable ' modecr') ==> BRep."
I use B-Rep

"You may check type of just read shape."
To check? I read this like in the example (doc) with ... or what do you mean?
Forum supervisor 2012/12/06 14:56
Dear James,
See chapter "5. 2. 1 Topological types" of the "Modeling Data User's Guide".
Regards
James D. 2012/12/07 01:42
and how can I use that with IGESControl_Reader???
Hans 2012/12/07 02:37
Because of all your questions along this board it would be better if you first try to understand the included samples like "Import Export" for importing different file types. There you can see how to import an IGES file.
And "Viewer 3d" for visualization of your files.

Have a look at iges.pdf - Chapter 2 "Description of the process".

I developed my application after trying to understand the samples and this chapter and i'm able to import your attached *.igs file without any problems.

Regards,
Hans
James D. 2012/12/07 11:56
I don't know how to set the parameter ...
James D. 2012/12/07 14:59
it does not work with IGES as B-Spline



     IGESControl_Reader myIgesReader;
     Standard_Integer nIgesFaces,nTransFaces;

     IFSelect_ReturnStatus status = aIgesReader.ReadFile ("\\..\\");
     
     Standard_Integer ic = Interface_Static::IVal("read.iges.bspline.continuity");
     Interface_Static::SetIVal ("read.iges.bspline.continuity",2);

     if (status == IFSelect_RetDone)
 
 
Latest news
  • Open CASCADE Technology 6.7.0 is available for download!
  • Open CASCADE Technology 6.6.0 is available for download!
  • Open CASCADE Technology 6.5.5 is available for download!

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