Introduction
STEP is the ISO 10303 standard for exchanging product data between CAD systems. A STEP file carries exact solid geometry, as boundary surfaces rather than triangles, along with assemblies, units and, depending on the application protocol, colours, tolerances and product information. It is the most common neutral format for moving 3D models between different CAD programs.
The file says which application protocol it follows, such as AP203, AP214 or AP242.
Files use the extension .step or .stp.
Structure
The common encoding, ISO 10303-21, is plain text. It opens with
ISO-10303-21;, then a HEADER section naming the file, its
author, the program that wrote it and the schema it follows. The DATA
section lists numbered entity instances, one per statement, each referring to others
by number. The file closes with END-ISO-10303-21;.
ISO-10303-21;
HEADER;
FILE_DESCRIPTION(('a bracket'),'2;1');
FILE_NAME('bracket.step','2026-01-01T00:00:00',(''),(''),'','','');
FILE_SCHEMA(('AUTOMOTIVE_DESIGN'));
ENDSEC;
DATA;
#1=CARTESIAN_POINT('',(0.,0.,0.));
#2=DIRECTION('',(0.,0.,1.));
#3=AXIS2_PLACEMENT_3D('',#1,#2,$);
ENDSEC;
END-ISO-10303-21;
In this reference
- Part 21 syntax – the ISO 10303-21 clear text encoding: sections, tokens, strings and their directives, binaries, the header entities and implementation levels, data sections, complex instances, and the anchor, reference and signature sections
- Schemas and core entities – AP203 and AP214 as published in the STEPcode repository, and the attributes of the product, shape, geometry, topology, unit and colour entities a CAD model uses
Not described
Known, not yet covered
- Reference: the other application protocols and editions, notably AP242 and the later AP203 and AP214 editions, whose EXPRESS schemas are not read here. The pages cover two schemas, AP203 amendment 1 and AP214 (2007 draft), and only the core entities of them (schemas page). The other roughly 250 AP203 and 900 AP214 entities, the rules, functions and types are not described.
- Reference: the EXPRESS language itself (ISO 10303-11), the XML encoding (Part 28) and the binary encoding, and the ECMAScript and multi-schema annexes of Part 21.
- Viewer: none yet; the site shows only the hex viewer for STEP files.
Links
Software
- FreeCAD – free open source parametric CAD program (Windows, macOS, Linux)
- Autodesk Fusion – Autodesk’s CAD and CAM program (Windows, macOS)
- Autodesk Inventor – Autodesk’s mechanical design program (Windows)
- SolidWorks – Dassault Systèmes’ mechanical CAD program (Windows)
- Onshape – CAD program that runs in the browser (web browsers)
- Rhino – McNeel’s NURBS modelling program (Windows, macOS)
Developers
- Open CASCADE Technology – open source geometry kernel that reads and writes STEP (C++)
- CadQuery – builds CAD models in code on Open CASCADE and exports STEP (Python)
Reference
- ISO 10303-21, third edition – the clear text encoding, as the final text published by STEP Tools (ISO copyright)
- STEPcode – open source EXPRESS-to-code tools whose
datafolder holds the AP203 and AP214 EXPRESS schemas