Solid Modeling B Rep Final
Solid Modeling B Rep Final
• Many CAD systems have a hybrid data structure, using both CSG and B-rep at the
same time (i.e. Pro/E).
• The database of a boundary model contains both its topology and geometry.
The speed and accuracy of these calculations depend on the types of surfaces
used by the models.
However, these models are not unique because the boundary of any object
can be divided into faces, edges and vertices in many ways.
• The basic elements (primitives) needed to cover such modeling domain must be identified,
• The proper operators that enable the system users to build complex objects by combining
• Finally a suitable data structure must be designed to store all relevant data and information
• Other system and geometric utilities (such as intersection algorithms) may also need to be
2. Curved Object: It is similar to a polyhedral object but with curved faces and
edges instead. The identification of faces, edges and vertices for curved closed
objects such as a sphere
Polyhedral Objects
On the other hand, if it is an interior hole (as a void or crack inside the object), it has
no faces on the boundary.
Polyhedral with handles (through holes):
It includes objects that have holes that go through the entire objects. Topologically, these
through holes are called handles. The topological name for the number of handles in an
object is genus.
A “not” through hole is defined as a depression in a face of an object.
A handle (or through hole) is defined as a passageway that pierces the object
completely..
Examples of Genus
The primitives of a B-rep scheme are faces, edges and vertices.
Ex: nut with 2 loops for each of top and bottom faces
Each face has one loop
Below fig shows two loops each (one inner and one outer) on the top and
the right- side faces of the object.
Inner
Loop
Body (sometimes called a shell).
some CAD/CAM systems store the surface normal and its sign as
part of the face data
(although it could be computed from the surface equation)
Let,
The edges of the face outer loop is traversed,
in a counterclockwise direction
Circular loops
and the edges of the inner loops are traversed in
the opposite direction, i.e the clockwise
direction.
General curve loops
The primitives of a B-rep scheme are faces, edges and vertices.
Let ,
V be the number of vertices,
E the number of edges,
and F the number of faces of a simple polyhedron.
Then,
V–E+F=2
Euler's Formula for Simple Polyhedra
V - E + F =2
Applying this formula to a cube yields 8 - 12 + 6 = 2
and to an octahedron yields 6 - 12 + 8 = 2.
1.All faces must be bounded by a single ring of edges, with no holes in the faces.
2. The polyhedron must have no holes through it.
3. Each edge is shared by exactly two faces and is terminated by a vertex at each end.
4. At least three edges must meet at each vertex.
Verify Euler’s formula with these examples:
V = 8 5 6
V–E+F=2 E = 12 8 12
F = 6 5 9
V-E+F-C=1
F – E + V – L = 2 (B – G)
8- 12 + 6- 0 = 2 (1- 0 )
V –E + F- L =2(B-G)
= 16- 24 + 11 – 1 = 2(1-0)
=2
V –E + F- L =2(B-G)
= 16- 24 + 10 – 2 = 2(1-1)
=0
If a polyhedron has one or more holes (L) in its faces, has passages (G)
through it, and/or consists of disjoint bodies (B), then
E = 36
F = 15
L=3
G=1
V – E + F – L = 2(B - G)
F E V L B G
F E V L B G
12 24 16 0 2 0
16 36 24 2 1 0
V – E + F – L = 2(B - G)
Euler (in 1752) proved that polyhedral that are homomorphic to a
sphere (i.e., their faces are non-self-intersecting and belong to closed
orientable surfaces) are topologically valid if they satisfy the following
equation:
F – E + V – L = 2 (B – G)
How to count genus correctly?.
These set of operators are used for adding some elements into the existing model
creating a new one,
while a Make–Kill operator is used for adding and deleting some elements at the
same time.
The Make Group
Transition states of Make operators
Note that adding a face
produces a loop, the
outer loop of that face.
Therefore, when F is
increased, L should also
The change of values of V, E, F, L, B and G with the operators is shown
be increased
The geometric changes that occur with the Kill operators are shown below
Body, Face, Polygon
(Edge Loop), Edge, Vertex
Euler Operators
MBFV: Make body, face,
vertex
MME: Make multi edges
MEF: Make edge, face
KEML: Kill edge, make loop
0 1 2 3
0 1
0 1 2 3
0 1 2 3
3 2
0 1 2 3
For an image with n*n pixels, the maximum number of levels is log(n).
Octrees
4 1 0 1 2 3 4 5 6 7
0
6
2
Individual elements are called
Volume elements or
7 3
VOXELS
Some Solid Modeling Software
◼ SolidWorks
◼ Fusion 360
◼ BowlerStudio (Developed at WPI)
◼ 3D Studio Max
◼ Maya
◼ Blender
◼ Etc