Format Guide

BREP File Format (.brep, .brp)

OpenCASCADE's native exact-geometry format — precise NURBS topology for FreeCAD and OCC-based tools.

Download Free Trial

Free 30-day trial. No credit card required. Windows 10/11.

30-day money-back guarantee · one-time license  —  See pricing

Extension.brep, .brp
Full nameBoundary Representation (OpenCASCADE native)
Geometry typeExact solid geometry — NURBS, B-spline, topology
Open standardYes — OpenCASCADE Technology (OCCT)
Supports colorNo
Supports assembliesYes — compound shapes
Primary toolFreeCAD, any OCCT-based application

What is a BREP file?

BREP (Boundary Representation) in the context of .brep/.brp files refers to OpenCASCADE Technology's (OCCT) native file format for storing exact boundary-representation solid geometry. Boundary representation defines a solid by its bounding surfaces, edges, and vertices, with topological relationships between them. The .brep format stores OCCT's internal geometric representation (NURBS surfaces, B-spline curves, exact topology) in a compact ASCII form. It is used in the open-source CAD ecosystem — particularly FreeCAD, Salome, and any tool built on the OpenCASCADE kernel, which also powers 3D CAD Converter.

Common Uses of BREP Files

FreeCAD Native Format

FreeCAD uses BREP as an intermediate format for its Part workbench and Shape objects. Exporting to BREP preserves exact geometry for reimport into other OCCT-based tools.

CAD Kernel Integration

Developers building applications on OpenCASCADE use .brep files to serialize and deserialize solid geometry between processing steps in CAD pipelines and automation scripts.

Geometry Processing & Simulation

BREP files are used in FEA preprocessing (Salome, GMSH mesh generation) and computational geometry research because they provide exact topology without tessellation loss.

Software Support

FreeCAD, Salome, GMSH, and any application built on the OpenCASCADE Technology (OCCT) kernel. 3D CAD Converter reads and writes BREP using OCCT.

Convert This Format

Commonly converted to STEP for universal CAD exchange, to STL or 3MF for 3D printing, or to OBJ/glTF for visualization.

How to convert BREP to STEP, STL or OBJ

BREP holds exact OpenCASCADE geometry, but most software and 3D printers expect STEP or a mesh. 3D CAD Converter opens .brep and .brp files with the OCCT kernel and exports them in three steps.

1

Add your BREP files

Drag one or more .brep or .brp files into 3D CAD Converter, or point it at a whole folder for batch conversion.

2

Pick an output format

Choose STEP or IGES to keep exact solid geometry, or STL, OBJ or glTF to create a mesh for 3D printing, rendering or the web.

3

Set quality and convert

For mesh exports, set the tessellation tolerance to balance smoothness against file size, then click Convert. STEP and IGES stay exact and need no tessellation.

Prefer the command line? The bundled cadconvert CLI converts BREP both ways and in batch:

BREP to STEP (exact solid, universal CAD exchange)
cadconvert convert -i part.brep -o part.step

BREP to STL for 3D printing (set tessellation tolerance in mm)
cadconvert convert -i part.brep -o part.stl --tessellation 0.1

STEP back to BREP (round-trip into OCCT tools)
cadconvert convert -i part.step -o part.brep

Batch a whole folder to BREP, recursing into sub-folders
cadconvert batch -i ./in -o ./out -f brep -r

A smaller --tessellation value (e.g. 0.1 mm) produces smoother curves and a larger mesh; add --units to control the output scale. BREP, STEP and IGES exports stay exact and ignore tessellation.

BREP vs STEP — which should you use?

BREP and STEP both store exact boundary-representation (B-rep) solids — NURBS surfaces, B-spline curves and full topology — with no triangulation. The difference is reach: BREP is OpenCASCADE's native serialization, perfect inside FreeCAD, Salome and other OCCT-based tools, while STEP (ISO 10303) is the universal neutral format every CAD system reads and writes.

Rule of thumb: stay in BREP while you work inside the OpenCASCADE ecosystem, and export to STEP the moment you need to share a model with SolidWorks, CATIA, Fusion 360 or a client. Convert BREP to a mesh only at the very end, for 3D printing or visualisation. Compare the related exact and mesh formats: STEP, IGES, STL.

Common BREP issues

Rare outside OpenCASCADE tools

Most commercial CAD systems do not import .brep directly — it lives mainly in FreeCAD, Salome and OCCT-based software. Convert to STEP for a model anyone can open. 3D CAD Converter does this in one step.

Needs a CAD kernel to open

A .brep file is not a mesh or a text drawing — it encodes exact OCCT geometry that only a CAD kernel can interpret. Generic 3D viewers and text editors cannot display it; open it in an OCCT-based tool or convert it first.

Tessellate before mesh use

Because BREP is exact, it carries no triangles. Before 3D printing or rendering you must tessellate it into STL, OBJ or glTF; choose a fine tolerance for smooth curves or a coarser one for a smaller file.

BREP file — frequently asked questions

What is a .brep file?

A .brep file (sometimes .brp) is OpenCASCADE Technology's native boundary-representation format. It stores exact 3D solid geometry — NURBS surfaces, B-spline curves and full topology — in a compact ASCII form. Because OCCT powers FreeCAD, Salome and many open-source CAD tools, .brep is how they serialize exact geometry without tessellation loss.

How do I open a BREP file?

Open a .brep file in FreeCAD, Salome, GMSH or any application built on the OpenCASCADE kernel. It needs a CAD kernel to read its exact geometry — a text editor or generic 3D viewer cannot interpret it. 3D CAD Converter opens .brep and .brp files directly with OCCT and converts them to STEP, STL, OBJ and glTF.

How do I convert BREP to STEP or STL?

To share a BREP model with other CAD systems, convert it to STEP — both keep exact solid geometry. To 3D print or render it, convert to STL or OBJ. In 3D CAD Converter, drop the .brep file in and pick a format, or run cadconvert convert -i part.brep -o part.step from the CLI. Whole folders convert with cadconvert batch -i ./in -o ./out -f stl -r.

Can I convert BREP files for free?

Yes. 3D CAD Converter offers a free trial that opens .brep and .brp files and exports them to STEP, STL, OBJ, glTF, 3MF and more — including batch folders — with full control over tessellation quality. Both the desktop app and the cadconvert CLI are included.

Does BREP keep exact geometry?

Yes. BREP stores exact boundary-representation geometry — NURBS surfaces, B-spline curves and precise topology — with no triangulation, so curved surfaces stay mathematically exact. Converting BREP to a mesh like STL or OBJ approximates those surfaces with triangles, so keep the original .brep (or a STEP copy) as your exact master.