14 Solid Modeling Rev3
14 Solid Modeling Rev3
+ =
iS bS kS
4/25/2015 I/C: Regalla Srinivasa Prakash 14
Desirable properties of solid models:
1) Rigidity: Shape of the solid model is invariant
2) Homogeneous 3-Dimensionality: No dangling
portions, no isolated portions, solid boundaries
are in contact with the interiors
3) Finiteness and finite describability: The two are
different; a (P, R, H) set describe a finite
cylinder but may have infinite faces to describe
4) Closure under rigid motion and Boolean
operations: Should produce valid solids
5) Boundary determinism: Boundary must clearly
determine the solid
B
b
C A
a B
1) Half-Spaces
2) B-Rep (boundary representation)
3) CSG (Constructive Solid Geometry)
4) Sweeping
5) Analytic Solid Modeling
6) Cell decomposition
7) Octree Encoding
8) Spatial Enumeration
9) Primitive instancing
4/25/2015 I/C: Regalla Srinivasa Prakash 19
FUNDAMENTALS OF SOLID MODELING
Set Theory
Regularized Set Operations
Set Membership Classification
S S
i k
iS S=kiS
S S
k i
kS S=kiS
4/25/2015
L I/C: Regalla Srinivasa Prakash 40
CSG
L in R = (L in A) (L in B)
L on R = ((L on A) (L on B)) ((L in A) &
(L on B)) ((L on A) & (L in B))
L out R = L - (L in R) (L on R)
L in B
L on B
L out B
L in R
f(P)
F = 3; E = 3; V = 2
F = 1; E = 0; V = 1
4/25/2015 I/C: Regalla Srinivasa Prakash 56
CURVED POLYHEDRA
If the curved objects are represented by storing the equations of
curves and surfaces of edges and faces, the resulting boundary
scheme is called as exact B-Rep scheme.
Alternatively, one may use faceted B-Rep (also called as tesselated
representation), in which each curved face is divided into planar
facets. Increasing the number of facets increases accuracy of
display but takes more time.
Faceted representation is not good for CNC machining because the
machine hardware will do one more level of interpolation resulting in
errors.
OP7 P4
OP7
P5
P3
OP1 OP1
P3
nL + nR = 2n 2
P2
P1
P2
P1
Perfect Tree:
nL = n R = n 1
4/25/2015 I/C: Regalla Srinivasa Prakash 70
SOLID/SOLID INTERSECTION
The problem is often basically a surface/surface
intersection
Any parametric surface of a solid can be
represented in a polynomial form and quadratic
form as:
Ax2+By2+Cz2+2Dxy+2Eyz+2Fxz+2Gx+2Hy+2Jz+K=0
F(x,y,z) = [V]T[Q][V] = 0 -> quadratic form
[Q] takes appropriate 4*4 matrix form for each of
planar, cylindrical, spherical, conical and other
surfaces
Intersection results then can be obtained by solving
[V]T([Q1] [Q2])[V] = 0
A L A
P B B
L
IN R ON R