Skip to main content
U.S. flag

An official website of the United States government

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

STEP to X3D Translator

The NIST STEP to X3D Translator (STP2X3D) is an open-source software that translates a STEP (ISO 10303) Part 21 file (.stp or .step) to an X3D (ISO/IEC 19776) file (.x3d) or X3DOM file (.html). The software is based on the Open CASCADE STEP Processor and written in C++.  X3DOM files can be displayed in a web browser.

STEP, known as the “STandard for the Exchange of Product model data,” is a comprehensive information model and data exchange standard for product data through its lifecycle. X3D (Extensible 3D Graphics) declaratively represents 3D computer graphics.

Uses

STP2X3D was initially developed to visualize part geometry for the NIST STEP File Analyzer and Viewer.  STP2X3D can also be used standalone to translate STEP to X3D or X3DOM. The translation allows for a lightweight 3D model format used for browser-based visualization.

The translator supports STEP boundary representation geometry but not STEP AP242 tessellated geometry.
 

An example model represented visually and in X3DOM code.
Sample bracket displayed in a web browser and the partial code snippet of X3DOM showing the nested structure of the model by using the Group component. Note that DEF is used to point to original components, while USE is used to describe copied components.
Credit: NIST

Contact

Created June 29, 2020, Updated September 21, 2021