Mesh to B-Rep Conversion Tool

Paramesh AI converts meshes to B-rep (boundary representation) solids using CadQuery's OCCT kernel. Instead of wrapping the mesh in NURBS, it reconstructs the part from scratch using sketch-extrude-cut operations, producing proper B-rep geometry with flat faces, circular holes, and sharp edges.

What is B-rep conversion?

B-rep (boundary representation) defines a solid by its bounding faces, edges, and vertices — the native format of CAD kernels like OCCT, Parasolid, and ACIS. Unlike mesh tessellation (triangles), B-rep surfaces are mathematically exact: a cylinder is a true cylinder, not an approximation with 32 flat facets.

Why mesh-to-BREP is hard

Simple mesh-to-BREP converters just sew the triangles into a shell and try to make it solid. The result is a solid made of thousands of flat triangular faces — technically B-rep but not useful for editing. True conversion requires recognizing the underlying geometry.

How Paramesh AI does it

The pipeline doesn't convert the mesh directly. It:

  1. Analyzes the mesh to identify what surfaces exist
  2. Recognizes manufacturing features
  3. Builds a new solid using CadQuery (based on OCCT)
  4. The result has proper analytic faces — true planes, true cylinders, true cones