23.07.2012 Views

Design Patterns Explained

Design Patterns Explained

Design Patterns Explained

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

48 Part II . The Limitations of Traditional Object-Oriented <strong>Design</strong><br />

High-level<br />

description of the<br />

system's tasks<br />

Table 3-2 Additional CAD/CAM Terminology<br />

Term Description<br />

Geometry<br />

Part<br />

Dataset or model<br />

NC machine and<br />

NC set<br />

Describe the Problem<br />

The description of how a piece of sheet metal looks:<br />

the location of each of the features and their dimensions<br />

and the external shape of the sheet metal.<br />

The piece of sheet metal itself. I need to be able to<br />

store the geometry of each of the parts.<br />

The set of records in the CAD/CAM database that<br />

stores the geometry of a part.<br />

Numerically controlled (NC) machine. A special<br />

manufacturing tool that cuts metal using a variety of<br />

cutting heads that are controlled by a computer program.<br />

Usually, the computer program is fed the<br />

geometry of the part. This computer program is<br />

composed of commands called the NC set.<br />

I need to design a program that will allow the expert system to open<br />

and read a model containing the geometry of a part that I want to<br />

analyze and then to generate the commands for the numerically<br />

controlled (NC) machine to build the piece of sheet metal.<br />

I am only concerned about sheet metal parts in this example. However,<br />

the CAD/CAM system can handle many other kinds of parts.<br />

At a high level, I want the system to perform the following steps:<br />

• Analyze pieces of sheet metal.<br />

• See how they should be made, based on the features they<br />

contain.<br />

• Generate a set of instructions that are readable by manufactur<br />

ing equipment. This set of instructions is called an NC set or a<br />

numerical control set.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!