Representation of Geometry in Model Space

Slides:



Advertisements
Similar presentations
Course Introduction to virtual engineering Óbuda University John von Neumann Faculty of Informatics Institute of Intelligent Engineering Systems Lecture.
Advertisements

Course Introduction to virtual engineering Óbuda University John von Neumann Faculty of Informatics Institute of Applied Mathematics Lecture and laboratory.
Course Situation and Event Driven Models for Multilevel Abstraction Based Virtual Engineering Spaces Óbuda University John von Neumann Faculty of Informatics.
Course Introduction to virtual engineering Óbuda University John von Neumann Faculty of Informatics Institute of Applied Mathematics Lecture and laboratory.
Course Introduction to virtual engineering Óbuda University John von Neumann Faculty of Informatics Institute of Applied Mathematics Lecture and laboratory.
Lecture 10 Curves and Surfaces I
ICS 415 Computer Graphics Bézier Splines (Chapter 8)
1 Curves and Surfaces. 2 Representation of Curves & Surfaces Polygon Meshes Parametric Cubic Curves Parametric Bi-Cubic Surfaces Quadric Surfaces Specialized.
Rational Bezier Curves
1 Lecture 13 Modeling Curved Lines and Surfaces. 2 Types of Surfaces Ruled Surfaces B-Splines and Bezier Curves Surfaces of Revolution.
Curves Locus of a point moving with one degree of freedom
Geometric Modeling Surfaces Mortenson Chapter 6 and Angel Chapter 9.
Curves Mortenson Chapter 2-5 and Angel Chapter 9
Bezier and Spline Curves and Surfaces Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico.
Modelling: Curves Week 11, Wed Mar 23
Curves and Surfaces CS4395: Computer Graphics 1 Mohan Sridharan Based on slides created by Edward Angel.
Bezier and Spline Curves and Surfaces CS4395: Computer Graphics 1 Mohan Sridharan Based on slides created by Edward Angel.
Chapter 10: Curves and Surfaces Part 1 E. Angel and D. Shreiner: Interactive Computer Graphics 6E © Addison-Wesley Mohan Sridharan Based on Slides.
Curve Modeling Bézier Curves
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
(Spline, Bezier, B-Spline)
V. Space Curves Types of curves Explicit Implicit Parametric.
Introduction to virtual engineering Óbuda University John von Neumann Faculty of Informatics Institute of Intelligent Engineering Systems Lecture 3. Description.
Introduction to Computer Graphics with WebGL
Course Introduction to virtual engineering Óbuda University John von Neumann Faculty of Informatics Institute of Applied Mathematics Lecture and laboratory.
Curves and Surfaces Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico 1 Angel: Interactive.
Curves and Surfaces Chapter 10. CS 480/680 2Chapter 9 -- Hierarchical Models Introduction: Introduction: Until now we have worked with flat entities such.
Course Introduction to virtual engineering Óbuda University John von Neumann Faculty of Informatics Institute of Applied Mathematics Lecture and laboratory.
Geometric Modelling 2 INFO410 & INFO350 S Jack Pinches
Representation of Curves & Surfaces Prof. Lizhuang Ma Shanghai Jiao Tong University.
Slide 129 October 1999CS Computer Graphics (Top Changwatchai) Bézier Curves - Results of Derivation Tangents at endpoints are equal to endpoint slopes.
Splines Sang Il Park Sejong University. Particle Motion A curve in 3-dimensional space World coordinates.
Object Modeling: Curves and Surfaces CEng 477 Introduction to Computer Graphics.
Laboratory No. 1 Systems for Lifecycle Management of Product Information Óbuda University John von Neumann Faculty.
Lecture and laboratory No. 8 Connection between real and virtual world objects Óbuda University John von Neumann Faculty of Informatics Institute of Applied.
Lecture and laboratory No. 13 Product data management and exchange Óbuda University John von Neumann Faculty of Informatics Institute of Applied Mathematics.
Lecture and laboratory No. 3 Connections Within and Between Solid Representations Óbuda University John von Neumann.
CSCI480/582 Lecture 9 Chap.2.2 Cubic Splines – Hermit and Bezier Feb, 11, 2009.
Virtual World for Engineers
1. Modeling Product as a System
Finite element mesh and load definition
Cross Disciplinary Definition
Shape Modeling by Form Features
Surfaces and Curves.
Representation of Curves & Surfaces
(Spline, Bezier, B-Spline)
Chapter 10-2: Curves.
Human and Computer Óbuda University
Modeling robot systems
Óbuda University John von Neumann Faculty of Informatics
Virtual engineering An outline of basic methods in virtual space
Systems for Lifecycle Management of Product Information
University of New Mexico
University of New Mexico
CURVES CAD/CAM/CAE.
© University of Wisconsin, CS559 Spring 2004
Curves and Surfaces Ed Angel
Analysis on the principle of finite elements (FEM/FEA)
Parametric Line equations
UNIT-5 Curves and Surfaces.
Definition features for printed circuit board
Introduction to Computer Graphics with WebGL
Three-Dimensional Object Representation
Contextual connections in shape model
Introduction to Parametric Curve and Surface Modeling
Realistic multiphysics analysis
Models of cooperating systems
Component connections
Modeling capabilities
Model of robot system Óbuda University
Presentation transcript:

