BREP to STL Converter - OpenCASCADE B-Rep Mesh | MiConvert

Convert BREP to STL Online

Upload an OpenCASCADE .brep file and get a binary STL triangulated at a fixed 0.1 mm chord tolerance, with the coordinates kept in millimeters. Nothing is sewn or repaired along the way, so a .brep that holds loose faces produces a mesh with the same open edges.

📁

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 → STL

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 →

Printing a photo instead?

Turn a picture into a lithophane or relief STL that glows when light shines through it. It is built in your browser, and the photo is never uploaded. Lithophane maker →

What a BREP file is and why a slicer cannot open it

BREP here means OpenCASCADE's own text topology file, the one whose header starts with "CASCADE Topology V1" and which FreeCAD writes when you export a shape to .brep. Inside it are exact faces, edges and vertices described as mathematical surfaces and curves. That is a faithful way to store a solid, but almost nothing outside the OpenCASCADE world reads it: slicers, mesh editors, game engines and web viewers all expect triangles. This format is not Parasolid, not Rhino's .3dm and not a SolidWorks part renamed to .brep; those we cannot read.

On this page the file goes to our server, where a FreeCAD 1.1 subprocess opens it with the OpenCASCADE 7.9 shape reader. The shape is then triangulated by FreeCAD's MeshPart module using a linear deflection of 0.1 mm and an angular deflection of 0.5 radians, roughly 29 degrees, and written out as a binary STL. Those two numbers are fixed in the script and are the same for a 2 mm pin and a 2 m frame, so small parts come out very smooth and large sweeping surfaces come out visibly faceted. The reader fixes a few wrapper problems on its own: gzip-compressed files are unpacked, UTF-16 text is re-encoded and a stray byte-order mark is stripped. The reader also detects when the upload is not an OpenCASCADE BRep file at all, such as a ZIP, a PDF, or a native SolidWorks or Inventor part, and stops instead of mangling it, although what reaches you is the generic "Could not read this 3D file" message rather than the specific reason.

What survives is the shape of every face to within the tessellation tolerance and the coordinates themselves, which pass through as millimeters because that is FreeCAD's internal unit; a 50 mm bracket measures 50 units in your slicer with no rescaling. Sub-shapes duplicated at exactly the same position are written once. What is lost is the exact surface mathematics, the separation between parts (all bodies land in one STL as separate shells rather than fused), and anything descriptive, since names, colors and assembly structure are never read from the source. Because no sewing step runs, an unsewn pile of faces stays unsewn in the mesh. The people who need this are working downstream of an OpenCASCADE tool, such as a FreeCAD export or a pythonocc script, and need a mesh for a slicer, a repair tool or a quick look at the part.

How to convert BREP to STL

  1. Export the shape from FreeCAD with File, Export and the BREP filter, or write it from your own OpenCASCADE code. Confirm the result is the text OCCT file and not a vendor format that happens to share the name.
  2. Check that the shape contains faces. A .brep holding only wires, edges or sketch curves has nothing to triangulate and comes back as a no-geometry error; send those files to the BREP to DXF page instead.
  3. Drop the file into the upload box. The target is locked to STL here. Guests can upload up to 50 MB, a free account raises that to 100 MB, and Plus and Pro go to 200 MB and 1 GB.
  4. The job is queued and converted on our server inside a FreeCAD subprocess, which gets ten minutes per file.
  5. Download the binary STL from the result link, which stays valid for about four hours.
  6. Before slicing, run a repair check in your slicer or in Meshmixer or Blender's 3D print add-on and confirm the model is watertight.

What this converter actually does

  • Writes a binary STL, which is roughly five times smaller than the ASCII variant for the same triangle count and is accepted by every slicer
  • Keeps coordinates in millimeters, matching the BREP's internal units, so no scale guessing in the slicer
  • Triangulates with a 0.1 mm chord and 0.5 radian angular tolerance, applied identically to every face in the file
  • Puts every body from the file into one STL as separate shells, which is what mesh tools expect from a multi-body part
  • Unpacks gzip-compressed uploads, re-encodes UTF-16 text and strips a stray byte-order mark before parsing, and refuses files that are not OpenCASCADE BRep
  • Rejects an empty result before delivery, so you never download an STL with zero triangles
  • Handles up to 10 files per upload on the free tiers, 25 on Plus and 50 on Pro; one upload counts as a single job against the hourly limit

Video Tutorial

Are you struggling with how to convert your BREP file to STL format? Don't worry, in this video I will reveal a super convenient tool to help you change your file extension completely for free without

BREP to STL questions

Can I convert STL back to BREP here?

No. This page only goes from BREP to mesh. Turning a mesh into a boundary representation is a reconstruction job, not a file conversion, which is why it lives inside CAD software with commands like Fusion 360's Convert Mesh or Rhino and Grasshopper's mesh-to-brep operations.

Why is my STL not watertight?

The pipeline triangulates whatever topology the .brep contains and does nothing to repair it. If the file stores a closed solid, the mesh follows that solid; if it stores loose faces or shells that were never sewn together, the STL inherits the same open edges. Sew the shape in FreeCAD before exporting, or close the mesh afterward with a repair tool.

Can I choose the triangle count or a finer tolerance?

No, the deflections are fixed and there is no quality slider. Decimate the result in Blender or Meshmixer for a lighter mesh, or tessellate inside FreeCAD when you need something finer than 0.1 mm.

Are colors, material names or the assembly tree carried over?

No. The shape is read as pure geometry, so names, colors and assembly structure are never read, and binary STL has no fields for them.

I got "No valid 3D geometry found in this file". What went wrong?

The shape had nothing meshable: a curve-only or wireframe .brep, or surfaces the tessellator could not triangulate. The wording is generic for every case, so it will not say which one applies. Open the file in FreeCAD and check whether it contains faces and solids; if it only contains edges, try the DXF target.

Does the size come out right for 3D printing?

Yes, one STL unit equals one millimeter, because BREP coordinates are already in FreeCAD's millimeter system and nothing rescales them. If a part looks ten or a thousand times off, the original model was authored at that scale.

Can I convert a folder of BREP files at once?

You can select up to 10 files in one upload as a guest or free user, 25 on Plus and 50 on Pro. There is no single ZIP download for the batch, so you download each STL from its own link.

What happens to my file after the conversion?

The conversion runs on our servers, not in your browser. The uploaded .brep is deleted as soon as the job finishes its last attempt, and the finished STL can be downloaded for about four hours before it is deleted automatically. File names, sizes and outcomes are kept in our logs, and signed-in users also get a row in their conversion history.