STEP (.step, .stp)

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)

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

Summary properties of the model:

Export a 3D model to a STEP file:

Scope  (5)

Import  (3)

Import works on STEP files:

Stream:

Import provides access to elements in the STEP file:

Export  (2)

Special regions:

Boundary mesh regions:

Import Elements  (7)

"Graphics3D"  (1)

Give the Graphics3D object:

"MeshRegion"  (1)

Give the mesh region:

"SplineRegion"  (1)

Give the spline region:

"PolygonData"  (1)

Give the polygon elements in indexed form:

"PolygonObjects"  (1)

Give the list of Polygon primitives in absolute coordinates:

"Summary"  (1)

Give the summary of properties:

"VertexData"  (1)

Give the vertex coordinates: