









                D D M e c h

                    by

               M e c h S o f t

                Version 08/97


   A SHAREWARE AutoLISP program for AutoCAD

COPYRIGHT 1997 MechSoft

CAREFULLY READ THE FOLLOWING DISCLAIMER BEFORE USING THIS 
SOFTWARE. YOUR USE OF THIS SOFTWARE INDICATES YOUR ACCEPTANCE 
OF THIS LICENSE AGREEMENT AND WARRANTY.

DISCLAIMER

In no event will MechSoft be liable to you for any damages, 
including but not limited to lost profits, business 
interruption, lost savings, loss of business information, or 
other incidental or consequential damages arising out of the 
use of or the inability to use DDMech even if MechSoft has 
been advised of the possibility of such damages, or for any 
claim by any other party.

MechSoft provides this program "as is" and with all its 
imperfections.  MechSoft makes no warranty of any kind, 
either express or implied, including but not limited to 
implied warranties of merchantability and fitness for a 
particular purpose, with respect to this software and 
accompanying documentation.

MechSoft does not warrant that the operation of the program 
will be uninterrupted or error free.



GOVERNING LAW

This agreement shall be governed by the laws of the State of 
Pennsylvania.



TRADEMARK

AutoCad and AutoLISP are registered trademarks of Autodesk, 
Inc.
Windows and MS-DOS are registered trademarks of Microsoft 
Corporation.


DISTRIBUTORS, BBSs, ON-LINE SERVICES AND WEB SITES see the 
end of this document.


1.0	REGISTERING and its Advantages
2.0	INTRODUCTION
3.0	QUICK START (For those who do not read manuals)
4.0	INSTALLATION
5.0	VIEW: TOP OR SIDE
6.0	INSTANCE: SINGLE OR MULTIPLE
7.0	DRAW OPTIONS: CENTERS
8.0	MODE: DESIGN OR  DETAIL
9.0	FIT: NORMAL OR CLOSE
10.0	SIZE
11.0	UNF OR UNC
12.0	DRILL
13.0	KEYS: BORE AND KEYWAY
14.0	HOLE DATA
15.0	FASTENER TYPE:   TAP
16.0	FASTENER TYPE:   BOLT CLEARANCE
17.0	FASTENER TYPE:   COUNTER BORE
18.0	FASTENER TYPE:   COUNTER SINK
19.0	FASTENER TYPE:   DRILL
20.0	FASTENER TYPE:   KEYWAY/SLOT
21.0	FASTENER TYPE:   SOCKET HEAD
22.0	FASTENER TYPE:   BUTTON HEAD
23.0	FASTENER TYPE:   FLAT HEAD
24.0	FASTENER TYPE:   HEX HEAD
25.0	FASTENER TYPE:   HEX NUT
26.0	FASTENER TYPE:   FLAT WASHER
27.0	FASTENER TYPE:   LOCK WASHER
28.0	FASTENER TYPE:   THREADED ROD
29.0	FASTENER TYPE:   PIPE TAP
30.0	CONFIGURATION (REGISTERED VERSION ONLY)
31.0	TABLE OF HOLE SIZES (ADVANCED CUSTOMIZATION)
32.0	FILES
33.0	ORDER FORM
34.0	DISTRIBUTORS, BBSs, ON-LINE SERVICES AND WEB SITES


1.0 REGISTERING and its Advantages

DDMech is inexpensively priced to encourage people to 
register. Registration is made easy since DDMech can be 
registered by dialing a toll free number and using a credit 
card. MechSoft is not out to "make a killing" in the third 
party AutoCAD software market by charging exorbitant sums of 
money for a single program. The typical user needs several 
programs to customize AutoCAD and more importantly, to 
increase productivity. In the future MechSoft will offer 
programs for free. Those programs are not likely to be as 
large as DDMech but will have some value in increasing 
productivity.

DDMech 08/97 Unregistered Version does not contain the 
programming that allows customization. It also has an 
annoying feature called a nag screen. The first time DDMech 
is used, a screen asking you to register pops up. This screen 
then pops up every ninth usage. In the registered version, 
customization is allowed and the nag screen goes away. It is 
hoped that the customization feature convinces 
people/companies to register (pay for) the software.

