BREP to AMF Converter for OpenCASCADE Files | MiConvert

Convert BREP to AMF

Upload an OpenCASCADE .brep and download an AMF mesh in millimeters that a slicer such as PrusaSlicer can open. This page reads only OpenCASCADE's own BRep text format, not a Rhino or Grasshopper Brep or a Parasolid body.

📁

Drop your file here

or click to browse

Select File

Max 10 files, 50MB each

SSL Encrypted Auto-deleted No Sign Up 100% Free
BREP → AMF

BREP files in Google Drive?

Drive cannot preview BREP files. Open one from Drive with MiConvert to turn the model in your browser, or convert it and save the result next to the original. MiConvert for Google Drive →

Why convert BREP to AMF

A .brep file is OpenCASCADE's native text format for boundary-representation geometry: exact faces, edges and vertices, the same kind of data FreeCAD and CadQuery work with internally. Its first line reads DBRep_DrawableShape or CASCADE Topology V1. Slicers and most other programs cannot read it, because they expect triangles. The name also causes confusion: a Rhino or Grasshopper Brep, or a Parasolid body, is a different thing, and this page does not accept those.

MiConvert runs FreeCAD 1.1 on its servers and reads the file with OpenCASCADE's own shape reader. Identical sub-shapes stacked in the same place are written only once. FreeCAD's MeshPart module then triangulates the shape with an absolute chord tolerance of 0.1 mm and an angular limit of 0.5 radians, about 29 degrees. The same settings apply to every part, whatever its size. The mesh passes through a temporary GLB file to our AMF writer, which produces an uncompressed AMF 1.1 XML file.

The surfaces are approximated, never exact. Flat faces stay flat. Curved faces become triangles that stay within about 0.1 mm of the true surface, but on small holes and tight fillets the 29-degree angle step sets the facet count, so they look polygonal. Scale comes out right, because a .brep is stored in FreeCAD's millimeters and the AMF declares millimeter. Axes are not changed, so Z stays up. All solids land in one AMF object with one volume, and they are not fused. Coordinates are rounded to six decimals. There are no colors, materials or names, and no repair step closes gaps.

This conversion is for people who script or model parts in CadQuery, FreeCAD or another OpenCASCADE-based tool and need a printable mesh for a slicer that accepts AMF. If you arrived looking for the opposite direction, from mesh to BREP, see the FAQ below: MiConvert does not build exact surfaces from triangles.

How to convert a BREP file to AMF

  1. Open the .brep in a text editor and check that the first line says DBRep_DrawableShape or CASCADE Topology V1. If it says something else, the file came from another CAD kernel and will not convert here.
  2. Make sure the shape has faces or solids. A .brep that contains only wires and curves cannot become a mesh; convert it with BREP to DXF instead.
  3. Upload the file on this page, where AMF is already selected as the target. Guests can send up to 10 files per batch, at up to 50 MB each.
  4. FreeCAD reads and triangulates the shape, and then the AMF writer saves it in millimeters. Each of the two stages has its own 10-minute limit.
  5. Download the AMF within 4 hours and load it in your slicer. If the .brep held several solids, separate them with the slicer's split command, such as Split to objects in PrusaSlicer.

What the BREP to AMF conversion does

  • Reads OpenCASCADE BRep text files written by FreeCAD, CadQuery and other OpenCASCADE-based tools, using FreeCAD 1.1
  • Detects files that are really something else, such as a ZIP, PDF, PNG or JPEG, or a native SolidWorks or Inventor part, and reports them as unreadable instead of guessing
  • Meshes every part with the same fixed tolerance: a 0.1 mm chord and a 0.5 radian angle
  • Writes duplicate sub-shapes that sit on top of each other only once, so faces are not doubled
  • Produces uncompressed AMF 1.1 XML in millimeters, with six-decimal coordinates you can read in a text editor
  • Keeps the axes as modeled, with Z up, which matches how slicers orient a build

Video Tutorial

Detailed guide on how to convert BREP files to AMF quickly, for free, and without losing original quality. Perfect if you need to process file formats, reduce size, or upload files to systems that onl

BREP to AMF questions

Is this the same as a Rhino or Grasshopper Brep?

No. In Rhino and Grasshopper, Brep is the name of a geometry type inside .3dm files and definitions. This page reads only OpenCASCADE's .brep text format. To print a Rhino model, use MiConvert's 3DM to STL converter or export a mesh from Rhino.

How do I convert a mesh or STL to BREP?

MiConvert does not convert in that direction. Fusion has a Convert Mesh command among its mesh tools, and Rhino has MeshToNURB; both produce a body made of the original facets. Clean, smooth surfaces require remodeling, or reverse-engineering software that fits surfaces to the mesh.

Can I choose a finer or coarser mesh?

Not here: the tolerance is fixed at 0.1 mm and 0.5 radians. For a different density, open the .brep in FreeCAD, mesh it in the Mesh workbench with your own settings, and export the mesh from there.

Will the AMF be print-ready and watertight?

The converter does not repair meshes or check that they are closed. Open shells, gaps and overlapping bodies in the .brep come through as they are. Let your slicer analyze the file before you print.

Why are there no colors or part names in the AMF?

A .brep stores shape only, and our writer produces one object and one volume with no color or material. Assign materials or extruders in your slicer instead.

What do 'No valid 3D geometry found' and 'Could not read this 3D file' mean here?

The first usually means the .brep holds only curves or wires, or faces that could not be triangulated. The message mentions metadata and textures because it is shared with other 3D formats. For wireframes, use BREP to DXF; for broken faces, repair the shape in FreeCAD and save it again. The second message means the file is not OpenCASCADE BRep or is damaged, so export it again from the original tool.

I need exact geometry, not a mesh. What are my options?

AMF holds triangles only. MiConvert does not offer BREP to STEP, but FreeCAD can open .brep files and export STEP directly. If you want the same tessellation in another container for printing, MiConvert also offers BREP to STL and BREP to 3MF.

Is my BREP file stored after conversion?

Only briefly. It is processed on our servers, and the upload is deleted as soon as the conversion finishes. The AMF can be downloaded through a random, unguessable link for about 4 hours, and then it is deleted automatically. File names and conversion details are logged for operational purposes.