0% found this document useful (0 votes)
145 views8 pages

Unit 3

Computer Graphics Software and Data in Apparel Industry Introduction, the software configuration of a graphics systems, functions of a graphics package, Database structure & content, Geometric modeling 3D modeling, other CAD software feature.

Uploaded by

D Babu Kosmic
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
145 views8 pages

Unit 3

Computer Graphics Software and Data in Apparel Industry Introduction, the software configuration of a graphics systems, functions of a graphics package, Database structure & content, Geometric modeling 3D modeling, other CAD software feature.

Uploaded by

D Babu Kosmic
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

Unit 3

Computer Graphics Software and Data in Apparel Industry Introduction, the software
configuration of a graphics systems, functions of a graphics package, Database
structure & content, Geometric modeling 3D modeling, other CAD software feature.

Introduction
The CAD hardware would be useless without the software to support it. This chapter discusses
some of the issues and methods related to the software and accompanying data base for
interactive computer graphics and computer-aided design.

The graphics software is the collection of programs written to make it convenient for a user to
operate the computer graphics system. It includes programs to generate images on the CRT
screen, to manipulate the images, and to accomplish various types of interaction between the
user and the system. In addition to the graphics software, there may be additional programs for
implementing certain specialized functions related to CAD/CAM. These include design analysis
programs (e.g., finite-element analysis and kinematic simulation) and manufacturing planning
programs (e.g., automated process planning and numerical control part programming). This
chapter deals mainly with the graphics software.

The graphics software for a particular computer graphics system is very much a function of the
type of hardware used in the system. The software must be written specifically for the type of
CRT and the types of input devices used in the system. The details of the software for a stroke-
writing CRT would be different than for a raster scan CRT. The differences between a storage
tube and a refresh tube would also influence the graphics software. Although these differences
in software may be invisible to the user to some extent, they are important considerations in the
design of an interactive computer graphics system.

Newman and Sproull list six "ground rules" that should be considered in designing graphics
software:

1. Simplicity. The graphics software should be easy to use.


2. Consistency. The package should operate in a consistent and predictable way to the
user.
3. Completeness. There should be no inconvenient omissions in the set of graphics
functions.
4. Robustness. The graphics system should be tolerant of minor instances of misuse by
the operator.
5. Performance. Within limitations imposed by the system hardware, the performance
should be exploited as much as possible by software. Graphics programs should be
efficient and speed of response should be fast and consistent.
6. Economy. Graphics programs should not be so large or expensive as to make their
use prohibitive.

THE SOFTWARE CONFIGURATION OF A GRAPHICS SYSTEM


In the operation of the graphics system by the user, a variety of activities take place, which can
be divided into three categories:
1. Interact with the graphics terminal to create and alter images on the screen.
2. Construct a model of something physical out of the images on the screen. The models
are sometimes called application models.
3. Enter the model into computer memory and/or secondary storage.
In working with the graphics system the user
performs these various activities in combination
rather than sequentially. The user constructs a
physical model and inputs it to memory by
interactively describing images to the system. This
is done without any thought about whether the
activity falls into category 1, 2, or 3The reason for
separating these activities in this fashion is that they
correspond to the general configuration of the
software package used with the interactive computer graphics (ICG) system. The graphics
software can be divided into three modules according to a conceptual model suggested by
Foley and Van Dam
1. The graphics package (Foley and Van Dam called this the graphics system)
2. The application program
3. The application data base

This software configuration is illustrated in Figure 6.1. The central module is the application
program. It controls the storage of data into and retrieves data out of the application data base.
The application program is driven by the user through the graphics package.

The application program is implemented by the user to construct the model of a physical entity
whose image is to be viewed on the graphics screen. Application programs are written for
particular problem areas. Problem areas in engineering design would include architecture,
construction, mechanical components, electronics, chemical engineering, and aerospace
engineering. Problem areas other than design would include flight simulators, graphical display
of data, mathematical analysis, and even artwork. In each case, the application software is
developed to deal with images and conventions which are appropriate for that field.

The graphics package is the software support between the user and the graphics terminal. It
manages the graphical interaction between the user and the system. It also serves as the
interface between the user and the application software. The graphics package consists of input
subroutines and output subroutines. The input routines accept input commands and data from
the user and forward them to the application program. The output subroutines control the
display terminal (or other output device) and converts the application models into two-
dimensional or threedimensional graphical pictures.

The third module in the ICG software is the data base. The data base contains mathematical,
numerical, and logical definitions of the application models, such as electronic circuits,
mechanical components, automobile bodies, and so forth. It also includes alphanumeric
information associated with the models, such as bills of materials, mass properties, and other
data. The contents of the data base can be readily displayed on the CRT or plotted out in hard-
copy form. Section 6.6 presents a discussion of the data base for computer graphics.

