Skip to content
Tactiverge

A tool-agnostic CAD workflow with free software

Native files, STEP and STL: what each format keeps and loses, how to name versions so nobody builds the wrong one, and how to share designs others can use.

Lesson 6 of 6 · 35 min · Self-paced · Free

Why workflow matters as much as modelling

A perfect model is useless if nobody can open it, if the wrong version gets made, or if the file sent to a printer is too coarse to fit. Real engineering teams spend real effort on what happens around the model: which file formats to use, how to name and track versions, and how to share designs. These habits do not depend on any particular CAD tool, and they matter just as much in a school robotics team as in industry.

Native files

Every CAD tool saves in its own native format. FreeCAD, for example, saves .FCStd files. A native file contains everything: the parameters, sketches, constraints, feature tree and assembly mates. It is the only file that lets you edit the model parametrically. The downside is that other tools usually cannot read another tool's native format fully, and even the same tool may change its format between versions.

Keep the native file as the master copy. Everything else is exported from it.

STEP: exact geometry for sharing

STEP (files ending .step or .stp) is an international standard, ISO 10303, for exchanging product data between CAD systems. A STEP file stores the exact shape: true circles, true planes and precise edges, usually as solid bodies, and it can hold whole assemblies.

What it does not keep is the history. Open a STEP file in another tool and you get a "dumb" solid: correct shape, but no sketches, no parameters and no feature tree. You can still measure it, mate it in an assembly and edit it with direct-modelling tools, but you cannot simply change a parameter. STEP is the right format for sending a part to someone using a different CAD tool, to a workshop, or to a supplier.

STL: triangles for printing

STL (.stl) describes a surface as a mesh of flat triangles. It is the traditional input to 3D-printing software and is accepted almost everywhere. But it has important limits:

  • Curves become flat facets. A circle becomes a polygon. The software chooses how many facets based on a tolerance you can usually set during export.
  • No units are stored. An STL file is just numbers. If a part designed in millimetres is read as inches, it comes out 25.4 times too large. Most printing software assumes millimetres, but check the size after importing.
  • No history and no exact geometry. STL is hard to edit precisely. Treat it as an output, never as your master copy.

How coarse is a mesh? For a circle of radius r drawn with n straight sides, the largest gap between the true circle and the polygon is r · (1 − cos(π / n)):

import math

def chord_error(radius, facets):
    """Largest gap between a true circle and a polygon with this many sides."""
    return radius * (1 - math.cos(math.pi / facets))

for n in [12, 32, 128]:
    print(f"{n:3d} facets: {chord_error(10.0, n):.3f} mm")

Output:

 12 facets: 0.341 mm
 32 facets: 0.048 mm
128 facets: 0.003 mm

A 20 mm diameter hole exported with only 12 facets is wrong by about a third of a millimetre at its worst points, which is more than many fits allow. With 128 facets the error is tiny, but the file is larger. Choose an export resolution that is fine compared with the tolerances that matter.

Other formats you will meet include 3MF, a newer format for 3D printing that can store units, colours and more, DXF for 2D profiles sent to laser cutters, and PDF for drawings.

Naming versions so nobody builds the wrong one

Every team has seen folders full of files called bracket_final.step, bracket_final2.step and bracket_final_REAL.step. Nobody can tell which is current, and someone eventually makes the wrong one. A simple, consistent scheme prevents this:

  • One name per part, with a clear version number: gripper-finger_v03.FCStd. Use two digits so versions sort in order.
  • Never reuse a version number. If version 3 was sent to be made, any change becomes version 4, even a small one.
  • Exported files carry the same name and version as their master: gripper-finger_v03.step, gripper-finger_v03.stl. Then anyone can trace a printed part back to the model that made it.
  • Keep a change log: a short text file listing each version, the date, what changed and why. "v04: hole spacing 38 → 40 mm to match the new frame; printed and fitted OK."

Version control tools such as git, which you meet in the engineering documentation module, can track every change to your files. CAD files are usually binary, so git cannot show what changed inside them, but it still records who changed what, when and with what message. Some cloud CAD tools have version history built in.

Sharing designs

When you share a design, think about what the other person needs:

  • To view or check fit: a STEP file, plus a PDF drawing with the important dimensions and tolerances.
  • To make it: STEP for machining, STL or 3MF for printing, DXF for laser cutting, along with the drawing, the material and any notes on finish.
  • To modify it: the native file, the tool name and version you used, and a description of the key parameters and design intent.

If you publish designs publicly, choose a licence so others know what they may do with them. Open-hardware and Creative Commons licences are common choices; the scientific integrity module covers licensing in more depth. Also credit any parts or libraries you used from other people.

A complete workflow

Pulling the module together, a sound workflow for any free parametric tool looks like this:

  1. Write down the requirements and constraints.
  2. Model parts with fully constrained sketches, functional dimensions and a sensible feature order.
  3. Assemble them, check DOF, interference and clearance across the full range of motion.
  4. Make drawings with tolerances for the dimensions that matter.
  5. Export STEP, STL or DXF with the same name and version as the master file, at a sensible resolution.
  6. Update the change log, back up the files, and share with a licence.

Recap

  • The native file is the editable master; everything else is exported from it.
  • STEP keeps exact geometry but not history; STL keeps only triangles and no units.
  • Mesh resolution matters: choose facet sizes small compared with your tolerances.
  • Use one name per part, never reuse a version number, match exports to their master, and keep a change log.
  • Share the right files for the job, and add a licence when you publish.

Project

Software project: a release package

Using any free CAD tool, or the paper designs from earlier lessons if you have no software:

  1. Choose one part you have designed in this module. Give it a part name and a version number using the scheme from this lesson.
  2. If you have a CAD tool, export it as STEP and as STL at two different resolutions, and compare the file sizes. If not, use the chord_error function to choose a facet count that keeps the error below one tenth of your tightest tolerance.
  3. Write a change log with at least three versions (real or planned), each with a date, what changed and why.
  4. Write a short README for the part: what it is, which files to use for viewing, making and modifying, the units, the material, and the licence you would choose.
  5. Arrange everything in a folder structure and list it.

Deliverables

  • A folder listing with consistently named, versioned files
  • A change log with at least three entries
  • A README describing the files, units, material and licence

Knowledge check

Check your understanding

  1. 1. A colleague using a different CAD tool needs to check that your part fits their assembly. Which file is the best choice?
  2. 2. A part modelled in millimetres comes out 25.4 times too large in the printing software. What is the most likely cause?
  3. 3. Why is a STEP file not a good master copy of your design?
  4. 4. Version 3 of a bracket has already been printed and fitted. You change one hole by 0.5 mm. What should the new file be called?

Go further

A tool-agnostic CAD workflow with free software — Mechanical Engineering and Design — Tactiverge