SoSceneWriter

InventorModule

genre

InventorFile

author

MeVis Medical Solutions AG

package

MeVisLab/Standard

dll

SoUtils

definition

utils.def

keywords

save, iv, stl, z3d, vrml, graph

Purpose

The module SoSceneWriter saves Open Inventor scenes to a file using various formats.

The extension of the submitted filename is altered self-controlled to match standard conventions.

Details

Support for VRML and Z3D format is not part of the Open Inventor core library. The used functionality for VRML export is supported fully since Coin 2.0 or Open Inventor TGS 2.5 implementation. The STL formatter uses only core functionality of Open Inventor.

Windows

Default Panel

../../../Modules/Inventor/SoUtils/mhelp/Images/Screenshots/SoSceneWriter._default.png

Input Fields

sceneGraph

name: sceneGraph, type: SoNode

Parameter Fields

Field Index

bColorPerVertex: Bool

bNormalPerVertex: Bool

bSaveNormals: Bool

bUseGlobalColor: Bool

Data Format: Enum

Filename: String

Write Scene: Trigger

Visible Fields

Filename

name: filename, type: String, default: scene

Sets the filename.

Write Scene

name: save, type: Trigger

When pressed, the input scene is written to the specified file.

Data Format

name: format, type: Enum, default: INVENTOR_ASCII

Defines the output format.

Values:

Title

Name

Description

​Inventor Ascii

​INVENTOR_ASCII

​Open Inventor standard ASCII format.

​Inventor Binary

​INVENTOR_BINARY

​Open Inventor standard binary format.

​Stl Ascii

​STL_ASCII

​STL ASCII format.

​Stl Binary

​STL_BINARY

​STL binary format.

​Vrml 97

​VRML_97

​VRML 97 format.

Hidden Fields

bColorPerVertex

name: bColorPerVertex, type: Bool, default: TRUE

bUseGlobalColor

name: bUseGlobalColor, type: Bool, default: FALSE

bNormalPerVertex

name: bNormalPerVertex, type: Bool, default: TRUE

bSaveNormals

name: bSaveNormals, type: Bool, default: TRUE