FUNCTIONS OF A GRAPHICS PACKAGE


To fulfill its role in the software configuration, the graphics package must perform a variety of
different functions. These functions can be grouped into function sets. Each set accomplishes a
certain kind of interaction between the user and the system. Some of the common function sets
are:
1. Generation of graphic elements
2. Transformations
3. Display control and windowing functions
4. Segmenting functions
5. User input functions
1. Generation of graphic elements
A graphic element in computer graphics is a basic image entity such as a dot (or point), line
segment, circle, and so forth. The collection of elements in the system could also include
alphanumeric characters and special symbols. There is often a special hardware component in
the graphics system associated with the display of many of the elements. This speeds up the
process of generating the element. The user can construct the application model out of a
collection of elements available on the system.

The term "primitive" is often used in reference to graphic elements. We shall reserve the use of
this term to three-dimensional graphics construction. Accordingly, a primitive is a three-
dimensional graphic element such as a sphere, cube, or cylinder. In three-dimensional wire-
frame models and solid modeling, primitives are used as building blocks to construct the three-
dimensional model of the particular object of interest to the user.

2. Transformations
Transformations are used to change the image on the display screen and to reposition the item
in the data base. Transformations are applied to the graphic elements in order to aid the user in
constructing an application model. These transformation include enlargement and reduction of
the image by a process called scaling, repositioning the image or translation, and rotation. We
discuss two- and three dimensional transformations in Section 6.5.

3. Display control and windowing functions


This function set provides the user with the ability to view the image from the desired angle and
at the desired magnification. In effect, it makes use of various transformations to display the
application model the way the user wants it shown. This is sometimes referred to as windowing
because the graphics screen is like a window being used to observe the graphics model. The
notion is that the window can be placed wherever desired in order to look at the object being
modeled.
Another aspect of display control is hidden-line removal. In most graphics systems, the image is
made up of lines used to represent a particular object. Hidden-line removal is the procedure by
which the image is divided into its visible and invisible (or hidden) lines. In some systems, the
user must identify which lines (or portions of lines) are invisible so that they can be removed
from the image to make it more understandable. In other systems, the graphics package is
sufficiently sophisticated to remove the hidden lines from the picture automatically.

4. Segmenting functions
Segmenting functions provide users with the capability to selectively replace, delete, or
otherwise modify portions of the image. The term "segment" refers to a particular portion of the
image which has been identified for purposes of modifying
it. The segment may define a single element or logical grouping of elements that can be
modified as a unit.

Storage-type CRT tubes are unsuited to segmenting functions. To delete or modify a portion of
the image on storage tube requires erasing the entire picture and redrawing it with the changes
incorporated. Raster scan refresh tubes are ideally suited to segmenting functions because the
screen is automatically redrawn 30 or more times per second anyway. The image is
regenerated each cycle from a display file, a file used for storage that is part of the hardware in
the raster scan CRT. The segment can readily be defined as a portion of that display file by
giving it a name. The contents of that portion of the file would then be deleted or altered to
execute the particular segmenting function.

5. User input functions


User input functions constitute a critical set of functions in the graphics package because they
permit the operator to enter commands or data to the system. The entry is accomplished by
means of operator input devices, and from Chapter 5 we note that there are a large variety of
these input devices. The user input functions must, of course, be written specifically for the
particular compliment of input devices used on the system. The extent to which the user input
functions are well designed has a significant effect on how "friendly" the system is to the user,
that is, how easy it is to work on the system.

The input functions should be written to maximize the benefits of the interactive feature of ICG.
The software design compromise is to find the optimum balance between providing enough
functions to conveniently cover all data entry situations without inundating the user with so many
commands that they cannot be remembered. One of the goals that are sought after by software
designers in computer graphics is to simplify the user interface enough that a designer with little
or no programming experience can function effectively on the system.

DATA BASE STRUCTURE AND CONTENT


The application data base was identified as one of the three modules in the graphics software.
Nearly all of the functions of a CAD system depend on its data base. The computer-aided
design data base contains the application models, designs, drawings, assemblies, and
alphanumeric information such as bills of materials and text. The data base also includes much
of the interactive graphics software, such as system commands, function menus, and plotter
output routines. The data base resides in computer memory (primary storage) and secondary
storage. Since particular parts of the data base can be exchanged readily between primary and
secondary storage as needed, we shall not be concerned in this discussion with how the data
base is physically stored.

