Lec 39
Lec 39
Prof. J. Ramkumar
Dr. Amandeep Singh Oberoi
Department of Mechanical Engineering & Design Program
Department of Mechanical Engineering
Indian Institute of Technology, Kanpur
Lecture – 39
Rapid Product Development, CAD (Part 3 of 3)
So, till now, we studied curves, then we studied of the data points, which are generated,
and from that data points, we are trying to form these curves.
So, curves can be divided into two, one is analytical and another one is synthetic.
Requires much less computer storage for the data representing the curve.
Bezier curves
B-spline curves
Hermite cubic spline are more general form of curves that can be defined through
a set of vertices.
So, if you want to work in simple form, or a algebraic form or a long hand form,
then we will take it by this, but in computers, we always try to convert this into a
matrices form.
(Refer Slide Time: 02:48)
The Bezier curve passes through the first and the last control point, while it
maintains proximity to the intermediate control points.
As such, the entire Bezier curve lies in the interior of a convex hull of a control
point.
If we are control point is moved, the entire curve moves. Being polynomial
function Bezier curve are easily computed and infinitely differentiable.
If the control points of the Bezier curve are transformed, the curve moves to the
corresponding new coordinate frame, without changing its shape.
So, this gives you a freedom of transferring it from one software to the other
software, without any difficulty, or you have a user coordinate system, a world
coordinate system. From the world, you go to user coordinate system, from user,
you go to another user coordinate system.
The object whatever you have created, will be shifted without any deformation or
change.
B-splines can be of any degree, but in computer graphics, the degree of 2 or 3 are
generally found to be sufficient.
You can go to nth degree; you will have more data. When you have more data,
you will also have more errors coming here and there. So, it is better to stop with
2 and 3 and you also make it computationally little easy.
Substituting the values of xi and xi+1 in the above equation, we get and for solving
for the constants.
(Refer Slide Time: 05:20)
The B-spline curves have the flexibility of choosing the degree of curve,
irrespective of number of control points.
With four control points, it is possible to get a cubic Bezier curve, with which B-
spline curve, one can get a linear quadratic or a cubic curve.
B-spline also uses the bias functions (blending functions) and the equation is of
the form
(Refer Slide Time: 05:48)
The knot vector adds flexibility to the curve and provides better control of its
shape.
Positivity:
(Refer Slide Time: 06:18)
The curve follows the shape of a control point and lies in the convex hull of the
control point.
You are now getting into fragmenting the curve and moving each individual
fragment. The B-spline curve tightens, by increasing its degree, as the degree of
the B-spline is lower, it becomes close to the control polygon.
he B-spline curve is contained within the convex hull of its control points
Increasing the degree of the curve, makes it difficult to control, hence cubic B-
spline is sufficient enough to do majority of the applications
Rational Curves:
They are important in CAD because of their invariance when the geometric
transformations are applied.
NURBS:
The uniform cubic B-spline are the curves with the parametric intervals defined
at equal lengths.
The most common scheme, scheme used in all CAD systems is there non
uniform rational B-spline, allowing an non uniform knot vector.
NURBS:
They have all B-spline surface abilities. In addition, they overcome the limitation
of B-spline surfaces, by associating each control point with a weight.
The weights in the NURBS data structure do determines the amount of surface
deflection towards and away from the control points.
It makes it possible to create curves, that are true conic sections. Surface based
on conics arcs and spears can be precisely represented by NURBS surface.
NURBS surfaces can be incorporated into an existing solid model by stitching the
NURBS surface to the solid model. So, if you want to add a pack to the solid
surface, it is possible.
1. Boundary Representation:
The object is represented by means of a bounded face, that enclose it. So, the
solid bounds each boundary.
So, the solid can be drawn through constructive solid geometry. This is not a
unique way, there are several ways to use Boolean operations to represent a solid.
(Refer Slide Time: 12:17)
3. Cell Decomposition:
The object is represented by a list of the cubical disjoint spatial cells that it
occupies.
This is a special case of the cell decomposition, where the shape of the cells is
cubical.
5. Primitive Instancing:
6. Sweeping:
The CSG is a modelling method that defines the complex solids as compositions
of simple solid primitives.
Usually identified entities are extracted from the model and additional
engineering information, such as tolerance and non-geometric attributes are then
associated with the feature entities.
(Refer Slide Time: 15:23)
So, you have a user, a CAD software, and a geometric model. So, the feature
recognition procedure is followed. Feature extraction procedure is followed. And
then what you get is a feature model.
So, there is a template, it quickly identifies the features and then it starts doing it.
So, all predefined features are already available.
So, it splits the moment it sees the full CAD model, it gets divided into some
models or features. And, each feature is a recognition is one and then extraction
is two.
Recognition and extraction, this goes back and forth. So, recognition is based on
the features and templates are extracted procedures. So, we do it and we get is a
feature model.
(Refer Slide Time: 16:26)
The use of feature provides a more natural interface between design and solid
model.
In mechanical design for example, a designer can work directly with the high
level entities, such as pocket, rather than associated low level entities, in which
the vertices and edges form your pocket.
The feature allows the capability of providing additional information useful for
the process planning.
Since features reflect specific manufacturing process, they assure the parts can be
produced.
(Refer Slide Time: 17:18)
Feature-based design:
So, you have a CAD software, geometric model, feature model. So, feature, you
pick it up from the feature library , a process library is there, you try to get that
and then see what is going on.
While in the recognition process, the user builds the geometric model of a part,
that is successfully mapped into the feature based model.
Feature Interactions:
I have a cup, this is an intersecting feature, the handle getting integrated are
represent. The conventional representations are not generated in feature
operation.
The algorithms are needed to extract both intersecting and interacting features,
but operating on different input representations that are available today.
There is no existing feature recognition system, that got recognise all 3D solid
primitives features as of today.
The reminder of the section defines the problem of the interacting features with
an example. The interacting features are very common on manufacturing
designed objects.
(Refer Slide Time: 19:18)
The design by features, or the so called feature based design, uses a library of 2D
and 3D features as design primitives on the product modelling level.
The use of these features provides a more natural interface between design and
solid model.
In mechanical design, for example, if there is a pocket, so, this pocket is fully
taken into existence, rather than splitting it into lines and planes.
The feature allows the capability of providing additional information used for
process planning.
Since features reflect simple manufacturing processes, they assure that the path
can be produced. So, this is how the procedure is. So, you have your CAD
software, where in which you do geometric modelling and you have a feature
modular. This comes and does extraction of the features, and then this talks to the
user, is the designer.
So, just by knowing the feature, the process is pulled out and you try to get it. So,
this is a simple schematic diagram of feature based design. The integration of
design by feature and feature recognition is applicable for design and
manufacturing integration today. So, design feature is a designer one, feature
recognition application is the manufacturing one. A user can create a context
dependent representation, that is specific and informative enough to satisfy the
requirement of the application.
While in the recognition process, the user builds the geometric model of your
part, that is successfully mapped into the feature based model.
The feature recognition is also used to directly recognise features from the CAD
model. It is easy to derive a geometric feature from a higher level entities of a
path model, in which each feature is associated with their component of a solid
body.
On the other hand, to transform the geometric model into a feature representation
is very difficult. Intersecting features are represented on conventional
representations and not generated by feature operation.
Intersecting features are always a challenge. For example, you have a cylinder,
you have a plane, cuts it, and then you get an ellipse. And now if this ellipse is
attached to some other cylinder. So, it is an interesting feature.
All these things are rapid manufacturing, just doing CAD alone does not matter
for manufacturing. So, doing CAD and transforming the data to CAM and doing
it automatically, needs all these features for recognition model.
(Refer Slide Time: 23:27)
There is no existing feature recognition system that could recognize all type of
3D solid feature primitives and their various interacting combinations.
The reminder of this section defines the problem of intersecting features with an
example. The interacting features are very common or manufacturing design
objects.
(Refer Slide Time: 23:54)
Explain CSG.
So, these are the topics, we saw in this lecture of CAD. If CAD does not exist, CAM
does not exist; if CAM does not exist, rapid manufacturing does not exist.
All these things come from CAD. So, if you know to represent CAD properly, then the
next step is taken care. In CAD, you have geometric, simple geometric and complex,
you have analytical surface and free form surface or synthetic surfaces. So, in analytical
surfaces, parametric forms can be done. In synthetic surfaces, you have to work on
features like curves. So, these curves are B-spline, Bezier, NURBS, all these
representations you have to use for developing a freeform surface using synthetic curves.
Till now we were only talking about a single curve.
Suppose you have a big curve and we discretize it into several small curves and the
radius of each curve is changing, then the problem of, first getting continuity and then
smoothness of the continuity and control points in each curve is a challenge. Then we
have taken it to the next level, feature recognition. Today, the talk of the town is, feature
recognition through CAD, one is extraction of details, the other is interaction or when
there is a intersection of details, then how do you extract those features. This is what we
saw in this lecture.