The cost of the registered version is $16 by E-mail or $18 by 
U.S. Mail (3 1/2" floppy). For site license pricing, see the 
order form at the end of this document (you do not need to 
send in the order form for site license registration, unless 
ordering by check or money order).

To register DDMech: 
------------------------------------------------------------
CREDIT CARD ORDERS

You can order with MC, Visa, Amex, or Discover from Public 
(software)
Library in the following ways:

FAX:  To 713-524-6398, fill out and fax the order form at the 
end of this document. 

EMAIL: To PsL at "15507@pslweb.com"

U.S. MAIL: Mail credit card orders to: PsL, P.O. Box 35705, 
Houston, TX 77235-5705.

PHONE: PsL's operators are available from 8:00 a.m. to 6:00 
p.m.
Monday-Friday at 800-242-4775 Ext.15507 or at 713-524-6394 
Ext.15507

THE ABOVE NUMBERS ARE FOR CREDIT CARD ORDERS ONLY.
THE AUTHOR OF THIS PROGRAM CANNOT BE REACHED AT THESE 
NUMBERS.

Any questions about the status of the shipment of the order, 
refunds, registration options, product details, technical 
support, volume discounts, dealer pricing, site licenses, 
non-credit card orders, etc, must be directed to:

MechSoft
P.O. Box 3733
Reading, PA  19606-0446

To insure that you get the latest version, PsL will notify us 
within one business day of your order and we will ship the 
product directly to you.
------------------------------------------------------------
BY CHECK OR MONEY ORDER

To register DDMech using a check or money order, fill out and 
mail the order form at the end of this document (US dollars, 
Pennsylvania residents add 6% sales tax).
------------------------------------------------------------
VIA COMPUSERVE

To register DDMech via CompuServe: To have the registration 
fee added to your CompuServe bill, GO SWREG, and follow the 
menus.  DDMech's registration ID is 16485
------------------------------------------------------------
BY COMPANY PURCHASE ORDER

To register DDMech by company Purchase Order, fill out and 
mail the order form at the end of this document. Purchase 
Orders (net 30 days) will be accepted from educational 
institutions, government bodies and major corporations. A 
copy of the purchase order form with the purchase order 
number must be sent with the order form. Due to the extra 
work involved with purchase orders, please use a credit card 
or a check if at all possible.
------------------------------------------------------------

Registered users are provided with an E-mail address to 
direct technical support questions. Registered users are also 
encouraged to E-mail any "wish list" suggestions. All 
suggestions will be considered.

Once registered you will receive, by E-mail or U.S. Mail, the 
registered version of DDMech.

One registered copy of DDMech may either be used by a single 
person who uses the software personally on one or more 
computers, or installed on a single computer used by multiple 
people (one at a time), but not both. You may access the 
registered version of DDMech through a network, provided that 
you have obtained a license for the software covering all 
computers that will access the software through the network. 
 For example, if five different computers access DDMech on 
the network, a license must be purchased for each computer, 
regardless of whether they use DDMech at different times or 
at the same time.

This is not free software.  You are hereby licensed to use 
the unregistered version of this software for evaluation 
purposes without charge for a period of 21 days.  If you use 
this software after the 21 day evaluation period a 
registration fee of $16 is required.  



2.0 INTRODUCTION

DDMech was made for machine designers and detailers. It 
shortens the design process by allowing the designer/detailer 
to quickly insert tapped holes, clearance holes, various 
fasteners, etc. Further, it can be customized (registered 
version only) to suit the needs of a company and its network 
or it can be used stand alone.

DDMech was created by machine designers/detailers for machine 
designers/detailers. Parts of DDMech have been in production 
since 1992. It originally started as several individual 
AutoLISP programs and was combined to its present form in 
Release 12, when dialogue boxes became available. It has been 
designed for the needs of the beginner detailer/draftsman 
through to the senior level designer.

DDMech is a parametric program. It draws tapped holes, nuts, 
screws, etc., based on a table of sizes. It does not insert 
items as blocks. Items are drawn as lines, arcs, circles and 
polylines. The table of sizes is based on standard values but 
can be overridden.



3.0 QUICK START (For those who do not read manuals)

Copy all the files to a directory on the ACAD path, such as 
\acad\support.
From the command prompt type "(LOAD "DDMECH")" (less the 
beginning and end quotes, case unimportant).
Issue the command "DDMECH" at the command prompt.



4.0 INSTALLATION

DOS Versions

Copy all the files included with DDMech to a directory on the 
ACAD path or to the directory AutoCad executes from (the 
directory where the "ACAD.EXE" file is). First decide which 
directory to use by looking at the "ACAD" environment 
variable. From the AutoCad command prompt, issue the "SHELL" 
command, then issue the "SET" command. The screen should 
display something similar to the following: 

   PROMPT $P$G>
   PATH=C:\DOS;C:\ACAD
   ACAD=C:\ACAD\SUPPORT;C:\ACAD\FONTS
   ACADCFG=C:\ACAD
   ACADDRV=C:\ACAD\DRV

Don't worry if this is not exactly what is on your screen. In 
the above example, the directories "C:\ACAD\SUPPORT" and 
"C:\ACAD\FONTS" are available. Since AutoCad executes from 
possibly another directory, usually "C:\ACAD", it, too, is 
available.

Now you are ready to copy the files. From the DOS prompt 
(C:\, for example) copy the files from their current location 
to the directory on the ACAD path. For example:
   COPY C:\DOWNLOAD\DDMECH.* C:\ACAD\SUPPORT
   COPY A:\DDMECH.* C:\ACAD

The "DDMECH.*" indicates that you want to copy all the files 
named "DDMECH" but can have any or no file extensions. The 
".LSP" in "DDMECH.LSP" is a file extension. For more 
information on using the "COPY" command, consult your DOS 
manual or, in some versions of DOS, it is possible to get 
help from the command line. Try issuing the command "HELP 
COPY" at the DOS prompt.

If you have the registered version and wish to customize the 
hole sizes, you must also copy the HOLESIZE.LSP file to the 
appropriate location.

Now you are ready to start using DDMECH. Skip to the 
"Starting DDMech" section.


Windows Versions

Copy all the files included with DDMech to a directory on the 
Support File Search Path. First decide which directory to use 
by looking at the path setting. In Release 13 it is under the 
"SYSTEM" tab of "PREFERENCES". In Release 14 it is under the 
"FILES" tab of "PREFERENCES". Type the command "PREFERENCES" 
at the command prompt of AutoCAD, or, with your mouse or 
puck, right click over the command prompt area and pick 
"PREFERENCES". The edit box next to "Support", under the 
"Environment" tab, should look something like the following:

   C:\ACAD\SUPPORT;C:\ACAD\FONTS

Don't worry if this is not exactly what is on your screen. In 
the above example, the directories "C:\ACAD\SUPPORT" and 
"C:\ACAD\FONTS" are available. Since AutoCad executes from 
possibly another directory, usually "C:\ACAD", it, too, is 
available.

Now you are ready to copy the files. Using "File Manger" or 
"Explorer" select all the DDMech files (you can use the 
"SHIFT" or "CONTROL" button to select multiple files). File 
Manager is usually found in the "MAIN" group in Windows 3.1. 
Explorer is usually found under the "START" - "PROGRAMS" - 
"ACCESSORIES" menus in Windows 95. For more information on 
copying files with File Manager, use the HELP command in File 
Manager and search for the words "COPYING FILES". For more 
information on copying files with Explorer use the HELP 
command in Explorer and search for the word "COPYING".

Now you are ready to start using DDMECH.

Starting DDMech

DDMech can be started in a variety of ways.

1.   One of the simplest and most time consuming is to type 
"(LOAD "DDMECH")" at the command prompt and then type the 
command "DDMECH" to start the program  (less the beginning 
and end quotes, case unimportant). 

2.   Using a text editor such as "NOTEPAD" or "WORDPAD" in 
Windows or "EDIT" in DOS add the following line to the  
";;;=====      AutoLoad LISP Applications =====" section of 
the "ACADR12.LSP", "ACADR13.LSP"or "ACADR14.LSP" (depending 
on which release of AutoCad you are using):

   (autoload "ddmech" '("ddmech"))
  
        CAUTION
          MAKE A BACKUP COPY OF ANY FILE YOU ARE ABOUT TO 
MODIFY.

   Then type the command "DDMECH" at the command prompt to 
start the program.

3.   In Release 13 or 14, issue the "APPLOAD" command at the 
command prompt. Use "FILE" button to find "DDMECH" then 
select it. After this, DDMech will always be listed in the 
"Files to Load" section. Now select DDMECH from the list and 
pick "Load".  Then type the command "DDMECH" at the command 
prompt to start the program.


4.   Using a text editor such as "WORDPAD" in Windows or a 
DOS text editor that can handle large (over 32K) files, add 
the following line to the "ACAD.MNU" file:

   In the pulldown menu section:
      [DDMECH]^c^c^p(if (not C:DDMECH)(load "DDMECH")) 
^pDDMECH

   In the tablet section:
     ^c^c^p(if (not C:DDMECH)(load "DDMECH")) ^pDDMECH

          CAUTION
          MAKE A BACKUP COPY OF ANY FILE YOU ARE ABOUT TO 
MODIFY.



5.0 VIEW: TOP OR SIDE


The "View" box allows you to pick either a "Top" or "Side" 
view of the item selected in the "Type" column. The top view 
can also be referred to as a plan view. It is the view from 
overhead of an object. The side view is a projected view of 
the top view.



6.0 INSTANCE: SINGLE OR MULTIPLE

The "Instance" box allows you to let DDMech create objects in 
"Single" mode, one at a time, or in "Multiple" mode, several 
at a time. When in "Multiple" mode, information is saved on 
how the first object was created, so each subsequent object 
is drawn based on the depth and direction, from the start 
point, of the first. So, by merely supplying a start point, 
an identical object is created over and over again until the 
enter button is pressed or the function is canceled.



7.0 DRAW OPTIONS: CENTERS

When this box is selected, centerlines are drawn on an 
object.


8.0 MODE: DESIGN OR  DETAIL

This is one of DDMech's most useful features. It allows you 
to specify on what layer objects are drawn.

In "Detail" mode, object lines are placed on layer "OBJ" 
(linetype continuous), hidden lines are placed on layer "HID" 
(linetype hidden) and centerlines are place on layer "CEN" 
(linetype center). These are the default layer settings and 
can only be changed in the registered version. If these 
layers are not found when DDMech draws an object it creates 
them. If linetypes "HIDDEN" or "CENTER" are not loaded, 
DDMech loads them.

DESIGN MODE: Tap, Bolt Clearance, Counter Bore, Counter Sink, 
Drill, Keyway/slot and Pipe Tap

In "Design" mode all entities are drawn on the current layer 
and their linetype is changed when needed. The linetype is 
based on the configuration settings in the registered 
version. In the non-registered version, the linetypes are 
"CONTINUOUS", "HIDDEN" and "CENTER". Again, if linetypes 
"HIDDEN" or "CENTER" are not loaded DDMech loads them.

DESIGN MODE: Socket Head, Button Head, Flat Head, Hex Head, 
Hex Nut, Flat Washer, Lock Washer and Threaded Rod


In "Design" mode all entities are drawn on the "HARDWARE" 
layer and their linetype is changed when needed. If the 
hardware layer is not present DDMech creates it. In the 
registered version, objects can be created on a hardware 
layer (the default is "HARDWARE" but this can be changed) or 
the current layer and the linetype used can be changed. In 
the non-registered version, the linetypes are "CONTINUOUS", 
"HIDDEN" and "CENTER". Again, if linetypes "HIDDEN" or 
"CENTER" are not loaded DDMech loads them.

9.0 FIT: NORMAL OR CLOSE

When drawing bolt clearance, counter bored or counter sunk 
holes, this option is available. This option changes the size 
of the through hole based on ANSI recommendations. Generally, 
close fits are 1/64 over nominal size and normal fits are 
1/32 over nominal size.



10.0 SIZE

This is a list of the available sizes per each item in the 
"TYPE" list. Not all the lists are the same. The sizes range 
form #0 through 1-1/2". Sizes #1, #3, and #12 are not listed 
since they are secondary sizes.



11.0 UNF OR UNC

Unified National Course (UNC) or Unified National Fine (UNF) 
thread series. This defaults to the most commonly used series 
regardless of the previous use setting. For example, a #10-32 
screw is more commonly used that a #10-24, so DDMech defaults 
to UNF each time the size #10 is selected.



12.0 DRILL

This edit box is the drill size used when "DRILL" is 
selected. Values can be entered in as fractions or as 
decimal. Fractional sizes can be entered as "17/64" or "1-
1/2". Decimal sizes are entered as ".3125" or ".75". If 
anything that is not a decimal number or if an invalid 
fraction is entered, DDMech issues an "Invalid Drill Size" 
error. The message is not displayed until the "OK" button is 
picked or enter is pressed. When this condition occurs, the 
dialogue will not close until the invalid size is cleared or 
another type is selected.



13.0 KEYS: BORE AND KEYWAY


This edit box is the bore and key size used when 
"KEYWAY/SLOT" is selected. Values can be entered in as 
fractions or as decimal. Fractional sizes are entered as 
"17/64" or "1-1/2". Decimal sizes are entered as ".3125" or 
"1.75". When a bore size is entered, a standard keyway size 
is automatically displayed. The standard keyway size is not 
shown until the enter key is pressed, while editing the bore 
size. If enter is not pressed, DDMech will still use the 
standard value. If you want to use a non-standard key size, 
type in the bore size then change the key size. If anything 
that is not a decimal number or if an invalid fraction is 
entered, DDMech issues an "Invalid Bore Size" or an "Invalid 
Key Size" error. The message is not displayed until the "OK" 
button is picked or enter is pressed. When this condition 
occurs, the dialogue will not close until the invalid size is 
cleared or another type is selected.



14.0 HOLE DATA

Hole diameter information is displayed in this box when 
"Tap", "Bolt Clearance", "Counter Bore", or "Counter Sink" 
are selected. Values change as different thread series and 
fits are selected.



15.0 FASTENER TYPE:   TAP

This selection draws a tapped hole either from the top or the 
side. The top view draws two circles, one hidden (either 
hidden line type or hidden layer depending on the mode 
setting) and one continuous. The side view is a section 
through the tap. Once the "OK" button is hit, the dialogue 
closes and you are asked for a start point. Once a point is 
picked, another prompt will ask "Auto blind/<Depth and 
Direction>:" Type an "A" for Auto blind. Auto blind is a 
blind tap at 2 times the nominal diameter deep. The default 
Auto blind depth is 2 times the diameter. Only in the 
registered version can this be changed. Once Auto blind is 
selected, another prompt asks for a direction. Now pick a 
point in the desired direction. If another depth is desired 
merely pick the second point (do not type "D"). When using 
the depth and direction method, another prompt will ask "Thru 
or Blind <Thru>:" Type a "T" to create a through tap or a "B" 
to create a blind tap.



16.0 FASTENER TYPE:   BOLT CLEARANCE

When this option is selected, a clearance hole is drawn for 
the bolt size selected in the size list. The bolt clearance 
can be a normal fit or a close fit (See FIT: NORMAL or 
CLOSE). The top view is a circle. The side view is a cross 
section through the hole drawn in lines on the current layer 
with a linetype of hidden or on the hidden layer depending on 
the MODE setting (See MODE: DESIGN or DETAIL).



17.0 FASTENER TYPE:   COUNTER BORE


Selecting this option will draw a counter bored hole for a 
socket head cap screw using the bolt size selected in the 
size list. The counter bore can be a normal fit or a close 
fit (See FIT: NORMAL or CLOSE). The top view is two circles. 
The side view is a cross section through the hole drawn in 
lines on the current layer with a linetype of hidden or on 
the hidden layer depending on the MODE setting (See MODE: 
DESIGN or DETAIL). If the counter bore is not deep enough for 
the bolt head, DDMech issues a "Hole not deep enough" message 
and exits the program. Hit enter and pick "OK" to redo the 
counter bored hole.



18.0 FASTENER TYPE:   COUNTER SINK

When this option is selected, a counter sunk hole is drawn 
for a flat head cap screw using the bolt size selected in the 
size list. The counter sink can be a normal fit or a close 
fit (See FIT: NORMAL or CLOSE). The top view is two circles. 
The side view is a cross section through the hole drawn in 
lines on the current layer with a linetype of hidden or on 
the hidden layer depending on the MODE setting (See MODE: 
DESIGN or DETAIL). If the counter sink is not deep enough for 
the bolt head, DDMech issues a "Hole not deep enough" message 
and exits the program. Hit enter and pick "OK" to redo the 
counter bored hole.


19.0 FASTENER TYPE:   DRILL

This option, when selected draws the top or side view of a 
drilled hole. The layers and/or linetypes used to draw the 
lines and circles is dependent on the MODE setting (See MODE: 
DESIGN or DETAIL). The top view of a drilled hole is a 
circle. The first and only prompt asks for a center point. 
The side view is a cross section through the hole drawn. The 
first prompt asks for a start point; the second asks for the 
depth and direction of the drilled hole; the third prompt 
asks "Thru or Blind <Thru>". Type a "T" to create a through 
drilled hole or a "B" to create a blind drilled hole.



20.0 FASTENER TYPE:   KEYWAY/SLOT

A slot is the top view of a keyway and a keyway is side or 
end view of a shaft with a keyway in it. The size of the slot 
is based on the KEYS: BORE and KEYWAY edit box.  If top view 
is selected (slot), the first prompt is "Quadrants or <Select 
second center>:". Picking a second center (do not type "S") 
assumes that the first point was also a center point. Typing 
a "Q" turns the first point into a quadrant point and asks 
you to pick a second quadrant point. If side view is 
selected, an arc is drawn based on the "BORE" size edit box 
and a square polyline rectangle is drawn at the top of the 
bore. Use the AutoCAD "TRIM" command and select the arc as 
the cutting edge. To create a shaft keyseat, trim off the top 
of the small rectangle. To create a bore keyseat, trim off 
the part of the small rectangle point. The layers and/or 
linetypes used to draw the lines and circles is dependent on 
the MODE setting (See MODE: DESIGN or DETAIL).




21.0 FASTENER TYPE:   SOCKET HEAD


The head of a socket head cap screw is drawn when this option 
is selected. The top view draws two circles (the outside 
diameter and a circle representing the chamfer) with a 
hexagon in them. The side view is the rectangular view of the 
head. The start point (the first prompt) for the side view is 
at the midpoint of the base of the head. The second prompt is 
for the direction. The direction is opposite the shank (the 
shank is not drawn). Pick a point in the desired direction in 
relation to the start point. The layers and/or linetypes used 
to draw the lines and circles is dependent on the MODE 
setting (See MODE: DESIGN or DETAIL).



22.0 FASTENER TYPE:   BUTTON HEAD

This option draws a button head cap screw. The top view draws 
a circle with a hexagon in it. The side view is the "rounded" 
view of the head. The start point (the first prompt) for the 
side view is at the midpoint of the base of the head. The 
second prompt is for the direction. The direction is opposite 
the shank (the shank is not drawn). Pick a point in the 
desired direction in relation to the start point.



23.0 FASTENER TYPE:   FLAT HEAD

The head of a flat head cap screw is drawn when this is 
selected. The top view draws a circle with a hexagon in it. 
The side view is the triangular view of the head. The start 
point (the first prompt) for the side view is at the midpoint 
of the top of the head. The second prompt is for the 
direction of the shank of the screw (the shank is not drawn). 
Pick a point in the desired direction in relation to the 
start point. The layers and/or linetypes used to draw the 
lines and circles is dependent on the MODE setting (See MODE: 
DESIGN or DETAIL).




24.0 FASTENER TYPE:   HEX HEAD

This option draws a hexagon head cap screw. The top view 
draws a hexagon with a circle in it. The side view is the 
rectangular view of the head. The start point (the first 
prompt) for the side view is at the midpoint of the base of 
the head. The second prompt is for the direction. The 
direction is opposite the shank (the shank is not drawn). 
Pick a point in the desired direction in relation to the 
start point. The layers and/or linetypes used to draw the 
lines and circles is dependent on the MODE setting (See MODE: 
DESIGN or DETAIL).




25.0 FASTENER TYPE:   HEX NUT


This option draws a hexagon nut. The top view draws a hexagon 
with a circle in it. The side view is the rectangular view of 
the head. The start point (the first prompt) for the side 
view is at the midpoint of the "top" of the nut. The second 
prompt is for the direction. The direction is the same as the 
shank (the shank is not drawn). Pick a point in the desired 
direction in relation to the start point. The difference 
between the side views of a hexagon head cap screw and a 
hexagon nut is the nut shows the top and bottom as finished 
(with curves) and the hexagon head cap screw has a flat 
bottom. The layers and/or linetypes used to draw the lines 
and circles is dependent on the MODE setting (See MODE: 
DESIGN or DETAIL).



26.0 FASTENER TYPE:   FLAT WASHER

When selected this option draws a Type A Plain washer, narrow 
or SAE series. The top view is a single circle representing 
the outside diameter. The side view is drawn as a polyline. 
The start point (the first prompt) for the side view is at 
the midpoint of the "bottom" of the nut. The second prompt is 
in the direction opposite the shank of the screw. Since 
tolerances for flat washers allow for a significant variation 
in outside diameter and thickness, nominal values are used.  
The layers and/or linetypes used to draw the lines and 
circles is dependent on the MODE setting (See MODE: DESIGN or 
DETAIL).



27.0 FASTENER TYPE:   LOCK WASHER

This option draws a Helical Spring Lock washer also known as 
a split lock washer. The top view is a single circle 
representing the outside diameter. The side view is drawn as 
a polyline. The start point (the first prompt) for the side 
view is at the midpoint of the "bottom" of the nut. The 
second prompt is in the direction opposite the shank of the 
screw. The side view is drawn as though the washer was 
compressed. Since tolerances for lock washers allow for a 
significant variation in outside diameter and thickness, 
nominal values are used. The layers and/or linetypes used to 
draw the lines and circles is dependent on the MODE setting 
(See MODE: DESIGN or DETAIL).




28.0 FASTENER TYPE:   THREADED ROD

This selection draws a threaded rod either from the top or 
the side. The top view draws two circles, one hidden (either 
hidden line type or hidden layer depending on the mode 
setting) and one continuous. The side view is the rectangular 
view of the rod. Once the "OK" button is hit, the dialogue 
closes and you are asked for a start point. Once a point is 
picked, another prompt will ask "Depth and Direction:". Pick 
the second point (do not type "D"). The layers and/or 
linetypes used to draw the lines and circles is dependent on 
the MODE setting (See MODE: DESIGN or DETAIL).




29.0 FASTENER TYPE:   PIPE TAP

When selected this option draws National Pipe Taper thread (a 
tapered pipe thread). The top view draws two circles, one 
hidden (either hidden line type or hidden layer depending on 
the mode setting) and one continuous. The side view is a 
section through the tap. The side view is drawn as a blind 
tap with an extra line. This extra line represents the 
theoretical "tight" position of a male pipe thread.  The 
layers and/or linetypes used to draw the lines and circles is 
dependent on the MODE setting (See MODE: DESIGN or DETAIL).



30.0 CONFIGURATION (REGISTERED VERSION ONLY)

The registered version of DDMech provides the user with the 
power of customization. Currently, there are fourteen options 
in the configuration dialogue box (more will be added with 
future versions of DDMech). 

Pick the "Configure" button at the bottom of DDMech dialogue. 
The "Configure DDMech" dialogue should appear if the 
configuration file was installed properly. If the message 
"Configuration File not found" appears at the bottom of the 
dialogue read the INSTALLATION section of this document to 
ensure the configuration file is in a proper location. Once 
the "Configure DDMech" dialogue appears, continue through the 
following steps to customize DDMech.

The "Object" layer defines the layer used when continuous 
lines are drawn while in "Detail Mode". The default is "OBJ", 
color 1, linetype "CONTINUOUS". The linetype for the object 
layer is also used for "Design" mode continuous lines. To 
change the layer name, merely type the new name in the edit 
box. If the layer name is invalid, a message will appear 
"Invalid layer name" and you will not be able to save the 
configuration values until a valid name is entered. The color 
is displayed as a number with a "SET" button next to it. To 
change the color, pick the set button then pick the desired 
color as you normally would in AutoCAD (layers "BYLAYER" and 
"BYBLOCK" are not allowed). The linetype is displayed as part 
of a pop down list. To change the linetype, pick the down 
arrow next to the linetype name and pick a linetype. These 
linetypes are the standard linetypes found in the "ACAD.LIN" 
file.  DDMech does not recognize custom linetypes.

The "Hidden" layer defines the layer used to draw hidden 
lines in "Detail Mode". The default is "HID", color 3, 
linetype "HIDDEN". The linetype for the hidden layer is also 
used for "Design" mode hidden lines. Follow the directions 
for object lines to change color and linetype.

The "Center" layer defines the layer used to draw center 
lines when the option "Draw Centers" is selected. The default 
is "CEN", color 2, linetype "CENTER". Follow the directions 
for object lines to change color and linetype.


The start up "Mode" can be set with the "Start in Mode" 
option. This is particularly useful if you are a detailer and 
always draw in "Detail Mode" or if all your companies parts 
are created on standard layers. This can also be set for 
"Design Mode" if your parts are always on a different layer. 
Even with this default set, you can still change DDMech "on 
the fly".

The start up "Fit" can be set with the "Start in Fit" option. 
If your company has standardized on clearance holes 1/64" 
over size (close fit), this option can be set once and 
forgotten. Normal fit is generally 1/32" over size.  Even 
with this default set, you can still change DDMech "on the 
fly".

The option "Hardware Layer" allows another layer option for 
hardware items (screw heads, nuts and threaded rods). 
Selecting the first option "Use Design/Detail Mode Settings" 
puts drawn items on layers according to Design/Detail Mode 
setting. Selecting the second option "Use Layer" puts all 
screw heads, nuts and threaded rods on the hardware layer you 
desire. The default is "HARDWARE", color 9, linetype 
"CONTINUOUS". Follow the directions for object lines to 
change color and linetype.

The default depth of "Auto Blind" tap holes is set using the 
next option. To change this, pick the arrow next to the 
number to the right of "Auto Depth for Tapped Hole [x 
diameter]". The values "1.5", "2" and "3" represent factors 
for determining hole depth. This factor multiplied by the tap 
six equals the depth. With a 1/4" tap selected and the auto 
depth set to 2, the tapped hole is drawn to 2 x 1/4" or 1/2" 
deep. Unlike the two options above, this cannot be changed 
"on the fly".

The line "Configuration File" is not editable. It indicates 
the location and name of the configuration file. This is 
particularly useful when using DDMech on a network. There can 
be one configuration file residing on a network drive or the 
configuration file can be on a local hardisk. If the file is 
on a network, it can be set to standard company values and 
set to read only. DDMech will be able to read the file but 
will not be able to change it. If you try to save the 
configuration file to a read only file or to a read only 
directory, the message "Unable to open DDMECH.CFG for 
writing" appears, and changing the configuration using DDMech 
is not possible. If, on the other hand, you prefer to 
customize DDMech to suit the needs of individual users, place 
a copy of DDMECH.CFG on the local hardisk in a directory that 
will be read by AutoCAD before any network directory.

When finished making changes, pick the save button. DDMech 
will validate all the data on the screen, write it to the 
configuration file and close the configuration dialogue box. 
The message "Configuration File Saved" should appear at the 
bottom of the main DDMech dialogue. If you do not want to 
save the changes, pick the "Cancel" button and all changes 
will be discarded.



31.0 TABLE OF HOLE SIZES (ADVANCED CUSTOMIZATION)

Since this level of customization requires a little more 
savvy with file handling, editing and creation, it is not 
recommended for the novice user.


DDMech is based on ANSI standards; however, it is recognized 
that you may prefer to change these values. DDMech looks to 
see if a program named "HOLESIZES" has been loaded before 
loading its own HOLESIZE program. The source code for the 
"HOLESIZE" program is provided to registered users.

To customize this program, first make a backup copy of the 
file "HOLESIZE.LSP". Edit this file with your changes and 
save it. BE CAREFUL! DDMech DOES NOT VALIDATE THIS FILE. If 
something is wrong with it, such as a missing or incorrect 
value, DDMECH will fail to load and it will not give a reason 
as to why it failed to load. Now, before using DDMECH, load 
the "HOLESIZE.LSP" file first. This can be accomplished by 
using the following menu macros:


   In the pull down menu section:
      [DDMECH]^c^c^p(if (not HOLESIZES)(load "HOLESIZE"))(if 
(not C:DDMECH)(load "DDMECH")) ^pDDMECH

or

   In the tablet section:
     ^c^c^p(if (not HOLESIZES)(load "HOLESIZE"))(if (not 
C:DDMECH)(load "DDMECH")) ^pDDMECH



32.0 FILES

DDMECH.LSP	The main AutoLisp program file
DDMECH.DCL	The dialogue control language file
DDMECH.TXT	This file which contains all documentation and 
registration information.
DDMECH.CFG	The configuration file (Registered versions 
only)
HOLESIZE.LSP	The advanced customization file (Registered 
versions only)


33.0 ORDER FORM (to be used when paying by check or Fax)
(DDMech by MechSoft, PsL Product Number: 15507)
Please type or block print very plainly. Phone number is 
optional and will only be used in case of problems handling 
your order. Your address will not be sold to mailing list 
companies.

Name: ______________________________________________________

Title: _____________________________________________________

Company: ___________________________________________________

Address: ___________________________________________________

City: ______________________ State: _____ Zip: _____________

Day Phone: ________________  Eve:  _________________________

AutoCAD version     DOS:_____   Windows: ______
Electronic Mail address: ___________________________________

DDMech     Single Copy   _____ copies at $16 each =  _____

DDMech Site License:
 2 to   9 computers:   ____ computers at $12 each =  _____

10 to 49 computers:    ____ computers at $10 each =  _____

3.5" disk (sent by US Mail) $2                     + _____

Pennsylvania residents add 6% sales tax            + _____

                                    Total payment    _____

-------------------------------------------------------------
FOR CREDIT CARD ORDERS ONLY:
Fax to: 713-524-6398 or Mail to: PsL, P.O. Box 35705, 
Houston, TX 77235-5705.

Credit Card: [ ] Master Card   [ ]Visa    [ ]American Express 
     [ ]Discover

Card Number: _____________________________
Expiration Date: _________________________
Name on Card: ____________________________
Billing Address: _________________________
                 _________________________
                 _________________________
-----------------------------------------------------------
FOR CHECK or MONEY ORDERS ONLY:

Mail to: MechSoft, P.O. Box 3733, Reading, PA  19606-0446



34.0 DISTRIBUTORS, BBSs, ON-LINE SERVICES AND WEB SITES


SUGGESTED KEYWORDS

DDMECH, MECHSOFT, FASTENERS, AUTOLISP, AUTOCAD, NUTS, BOLTS, 
SCREWS



SUGGESTED ONE LINE PROGRAM DESCRIPTION

AutoLISP program that draws tapped holes, nuts, screws, etc. 
Ver. 08/97



SUGGESTED DESCRIPTION

DDMech is an AutoLISP program that draws tapped holes, nuts, 
screws, etc. It is a parametric program. It does not insert 
items as blocks. Items are drawn as lines, arcs, circles and 
polylines. DDMech is very inexpensive and the registered 
version allows layers, linetypes and start up settings to be 
customized. Ver. 08/97



DISTRIBUTION

Only the Unregistered Version can be distributed. You must 
verify that what you have is indeed the Unregistered version. 
This can be done by reading the top of the main dialogue of 
DDMech. It should contain the words "Unregistered Version". 
You are hereby licensed to make as many copies of the 
Shareware version of this software and documentation as you 
wish; give exact copies of the original Unregistered Version 
to anyone; and distribute the Unregistered Version of the 
software and documentation in its unmodified form via 
electronic means.  There is no charge for any of the above.

You are specifically prohibited from charging, or requesting 
donations, for any such copies, however made; and from 
distributing the software and/or documentation with other 
products (commercial or otherwise) without prior written 
permission. 

