ISO-10303-21 AP214 B-Rep 100% Browser-Local · Proprietary CAD Never Uploads

STL to STEP Converter — Coplanar Planar Face Recognition

What is an STL to STEP converter? An STL to STEP converter transforms triangulated stereolithography (.stl) polygon meshes into ISO-10303-21 (.step / .stp) boundary-representation (B-Rep) CAD solids. By welding shared vertices, clustering connected coplanar triangles within an angular tolerance, and stripping redundant interior diagonal edges, this browser-local tool exports AP214 MANIFOLD_SOLID_BREP or OPEN_SHELL geometry ready to measure, mate, drill, and machine inside Fusion 360, FreeCAD, SolidWorks, and Onshape—without uploading proprietary CAD parts to a remote server.

Load CAD Part:

1. Input STL Mesh & Tolerance

Binary & ASCII .stl supported
Drop a local .STL mechanical part here

Processed locally in JavaScript RAM — zero upload to external servers.

Drag to orbit 3D solid

2. B-Rep Topology Diagnostics & Export

AP214 AUTOMOTIVE_DESIGN
Initializing local B-Rep kernel...
Merged STEP Faces 8 faces Merged from 20 STL facets (-60%)
Solid Topology Watertight Solid CLOSED_SHELL · MANIFOLD_SOLID_BREP
Bounding Box (X × Y × Z) 40 × 24 × 32 mm Net volume: 10.368 cm³
STEP Output Size 4.2 KB ISO-10303-21 AP214 · Millimeter units

ISO-10303-21 (.STEP) Entity Preview

2D Artwork & Logo → Watertight 3D STL

Turn Drawings, Logos & Silhouettes into Millimeter-Accurate 3D Cutters & Stamps

Need custom contour-extruded STLs from a PNG/SVG logo or hand-drawn sketch? Preview your 3D geometry free in the browser and export server-verified manifold STLs with tapered 0.8–2.0 mm walls and grip flanges.

  • Automatic manifold & minimum wall-thickness geometry validation before download
  • Exact millimeter sizing (30–160 mm span, 8–25 mm blade height, customizable grip flange)
  • One-time PayPal credit packs — Starter $4.99 (12 STLs), Baker $9.90 (30 STLs), Shop $19.90 (80 STLs), zero subscription
$4.99 one-time · 12 STL credits
Credits never expire · Free re-downloads from My Cutters
Open Custom Silhouette STL Studio → View One-Time Credit Packs

STL Mesh vs. STEP AP214 B-Rep Engineering Comparison

How coplanar boundary-representation conversion transforms polygon soup into editable CAD geometry.

Engineering DimensionRaw .STL MeshExported .STEP (AP214 B-Rep)Impact in Fusion 360 / SolidWorks / FreeCAD
Geometry RepresentationUnconnected list of 3D triangles + 32-bit float face normalsTopological B-Rep: VERTEX_POINT -> EDGE_CURVE -> EDGE_LOOP -> ADVANCED_FACESTEP edges snap cleanly to sketch constraints, calipers, and assembly mates.
Flat Mechanical FacesSplit into dozens of coplanar triangles with diagonal split linesMerged into a single PLANE() surface bounded by simplified outer/inner loopsAllows direct Push/Pull extrude, hole wizard placement, and chamfering on flat faces.
Unit MetadataUnitless numbers (ambiguous between millimeters and inches)Explicit SI_UNIT(.MILLI.,.METRE.) embedded in GEOMETRIC_REPRESENTATION_CONTEXTEliminates 25.4× scale errors when importing into CAM or CNC toolpath software.
Solid vs. Surface TopologyNo explicit connectivity; slicer guesses volume from ray castingWatertight meshes export as CLOSED_SHELL + MANIFOLD_SOLID_BREPEnables Boolean Cut, Union, Intersect, and mass-property center-of-gravity queries.
Non-Manifold / Open ScansMissing triangles cause slicer holes or inverted bridging artifactsDetected automatically and exported as OPEN_SHELL surface modelPrevents CAD kernel import crashes while highlighting open boundary edges.
Curved Cylinders & FilletsApproximated by 24–128 flat chordal facets around circumferenceFaceted planar B-Rep unless reverse-engineered with primitive curve fittingKeep coplanar tolerance at 0.5°–1.5° so cylindrical facets stay crisp for axis reference.
Coordinate PrecisionBinary IEEE-754 single-precision float32 (~7 significant digits)Double-precision ASCII coordinate tuples with explicit 1.E-04 mm uncertaintyPrevents micro-sliver gaps when welding shared vertex coordinates.
Recommended Facet Budget100 to 5,000,000+ triangles (sculpts & 3D scans)Optimal under 25,000 facets (hard browser cap at 45,000 facets)Decimate high-poly organic figurines before B-Rep conversion so SolidWorks/Fusion stay responsive.
CNC CAM ToolpathsLimited to 3D parallel/scallop mesh surfacing pathsUnlocks 2.5D pocket, adaptive clearing, contour, and Z-level planar facesCuts CNC machining cycle time and improves machined sidewall surface finish.
Data ConfidentialityCloud converters upload proprietary client parts to third-party buckets100% client-side ArrayBuffer parsing & Blob download in local RAMSafe for NDA fixtures, medical jigs, custom enclosures, and commercial molds.

