WOLFRAM

STEP (.step, .stp)

New in 14[Experimental]

Background & Context

    • MIME type: model/step
    • STEP ISO is the standard for representation and exchange of product manufacturing information.
    • 3D geometry format.
    • Commonly used for representing 3D models for computer-aided design.
    • ASCII format.
    • Stores a 3D object, including a solid, as a surface formed by a collection of adjacent triangles.

Import & Export

  • Import["file.step"] imports a STEP file as a graphics object representing the surface.
  • Import["file.step",elem] imports the specified element from a STEP file.
  • The import format can be specified with Import["file","STEP"] or Import["file",{"STEP",elem,}].
  • Export["file.step",expr] exports a 3D graphics object to a STEP file. The expr can be any region that is ConstantRegionQ or a Graphics or Graphics3D object.
  • The export format can be specified with Export["file",expr,"STEP"] or Export["file",expr,{"STEP",opt1->val1,}].
  • See the following reference pages for full general information:
  • Import, Exportimport from or export to a file
    CloudImport, CloudExportimport from or export to a cloud object
    ImportString, ExportStringimport from or export to a string
    ImportByteArray, ExportByteArrayimport from or export to a byte array

Import Elements

  • General Import elements:
  • "Elements" list of elements and options available in this file
    "Summary"summary of the file
    "Rules"list of rules for all available elements
  • Graphics representation elements:
  • "Graphics3D"OBJ file represented as a Graphics3D object
    "GraphicsComplex"OBJ file as a GraphicsComplex object
    "PolygonObjects"list of polygon primitives given in absolute coordinates
  • Import and Export use the "Graphics3D" element by default for STEP files.

Examples

open allclose all

Basic Examples  (2)Summary of the most common use cases

Import a 3D model from STEP as a Graphics3D object:

Out[1]=1

Summary properties of the model:

Out[2]=2

Export a 3D model to a STEP file:

Out[1]=1

Scope  (5)Survey of the scope of standard use cases

Import  (3)

Import works on STEP files:

Out[1]=1

Stream:

Out[1]=1
Out[2]=2
Out[3]=3

Import provides access to elements in the STEP file:

Out[1]=1

Export  (2)

Special regions:

Out[1]=1

Boundary mesh regions:

Out[1]=1

Import Elements  (7)

"Graphics3D"  (1)

Give the Graphics3D object:

Out[1]=1

"MeshRegion"  (1)

Give the mesh region:

Out[1]=1

"SplineRegion"  (1)

Give the spline region:

Out[1]=1

"PolygonData"  (1)

Give the polygon elements in indexed form:

"PolygonObjects"  (1)

Give the list of Polygon primitives in absolute coordinates:

Out[1]=1

"Summary"  (1)

Give the summary of properties:

Out[1]=1

"VertexData"  (1)

Give the vertex coordinates: