Open Inventor Release 2024.1.0
 
Loading...
Searching...
No Matches
SoCADInputReaderParameters::ImportOption Struct Reference

Specify how the scene graph resulting from the import should be generated. More...

#include <Inventor/io/CAD/SoCADInputReaderParameters.h>

Public Member Functions

 ImportOption ()
 

Public Attributes

bool forceTesselation
 Some CAD formats store faceted data in addition to the B-Rep.
 
bool importEdges
 Import Edges for the model.
 
bool importOpenShells
 Import OpenShell for the model.
 
bool importPMI
 Import PMI (Product and Manufacturing Information) from the model.
 
bool mergeFaces
 Merge imported geometry in a single Open Inventor Geometry object.
 

Detailed Description

Specify how the scene graph resulting from the import should be generated.

Definition at line 136 of file SoCADInputReaderParameters.h.

Constructor & Destructor Documentation

◆ ImportOption()

SoCADInputReaderParameters::ImportOption::ImportOption ( )

Member Data Documentation

◆ forceTesselation

bool SoCADInputReaderParameters::ImportOption::forceTesselation

Some CAD formats store faceted data in addition to the B-Rep.

If forceTesselation is true, then this representation is ignored and a tesselation will be generated from the B-Rep. If forceTesselation is false, the faceted representation is used and other parameters are ignored (including tesselationparameters).

Note: using faceted data greatly improves import performance (both time and memory consumption).

Default: false

Since Open Inventor 9.6

Definition at line 151 of file SoCADInputReaderParameters.h.

◆ importEdges

bool SoCADInputReaderParameters::ImportOption::importEdges

Import Edges for the model.

Default: false

Definition at line 157 of file SoCADInputReaderParameters.h.

◆ importOpenShells

bool SoCADInputReaderParameters::ImportOption::importOpenShells

Import OpenShell for the model.

It is composed of points or polylines.

Default: false

Definition at line 165 of file SoCADInputReaderParameters.h.

◆ importPMI

bool SoCADInputReaderParameters::ImportOption::importPMI

Import PMI (Product and Manufacturing Information) from the model.

It is composed of text, measures and view points.

Note: while importing text we keep the Font name information from the source if the given font is not available then the Open Inventor default font is used which can be used through OIV_FONT_NAME environment variable or programmatically by calling SoFontNameElement::setDefault(). See SoFont class doc to get some recommended font that support most symbols glyphs.

Default: false

Definition at line 179 of file SoCADInputReaderParameters.h.

◆ mergeFaces

bool SoCADInputReaderParameters::ImportOption::mergeFaces

Merge imported geometry in a single Open Inventor Geometry object.

  • multiple faces of a shell are merged in a single SoTriangleSet.
  • multiple edges of a shell are merged in a single SoLineSet.

Default: false

Definition at line 188 of file SoCADInputReaderParameters.h.


The documentation for this struct was generated from the following file: