Documente Academic
Documente Profesional
Documente Cultură
PART A
1. Define Geometric modeling.
Geometric design (GD), also known as geometric modeling, is a branch of computational
geometry. It deals with the construction and representation of free-form curves, surfaces,
or volumes.
2. Write down the three types of Geometric models.
Line or wireframe modeling,
Surface modeling,
Solid modeling.
3. List few mass properties.
Density
Specific weight
Specific volume
Specific gravity
4. List the general features of a solid modeling.
Extrude
Blend
Protrusion
Hole
Chamfer
Draft
Offset
5. Write any four solid primitives.
Cylinder
Wedge
Torus
Sphere
Block
Pyramid
Cone
Hemisphere
6. Write any two Boolean operations.
Union
Intersection
Difference
Topological entities
Vertex
Edge
face
Feature recognition
Design by features
Autocad
Catia
Pro/Engineer
Solidworks
Cuboid
Cylinder
Sphere
Cone
Wedge
Torus
Surface models require more computational time when compared to wire frame
models.
Mass properties such as weight, volume and moment of inertia cannot be derived
from surface models.
Surface models cannot be used as a basis for finite element analysis for stress strain
prediction.
Neither hidden lines can be easily removed nor internal sections can be easily
displayed.
This is an axis symmetric surface that can model axisymmetric objects. It is generated by
rotating a planer curve in a space about the axis of symmetry for certain angle of rotation.
(d) Tabulated surface:
This is a surface generated by translating a planner curve along a specified direction as shown in
fig 3.8.
Polygon P is known as control polygon. The points P0, P1, P2 and P3 are known as control
points. Since there are four control points, the curve which represents a cubic curve (order of
curve is (n 1) control points). The curve passes through only first and last point P and P Using
the same concept, the simple bezier surface can be generated as shown in fig 3.10.
Any node may have one parent node and two-child node. The root node (R) has no parent
and leaf node (L) has no children.
For example to create a model as shown in fig 3.19, four primitives two rectangular
blocks and two cylinders are required.
To create the final object following Boolean operation has to be carried out.
Even if the topological consistency is achieved, in some cases like solids having concave
faces will not give geometrically valid solid.
The B-rep scheme is more widely used because
In CSG the number of basic primitives available are limited.
The performance of B-rep scheme is very much superior to that of CSG scheme for
complex engineering models.
Conversion of CSG to B-rep is possible, but conversion from B-rep to CSG is not
possible.
Combining the wire frame and surface model is possible only through B-rep solid
representation.
Advantages:
1. Computational effort and time required to display the model are less compared with CSG.
2. Combining wire frame and surface model are possible.
3. Complex engineering objects can be modeled very easily compared with CSG.
4. Since the topology and geometry are treated separately, incorporating new geometries in the
existing model is easy.
5. It is particularly suitable for modeling part having internal symmetry.
Disadvantages:
1. The data to be stored is more and hence it requires more memory.
2. Sometimes geometrically valid solids are not possible.
6. Classify the graphics standards. Name some important standards used in plotting and
CAD data exchange.
Associated with each primitive is a set of parameters which is used to define particular instances
of that primitive. For example, the parameters of the text primitive are the string or characters to
be drawn and the starting position of that string. Thus:
TEXT(X, Y, 'ABC')
will draw the characters ABC at the position (X, Y).
Although the parameters enable the form of the primitives to be specified, additional data are
necessary to describe the actual appearance (or aspects) of the primitives. For example, GKS
needs to know the height of a character string and the angle at which it is to be drawn. These
additional data are known as attributes.
The attributes represent features of the primitives which vary less often than the form of the
primitives. Attributes will frequently retain the same values for the description of several
primitives. Once a suitable character height has been selected, for example, several character
strings may be plotted using this character height (such as the labels on the axis of a graph).
1. POLYLINE
The main line drawing primitive of GKS is the polyline which is generated by calling the
function:
POLYLINE (N, XPTS, YPTS)
where XPTS and YPTS are arrays giving the N points (XPTS(1), YPTS(1)) to (XPTS(N),
YPTS(N)). The polyline generated consists of N - 1 line segments joining adjacent points
starting with the first point and ending with the last.
The GKS function for drawing line segments is called polyline. The polyline function takes an
array of X-Y coordinates and draws line segments connecting them. The attributes that control
the appearance of a polyline are:
Linetype, which controls whether the polyline is drawn as a solid, dashed, dotted, or
dash-dotted line.
Linewidth scale factor, which controls how thick the line is.
Polyline color index, which controls what color the line is.
2. POLYMARKER
Instead of drawing lines through a set of points, we may wish just to mark the set of points. GKS
provides the primitive polymarker to do just this. A polymarker is generated by the function:
POLYMARKER (N, XPTS, YPTS)
where the arguments are the same as for the polyline function, namely XPTS and YPTS are
arrays giving the N points (XPTS(1), YPTS(1)) to (XPTS(N), YPTS(N)). Polymarker places a
centred marker at each point.
The GKS polymarker function allows you to draw marker symbols centered at coordinate points
that you specify. The attributes that control the appearance of polymarkers are:
Marker, which specifies one of five standardized symmetric characters to be used for the
marker. The five characters are dot, plus, asterisk, circle, and cross.
Marker size scale factor, which controls how large each marker is (except for the dot
marker).
Polymarker color index, which specifies what color the marker is.
3. FILL AREA
The GKS fill area function allows you to specify a polygonal shape of an area to be filled with
various interior styles. The attributes that control the appearance of fill areas are:
Fill area interior style, which specifies how the polygonal area should be filled: with solid
colors or various hatch patterns, or with nothing, that is, a line is drawn to connect the
points of the polygon, so you get only a border.
Fill area style index. If the fill area style is hatch, this index specifies which hatch pattern
is to be used: horizontal lines; vertical lines; left slant lines; right slant lines; horizontal
and vertical lines; or left slant and right slant lines.
Fill area color index, which specifies the color of the fill patterns or solid areas.
4. Text
The GKS text function allows you to draw a text string at a specified coordinate position. The
attributes that control the appearance of text are:
Text font and precision, which specifies what text font should be used for the characters
and how precisely their representation should adhere to the settings of the other text
attributes.
Character expansion factor, which controls the height-to-width ratio of each plotted
character.
Character spacing, which specifies how much additional white space should be inserted
between characters in a string.
Text color index, which specifies what color the text string should be.
Character height, which specifies how large the characters should be.
Character up vector, which specifies at what angle the text should be drawn.
Text path, which specifies in what direction the text should be written (right, left, up, or
down).
Text alignment, which specifies vertical and horizontal centering options for the text
string.
5. Cell Array
The GKS cell array function displays rasterlike images in a device-independent manner. The cell
array function takes the two corner points of a rectangle that you specify, a number of divisions
(M) in the X direction and a number of divisions (N) in the Y direction. It then partitions the
rectangle into M x N subrectangles called cells. You assign each cell a color and create the final
cell array by coloring each individual cell with its assigned color. At level 0A, cell array has no
associated attributes.
08. Write down the advantages and disadvantages of wire frame modeling technique.
Advantages:
1. Wire frame models are simple and easy to create, with little computer time and memory.
2. Wire frame model form the basis for surface model.
3. CPU time required to retrieve, edit or update a wire frame model is usually small
compared with surface or solid models.
o Wire frame modeling can be considered as extension of computer aided drafting.
o Wire frame models provide accurate information about the location of surface
discontinuity on the part.
o It can be used as a basis for automatic generation of cutter paths to drive NC
machine tool to manufacture component.
Disadvantages:
1. There is always some ambiguity in visualizing the 3D model.
09. Write down the advantages and disadvantages of Surface modeling technique.
Advantages:
1. Unambiguitiveness in the interpretation of object is less than wire frame models by using
the provision of hidden line removal.
2. Surface modeling can be used to perform interference checking (i.e. penetration of one
part with other).
3. Surface modeling can be used to check the aesthetic look of the product (By using coloring
and shade facilities).
4. As the surface models precisely define the part geometry such as surface and boundaries,
they can help to produce NC machine instructions automatically.
5. Complex surface features like shoes, car panels, doors etc can be created very easily.
Disadvantages:
1. Interpretation of surface model is still ambiguous.
2. Surface models require more computational time when compared to wire frame models.
3. More skill is required for surface modeling.
4. Mass properties such as weight, volume and moment of inertia cannot be derived from
surface models.
5. Surface models cannot be used as a basis for finite element analysis for stress strain
prediction.
6. Neither hidden lines can be easily removed nor internal sections can be easily displayed.
10. Write down the advantages and disadvantages of Solid modeling technique
Advantages of Solid Modeling:
Complete modeling.
Unambiguous.
Best suitable for calculating mass properties.
Very much suitable for automated applications.
Fast creation.
Gives huge information.