How to convert STL to STEP (AP214) in 5 steps

  1. 1

    Drop your Binary or ASCII .STL file (or load a mechanical preset)

    Drag a local .stl bracket, jig, spacer, or enclosure onto the dropzone, or click one of the built-in L-Bracket, T-Spacer, or U-Channel presets to inspect live coplanar merging immediately.

    Supported inputs: Binary STL (84 + 50*N bytes) and ASCII 'solid ... endsolid' up to 45,000 facets.
  2. 2

    Verify source units (Millimeters vs. Inches -> mm)

    Because STL files store raw unitless floats, select Inches × 25.4 whenever a part exported from legacy US CAD software measures under 5 units across.

    Bounding box readout updates instantly in millimeters (e.g. 1.50 in -> 38.10 mm).
  3. 3

    Tune the Coplanar Face Merge Tolerance (0.5° to 5.0°)

    Keep 1.5° (default) to collapse triangulated flat walls into clean single STEP planes while preserving crisp chamfers and faceted bolt holes. Switch to Raw Faceted B-Rep only if you need every original STL triangle preserved.

    Cyan wireframe lines in the 3D viewport show the exact merged STEP EDGE_LOOP boundaries.
  4. 4

    Check Watertight Manifold Status before Boolean CAD edits

    Confirm the topology badge reads Watertight Solid (CLOSED_SHELL · MANIFOLD_SOLID_BREP). If open boundary edges are reported, repair holes in PrusaSlicer or FreeCAD Mesh Design before attempting Boolean cuts.

    0 open boundary edges => MANIFOLD_SOLID_BREP | >=1 open edges => OPEN_SHELL surface fallback
  5. 5

    Download ISO-10303-21 AP214 .STEP and import into CAD

    Click Download .STEP (AP214) and open the file in Fusion 360, FreeCAD, SolidWorks, Onshape, or OrcaSlicer. Every merged planar face can now host new sketches, mounting holes, and assembly joints.

    FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 1 1 1 1 }'));

Why Parametric CAD Kernels Struggle with Raw STL Meshes

Every 3D printer slicer speaks STL natively, yet opening that exact same .stl file inside SolidWorks, Fusion 360, Onshape, or FreeCAD Part Design immediately hits a wall: you cannot select a flat mounting face to start a 2D sketch, measure center-to-center hole spacing cleanly, or subtract an M4 clearance counterbore. The mismatch comes down to mathematical topology. An STL file is an unstructured 'polygon soup'—each 50-byte binary record stores three 32-bit floating-point vertex coordinates and one normal vector with zero knowledge of which neighboring triangles share an edge or belong to the same physical wall.

Parametric CAD kernels (Parasolid, ACIS, OpenCASCADE, and Autodesk ShapeManager) operate instead on Boundary Representation (B-Rep) solids defined by ISO-10303-21 (STEP AP214 / AP203). In a STEP solid, vertices are deduplicated into canonical VERTEX_POINT entities, straight boundaries become parametric LINE and EDGE_CURVE definitions, directed ORIENTED_EDGE loops bound mathematical PLANE surfaces, and a watertight collection of ADVANCED_FACE entities closes into a MANIFOLD_SOLID_BREP.

When a naive converter wraps every individual STL triangle into its own separate STEP ADVANCED_FACE without merging coplanar neighbors, a simple rectangular enclosure with 4,000 triangles turns into a 4,000-face B-Rep body covered in diagonal split lines—bogging down your CAD rebuild tree and breaking chamfer/fillet propagation.

By reconstructing true multi-edge planar face loops before serializing ISO-10303-21 entities, flat reference datums become single selectable CAD surfaces again—restoring native point-to-plane distance measurement, concentric fastener alignment, and clean 2D DXF laser-cutting projection directly from legacy 3D print files.

/* Raw STL facet soup vs. Merged AP214 Planar Face: */
#42 = PLANE('',#41); /* Single mathematical plane for entire mounting face */
#43 = EDGE_LOOP('',(#31,#32,#33,#34,#35,#36)); /* Collinear midpoints stripped */
#44 = FACE_OUTER_BOUND('',#43,.T.);
#45 = ADVANCED_FACE('',(#44),#42,.T.);
CAD & Slicer Note: Collapsing coplanar triangles typically cuts STEP face and edge entity counts by 55% to 80% on mechanical brackets, jigs, and 3D-printed enclosures.

