shopname {STRING}
|
Name of new current shop, e.g. "demoshop"
|
shopname
|
Reflects input value.
|
:shopname {STRING}
|
Name of new shop where material belongs to, e.g "demoshop". Optional. Defaults to current shop.
|
:tabname {STRING}
|
Name of material table, e.g. "sheet_metals" Optional. Defaults to first material table.
|
:rowkey {PROPERTY-LIST}
|
Material key column property list, e.g.
(:material "UST 1203" :thick 1.5)
|
material-property-list
|
Reflects input values.
|
{STRING}
|
Name of current manufacturing shop, e.g. "demoshop".
|
nil
|
No shop set as current shop.
|
{PROPERTY-LIST}
|
Property list containing the full material identification, e.g.: (:SHOPNAME "demoshop" :TABNAME "sheet_metals" :ROWKEY (:MATERIAL "UST 1203" :THICK 1.5))
|
:shopname {STRING}
|
Name of shop where entry is searched, e.g. "demoshop".
|
:column {:KEYWORD}
|
Keyword of column from which the value should be returned, e.g. :MATERIALS.
|
:shopname {STRING}
|
Name of shop where entry is searched, e.g. "demoshop".
|
:tabname {STRING}
|
Name of table where the entry is searched, e.g. "sheet_metals".
|
:rowkey {PROPERTY-LIST}
|
A property list containing the key columns of the searched entry, e.g.
(:MATERIAL "UST 1203" :THICK 1.5)
|
:column {:KEYWORD}
|
Optional. If this argument is not provided, a full row is returned. Keyword of column from which the value should be returned, e.g.
:MIN_BEND_RAD
.
|
{PROPERTY-LIST}
|
If the :column parameter is not given (or nil). Property list with full row data, e.g.: (:mat-id "9999-0477" :material "UST 1203" :thickness 1.5 :min_bend_rad 0.4)
|
{any type}
|
The table entry found in the given column of the given row in given table of the given shop. The type of this entry is arbitrary, e.g.:
• a number (returned in internal units [mm]|[rad]|[g]|[nil]) such as 1.5,
• a string like the material-id "9999-0345",
• a function pointer like AIR_BEND_ALLOW
|
|
Returned numbers may be inaccurate in the range of 10-15 due to unit conversion and internal LISP conversions. If these values should be displayed, they should be rounded to 10-14 accuracy, e.g.:
(num-to-str 0.999999999999998 14) =>"1"
|
table-entry-id
{PROPERTY-LIST}
|
Property list containing the full list of properties needed to address a single table entry, e.g.: (:SHOPNAME "demoshop" :TABNAME "sheet_metals" :ROWKEY (:MATERIAL "UST 1203" :THICK 1.5))
|
column {KEYWORD}
|
Keyword of column from which the value should be returned, e.g.: :MIN_BEND_RAD If this value is NIL, the full table row is returned
|
{PROPERTY-LIST}
|
If the :column parameter is not given (or nil). Property list with full row data, e.g.: (:mat-id "9999-0477" :material "UST 1203" :thickness 1.5 :min_bend_rad 0.4)
|
{any type}
|
The table entry found in the given column of the given row in given table of the given shop. The type of this entry is arbitrary, e.g.:
• a number (returned in internal units [mm]|[rad]|[g]|[nil]) such as 1.5,
• a string like the material-id "9999-0345",
• a function pointer like AIR_BEND_ALLOW
|
|
The backquote (`) and the comma (,) preceding (/ PI 4) are needed when you enter this list directly to ensure that the (/ PI 4) expression is evaluated.
|
|
In this special case, where the searched entry is part of the tool_id, the entry could have been derived from the tool_id directly with:
(getf (getf tool_id :rowkey) :piston_ang)
However, this works only if the searched entry is part of the tool key and this fact is valid for all the possible cases where this code segment is used.
|
:shopname {STRING}
|
Name of manufacturing shop from which the bend process types list should be returned, e.g. "demoshop".
|
{LIST}
|
List of strings with names of bend-process tables of given shop, e.g. ("air_bending" "bend_forming").
|
:shopname {STRING}
|
Name of manufacturing shop from which the hem process types list should be returned, e.g. "demoshop".
|
{LIST}
|
List of strings with names of hem-process tables of given shop, e.g. ("hems").
|
:shopname {STRING}
|
Name of manufacturing shop from which the offset process types list should be returned, e.g. "demoshop".
|
{LIST}
|
List of strings with names of offset-process tables of given shop, e.g. ("offsets").
|
:shopname {STRING}
|
Name of manufacturing shop from which the cut process types list should be returned, e.g. "demoshop".
|
{LIST}
|
List of strings with names of cut-process tables of given shop. e.g. ("punches")
|
:shopname {STRING}
|
Name of manufacturing shop from which the stamp process types list should be returned, e.g. "demoshop".
|
{LIST}
|
List of strings with names of stamp-process tables of given shop. e.g. ("stamps")
|
:shopname {STRING}
|
Optional name of manufacturing shop in which the process should be searched, e.g. "demoshop". Defaults to the current shop.
|
:process {STRING}
|
Name of process to be classified, e.g. "air_bending".
|
{KEYWORD}
|
Process type of the given process (e.g. :BEND-PROCESSES). :BEND-PROCESSES | :OFFSET-PROCESSES | :HEM-PROCESSES | :CUT-PROCESSES | :STAMP-PROCESSES | :BEND-RELIEFS :CORNER-RELIEFS
|
:shopname {STRING}
|
Optional. Name of manufacturing shop (e.g. "demoshop"). Defaults to the current shop.
|
:process-tool-paramlist {PLIST}
|
Optional identifier for bend process and bend tool. Default: nil = no tool given.
Examples:
(:shopname "demoshop" :process "bend_forming" :rowkey (:radius 1)
or
("bend_forming")/
In the latter case, this function looks for an appropriate tool in the given table.
|
:material {PLIST}
|
Optional; default: current material.
Material specification. Examples: :shopname "demoshop" :tabname "sheet_metals" :rowkey (:material "UST 1203" :thick 1.5))
|
:thickness {LONG-FLOAT} [mm]
|
Thickness (optional) of sheet metal. To be used if material is not given. Defaults to thickness of material.
|
:bend-angle {LONG-FLOAT} [rad]
|
Bend angle (0 = no bend). If no value is provided, this function returns NIL.
|
:cone angle {LONG-FLOAT} [rad]
|
Cone angle for conical bends. Either the cone angle or the inner radius (for cylindrical bends) must be provided.
|
:inner-radius {LONG-FLOAT} [mm]
|
Inner bend radius.
|
:outer-radius {LONG-FLOAT} [mm]
|
Outer bend radius; may differ from inner bend radius. Optional for bends; needed for hems and offset only.
|
{PROPERTY-LIST}
|
A property list containing keyword/value pairs for the requested properties.
|
|
:allowance
{LONG-FLOAT} [mm] |
Bend allowance value
|
|
:allowance-
type {INTEGER} |
0 = bend or hem
1 = offset
2 = cone bend
|
|
:prefix
{STRING} |
Information text displayed to the left of the angle and radius values in the flat bend line text label. The text is derived from the flat-text property of the used tool, for instance: "Bend form R=0.4 A=90deg UP"
|
|
:severity
{KEYWORD} |
Error severity indicator. Normally mapped to yellow | orange | red error message box coloring. This parameter is normally derived from error-type which should have an associated severity hold in the global mapping list *sha-severity* defined in the sha_demoshop_func.lsp file. :LOW | :MEDIUM | :HIGH
|
|
:error-type
{KEYWORD} |
Indicates the kind of design rule violation. Types and their according severity should be hold in the global mapping list
• sha-severity* defined in the sha_demoshop_func.lsp file.
:TDB-SHOP-MISSING | :TDB-TABLE-MISSING | :TDB-TOOL-MISSING | :TDB-ENTRY-MISSING | :MATERIAL-NOT-FOUND | :USING-FALLBACK-STRATEGY
error-message {STRING} or {LIST} of strings (Error message string or list of multiple error strings).
|
|
:k-factor
{LONG-FLOAT} |
K-factor.
|
|
nil
|
Insufficient parameter
|
:shopname {STRING}
|
Name of shop (optional) where entry is searched; e.g. "demoshop". Default to the current shop.
|
:tabname {STRING}
|
Name of table (optional) where the entry is searched; e.g. "sheet_metals". Defaults to the first material table.
|
:rowkey {PROPERTY-LIST}
|
A property list containing the key columns of the searched entry. For example:
(:MATERIAL "UST 1203" :THICK 1.5)
|
{LONG-FLOAT}
|
Material thickness in mm (e.g. 1.5).
|
|
The returned number may be inaccurate in the range of 10-15 due to unit conversion and internal LISP conversions. If this value should be displayed, it should be rounded to 10-14 accuracy. For example:(num-to-str 0.999999999999998 14) =>"1"
|
part-name
|
Name of the new part (without pathname).
|
workplane-name {STRING}
|
Name of workplane.
|
profile
|
Profile data from workplane (if any).
|
nil
|
Unless one or multiple closed profiles exist on the workplane.
|
part-name {STRING}
|
Name of part.
|
body
|
Body data from part (if any). This data is geometry only (no name, no body transformation)
|
nil
|
If no body exists.
|
workplane-name {STRING}
|
Name of workplane (without pathname).
|
edge {SEL-ITEM}
|
Edge to be inquired for bend, hem, and offset features.
|
face {SEL-ITEM}
|
Face to be inquired for bend, hem, and offset features.
|
part {SEL-ITEM}
|
Part to be inquired for bend, hem, and offset features.
|
property-list {plist}
|
A property list containing keyword/value pairs.
|
||
:TOOL-PROPERTY
-LIST {plist} |
Data which can be used for further inquiries.
Example:
(:SHOPNAME "demoshop" :TABNAME "air_bending" :ROWKEY (:RADIUS 1.5))
|
||
:INNER-RADIUS
{LONG-FLOAT} |
The inner radius of the bend.
|
||
:OUTER-RADIUS
{LONG-FLOAT} |
The outer radius of the bend.
|
||
:INNER-FACES
{list} of {SEL_ITEM-ITEM}s |
A list of inner faces of the bend.
|
||
:OUTER-FACES {list} of {SEL_ITEM-ITEM}s
|
A list of outer faces of the bend.
|
face {SEL-ITEM}
|
Face to be inquired for bend and corner reliefs.
|
part {SEL-ITEM}
|
Part to be inquired for bend and corner reliefs.
|
property-list {plist}
|
A property list containing keyword/value pairs.
|
||
:TOOL-PROPERTY-LIST
{plist} |
Data which can be used for further inquiries.
Example:
(:SHOPNAME "demoshop" :TABNAME "rnd_corner_relief" :ROWKEY (:DIA 4))
|
||
:RELIEF-TYPE
{STRING} |
The type of relief.
|
||
:FACES {list}
of {SEL_ITEM-ITEM}s |
A list of faces that the relief is attached to.
|
face {SEL-ITEM}
|
Face to be inquired for punches.
|
part {SEL-ITEM}
|
Part to be inquired for punches.
|
property-list {plist}
|
A property list containing keyword/value pairs.
|
||
:TOOL-PROPERTY
-LIST {plist} |
Data which can be used for further inquiries.
Example:
(:SHOPNAME "demoshop" :TABNAME "rnd" :ROWKEY (:DIA 4))
|
||
:REFERENCE-POSITION
{GPNT3D} |
The reference position of the punch.
|
||
:ANGLE
{LONG-FLOAT} |
The reference angle of the punch.
|
||
:FACES {list}
of {SEL_ITEM-ITEM}s |
A list of faces that the punch is attached to.
|
face {SEL-ITEM}
|
Face to be inquired for stamps.
|
part {SEL-ITEM}
|
Part to be inquired for stamps.
|
property-list {plist}
|
A property list containing keyword/value pairs.
|
||
:TOOL-PROPERTY-LIST
{plist} |
Data which can be used for further inquiries.
Example:
(:SHOPNAME "demoshop" :TABNAME "dmp" :ROWKEY (:DIMPLE_DIA 8.12 :DEPTH 0.9 :ANG 1.5707963267949001 :STAMP_DIR UP))
|
||
:REFERENCE-POSITION
{GPNT3D} |
The reference position of the stamp.
|
||
:ANGLE
{LONG-FLOAT} |
The reference angle of the stamp.
|
||
:FACES {list} of
{SEL_ITEM-ITEM}s |
A list of faces that the stamp is attached to.
|