STEP vs STL vs DXF for gears

The right export depends on what happens to the gear next. CAD and CNC machining want a solid model, 3D printers want a mesh, and laser or waterjet cutters want a flat outline. Picking the wrong one usually means rebuilding the geometry by hand.

Which file format should you use for gears?

Next stepFormatWhat you get
Edit in CAD, machine on a CNC mill or lathe, send to a gear shopSTEPSolid 3D bodies that CAD programs open as real geometry
3D printingSTLA triangle mesh, ready for a slicer
Laser, waterjet or plasma cutting; 2D CNC routingDXFFlat tooth outlines, one layer per part
Drawings, documentation, laser cutters that take SVGSVGA scalable vector drawing of the set

DXF and SVG are flat outlines, so they cannot describe the twist of a helical tooth. For helical gears use STEP or STL.

STEP: solid models for CAD and machining

STEP (ISO 10303, .step or .stp) is the neutral solid-model format that SolidWorks, Fusion, Onshape, FreeCAD, Inventor and most CAM software import. A STEP gear arrives as a closed solid you can fillet, cut a keyway into, or generate toolpaths from, rather than a mesh you have to convert.

STL: meshes for 3D printing

STL describes a surface as triangles and nothing else. It is what slicers such as PrusaSlicer, Cura, Bambu Studio and OrcaSlicer expect, but it is awkward to edit in CAD because the curves are already broken into flat facets.

STL files carry no unit. GearStudio writes them in millimetres, which is what slicers assume, so imperial designs import at the right size.

DXF: 2D profiles for cutting

DXF is the standard input for laser cutters, waterjets, plasma tables and 2D routers. GearStudio writes AutoCAD R12 DXF, the oldest and most widely readable version, with each part on its own layer: sun, planet, ring, the ring's outer rim, and bores when you have set them.

The outlines are written as individual line segments rather than one large polyline. Some programs render a big closed polyline as a filled shape, which can hide the tooth profile behind a solid block; separate segments avoid that. Coordinates are in millimetres whatever unit system you designed in.

SVG: drawings and documentation

SVG is a vector drawing format that browsers, Inkscape, Illustrator and many laser-cutter programs open directly. It is handy for documentation and illustration. SVG exports use the units you designed in, millimetres or inches.

Why won’t exported planetary gears assemble in CAD?

A planetary set only assembles if every gear is rotated so its teeth sit in the gaps of its neighbours. GearStudio computes that tooth phasing for the sun, each planet and the ring, and applies it to every export. Whole-assembly exports place each part at its working position, so the set meshes as soon as it is imported. You can also export a single part, every part as a separate file in a ZIP, or, for STEP and STL, the assembly together with carrier plates.

Printing gears? Printed teeth often come out slightly oversized, so a set modelled with zero clearance can bind. Add backlash in GearStudio before exporting, then do a test print of one mesh before printing the full set.

Design the set in GearStudio and export any part or the whole assembly. SVG export is free with an account; STEP, STL and DXF are part of GearStudio Pro.

Open GearStudio

Related guides

Module vs diametral pitchConversion chart and basic tooth dimensions. Planetary assembly conditionsTooth-count rules that decide whether a set can be built.