Open Inventor Release 2024.1.3
 
Loading...
Searching...
No Matches
SoCADInputReader Class Reference

VSG extension Class for importing a scene graph from a CAD file. More...

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

+ Inheritance diagram for SoCADInputReader:

Public Member Functions

 SoCADInputReader ()
 Constructor.
 
virtual ~SoCADInputReader ()
 Destructor.
 
virtual bool canConvert (SoInput *)
 Returns true if the specified input source can be converted by this plugin.
 
virtual SoSeparatorconvert (SoInput *)
 Returns the specified input source in the form of an Open Inventor scene graph.
 
- Public Member Functions inherited from SoRefCounter
void ref () const
 Adds a reference to an instance.
 
void unref () const
 Removes a reference from an instance.
 
void unrefNoDelete () const
 unrefNoDelete() should be called when it is desired to decrement the reference count, but not delete the instance if this brings the reference count to zero.
 
int getRefCount () const
 Returns current reference count.
 
void lock () const
 lock this instance.
 
void unlock () const
 unlock this instance.
 
- Public Member Functions inherited from SoTypedObject
virtual SoType getTypeId () const =0
 Returns the type identifier for a specific instance.
 
SbBool isOfType (const SoType &type) const
 Returns TRUE if this object is of the type specified in type or is derived from that type.
 
template<typename TypedObjectClass >
SbBool isOfType () const
 Returns TRUE if this object is of the type of class TypedObjectClass or is derived from that class.
 

Additional Inherited Members

- Static Public Member Functions inherited from SoTypedObject
static SoType getClassTypeId ()
 Returns the type identifier for this class.
 

Detailed Description

VSG extension Class for importing a scene graph from a CAD file.

This class can import data from a number of CAD file formats to an Open Inventor scenegraph.

Note that for each format, if the required license are available reading a file into Open Inventor is just like reading in an Open Inventor format file. Open Inventor will open the file and automatically detect its format and use this class to do the import.

List of supported formats:

File extensions File Format
.catpart, .catproduct CATIA V5. See CATIAV5_DETAILS.
.3dxml CATIA V6. See CATIAV6_DETAILS.
.iges, .igs IGES reader. See IGES_DETAILS.
.jt JT. See JT_DETAILS.
.xmt, .x_t, .x_b ParaSolid. see PARASOLID_DETAILS.
.par, .asm, .psm, .pwd SolidEdge. see SOLIDEDGE_DETAILS
.sldprt, .sldasm SolidWorks. see SOLIDWORKS_DETAILS
.prt Unigraphics. see UNIGRAPHICS_DETAILS
.step, .stp, .stp.Z STEP. see STEP_DETAILS
.dwg Autocad Dwg. see DWG_DETAILS.
.asm, .prt, .xar, .xpr PROECREO. see PROECREO_DETAILS.
.vda VDA.

Important Notes:

Part names will be imported, but since the names are assigned directly to nodes, the Open Inventor node name limitations will be enforced automatically (see SoBase::setName()). For example ' ' (blank or space) characters are replaced with '_' (underscore) characters and a leading '#' (hash or pound sign) character will be replaced with "_" (underscore).

CATIA V5 Input details:

  • Supports release from CatiaV5 R7 to R23 (called V5-6R2013)

CATIA V6 Input details:

  • Supports the Geometry Reading from R2010x to R2013x.

DWG Input details:

  • Supports version from 2.5 up to 2013
  • Converts 3D entities (3D solids) and meshes (3D surfaces)
  • Converts wireframe
  • Does not convert drawings elements (for example: labels, tables)
  • Does not convert kinematics, layer filter, axis system and camera elements
  • Type of files read : *.dwg

IGES Input details:

  • Supports release until 5.3

JT Input details:

  • Supports Tesselated Jt 3D files, and B-REP.
  • Supports formats up 10.2.

PARASOLID Input details:

  • Supports version: v7 to v26

ProE/Creo Parametric Input details:

  • Supports Pro/E 2000i to Creo Parametric 2.0

SolidEdge Input details:

  • Support version: up to ST6.

SolidWorks Input details:

  • Support version: 1999 to 2014.

STEP Input details:

  • Support STEP protocols : AP203 (Edition 1, Edition 2), AP214 (up to Edition 3), AP242 (Edition 1 pre-DIS).

Unigraphics Input details:

  • Supports version: v10 to UGNX9

SEE ALSO

SoInput, SoInputParameters, SoCADFileFormat, SoCADInputReaderParameters

Definition at line 110 of file SoCADInputReader.h.

Constructor & Destructor Documentation

◆ SoCADInputReader()

SoCADInputReader::SoCADInputReader ( )

Constructor.

◆ ~SoCADInputReader()

virtual SoCADInputReader::~SoCADInputReader ( )
virtual

Destructor.

Member Function Documentation

◆ canConvert()

virtual bool SoCADInputReader::canConvert ( SoInput )
virtual

Returns true if the specified input source can be converted by this plugin.

Note that the input source (SoInput object) may be a file or a buffer (memory). This method should return false if the input source is a buffer and the reader does not support reading from a buffer. SoInput::getCurFile() returns NULL if the input source is a buffer.

Implements SoInputReader.

◆ convert()

virtual SoSeparator * SoCADInputReader::convert ( SoInput )
virtual

Returns the specified input source in the form of an Open Inventor scene graph.

Note that the input source (SoInput object) may be a file or a buffer (memory). This method should return NULL if the input source is a buffer and the reader does not support reading from a buffer. SoInput::getCurFile() returns NULL if the input source is a buffer.

Implements SoInputReader.


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