Trigger trig_hull_endcut_dim
- Last UpdatedOct 25, 2023
- 1 minute read
Trigger details are listed in table below.
|
End cut dimensioning set-up pre-trigger |
|||
|
Event |
End cut dimensioning. |
||
|
Type |
Pre. |
||
|
Input Parameters |
Name |
Type |
Description |
|
sketchData |
ProfileSketch |
All profile parameters needed for proper dimensioning. |
|
|
Return values |
Name |
Type |
Description |
|
kcs_util.trigger_ok() or kcs_util.trigger_abort() |
If kcs_util.trigger_abort() endcut code and parameters will be presented in a $ values in range $4601-$4800 only. |
||
|
endCutDimensions |
DimensionSet |
All dimensions to be drawn with the web endcut area. |
|
|
flangeCutDimensions |
DimensionSet |
All dimensions to be drawn with the flange cut area. |
|
|
Override functionality |
None. |
||
|
Note |
When this trigger fires, all other information is already drawn on the sketch. This ensures proper setting of minx, miny, maxx and maxy values to prevent text overlay. |
||
The trig_hull_endcut_dim trigger is fired twice for every profile: left endcut and right endcut are processed separately. The output values for right endcut are transformed inside the Profile Interface application - flipped horizontally with the profile. The code in the trigger script needs to be prepared only for the left endcut.
Following endcut types are already implemented in trig_hull_endcut_dim example:
|
Profile type |
Endcut types |
|
Flat bar |
69, 114, 116, 65 |
|
Bulbs and L bars |
25, 129, 119, 120 |
|
Asymmetrical T bars |
139, 164, 162, 40 |
|
T Bars |
4, 83, 39, 145 |
|
I Bars |
175, 181 |
|
U Bars |
188, 190 |