StepSTLTools
Engineering Whitepaper•ISO 10303 vs Stereolithography

STEP vs STL: Mathematical CAD Solids vs Triangular Meshes

Understanding the mathematical and architectural divide between Boundary Representation (B-Rep) parametric models and discrete polygon facet meshes in digital manufacturing.

Ready to Convert Your CAD Model?

Tessellate .STEP or .STP directly to watertight Binary STL with custom chordal deflection in your browser.

Format Comparison Matrix

AttributeSTEP (.step, .stp)STL (.stl)
Geometry TypeMathematical B-Rep (NURBS, exact analytical cylinders, planes, spheres)Discrete planar triangular facet mesh (approximated polygons)
PrecisionInfinite mathematical resolutionFinite; constrained by tessellation deflection settings
Parametric EditabilityHigh (Direct face offsetting, fillets, hole resizing in CAD)Extremely low (rigid triangle points; destructive mesh sculpting)
Slicer Direct SupportLimited (modern slicers convert to mesh internally before slicing)Universal (native input for 100% of additive slicers)
Topology MetadataSolids, B-Rep faces, boundary edges, assembly hierarchiesUnordered list of 3 vertices + normal vector per facet
Standard SpecificationISO 10303-21 (AP203, AP214, AP242)3D Systems Stereolithography (1987)

The Mathematical Divide: Analytical Solids vs Facet Meshes

In modern computer-aided design (CAD), parts are represented using Boundary Representation (B-Rep). A B-Rep solid defines an enclosed volume using topological structures: solids are bounded by shells, which consist of connected faces, bounded by edges, intersecting at vertices. Because underlying curves and surfaces are analytical or Non-Uniform Rational B-Splines (NURBS), a cylinder in a STEP file is defined strictly by an axis, a radius, and two planar end caps.

Conversely, STL (Standard Tessellation Language) has no concept of curved geometry, assemblies, or topological features. An STL file contains an unstructured triangulated surface mesh: every triangle is defined solely by a normal vector indicating the outward orientation and three Cartesian vertices ($x, y, z$).

Tessellation Calculus: Linear Chordal & Angular Deflection

When transitioning from a continuous mathematical curve to flat planar triangles, the CAD tessellation engine evaluates two critical geometric tolerances:

Linear Chordal Deflection (δ)

The maximum perpendicular distance permitted between the ideal mathematical arc and the midpoint of the chordal triangle facet edge. Smaller values yield tighter circle conformity.

Angular Deflection (α)

The maximum permissible angle between normal vectors of adjacent triangular facets along a shared edge. Prevents sharp polygonal shading breaks across high-curvature sweeps.

Why Slicers Require STL Conversion

Additive manufacturing slicers operate by slicing 3D models into hundreds or thousands of horizontal 2D planar cross-sections along the Z-axis. Calculating intersections between a horizontal plane and thousands of flat triangles is computationally fast ($O(N)$ ray-triangle intersection routines). In contrast, computing exact intersections between slicing planes and complex non-linear NURBS polynomials in real time would require orders of magnitude more compute time and memory.

Therefore, before slicing begins, every CAD solid must be converted into a manifold triangular mesh. By using StepSTLTools, you control the tessellation parameters directly rather than relying on default, often coarse slicer meshing algorithms.

Try StepSTLTools In-Browser CAD Utilities

Tessellate B-Rep solids, heal facet normals, and inspect CAD topology directly in your browser.

Frequently Asked Questions

Why can't 3D printers and slicers read STEP files directly?

Most 3D printing slicers (OrcaSlicer, Bambu Studio, PrusaSlicer) operate on planar polygonal layers. STEP files store exact mathematical surfaces (NURBS and analytical B-Rep curves) that slicer G-code generators cannot slice until evaluated into discrete planar triangular facets (STL or 3MF).

What is the difference between B-Rep solids and polygon meshes?

B-Rep (Boundary Representation) mathematically defines continuous topological curves, cylinders, and planar faces with infinite precision. A polygon mesh (like STL) approximates those continuous curves using flat triangular planar facets, introducing chordal deviation.

How do chordal and angular deflection affect 3D print quality?

Linear chordal deflection sets the maximum allowable peak distance between the true mathematical curve and the flat triangle facet. Angular deflection sets the maximum angle between adjacent triangle normal vectors. Tighter tolerances eliminate visible faceting on curved surfaces at the expense of larger file sizes.

Can I convert an STL back into an editable STEP solid?

Not easily. Converting triangles back into mathematical B-Rep solids requires reverse engineering (feature recognition or surface fitting). It rarely recreates the original design intent, sketch dimensions, or parametric history.

Is it safe to convert proprietary engineering STEP files online?

StepSTLTools executes 100% of CAD parsing and tessellation inside your browser using OpenCASCADE WebAssembly. Zero bytes of your CAD model are ever uploaded to an external server.