Table of contents
Exporting
Anvil exports three formats. The commands are in the EXPORT panel of the UTILITIES tab and in the File menu.
| Format | Use it for | Carries |
|---|---|---|
| 3MF | Printing. The preferred format. | Triangles, millimetre units, one named object per body. |
| STL | Printing, where 3MF is not accepted. | Triangles only. No units, no names, no separate objects. |
| STEP | Sending the design to another CAD program. | Exact geometry (AP214, millimetres). |
What is exported
Every body in the document: what is listed under Bodies in the browser. Suppressed features are left out. A body you have merely hidden with its eye is exported. Sketches, construction geometry and reference meshes are not.
3MF
Click Export 3MF, choose a file name, click Save.
Each body becomes its own object in the file, under the name it has in the browser, and the file states its unit as millimetres. A slicer therefore has no guessing to do about scale, and a multi-body document arrives as separate parts.
STL
Click Export STL. A dialog opens first.
| Control | Meaning | Default |
|---|---|---|
| Linear deflection (mm) | The furthest a flat triangle may stray from the true curved surface. | 0.01 |
| Angular deflection (rad) | The largest angle between neighbouring triangles on a curve. | 0.35 |
| ASCII | Write a text STL. Much larger; leave it off unless something needs it. | Off |
Below the controls is the triangle count and an estimate of the file size. They update as you change the values, so you can see what a finer mesh costs before you write it.
Click Choose file... (or press Enter), then pick a name and save.
An STL holds one mesh. If the document has several bodies they are all written into it together, which is one reason to prefer 3MF. STL has no units; Anvil writes millimetres, which is what slicers assume.
Mesh quality
Curved surfaces are approximated by flat triangles. If a round part looks faceted in the slicer, the mesh is too coarse:
- lower the linear deflection to tighten the fit everywhere;
- lower the angular deflection to add triangles round tight curves and small holes.
Both raise the triangle count.
These two settings are the document's tessellation quality as a whole. They also govern the 3MF export, the mesh the printing checks run on, and the triangle count on the status bar. There is no separate dialog for 3MF: to change its quality, open Export STL, set the values, and click Cancel. The settings stay for the session.
Hole compensation on mesh exports
By default, 3MF and STL exports have every round hole made 0.2 mm wider on the diameter than it is modelled, to make up for holes printing small. The model itself is not changed, and STEP exports are not affected.
Anvil never does this silently:
- The status bar shows holes +0.20 mm on export whenever compensation is on.
- The Export STL dialog says Round holes will be exported 0.20 mm wider.
- After a 3MF or STL export that widened any holes, the message bar says how many:
Exported 1 body (2136 triangles) to plate.3mf -- 1 hole widened by 0.20 mm (hole compensation)
Change the amount, or set it to 0 to turn it off, in Print Settings. See Hole compensation and plate helpers.
If a hole cannot be widened, the export stops with a message naming the body and suggesting you set compensation to 0 to export it as modelled.
STEP
Click Export STEP, choose a name ending .step or .stp, and save.
STEP carries the exact surfaces, not triangles, so curves stay curves in the program that opens it. It is written as AP214 in millimetres, exactly as modelled, with no hole compensation.
A body made of separate pieces, such as a pattern whose copies stand apart, is written as separate solids, not as an assembly.
A STEP file does not carry Anvil's parameters, sketches or history. The recipient gets the finished shape.
If there is nothing to export, the message is there is no geometry to export. Before exporting, run the printing checks.
- Home
- Getting started
- Sketching
- Modelling
- Files
- Printing
- Working with an AI assistant
- Reference
Written for Anvil 0.2.0. Units are millimetres. Repository · Issue tracker
