Similarly to Parts, an Irregular Stock can be constructed or drawn using AutoCAD DRAW commands. The SaveIrStock command can be used to save the irregular stock profiles into the Part / IR-Stock directory as specified in Sysdata.
When the command is selected either from the pulldown or the icon menu, the following prompts will appear sequentially at the command prompt:
Save Irregular Stock:
Irregular Stock Name <>:
Proceed to save another Ir-Stock? (Y/N) <Y>:
Irregular Stock Name <>:
This is to prompt for the name of the new irregular stock. (Max. no. of characters - 31, both the space and dot characters are not accepted)
File already exists. OK to overwrite? (Y/N): <N>
This prompt will be displayed if the entered stock name already exists
Quantity <1> :
Enter the quantity of the irregular stock to be nested.
This is the pick-up point of the stock. Insertion point is recommended to be one of the vertices of the profile or anywhere inside the profile. AutoCAD object-snap modes under the OSNAP command, such as Endp or Midp are allowed.
The Entity Select modes of AutoCAD are applicable here. You can type W (Window), C (Crossing), R (Remove) or simply pick the required entities to be saved as irregular stock.
If W (Window) is entered at this stage, a dynamic window will be formed to enclose the relevant geometry of the stock. All the entities within the window will be saved as an AutoNEST irregular stock.
During SaveIrStock, the following happens:
a) . STK , . DWG, and . DXF files are created, where :
•STK is a text file which record geometric information of an irregular stock, such as x, y coordinates of vertices, bulge values for arcs, center point, coordinates and radius for circles.
•DWG is the file format given by AutoCAD when an irregular stock is saved as a Block/WBlock. This is to keep a true copy of the geometry submitted to AutoNEST.
•DXF is a Drawing Interchange File format to assist in interchanging drawings between AutoCAD and other programs.
|b)||Text and dimensioning information are filtered out in the .STK file.|
Conditions for saving Irregular Stock profile:
•Lines, Arcs, Circle, Rectangle, Polyline, Polygon and Spline entities
•External profile and internal holes profiles of irregular stock must be closed.
•Pedit-Spline and Pedit-Fit
•Additional line/plines along the profile
•Crossing over on each profile or between profiles
•Part with more than 1500 vertices per profile.