Unit 2 Solid Modeling
Unit 2 Solid Modeling
Subtract
Intersection
Union
C - Rep
Solid Modeling Example
Union
Using CSG
Cut
Plan your modeling strategy
before you start creating the
solid model
Cut
(CSG)- data structure
• Data structure does not define model shape explicitly but rather
implies the geometric shape through a procedural description
– E.g: object is not defined as a set of edges & faces but
by the instruction : union primitive1 with primitive 2
• This procedural data is stored in a data structure referred to as a
CSG tree
• The data structure is simple and stores compact data easy to
manage
CSG Tree
• CSG tree stores the history of
applying boolean operations on
the primitives.
– Stores in a binary tree format
– The outer leaf nodes of tree represent
the primitives
– The interior nodes represent the +
boolean operations performed.
-
CSG – Nonuniqueness of solid model
-
(C-rep) CSG - Advantage
Metric information/
(x, y, z) geometry
B-Rep data structure
Boundary representation- validity
• System must validate topology of created solid.
• For topology consistency, certain rules have to be followed
v5 V = 5, E = 8, F = 5
f3 f2 E3 5–8+5=2
E4
E1 v4 E7
f4 v3
f5 E2 E6
E8 f1
v1 E5 v2
Boundary representation- validity
• Expanded Euler’s law for complex polyhedrons (with holes)
• Euler-Poincare Law:
– V-E+F-H+2P=2B
– H – number of holes in face, P- number of passages
or through holes, B- number of separate bodies.
Sketched Feature
Create a 2D sketch.
Fillet
Boundary representation- advantages