In mechanical engineering and aerospace manufacturing, STEP (Standard for the Exchange of Product Model Data, ISO 10303) is the undisputed standard for neutral 3D geometry exchange.

Yet, CAD managers and machining programmers routinely encounter assemblies that import as unstitched surfaces, detached shells, or empty geometry trees. These issues stem from protocol mismatches across AP203, AP214, and AP242, compounded by kernel tolerance variations between Parasolid, ACIS, and Open CASCADE (OCCT).

1. The ISO 10303-21 Clear Text File Architecture

Every .step or .stp file conforms to ISO 10303-21 Part 21 clear-text encoding. The file is split into two mandatory blocks:

ISO-10303-21; HEADER; FILE_DESCRIPTION(('FreeCAD Model'),'2;1'); FILE_NAME('assembly_housing.step','2026-10-19T14:00:00',('Engineer'),('ACME Corp'),'Open CASCADE STEP processor 7.6','CAD System',''); FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 1 1 1 1 }')); ENDSEC; DATA; #10=CARTESIAN_POINT('',(0.,0.,0.)); #11=DIRECTION('',(0.,0.,1.)); ... ENDSEC; END-ISO-10303-21; 

The Three Dominant Application Protocols (AP):

  1. AP203 (Configuration Controlled 3D Mechanical Design):
    • Covers pure B-Rep solids, surfaces, and basic assembly structure.
    • Limitation: Does not support surface colors, layer groupings, or geometric tolerances (GD&T).
  2. AP214 (Automotive Mechanical Design Processes):
    • Adds rich color metadata, layer hierarchies, drafting curves, and kinematic constraints.
  3. AP242 (Managed Model-Based 3D Engineering):
    • Flagship standard merging AP203 and AP214.
    • Supports 3D Model-Based Definition (MBD), Product and Manufacturing Information (PMI), and semantic GD&T.

2. Why B-Rep Sewing Fails During Cross-CAD Translation

Boundary Representation (B-Rep) defines a solid by its topological boundaries (Vertices, Edges, Faces) and underlying geometric curves/surfaces.

When CAD software translates a STEP file:

  1. Geometric Kernel Incompatibility:
    • Siemens Parasolid enforces an internal modeling resolution of $1.0 \times 10^{-4}\text{ mm}$.
    • Spatial ACIS operates with precision near $1.0 \times 10^{-6}\text{ mm}$.
    • Open CASCADE defaults to variable tolerances.
  2. Tolerance Mismatch: If an exporting system evaluates a trimmed BSpline surface with a boundary curve tolerance of $0.02\text{ mm}$, and the importing system attempts to stitch faces with a default $0.001\text{ mm}$ sewing threshold, the edge loops fail to close, leaving an open Shell.

3. Header Inspection & Practical Triage

Before launching heavy CAD software to inspect a multi-gigabyte assembly, engineers can read the file header in milliseconds to verify the AP schema, authoring CAD application, and unit definitions:

4. Step-by-Step Shell Sewing Workflow

When a STEP model imports as detached surfaces:

  1. Identify Free Edges: Run your software's topology audit (Check Geometry in SolidWorks, Part -> Check Geometry in FreeCAD). Count the Free Edges—a true solid must have exactly zero.
  2. Apply Controlled Sewing:
    • In SolidWorks: Use Insert -> Surface -> Knit Surface, check Try to form solid, and set the Gap Control tolerance to $0.01\text{ mm} \sim 0.03\text{ mm}$.
    • In FreeCAD: Use Part.BOPTools.Utils.sew() with tolerance set to 0.01 to bridge micro-gaps without distorting critical flat datum faces.

Understanding STEP protocol schemas and B-Rep kernel mechanics ensures predictable, clean translation across heterogeneous engineering toolchains. Check out CADGuide.tools for additional tools.