Professional Documents
Culture Documents
EMG 2504: CAD/CAM: Geometric Modeling
EMG 2504: CAD/CAM: Geometric Modeling
Geometric Modeling
James K. Kimotho
SoMMME
Department of Mechanical Engineering
Geometric Modeling
Steps in Creating a Geometric Model
Geometric Modeling
Methods of creating a geometric model
Wire Frame modeling
Solid modeling
Surface modeling
Geometric Modeling
Analytical Free-form
Geometric Modeling
Why do we need 3D models?
Advantages
– Can quickly and efficiently convey more information than multi-
view drawings.
– The only lines seen are the intersections of surfaces.
– Contain most of the information needed to create surface, solid
and higher order models.
Disadvantages
– Do not represent an actual solids (no surface and volume).
– Cannot model complex curved surfaces.
– Cannot be used to calculate dynamic properties.
– Ambiguous views .
Ambiguity problem
– A model can be interpreted in more than one way.
Applications:
– conceptual sketching
– used to construct the basic framework of a 3D model
• The initial step in creating a surface model
• Framework for generating 3D piping network
– setting out layout for complex systems
Surface Modeling
They utilize the edge vertex definition of the wire frame model
as a basis for defining the geometry of the face
Surface Modeling
Surface Modeling
Surface Modeling
Surface Modeling
Advantages
– Eliminates ambiguity and non-uniqueness present in WFM
– Renders the model for better visualization and presentation
– Objects appear more realistic
– Provides the surface geometry for CNC machining
– Provides the geometry needed for mold and die design
– Can be used to design and analyze complex free-formed surfaces
(ship hulls, airplane wings, car bodies, …)
– Surface properties such as roughness, color and reflectivity can
be assigned and demonstrated
Disadvantages
– Surface models provide no information about the inside of an
object
• Difficult to generate cutting tool data for NC machines
– Complicated computations, depending on the number of surfaces
– The calculation of properties such as mass and inertia would be
difficult or impossible
17 EMG 2504: Geometric Modeling/ 24.05.2022
SoMMME
Department of Mechanical Engineering
Surface Modeling
Solid Modeling
The model is defined by the volumetric shape it occupies and
provides a full and unambiguous description of 3D shape
Solid models represent the full surface geometry of an item
and also the internal structure
Solid model consist of geometric and topological data
– Geometry shape, size, location of geometric elements
– Topology connectivity and associativity of geometric elements
Features of a solid model
– It provides complete definition of a volumetric 3D shape,
indicating outside and inside of an object.
• This makes it easy to detect interference, especially in assembly
– Analytical advantage, including automatic display of accurate
mass properties and efficient construction of finite elements
– Ability to incorporate color choice and tone control
– Allows simulation of mechanism dynamics, tool path procedures
and robot handling.
19 EMG 2504: Geometric Modeling/ 24.05.2022
SoMMME
Department of Mechanical Engineering
Solid Modeling
Advantages
Solid Modeling
Disadvantages
Solid Modeling
Methods
Primitive instancing
Spatial occupancy enumeration (SOE)
Cell decomposition
Constructive solid geometry (CGS)
Boundary representation (B-rep)
Sweeping
Solid Modeling
Primitive Instancing
N=20 N=30
D=40 D=60
H=10 H=20
Solid Modeling
Primitive Instancing
Solid Modeling
Spatial Occupancy Enumeration (SOE)
Solid Modeling
SOE
Advantages:
– Easy to verify if a point (a voxel) is inside or outside an object.
– Boolean operations are easy to apply.
Limitations:
– Requires large memory.
– Resolution is limited to size and shape of voxel.
Used in Biomedical engineering e.g. for mapping and
illustration of living cell structures.
Solid Modeling
Cell Decomposition
Solid Modeling
Constructive Solid Geometry (CSG)
Solid Modeling
CSG
– Plan your modeling strategy
before you start creating the
solid model -
Solid Modeling
CSG
Solid Modeling
Advantages of CSG
– CSG is powerful with high level command.
– Easy to construct a solid model – minimum steps.
– CSG modeling techniques lead to a concise database less
storage.
– Complete history of model is retained and can be altered at any
point.
– Can be converted to the corresponding boundary representation.
Disadvatages
– Only boolean operations are allowed in the modeling process
• with boolean operation alone, the range of shapes to be modeled is
severely restricted
• not possible to construct unusual shape.
– Requires a great deal of computation to derive the information on
the boundary, faces and edges which is important for the
interactive display/ manipulation of solid.
Solid Modeling
Boundary Representation (B-rep)
Boundary Representation
Boundary representations can be defined in two ways:
– Primitive based. A collection of primitives forming the boundary
(polygons, for example)
– Freeform based (splines, parametric surfaces, implicit forms)
A polyhedron is a solid bounded by a set of polygons and is
constructed from:
– Vertices, V
– Edges, E
– Faces, F
Each edge must connect two vertices and be shared by exactly
two faces.
At least three edges must meet at each vertex
A simple polyhedron must satisfies Euler's formula:
𝑉−𝐸+𝐹 =2
33 EMG 2504: Geometric Modeling/ 24.05.2022
SoMMME
Department of Mechanical Engineering
Boundary Representation
Boundary Representation
Curved and Faceted B-rep model
– A closed cylindrical face has one edge and two vertices.
– A spherical face has one vertex and no edges.
– A boundary model of a closed cylinder has three faces (top,
bottom and cylindrical face) two vertices and one edge connecting
two vertices.
– The other edges are for visualization known as limb.
– The boundary model of a sphere consists of one face one vertex
and no edges
Sweeping
Sweeping
Data
CAD 1 Exchange CAD 2
Format
The preprocessor imports the data into the system and the
postprocessor outputs the file into standard format.
The most widely accepted formats are IGES, DXF and STEP.
Thank You
for
Your Kind Attention!
Dr.-Ing. James Kuria Kimotho Department of Mechanical Engineering
jkuria@eng.jkuat.ac.ke JKUAT
P.O. Box 62000-00200
Tel: Nairobi