Our principal concern is with the contents of the data base and with its organization. Foley and
Van Dam - define the basic ingredients of the application model which must be carried in the
data base. The following model structure is patterned after their suggested data base
organization:

1. Basic graphic elements (points and other elements)


2. Geometry (shape) of the model components and their layout in space
3. Topology or structure of the models—how the various components are connected to
form the model
4. Application-specific data, such as material properties
5. Application-specific analysis programs, such as finite-element analysis programs

The list represents a building-block approach to model formulation, with items in category 1
being the most elementary ingredients. They are combined to form the components in category
2, which in turn are used to construct category 3, and so forth. The model structure consists of
both data and procedures to connect, describe, and analyze the model.

The model data base can be organized in various ways. This depends on the type of model
(mechanical, electrical, etc.) and the preference of the CAD system designer. Some systems
lean toward more complete descriptions of the model stored explicitly as data. This requires
more storage space. Other systems are designed to store a minimum of data but with more
complete procedures so that the model can be recomputed when needed. This saves on
storage space, but requires more computation time.

One possible data structure involves storing the coordinates of the geometry, together with
other information which might be required to more completely define the model or to use certain
application programs (e.g., engineering analysis or numerical control part programming). There
are disadvantages to this type of data structure. For example, consider the definition of a
cylinder. The definition might consist of a line segment, parallel to the y axis, and rotated about
that axis to form the cylinder. The data record for this component would consist of the points for
the line segment and an axis of rotation. The computer can generate an image of the cylinder
for display purposes, but it does not have the entire solid cylinder data elements stored in the
record. It would be difficult for the computer system to determine that the cylinder was a solid
object. The characteristic of being solid might be important in a subsequent analysis for
interference checking when the cylinder was assembled along with other solid components.

Alternative forms for the data base include the graph-based model. The graph-based model,
illustrated in Figure 6.6 for a tetrahedron, is composed of a series of points and lines which
establish relationships among the points, edges, and surfaces of the geometric element. Only
the points (vertices) are contained as spatial data in the record. However, the relationships that
connect edges to vertices, faces to edges, and the solid to faces are also recorded. This turns
out to be a compact way to define a solid.

Boolean operations can be used to construct the geometric model. The process is illustrated in
Figure 6.7 and is sometimes referred to by the term Boolean modeling. The solid model in part
(a) of the figure is formed by the intersection of the compliment of the cylinder C with the union
of rectangular solid A and triangular prism B. Putting this more concisely, the object in (a) is
equal to
C(A + B)
Part (b) of the figure shows the three elements A, B, and C in cross-sectional view.
Geometric modeling 3D modeling

The importance of three-dimensional geometry


Early CAD systems were basically automated drafting board systems which displayed a two-
dimensional representation of the object being designed. Operators (e.g., the designer or
drafter) could use these graphics systems to develop the line drawing the way they wanted it
and then obtain a very high quality paper plot of the drawing. By using these systems, the
drafting process could be accomplished in less time, and the productivity of the designers could
be improved.

However, there was a fundamental shortcoming of these early systems. Although they were
able to reproduce high- quality engineering drawings efficiently and quickly, these systems
stored in their data files a two-dimensional record of the drawings. The drawings were usually of
three-dimensional objects and it was left to the
human beings who read these drawings to
interpret the three dimensional shape from the
two-dimensional representation. The early CAD
systems were not capable of interpreting the
three-dimensionality of the object. It was left to the
user of the system to make certain that the two-
dimensional representation was correct (e.g.,
hidden lines removed or dashed, etc.), as stored
in the data files.

More recent computer-aided design systems


possess the capability to define objects in three
dimensions. This is a powerful feature because it
allows the designer to develop a full three-
dimensional model of an object in the computer
rather than a two-dimensional illustration. The
computer can then generate the orthogonal views,
perspective drawings, and close-ups of details in
the object.

The importance of this three-dimensional capability in interactive computer graphics should not
be underestimated. To illustrate the limitations of a two dimensional line drawing, consider
Figure 6.9. It could represent any of a number of possible geometric shapes. Even a three-
dimensional perspective drawing, as illustrated in Figure 6.10, does not always uniquely define
the solid shape of the object. It is important that the graphics system work with three-
dimensional shapes in developing the model of an object.

Wire-Frame models
Most current-day graphics systems use a form of modeling called wire-frame modeling. In the
construction of the wire-frame model, the edges of the objects are shown as lines. For objects in
which there are curved surfaces, contour lines can be added to indicate the contour. The image
assumes the appearance of a frame constructed out of wire—hence the name "wire-frame"
model.
There are limitations to the models which use the wire-frame approach to form the image.
These limitations are, of course,
especially pronounced in the case. of
three-dimensional objects. In many
cases, wire-frame models are quite
adequate for two-dimensional
representation.

