buda University John von Neumann Faculty of Informatics
Óbuda University John von Neumann Faculty of Informatics Institute of Applied Mathematics Master in Engineering Informatics Course Modeling and design Lecture and laboratory No. 4 Representation of Geometry in Model Space Dr. László Horváth http: //users. nik. uni-obuda. hu/lhorvath/
This presentation is intellectual property. It is available only for students in my courses. The screen shots in tis presentation was made in the CATIA V 5 és V 6 PLM systems the Laboratory of Intelligent Engineering systems, in real modeling process. The CATIA V 5 és V 6 PLM systems operate in the above laboratory by the help of Dassult Systémes Inc. and CAD-Terv Ltd. László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
Contents Lecture Interpolation and approximation curve Short history Parametric curve and its global and local parameters Parametric equation of surface B-spline curve Curve representation using spline base functions Parameterization of B-spline curve Control of B-spline curve Rational B-spline curve Laboratory tasks 4. 1 Building contextual chains 4. 2 Definition and analysis of contextual surfaces László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
Interpolation and approximation curve Interpolation Linear Hermite (applied by: Ferguson and Coons) Cubic Circular t 1 Approximation , Control polygon P 1 t 2’ P 2 , P 1 P 2 P 1 t 2 P 3 Convex hull P 3 P 0 Control point László Horváth UÓ-JNFI-IAM Convex hull P 3 P 0 http: //users. nik. uni-obuda. hu/lhorvath/ P 2
Short history French mathematician Paul Bezier (Renault factory): car body design using the method of approximation Paul de Casteljau applied the same method at the Citroen factory. However, the method became known under the name of Paul Bezier introduced the control polygon. Characteristics of the Bezier curve is provided by the Bernstein polynomial basic (blending) functions The curve passes over the first and last control points. The first and last segments of control polygon are tangents of curve. Global control. Degree of curve = number of control points - 1. László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
Parametric curve and its local parameters General form of parametric equation of curve P(u)=[x(u) y(u) z(u)], where umin <= umax Pu is the position vector to point P. Coordinates of point P in the function of parameter u : x=x(u), y=y(u) és z=z(u) n u max t Y P (x, y, z) b umin P ( u) X Cartesian space Local parameters of curve Accompanying trihedron (Vector units): t – tangent, n- normal b –binormal Tangent plane: t and b Normal plane: b and n Curvature Z László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
Parametric curve and its global parameters Control polygon consists of a single line. Control Local Global Degree (D) Class (N=D+1) Free or engaged end Shape of line is not allowed to change László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
Parametric curve and its global parameters Degree was changed to 2. Shape of line is allowed to change accordingly. László Horváth Control polygon consists of 3 lines. Degree was changed to 3. Shape of line is allowed to change accordingly UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
Parametric equation of surface u=1 v=0 u=1 , Pv u=0, 4 v=0, 8 , Pu P (x, y, z) Y Z u=0 v=0 P ( u, v ) X u=0 u=1 v=1 u=0 v=1 Isoperimetric curves Model coordinate system General form of parametric equation of surface: P(u, v)=[x(u, v) y(u, v) z(u, v)] where umin <= umax and vmin <= vmax x=x(u, v), y=y(u, v) és z=z(u, v) László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
Parameter line and space Model space Parameter line ui ui u min Curve u max Parameter space v max ui v j v min u max Surface László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
Paraméter B-spline egyenes curveés tér Spline Flexible steel ribbon in ship building. It was modeled as B spline. B-spline curve Consists of segments. Continuity at segment borders. Local control. Spline base functions. Degree of the curve is same as degree of the base (blending) function. Different degree of segments is allowed. Curve goes through of the first and last control points only in case of special parameterization. László Horváth UÓ-JNFI-IAM t=1 t=0 u 1 u 2 u 3 u 4 Sequence of intervals Knot vector http: //users. nik. uni-obuda. hu/lhorvath/
Representation of curve using spline base functions Analytical definition of B-spline curve: n P ( u) = where: å Pi N i , k (u ) i=1 The normalized B-spline base function: N i, k (u) The control points: {Pi : i = 0, 1, . . . , n } The B-spline curve includes polynomial represented segments Order of segment k, its degree k-1. László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
Parameterization of B-spline curve The parameter range of curve is divided into intervals for segments: The knot vector: {ui : i where: u 0 u 1 u 2 u 3 The curve passes over given number of segment border points. These points are called as knots. Knots carry the parameter values for segment border points. The allocation of parameter range can be uniform or non-uniform. Non uniform allocation serves more sophisticated representation of geometry. László Horváth UÓ-JNFI-IAM = 0, 1, . . . , n + k } u i £ ui +1 In case of control points n + 1 , order k, degree k 1, number of knots m: (m+1) = (n+1) + k Number of knots: m = n + k Periodic curve: The parameter intervals are repeated. The uniform B-spline is periodic. Non-periodic curve: Inside knots are uniform. However, intervals are repeated at beginning and end of the vector. Maximum number of repetition is the order of curve. http: //users. nik. uni-obuda. hu/lhorvath/
Examples for knot vector a "a" curve: k=2, degree=1 "b" curve: k=3, degree=2 "c" curve: k=4, degree=3 b c Knot vectors: "a" curve: 001233 "b" curve: 0001222 "c" curve: 00001111 László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
Control of B-spline curve A base (blending) function acts only on a segment of the B-spline curve (local control). However, second order continuity (same tangent and curvature) should be ensured at segment borders automatically. This continuity must be saved during any modification of curve. Consequently, the real control is: V 1 V 2 Segments, e. g. V 0 Uniform, periodic V 5 V 3 Control points which act on the highlighted segment 2 V -V 0 2 V -V 1 3 6 V -V 5 1 1 V 4 Effect of B-spline base functions László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
Rational B-spline curve Representation of rational B-splines uses the concept of homogenous coordinates. This was originally applied at representation of transformation matrices. Pont defined in the three dimensional Euclidean space: P ( x , y, z ) Representation of this point in the four dimensional homogenous space Q w = ( wx , wy , wz , w ) where w is the homogenous coordinate which is often called as weight: w³ 0 Values of w are included for the control points in the weight vector. László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
Rational B-spline curve with homogenous coordinates: n Q w (u ) = å N i , k (u ) Vi w i=0 where: Qw(u) is the point of curve as expressed using four dimensional homogenous coordinates: Q w (u ) = w x ( u ), w y (u ), w z (u ), w N i, k ( u ) is the spline base function, and V is control point in the four dimensional homogenous space: V iw Vi = , consequently V i w = w i V i wi László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
Rational B-spline curve Three dimensional projection of the four dimensional control points by dividing the first three coordinates by the homogenous coordinate: x = w y = z = Similarly, the Q(u) point of curve is represented by as projection of four dimension space to three dimensional space: x n w w Q (u ) = y w å i= 0 n å N i= 0 wz w i, k N ( u ) w i. V i, k ( u )V i i The rational B-spline curves are characterized by knot and weight vectors. At representation of analytical curves value of w determines the shape of curve: straight line, elliptic, parabolic, or hyperbolic the segment. László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
Modeling flexible bodies Modeling capabilities Model and simulate mechanical systems that contain a mixture of rigid elements and flexible beam structures. Analysis of large motions of flexible beams, annular plates and of flexible bodies. Analyze the impact of geometric stiffening and buckling during simulations. Modeling and simulation of bending in two planes, torsion and lengthening deformation. 3 DEXPERIENCE component Flexible Bodies Library (FBZ) is based on Modelica language to establish direct connection with model developed in 3 DExperience. László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
Representation of organic shapes Organic shapes They have irregular appearance and tend to have a curvy flow. Shapes found in nature such as leaves and flowers. They are important mainly in Bionics. NURBS is applied to represent both analytic surfaces and free-form surfaces. Using NURBS deformation to enable organic shape modeling is problematic and difficult. Faceted surface cannot be considered as alternative. Mesh on which smooth surface can be defined was offered by subdivision (Sub. D) surface. The solution is the T-Spline surface representation. It is similar to a Sub. D surface but which compatible with NURBS. , and allows relatively easy translation between the two. T-Splines are generalization of NURBS. In this way, Sub. Ds is a tool for representation of organic shapes. Organic shape models are suitable for additive and traditional manufacturing. 3 DEXPERIENCE capabilities Function Driven Generative Designer (GDE) to explore and generate organic shapes using functional specification. László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 1 laboratory exercise Building contextual chains László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 1 laboratory exercise Definition of contexts for point definitions László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 1 laboratory exercise Definition of point in the context of curve László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 1 laboratory exercise Definition of point in the context of reference plane László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 1 laboratory exercise Definition of point in the context of curve László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 1 laboratory exercise Definition of point in the context of surface in boundary László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 1 laboratory exercise Definition of curve in the context of points. At one of the points context of curve tangent is defined. László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 1 laboratory exercise Activation of close parameter of curve. László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 1 laboratory exercise Definition of surface by tabulation of the closed curve. László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 1 laboratory exercise Definition of reference plane in the context of three points. László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 1 laboratory exercise Definition of point in the context of the reference surface Plane 2. László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 1 laboratory exercise One point of the earlier defined curve was replaced by the Point 4. One of the ends of the modified tabulated surface was closed by the first order contextual surface Fill 1. László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 1 laboratory exercise The other end of modified tabulated surface was similarly closed by the surface Fill 2. László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 1 laboratory exercise The three highlighted surfaces are joined in the feature Join 1 in order to make them eligible as common context. László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 1 laboratory exercise Solid feature was defined between the Join 1 feature and its offset. For further development of solid body new reference plane will be required. László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 1 laboratory exercise The tabulated solid form feature was regenerated into shell shaped by activation of the relevant parameter. László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 1 laboratory exercise Additional line definition is needed. László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 1 laboratory exercise Rib form feature is defined. László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 1 laboratory exercise Pipe stub is required in order to provide connection to the interior. The solution to the problem begins by defining a hole (topologically breakthrough!) László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 1 laboratory exercise The hole feature extended the boundary by a cylindrical surface which is extrapolated. László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 1 laboratory exercise Solid form feature is defined between the extrapolate surface and its offset. László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 1 laboratory exercise Fillet features are defined. László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 1 laboratory exercise Model is ready. Survey the contextual chains! László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 1 laboratory exercise Analysis of curvature in an important context. László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 1 laboratory exercise Visualization of control polygon mesh of one of the surfaces. László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 1 laboratory exercise Curve parallel with the closed Spline 1 is defined for later use. László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 2 laboratory exercise Definition and analysis of contextual surfaces No comments included. Please understand model using screen shots. László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 2 laboratory exercise László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 2 laboratory exercise László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 2 laboratory exercise László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 2 laboratory exercise László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 2 laboratory exercise László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 2 laboratory exercise László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 2 laboratory exercise László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 2 laboratory exercise László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 2 laboratory exercise László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 2 laboratory exercise László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 2 laboratory exercise László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 2 laboratory exercise László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 2 laboratory exercise László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 2 laboratory exercise László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 2 laboratory exercise László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 2 laboratory exercise László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 2 laboratory exercise László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 2 laboratory exercise László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 2 laboratory exercise László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
MD 4. 2 laboratory exercise László Horváth UÓ-JNFI-IAM http: //users. nik. uni-obuda. hu/lhorvath/
- Slides: 67