Beruflich Dokumente
Kultur Dokumente
810
Engineering Design and Rapid Prototyping Prototyping
Lecture 4
January 6, 2005
CAD History, Background Some theory of geometrical representation Led by TA Follow along step-by-step
Start creating your own CAD model of your part (ca. 30 min)
16.810
Course Concept
today
16.810
Learning/Review
Design Intro / Sketch CAD Introduction FEM/Solid Mechanics Xfoil Airfoil Analysis Design Optimization CAM Manufacturing Training Structural & Wind Tunnel Testing Problem statement
Deliverables
(A) Hand Sketch (B) Initial Airfoil (C) Initial Design optional (D) Final Design (E) Completed Wing Assembly (F) Test Data & Cost Estimation (G) CDR Package
4
Hand sketching CAD design FEM/Xfoil analysis Optimization Revise CAD design Parts Fabrication Assembly Test
Final Review
16.810
What is CAD?
Creating a geometrical representation of the artifacts they are designing Dimensioning, Tolerancing Configuration Management (Changes) Archiving Exchanging part and assembly information between teams, organizations Feeding subsequent design steps
16.810
Input Devices Keyboard Mouse CAD keyboard Templates Space Ball Main System Computer CAD Software Database
Ref: menzelus.com
Human Designer
16.810 6
Source: http://mbinfo.mbdesign.net/CAD-History.htm
16.810
Insert standard parts (e.g. fasteners) from database Dont have to redo entire drawing with each change
Supports Changeability
Keep track of previous design iterations With other teams/engineers, e.g. manufacturing, suppliers With other applications (CAE/FEM, CAM) Marketing, realistic product rendering Accurate, high quality drawings
EO Engineering Orders
Communication
16.810
3D =
Construct Basic
Solids Boolean Operations (add, subtract, )
dim
2D
extrude, rotate
Verification
Loft
Nacelle
FWD Decks
Loft included to show interface/stayout zone to A/C All Boeing parts in Catia file format
Grid of pixels
No relationships between pixels Resolution, e.g. 72 dpi (dots per inch) Each pixel has color, e.g. 8-bit image has 256 colors
12
16.810
Vector Graphics
.emf format
CAD Systems use vector graphics Most common interface file: IGES
Object Oriented
relationship between pixels captured describes both (anchor/control) points and lines between them Easier scaling & editing
13
16.810
16.810
14
Some CAD-Theory
Geometrical representation
(2) Various curves (some mathematics !) - Hermite Curve - Bezier Curve - B-Spline Curve - NURBS (Nonuniform Rational B-Spline) Curves
Applications: CAD, FEM, Design Optimization
16.810 15
Curve Equations
x = R cos ,
y = R sin
(0 2 )
Nonparametric equation
x2 + y 2 R2 = 0
y = R2 x2
16.810
Curve Equations
y = f ( x : 2-D , )
z = f (x, y) : 3-D
: Parametric equation
y = R sin
(0 2 )
x2 + y 2 R2 = 0
It also is good for calculating the points at a certain interval along a curve
y = R2 x2
16.810 17
Parametric Equations
Advantages over nonparametric forms
1. Parametric equations usually offer more degrees of freedom for controlling the shape of curves and surfaces than do nonparametric forms.
e.g. Cubic curve
Parametric curve: x = au 3 + bu 2 + cu + d y = eu 3 + fu 2 + gx + h
Nonparametric curve: y = ax 3 + bx 2 + cx + d
2. Parametric forms readily handle infinite slopes dy dy / du = dx / du = 0 indicates dy / dx = dx dx / du 3. Transformation can be performed directly on parametric equations
e.g. Translation in x-dir.
Hermite Curves
* Most of the equations for curves used in CAD software are of degree 3, because two curves of degree 3 guarantees 2nd derivative continuity at the connection point The two curves appear to one.
* Use of a higher degree causes small oscillations in curve and requires heavy computation. * Simplest parametric equation of degree 3
P(u ) = [ x(u ) y(u ) z(u)] = a0 + a1u + a 2u 2 + a3u 3 (0 u 1)
START (u = 0) END (u = 1)
The curves shape change cannot be intuitively anticipated from changes in these values
16.810
19
Hermite Curves
Position vector at starting point: P0 = P(0) = a0 Position vector at end point: P1 = P(1) = a0 + a1 + a 2 + a3 Tangent vector at starting point: P0 = P(0) = a1 Tangent vector at end point: P1 = P(1) = a1 + 2a 2 + 3a3
Blending functions
P0
P0
P1
P1
START (u = 0)
END (u = 1)
P(u ) = [1 3u 2 + 2u 3
3u 2 2u 3
u 2u 2 + u 3
P0 P 1 u 2 +
u 3 ] : Hermit curve P0 P
1
The curves shape change can be intuitively anticipated from changes in these values
16.810 20
START(1, 1) (u = 0)
1 5 4 4
1 1
0 0
16.810
dy dy / du 0 = = =0 dx dx / du 4
21
Bezier Curve
* In case of Hermite curve, it is not easy to predict curve shape according to changes in magnitude of the tangent vectors, P0 and P1 * Bezier Curve can control curve shape more easily using several control points (Bezier 1960)
n P(u ) = u i (1 u) n i Pi , i=0 i
n
n n! where = i i !(n i )!
* Number of segments: n
P0
P3
n control points
16.810
Bezier Curve
Properties
- The curve passes through the first and last vertex of the polygon. -The tangent vector at the starting point of the curve has the same direction as the first segment of the polygon. - The nth derivative of the curve at the starting or ending point is determined by the first or last (n+1) vertices.
16.810
23
(1) For complicated shape representation, higher degree Bezier curves are needed. Oscillation in curve occurs, and computational burden increases.
(2) Any one control point of the curve affects the shape of the entire curve. Modifying the shape of a curve locally is difficult. (Global modification property) Desirable properties :
1. Ability to represent complicated shape with low order of the curve 2. Ability to modify a curves shape locally
B-spline curve!
16.810 24
B-Spline Curve
P(u ) = N i ,k (u )Pi
i= 0 n
0 ti = i k + 1 n k + 2
1 N i ,1 (u ) = 0
ti u ti +1 otherwise
(Nonperiodic knots)
16.810
25
B-Spline Curve
Example
Order (k) = 3 (first derivatives are continuous) No of control points (n+1) = 6
Advantages
(1) The order of the curve is independent of the number of control points (contrary to Bezier curves) - User can select the curves order and number of control points separately. - It can represent very complicated shape with low order (2) Modifying the shape of a curve locally is easy. (contrary to Bezier curve) - Each curve segment is affected by k (order) control points. (local modification property)
16.810 26
P(u ) =
hP N
i i i=0 n
i ,k
(u )
h N
i i=0
i ,k
(u )
If hi = 0 i, then
h N
i i=0
i ,k
(u ) = 1.
(1) More versatile modification capacity - Homogeneous coordinate hi, which B-spline does not have, can change. - Increasing hi of a control point Drawing the curve toward the control point.
(2) NURBS can exactly represent the conic curves - circles, ellipses, parabolas, and hyperbolas (B-spline can only approximate these curves)
(3) Curves, such as conic curves, Bezier curves, and B-spline curves can be converted to their corresponding NURBS representations.
16.810
28
Summary
(2) Various curves - Hermite Curve - Bezier Curve - B-Spline Curve - NURBS (Nonuniform Rational B-Spline) Curve (3) Surfaces - Bilinear surface - Bicubic surface - Bezier surface - B-Spline surface - NURBS surface
16.810
29
SolidWorks Introduction
SolidWorks
Most popular CAD system in education Will be used for this project 40 Minute Introduction by TA
16.810
30