The most conspicuous limitation is that


all of the lines that define the edges (and
contoured surfaces) of the model are
shown in the image. Many three-
dimensional wire-frame systems in use
today do not possess an automatic
hidden-line removal feature.
Consequently, the lines that indicate the edges at the rear of the model show right through the
foreground surfaces. This can cause the image to be somewhat confusing to the viewer, and in
some cases the image might be interpretable in several different ways (e.g., Figure 6.10). This
interpretation problem can be alleviated to some extent through human intervention in removing
the hidden background lines in the image.

There are also limitations with the wire-frame models in the way many CAD systems define the
model in their data bases. For example, there might be ambiguity in the case of a surface
definition as to which side of the surface is solid. This type of limitation prevents the computer
system from achieving a comprehensive and unambiguous definition of the object.

Solid models
An improvement over wire-frame models, both in terms of realism to the user and definition to
the computer, is the solid modeling approach. In this approach, the models are displayed as
solid objects to the viewer, with very little risk of misinterpretation. When color is added to the
image, the resulting picture becomes strikingly realistic. It is anticipated that graphics systems
with this capability will find a wide range of applications outside computer-aided design and
manufacturing. These applications will include color illustrations in magazines and technical
publications, animation in movie films, and training simulators (e.g., aircraft pilot training)

There are two factors which promote future widespread use of solid modelers (i.e., graphics
systems with the capability for solid modeling). The first is the increasing awareness among
users of the limitations of wire-frame systems. As powerful as today's wire-frame-based CAD
systems have become, solid model systems represent a dramatic improvement in graphics
technology. The second reason is the continuing development of computer hardware and
software which make solid modeling possible. Solid modelers require a great deal of
computational power, in terms of both speed and memory, in order to operate. The advent of
powerful, low-cost minicomputers has supplied the needed capacity to meet this requirement.
Developments in software will provide application programs which take advantage of the
opportunities offered by solid modelers. Among the possibilities are more highly automated
model building and design systems, more complete three-dimensional engineering analysis of
the models, including interference checking, automated manufacturing planning, and more
realistic production simulation models.

Two basic approaches to the problem of solid modeling have been developed:
1. Constructive solid geometry (CSG or C-rep), also called the building block approach
2. Boundary representation (B-rep)

The CSG systems allow the user to build the model out of solid graphic primitives, such as
rectangular blocks, cubes, spheres, cylinders, and pyramids. This building-block approach is
similar to the methods described in Section 6.4 except that a solid three-dimensional
representation of the object is produced. The most common method of structuring the solid
model in the graphics data base is to use Boolean operations, described in the preceding
section.

The boundary representation approach requires the user to draw the outline or boundary of the
object on the CRT screen using an electronic tablet and pen or analogous procedure. The user
would sketch the various views of the object (front, side, and top, more views if needed),
drawing interconnecting lines among the views to establish their relationship. Various
transformations and other specialized editing procedures are used to refine the model to the
desired shape.

OTHER CAD FEATURES AND CAD/CAM


INTEGRATION

Most computer-aided design systems currently available offer extensive capabilities


for developing engineering drawings. These capabilities include:
1. Automatic crosshatching of surfaces in drawing from wire-frame models.
2. Capability to write text on the drawings. Control can typically be exercised over such
parameters as:
Size and style of the lettering
Horizontal and vertical justification of the text
3. Semiautomatic dimensioning. The dimensions can be obtained from the data base.
Dimensioning features typically include:
Linear or angular conventions, depending on which is more appropriate
English and/or metric (International System)
Dimensions displayed in decimal or fractional notation
Various types of tolerance displays
4. Automatic generation of bill of materials (assembly and materials listings).

All of these features are helpful in reducing the time required to complete the design and
drafting process.

In most CAD systems, an interface is generally provided to various high level programming
languages such as FORTRAN. This interface allows the development of application programs
for analysis purposes. It also provides the opportunity to utilize programs and routines written at
other facilities. This interface allows a wide variety of powerful design analysis and
manufacturing planning procedures to be applied to the product development.

Experience has demonstrated that the benefits obtained from an integrated CAD/CAM data
base are far greater than those which can be realized from applying CAD and CAM as separate
technologies. There is a significant overlap in the data base required for design and that which
is required for manufacturing. Bridging the gap that has traditionally existed between design and
manufacturing is a critical objective of CAD/CAM.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy