Professional Documents
Culture Documents
Parametric Modeling
2016-17
Feature Based Modeling
Deficiencies of Geometric Models
Geometric models have a number of deficiencies that seriously
limit their usefulness to the extent that they are really attractive
only for recording the detail design of the product.
The collection of features chosen to represent a part depends on the part type
and the applications that the feature model is intended to support.
Types of Features
3- Design by features
The part geometry is created directly in terms of
features; geometric models are created from the
features
Classification of Mechanical Parts
Rotational - cylindrical or disk‑like shape
of the raw stock from which a part is to be machined; the part model is
2. Surface Attributes
• Surface attributes specify the characteristics of a surface
that are elements of the shape of a feature or a part (for
example: Surface Finish).
3. Process Attributes
46
In parametric modeling the designer models a
shape by using geometric constraints and
dimensions data on its elements
The geometric constraints describe the relations
between the elements – for example, two faces
are parallel, two edges lie in a plane, a curved
edge is tangent to a neighbouring straight edge
.and so on
52
Example:
Design Intent
The drawing shows the intent of the
designer that the inclined plane
2.50
(chamfer) should have a flat area
measuring 2.5 inches and that it 2.50
should start at a point 1.25 inches 1.25
from the base of the drawing. These
4.00
parameters are what the designer
deemed significant for this model.
53
Design Intent
4.00
1.75
In the last drawing, the designer calls
for a specific angle for the chamfer. 30.0O
2.50
In this case the angle of the chamfer
should be dimensioned.
4.00
54
Design Intent
55
Design Notes
56
Parametric Modeling
The true power of parametric modeling shines through when
design changes need to be made. The design modification is
made by simply changing a dimension.
Pattern: 8 Holes 30
10
60
15
2.75
1.0 2.5
.75
.25
Profile (section)
Path (guide)
Sweep feature
Creating Solids – Loft (different profiles)
Round Square
profile profile
Round profile
• Sections (profiles) do
not have to be sketched
on parallel planes
• All sections must be
either closed or open
61
Creating Features from Sketches
Loft in
SolidWorks
Applied Feature
Applied feature does not require a sketch.
It is applied directly to the model.
Fillets and chamfers are very common
applied features.
Chamfer
Fillet
Applied Features
Shell – hollowing out a solid
Applied Features - Patterns
Linear (rectangular) pattern
Applied Features - Patterns
Linear (rectangular) pattern
1. Select direction 1 and 2 3. Select # of features in dir. 1 and 2
2. Select spacing in dir. 1 and 2 4. Select feature to pattern
68
Boolean Versus Parametric Modeling
Example:
Let’s assume that it is desired to design a part consisting of a
ring with a certain thickness and a series of counterbore holes
along the perimeter.
69
Boolean Versus Parametric Modeling
Boolean operation
70
Boolean Versus Parametric Modeling
Position the pattern about the perimeter of the
base part. Locating the holes is critical to
creating an accurate solid model.
What would happen if you had to come back to this part to change
the thickness of the ring or size of the counterbore holes?
Since Boolean operation was used to create the part, changing the
thickness would not increase the height of the holes. There is no
association between the thickness and the hole pattern location.
71
Boolean Versus Parametric Modeling
Parametric modeling (SolidWorks, ProE, UG, …)
Create the initial base, the ring, by
extruding the profile (circles) in a
particular direction (Pro/E or
SolidWorks) or use primitive solids
and Boolean operation (UG).
72
Boolean Versus Parametric Modeling
The next step would be to pattern the
hole. The pattern would actually be
considered a feature in itself, and
would have its set of parametric
variables, such as the number of
copies and the angle between copies.
73
Boolean Versus Parametric Modeling
In short, the sketch need only be the approximate size and shape
of the part being designed. When dimensions and constraints are
added, they will drive the size and the shape of the geometry.
75
Sketching and Features
Features
• Sketched Feature
Create a 2D sketch.
Create a feature from the sketch by extruding,
revolving, sweeping, lofting and blending.
2.75
1.0 2.5
.75
.25
Revolved feature Extruded feature
76
Creating Features from Sketches
77
Sketching and Features
• Applied Feature
Applied feature does not require a sketch.
They are applied directly to the model.
Fillets and chamfers are very common
applied features.
Chamfer
Fillet
78
Summary – Solid Modeling Methods
• Primitive creation modeling
A solid model is created by retrieving primitive solids
and performing Boolean operations
• Sweeping function
Creates a solid by translating, revolving or sweeping a
predefined 2D shape (Sketching).
If geometric and dimensional constraints are imposed, it
is called Parametric Modeling.
• Feature-based Modeling
Models a solid by using familiar shapes; holes, slots,
grooves, pockets, chamfers, fillets…..
79
Summary – Solid Modeling Methods
• Modifying functions
Rounding (or blending) and lifting.
• Boundary Modeling
Lower entities of a solid (vertices, edges and
faces) are directly manipulated.
80
Sketching
81
Sketching
82
Sketching
• When the dimensions are added, the sketch will
change size and shape. This is the essence of
parametric modeling
1. Data representation.
2. Data exchange
• Data translation between CAD systems
• Data sharing on database
• Standard file formats are the best method for storing and transferring
CAD geometries (and other information) between dissimilar programs.
CAD Data Exchange Standards
Line Y mX c
Circle X Y R
2 2 2
2 2
X Y
Ellipse
2
2 1
a b
Parabola Y 4aX
2
For 3D Curve
P(u ) [ x y y ] [ x(u )
T
y (u ) z (u )] T
umin u u max
• The parametric curve is bounded by two parametric values U min and
Umax
P P1 u ( P2 P1 ) 0 u 1
Scalar form
x x1 u ( x2 x1 )
y y1 u ( y2 y1 ) 0 u 1
z z1 u ( z 2 z1 )
The above equation defines a line bounded by the endpoints P 1 and P2
whose associated parametric value are 0 and 1
Analytical Curves
Parametric representation of analytical curves -2
2- Circles
• The basic parametric equation of a circle can be written as
x xc R cos u
y yc R sin u 0 u 2
z zc
For circle in XY plane, the parameter u is the angle measured from the
X-axis to any point P on the circle.
Analytical Curves
Parametric representation of analytical curves -2
3- Circular Arcs
• Circular arcs are considered a special case of circles. A circular arc
parametric equation is given as
x xc R cos u
y yc R sin u u s u ue
z zc
Where us and ue are the starting and ending angles of the arc
respectively
Surface Modeling
P(u , v) [ x y z ] T
umin u umax
vmin v vmax
Surface Modeling
Surfaces Entities
Plane surface
Tabulated cylinder
Surface of revolution
2- Synthesis surface entities
- Bezier surface - B-spline surface
Surface Modeling
Parametric Representation of Analytical Surfaces
Plane Surface -1
The parametric equation of a plane defined by three points, P 0, P1, and P2
P(u , v) P0 u ( P1 P0 ) v( P2 P0 )
0 u 1 0 v 1
Surface Modeling
Parametric Representation of Analytical Surfaces
2- Ruled Surface
A ruled surface is generated by joining corresponding points on two space
curves (rails) G(u) and Q(u) by straight lines
3- Tabulated Cylinder
A tabulated cylinder has been defined as a surface that results from
translating a space planar curve along a given direction.
• The parametric equation of a tabulated cylinder is given as
0 u umax
P (u, v) G (u ) v n
0 v vmax
Where
G(u) can be any wireframe
entities to form the cylinder
4- Surface of Revolution
Surface of revolution is generated by rotating a planar curve in space about
an axis at a certain angle.
Surface Modeling
Mesh Generation
• Whenever the user requests the display of the surface with a mesh
size m x n
1- Bezier Surface
A Bezier surface is defined by a two-dimensional set of control points P i,j
where i is in the range of 0 to m and j is in the range of 0 to n. Thus, in this
case, we have m+1 rows and n+1 columns of control points
m n 0 u 1
p (u , v) Bm ,i (u ) Bn , j (v) Pi , j
i 0 j 0 0 v 1
Synthesis Curves
Curves that are constructed by many curve segments are called Synthesis Curves
If the problem is dealing with free form design with smooth shapes,
approximation methods are used.
Synthesis Curves
1- Interpolation
Finding an arbitrary curve that fits (passes through) a set of given
points. This problem is encountered, for example, when trying to fit
a curve to a set of experimental values.
Types of interpolation techniques:
• Lagrange polynomial
• Parametric cubic (Hermite)
Parametric cubic
Synthesis Curves
2- Approximation
Approximation approaches to the representation of curves provide a
smooth shape that approximates the original points, without
exactly passing through all of them.
Two approximation methods are used:
• Bezier Curves
• B-spline Curves
Bezier Curves
B-spline curves
Synthesis Curves
1- Lagrange Interpolation Polynomial
• Consider a sequence of planar points defined by (x0, y0), (x1, y1), …….
(xn, yn) where xi < xj for i < j.
The interpolating polynomial of nth degree can be calculated as
n
where
f n ( x) yi Li ,n ( x)
i 0
( x x0 )........( x xi 1 )( x xi 1 ).....( x xn )
Li ,n ( x)
( xi x0 ).........( x i xi 1 )( xi xi 1 ).....( xi xn )
A short notation for this formula is
n n x xj
f n( x) yi i 0,1,2....n
j 0 xi x j
where i 0
j i
∏ denotes multiplication of the n-factors obtained by varying
j from 0 to n excluding j=i
Synthesis Curves
2- Bezier Curves
Given n+1 control points, P0, P1, P2, ….., Pn, the Bezier curve is defined by
the following polynomial of degree n
n
P(u ) Bi ,n (u ) Pi 0 u 1
i 0
Synthesis Curves
2- Bezier Curves
where
P(u) is any point on the curve
Pi is a control point, Pi = [xi yi zi]T
Bi,n are polynomials (serves as basis function for the Bezier Curve)
where
Bi , n (u ) C ( n, i )u i (1 u ) n i
n!
C ( n, i )
i!( n i )!
0≤u≤1
Synthesis Curves
2- B-spline Curves
Given n+1 control points P0, P1, ……., Pn, the B-spline curve of degree
(k-1) defined by these control points is given as
n
P(u ) N i ,k (u )Pi 0 u umax
i 0
Where
• P(u) is any point on the curve
• Pi is a control point
0 ≤ u ≤ ( (n+1) – (k-1) )
0≤u≤n–k+2
Synthesis Curves
2- B-spline Curves
N i ,k 1 (u ) N i 1,k 1 (u )
N i , k (u ) (u ui ) (ui k u )
ui k 1 ui ui k ui 1
1 u i u ui 1
N i ,1
0 otherwise
Synthesis Curves
2- B-spline Curves
The ui are called parametric knots or knot values. These values form a
sequence of non-decreasing integers called knot vector. The point on
the curve corresponding to a knot ui is referred to as a knot point. The
knot points divide a B-spline curve into curve segments.
0 jk
u j j k 1 k jn
n k 2 jn
Where 0 ≤ j ≤ n+k