Eleven Posts
Now you'll get an AutoLISP
program for drawing a cabinet. I'm going to talk about it in the
following eight posts:
1. Introduction
2. Clearing The Screen
3. Getting The Sizes 1
4. Getting The Sizes 2
5. Drawing The Cabinet
6. Drawing The Top
7. Drawing The Drawers
8. Drawing The Handles
9. Setting The Dimension
Variables
10. Dimensioning The
Drawing
11. The Complete Program
How
The AutoLISP Program Works
First let's tell you how
the AutoLISP program works. When the program starts a dialog box is
displayed. Here is the dialog box.
In the dialog box a
picture of the cabinet is displayed. And also is explained where the
sizes of the dialog box can be found.
There are three sizes:
1. Width
2. Overhang
3. Thickness top
The user can fill in the
sizes. The user can also set how many drawers he wants in the
cabinet: three, four, five, or six.
That is important. The minimum width of the cabinet is 400. Suppose the user enters a width that is less than 400.
If so, then the following
dialog box is displayed. And the user can enter an different width.
The user has filled in the
sizes and suppose he has wants to have a cabinet with three drawers.
The cabinet is drawn. This is how it looks:
The
Parts
As you can see in the
drawing. The following parts have been drawn:
1. The Cabinet
2. The Top
3. The Drawers
4. The Handles
5. The Dimensions
You also find the
dimensions in the drawing of the cabinet. The dimensions have been
drawn in the drawing of the cabinet.
Next
Posts
We are going to talk about
the segments of the AutoLISP program that perform the actions. We are
also going to talk about getting the sizes.
The actions will be
performed by AutoLISP functions. I'm going to talk about them in the
next posts of this series.
No comments:
Post a Comment