Teigha Blog

Find out what's new and more

Working with B-Reps

In Teigha you can work with solids and shells using boundary representations, or B-Reps. In different Teigha products, Teigha Drawings (for working with both .dwg and .dgn files), Teigha PRC, and Teigha BIM, there are separate implementations of B-Rep interfaces, but you can work with them using the common class OdBrBrep.

b-rep Example

Using Collada Import with Teigha BIM

COLLADA is short for Collaborative Design Activity. DAE files are based on the XML COLLADA format, and they are used by various graphics programs to exchange digital assets under the same format. Each file consists of a set of elements that are images, lights, geometries, effects, materials, cameras, etc.

b-rep rvt rfa

Creating ACIS Nurbs Surfaces using B-Rep Builder

With Teigha you can create ACIS nurbs surfaces using a B-Rep Builder interface. Currently Teigha has two B-Rep Builder implementations: one in Teigha Kernel named AcisBrepBuilder and the other in Teigha BIM named BmBrepBuilder.

Example b-rep

Creating PRC Boundary Representation Topology with Trimming Loops

To create a boundary representation model (for example, a cone) with trimming loops, use the following steps:

prc b-rep

Accessing B-Rep Data of Bodies in the Facet Modeler

ODA’s Facet Modeler uses boundary representation for solid modeling, also called the B-Rep technique.

A brief overview of bodies:

b-rep facet modeler