How Coplanar Normal Clustering & Collinear Edge Simplification Work

Our client-side conversion pipeline runs four deterministic geometric passes directly on your decoded ArrayBuffer. Pass 1 quantizes and welds vertices within a 0.0001 mm spatial hash grid, healing floating-point rounding seams created when binary STL exporters write separate float32 coordinates for shared corners while computing exact signed tetrahedral volume.

Pass 2 builds a half-edge adjacency table mapping every directed edge u -> v to its opposing twin v -> u. Any directed edge missing an exact opposite flags an open boundary gap—immediately distinguishing a true watertight solid (eligible for CLOSED_SHELL and MANIFOLD_SOLID_BREP) from a non-manifold sheet (exported safely as OPEN_SHELL and SHELL_BASED_SURFACE_MODEL so CAD importers never reject the file).

Pass 3 performs breadth-first coplanar flood-filling across adjacent triangles whose unit normals satisfy n1 · n2 >= cos(theta), where theta defaults to 1.5 degrees. All interior shared edges inside each flat cluster cancel out, leaving only the perimeter half-edges—including both the outer face loop (FACE_OUTER_BOUND) and any internal through-hole cutouts (FACE_BOUND).

Finally, Pass 4 walks each closed boundary loop and removes collinear interior vertices where consecutive edge vectors point in the same direction within 0.002 radians. That pass turns a subdivided 12-segment straight edge back into a single clean STEP LINE entity from corner to corner, while deduplicating undirected EDGE_CURVE records across adjacent faces so opposing ORIENTED_EDGE entities share identical topological curves.

Pass 1: Spatial Vertex Weld (0.1 um grid) -> Deduplicated VERTEX_POINT table
Pass 2: Half-Edge Twin Audit (u->v vs v->u) -> CLOSED_SHELL vs OPEN_SHELL
Pass 3: BFS Normal Flood-Fill (dot >= cos 1.5 deg) -> Cancel interior diagonals
Pass 4: Collinear Vertex Pruning -> Clean corner-to-corner EDGE_CURVE lines
CAD & Slicer Note: Toggle the 3D Viewport overlay between Merged B-Rep Edges (cyan) and Raw STL Triangles to inspect exactly which diagonals were eliminated before downloading.

Mechanical Prismatic Parts vs. High-Poly Organic Sculptures

Understanding when direct STL-to-STEP conversion shines—and when mesh decimation should come first—saves hours of CAD frustration. Mechanical 3D-printed parts (Voron/Bambu printer mods, DIN-rail mounts, sensor brackets, Gridfinity adapters, router templates, and electronics enclosures) consist predominantly of flat reference planes, perpendicular bosses, and prismatic slots. Converting these parts with a 1.0° to 1.5° coplanar angle produces crisp, lightweight STEP solids you can bolt into assemblies or modify with Boolean cuts in seconds.

By contrast, organic ZBrush sculptures, photogrammetry scans, and 500,000-triangle miniatures have almost zero coplanar faces: every tiny triangle sits at a slightly different curvature angle. Converting half a million curved triangles 1-to-1 into heavy B-Rep NURBS/plane entities creates a 300 MB STEP file that freezes SolidWorks or Fusion 360.

If you need to add a flat magnetic base, dowel pin hole, or mounting peg to an organic scan, first simplify the mesh under 15,000–30,000 triangles using PrusaSlicer's Simplify Model tool or Blender's Planar Decimate modifier, then convert here to get a responsive STEP solid.

Pay close attention as well to inverted normals or self-intersecting shells downloaded from public 3D repositories. When a hobbyist exports overlapping bodies from Blender without applying a clean Boolean Union, interior faces remain trapped inside the volume; running 'Fix Model' via Netfabb/Windows 3D Builder in OrcaSlicer or PrusaSlicer prior to STEP conversion ensures a clean single-shell MANIFOLD_SOLID_BREP.

Recommended Coplanar Angle by Part Geometry:
- Precision CNC / Voron mechanical mounts:  0.5 deg - 1.5 deg (preserves subtle draft angles)
- Exported OpenSCAD / Tinkercad brackets:   1.5 deg (merges flat walls, keeps 32-seg holes crisp)
- Slightly noisy 3D-scanned flat fixtures:  3.0 deg - 5.0 deg (absorbs surface ripple)
CAD & Slicer Note: Modern slicers (Bambu Studio, OrcaSlicer, PrusaSlicer 2.6+) also import .STEP files directly and tessellate arcs at adaptive resolution.

