Need professional assistance?
Need to speed up your development?
Have a look at our:
Samples & Tools
Need some functionality extending standard OCCT capabilities?
Check out our:
I have this solid here and get the message:
Report: 6 unknown entities.
And dont't understand why? I have a solid!
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.
"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?
See chapter "5. 2. 1 Topological types" of the "Modeling Data User's Guide".
and how can I use that with IGESControl_Reader???
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.
I don't know how to set the parameter ...
it does not work with IGES as B-Spline
IFSelect_ReturnStatus status = aIgesReader.ReadFile ("\\..\\");
Standard_Integer ic = Interface_Static::IVal("read.iges.bspline.continuity");
if (status == IFSelect_RetDone)
A Capgemini Group Company
Copyright © 2015 OPEN CASCADE SAS