Representation of Geometry in Model Space Ó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/

László Horváth UÓ-JNFI-IAM 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 V5 és V6 PLM systems the Laboratory of Intelligent Engineering systems, in real modeling process. The CATIA V5 és V6 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/

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 Linear Hermite (applied by: Ferguson and Coons) Circular Cubic t2 t2’ t1 Approximation P 1 2 3 Convex hull P 1 2 3 Convex hull Control polygon P 1 2 3 , Control point László Horváth UÓ-JNFI-IAM http://users.nik.uni-obuda.hu/lhorvath/

László Horváth UÓ-JNFI-IAM http://users.nik.uni-obuda.hu/lhorvath/ 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. 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/

n t b Parametric curve and its local parameters u max P (x,y,z) ( u ) General form of parametric equation of curve P(u)=[x(u) y(u) z(u)], where umin <= u <= 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) t n b u max P (x,y,z) ( u ) min Z X Y P 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 Cartesian space 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 Control polygon consists of 3 lines. Degree was changed to 2. Shape of line is allowed to change accordingly. Degree was changed to 3. Shape of line is allowed to change accordingly László Horváth UÓ-JNFI-IAM http://users.nik.uni-obuda.hu/lhorvath/

Parametric equation of surface v=1 u=1 v=0 v=0,8 Isoperimetric curves P v u (x,y,z) Y X Z ( u, v ) Model coordinate system , General form of parametric equation of surface: P(u,v)=[x(u,v) y(u,v) z(u,v)] where umin <= u <= umax and vmin <= v <= 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 u i u i u min u max Curve Parameter space v max v j u i v j u i v min u min u max Surface László Horváth UÓ-JNFI-IAM http://users.nik.uni-obuda.hu/lhorvath/

Paraméter egyenes és tér B-spline curve 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. t=0 t=1 Sequence of intervals u u u u u 1 2 3 4 Knot vector László Horváth UÓ-JNFI-IAM http://users.nik.uni-obuda.hu/lhorvath/

{ } å ( ) Representation of curve using spline base functions P : i = Analytical definition of B-spline curve: ( ) P = i 1 n u N k å , where: The normalized B-spline base function: N i, k ( u) The control points: { } P : 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: { } u : i = 0,1, . , n k + u0 u1 u3 u2 where: u i £ + 1 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. 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. 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 http://users.nik.uni-obuda.hu/lhorvath/

Examples for knot vector "a" curve: k=2, degree=1 b "b" curve: k=3, degree=2 "c" curve: k=4, degree=3 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 2 3 4 5 Uniform, periodic Control points which act on the highlighted segment Segments, e.g. 1 V - V 2 2 V - V 1 3 6 V - V 5 1 Effect of B-spline base functions László Horváth UÓ-JNFI-IAM http://users.nik.uni-obuda.hu/lhorvath/

( ) ( ) Q = wx , wy , wz , w w ³ x , y , z P w 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: ( ) x , y , z P Representation of this point in the four dimensional homogenous space w ( ) Q = wx , wy , wz , w where w is the homogenous coordinate which is often called as weight: w ³ 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/

( ) å Q u w = , ( ) Q u N V = x y z Rational B-spline curve V V w = B-spline curve with homogenous coordinates: ( ) Q u N V w i k n = å , where: Qw(u) is the point of curve as expressed using four dimensional homogenous coordinates: ( ) Q u w x y z = , N i,k ( u ) is the spline base function, and V is control point in the four dimensional homogenous space: w V w i = , consequently 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: Similarly, the Q(u) point of curve is represented by as projection of four dimension space to three dimensional space: x w y z = ( ) Q u N w V i k n = , å 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/

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 Plane2. 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 Point4. One of the ends of the modified tabulated surface was closed by the first order contextual surface Fill1. 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 Fill2. 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 Join1 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 Join1 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 Spline1 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/