Post-Import Workflow in Fusion 360, FreeCAD, SolidWorks & Onshape

Once you download your .step file, importing it into mainstream parametric CAD takes three clicks and unlocks full solid modeling. In Autodesk Fusion 360, choose File -> Open -> Open from my computer (or Insert Derive) in Solid workspace: merged planar faces behave like native sketches, allowing immediate Press/Pull offset adjustments, Hole placement concentric to polygon hole centers (via 3-point circle construction in a sketch), and Interference Detection against off-the-shelf McMaster-Carr STEP hardware.

In FreeCAD 0.21 / 1.0, File -> Import loads the AP214 MANIFOLD_SOLID_BREP directly as a Part::Feature solid. If you want to run one extra pass of OpenCASCADE sewing or refine any residual split lines on complex multi-loop faces, select the imported solid and apply Part -> Create a copy -> Refine shape (`Refine = true` in PartDesign Body properties).

In SolidWorks and Onshape, keep 'Enable 3D Interconnect' optional on imported AP214 files if you prefer native FeatureWorks recognition on cylindrical bores; running Import Diagnostics immediately confirms zero faulty faces on watertight CLOSED_SHELL exports.

For CNC machinists programming 3-axis aluminum or Delrin fixtures in Fusion CAM or Mastercam, select any merged horizontal STEP face directly as your WCS Z-zero stock orientation and run 2D Adaptive Clearing or 2D Contour toolpaths along the clean straight EDGE_CURVE boundaries without jagged mesh facet chatter.

CAD Import Checklist:
1. Confirm unit readout matches expected millimeter dimensions in our KPI card.
2. Verify 'Watertight Solid' badge before planning Boolean Subtract / Union features.
3. On cylindrical faceted holes, sketch a 3-Point Circle on the merged flat face to recover the exact true axis.
CAD & Slicer Note: Designing custom 2D-to-3D extruded profiles, stamps, or food-safe cutters from logos instead? Use our Custom Silhouette STL Maker for instant wall+flange geometry.

Frequently asked questions

Does this STL to STEP converter upload my CAD files to a cloud server?

No. Both Binary and ASCII .STL files are parsed inside your browser tab using JavaScript DataView and typed arrays, and the ISO-10303-21 .STEP file is assembled locally in memory. Proprietary prototypes and NDA customer parts never leave your machine.

Will the exported STEP file import as a solid body or a hollow surface?

Whenever your input STL mesh is watertight (zero open boundary edges after 0.0001 mm vertex welding), the converter writes an AP214 CLOSED_SHELL wrapped in a MANIFOLD_SOLID_BREP, which Fusion 360, SolidWorks, FreeCAD, and Onshape import as a true solid body. If your STL has missing triangles or open holes, it falls back cleanly to an OPEN_SHELL surface model.

Does converting STL to STEP turn faceted circles back into analytic NURBS cylinders?

Mesh-to-B-Rep conversion merges coplanar flat triangles into single mathematical PLANE() faces and strips diagonal split lines, while curved holes remain clean faceted prisms matching the STL's chordal resolution. In CAD, simply place a 3-point circle on the merged flat face to snap concentric fasteners to the exact bore center.

Why did my imported STEP part measure 25.4 times too small in CAD?

STL files contain no unit header—a 2.0-inch bracket exported in inches stores the raw number '2.0', which millimeter-based CAD tools read as 2.0 mm. Switch the Source STL Units dropdown to 'Inches (× 25.4 → mm)' before downloading so the STEP file writes exact millimeter coordinates.

What triangle count works best for browser-based STL to STEP conversion?

Mechanical brackets, mounts, cases, and jigs between 20 and 25,000 triangles convert in under a second and produce crisp, fast CAD bodies. Meshes above 45,000 triangles are typically organic scans that should be decimated first so your desktop CAD kernel does not stall.

Which STEP schema version does this tool generate?

It outputs ISO-10303-21 Clear Text Encoding using the AUTOMOTIVE_DESIGN (AP214) schema with explicit millimeter SI_UNIT declarations—universally supported across SolidWorks, Fusion 360, Inventor, FreeCAD, Onshape, Rhino, CATIA, and modern 3D slicers.

Can I generate custom enclosures or extruded profile STLs directly on this site?

Yes. Use our Parametric Box Generator (/parametric-box-generator/) for snap-fit divided project enclosures, our 3MF Filament Purge Calculator (/3mf-filament-purge-calculator/) for multi-color AMS cost quoting, or our Custom Cookie Cutter & Profile STL Maker (/custom-cookie-cutter) to turn 2D artwork into watertight 3D STLs.

Related file conversions

Convert a 3MF assembly to STEP · Package an STL as 3MF · Gerador de 3MF