Difference between revisions of "STEP X3D Translation"
Vmarchetti (Talk | contribs) (→CADExchanger) |
Vmarchetti (Talk | contribs) (→Open Cascade and PythonOCC) |
||
Line 5: | Line 5: | ||
===Open Cascade and PythonOCC=== | ===Open Cascade and PythonOCC=== | ||
+ | [http://www.opencascade.com Open Casade] is a open source (LGPL) geometry kernel written in C++. [http://www.pythonocc.org PythonOCC] is a Python binding to the function exposed in compiled OpenCascade libraries, and so allows OpenCascade functions to be called from Python scripts. A simple Python script calling STEP import function followed by X3D export of the model : | ||
===SPRI Server=== | ===SPRI Server=== |
Revision as of 13:12, 5 May 2016
STEP to X3D Translation
Methods for converting STEP (ISO 10303) exchange files to X3D files. Here we focus on direct translation; an alternative method will be to read import a STEP file into a full featured CAD program and then export either as X3D if avallable or export as VRML, then perform a VRML -> X3D translation.
CADExchanger
CADExchanger is a commercial product available for Windows and Mac OS that offers import and export for a number of formats [1]. At version 3.12 It offers import (and export) for STEP files and export for X3D. Conversion is by importing a STEP file and exporting as X3D. The developers also offer command-line products for bulk conversion, a software development kit, and development services.
Open Cascade and PythonOCC
Open Casade is a open source (LGPL) geometry kernel written in C++. PythonOCC is a Python binding to the function exposed in compiled OpenCascade libraries, and so allows OpenCascade functions to be called from Python scripts. A simple Python script calling STEP import function followed by X3D export of the model :