Set-up of the IP-file
- Last UpdatedJul 02, 2024
- 2 minute read
IPs for this program can be given in an ordinary ASCII file with the fixed name wcog.ip, residing on the directory assigned to the environment variable SB_SHIP.
The following list shows all possible default parameters:
[WCOG_MODE, EXACT | EXACT_WITHOUT_EXCESS,]
[WCOG_SEP_BUILT_PROF,]
When the planar or curved panel is stored a simple calculation is done. This calculation disregards excess, shrinkage and compensation for plates and disregards end cuts, notches, cutouts and holes for profiles.
When the component is released for production a new exact calculation is done. This is done both with and without excess and shrinkage.
When WCOG values are to be presented or used in some other way, the stored values are retrieved from the model.
By defining ip WCOG_MODE, EXACT values including excess and shrinkage for weight and center of gravity may be retrieved. Values excluding excess and shrinkage are retrieved by defining ip WCOG_MODE, EXACT_WITHOUT_EXCESS. If exact calculations not yet have been performed then simple values are returned.
The WCOG_MODE ip may be enclosed in groups using the START_GROUP and END_GROUP keywords.
WCOG values for panel components are displayed on separate lines. For built profiles the presentation may be further split up into one line for the web part and one line for the flange part. This is accomplished by defining ip WCOG_SEP_BUILT_PROF,.
If the panel has been modified but new parts have not been generated yet, then WCOG values will be retrieved from the panel without respect to the setting of WCOG_MODE when the WCOG list is created.
However, by setting ip WCOG_DATE_MISMATCHES, WCOG values will be retrieved according to the setting of WCOG_MODE, also in the case when the panel modification date is later than the parts generation date.