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, Export import from or export to a file CloudImport, CloudExport import from or export to a cloud object ImportString, ExportString import from or export to a string ImportByteArray, ExportByteArray import 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 all close allBasic Examples (2)
Import a 3D model from STEP as a Graphics3D object:
Import["ExampleData/vase.step"]Summary properties of the model:
Import["ExampleData/vase.step", "Summary"]Export a 3D model to a STEP file:
Export["model.step", [image]]Scope (5)
Import (3)
Import works on STEP files:
Import["ExampleData/cube.step"]str = OpenRead["ExampleData/cube.step"]Import[str]Close[str]Import provides access to elements in the STEP file:
Import["ExampleData/cube.step", "Elements"]Import Elements (7)
"Graphics3D" (1)
Give the Graphics3D object:
Import["ExampleData/cube.step", "Graphics3D"]"MeshRegion" (1)
"SplineRegion" (1)
"PolygonData" (1)
"PolygonObjects" (1)
Give the list of Polygon primitives in absolute coordinates:
Import["ExampleData/cube.step", "PolygonObjects"]"Summary" (1)
History
Introduced in 2024 (14.0)