Solid Modeling 123
Solid Modeling 123
5/2/2013
CHARACTERISTICS SOLID MODELING Solids models are known to be complete, valid, and unambiguous representations of objects. A complete solid is one which enables a point in space to be classified relative to the object, if it is inside, outside or on the object. This classification is called as spatial addressability or set membership classification. A valid solid should not have dangling edges or faces, then only it will allow interference analysis, mass property calculations, finite element modeling and analysis, CAPP, machine vision, and NC part programming.
5/2/2013 I/C: Regalla Srinivasa Prakash 2
All commercial CAD packages offer one or both of two different solid modeling approaches: 1) Primitives based 2) Feature based
UNIGRAPHICS (EDS Technologies), CATIA (Dassault Systems), I-DEAS (Structural Dynamics Research Corporation) offer both approaches. SolidWorks (Dassault Systems), Pro/Engineer (Parametric Technology Corporation).
5/2/2013 I/C: Regalla Srinivasa Prakash 3
SOLID ENTITIES
APPROACH Primitives based approach ENTITIES Solid primitives (block, cylinder, cone, sphere, wedge and torus)
5/2/2013
PRIMITIVE BASED SOLID MODELING This approach allows designers to use predefined shapes (primitives) as building blocks to create complex solids. Designers must use Boolean operations to combine the primitives This approach is limited by the restricted shapes of the primitives.
C B A
5/2/2013
A, B and C are primitive solids. A = Block B = Cylinder C = Cylinder ABC=D :Boolean operation; Create block A and subtract two cylinders from it using primitives approach.
I/C: Regalla Srinivasa Prakash D = Final solid 5
SOLID MODELING
Geometry and topology Solid entities Fundamentals of solid modeling Half-spaces Boundary representation (B-Rep) Constructive Solid Geometry (CSG) Sweeps Solid Manipulations
I/C: Regalla Srinivasa Prakash 7
5/2/2013
5/2/2013
Solid primitives
5/2/2013
5/2/2013
10
1) 2) 3) 4) 5) 6) 7) 8) 9)
Half-Spaces B-Rep (boundary representation) CSG (Constructive Solid Geometry) Sweeping Analytic Solid Modeling Cell decomposition Octree Encoding Spatial Enumeration Primitive instancing
I/C: Regalla Srinivasa Prakash 12
5/2/2013
Elements of B-Rep models: Types of Objects Two types of objects: 1) Polyhedral objects
Consist of plane faces and straight edges
2) Curved objects Consist of curvilinear general surfaces and general curvilinear edges
5/2/2013
16
POLYHEDRAL OBJECTS
Four different classes:
1. Simple polyhedra 2. Polyhedra having loops 3. Polyhedra having boundary (blind) holes and interior holes 4. Polyhedra having through holes or handles
5/2/2013
18
A DISJOINT SOLID
A solid having more than one body is called as disjoint solid. Thus a hollow sphere, a cuboid with internal hole, a solid having two pieces that are completely disconnected etc. are examples of disjoint solids. Can you create a disjoint solid in Pro/Engineer?
5/2/2013 I/C: Regalla Srinivasa Prakash 19
5/2/2013
20
EULER OPERATIONS
Euler in 1752 proved that polyhedra that are homomorphic to a sphere, that is their faces are non self-intersecting and belong to closed orientable surfacse, are topologically valid if they satisfy the following Euler-Poincare Law equation: F E + V L= 2(B G) F= Number of faces E= Number of edges V= Number of vertices L = Inner loops on faces B= bodies G = genus (handles)
5/2/2013 I/C: Regalla Srinivasa Prakash 21
SIMPLE POLYHEDRA
When L=B=G=0, then the solid satisfies the following equation and is called as simple polyhedron. FE+V=2
5/2/2013
22
5/2/2013
24
Open solids
CURVED POLYHEDRA
Simplest curbed polyhedra are cylinder and sphere.
F = 3; E = 3; V = 2 F = 1; E = 0; V = 1
5/2/2013 I/C: Regalla Srinivasa Prakash 26
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.
5/2/2013 I/C: Regalla Srinivasa Prakash 27
DATA STRUCTURE FOR B-Rep SOLIDS TOPOLOGY GEOMETRY Model Body Genus Face Loop Edge Vertex
5/2/2013 I/C: Regalla Srinivasa Prakash 28
CONSTRUCTIVE SOLID GEOMETRY (CSG) Principle: A physical object can be divided into a set of primitives that can be combined in a certain order following a set of rules (Boolean operations) to form the object. Primitives themselves are valid CSG models. Each primitive is also a solid considered to have been built by a B-Rep process of combining faces from edges, edges from vertices. Database contains both topology and geometry Validity check for CSG solids is much simpler than B-Rep solids because each primitive is already a valid solid.
I/C: Regalla Srinivasa Prakash 29
5/2/2013
Tree
Binary tree Inverted Binary tree
5/2/2013
30
5/2/2013
31
Data Structure for CSG Solids: CSG Trees How to divide a given solids into primitives?
OP7 OP3 OP3 n = Total nodes
OP7
P4 P5
OP7
P3
OP1 P2 P1
nL + nR = 2n 2
P3
OP1
Perfect Tree: nL = n R = n 1
5/2/2013 I/C: Regalla Srinivasa Prakash
P1
P2
32
SWEEPING
A point set is swept along a directrix. 1. Translational sweep: Along a straightline directrix 2. Rotational sweep: axi-symmetric rotation 3. Non-linear sweep: along a curve directrix 4. Hybrid sweep: More than one directrix 5. Invalid Sweep: Produces dangling faces
5/2/2013 I/C: Regalla Srinivasa Prakash 33