Module KscSketchDimensioning
- Last UpdatedOct 25, 2023
- 2 minute read
KscSketchDimensioning module is prepared directly for transferring data to/from trig_hull_endcut_dim trigger.
|
Class KcsSketchDimensioning.ProfileSketch |
||
|
The class is designed for storing profile settings used by trig_hull_endcut_dim trigger to position endcut dimensions on the sketch. |
||
|
Methods |
||
|
GetProfileType() |
integer |
Profile type. |
|
GetProfileParams() |
List of six real values |
Profile parameters in the following syntax: [H, B, Tw, Tf, R1, R2]
|
|
GetEndcutType() |
integer |
Endcut type. |
|
GetEndcutCode() |
integer |
Endcut code. |
|
GetEndcutParams() |
List of nine real values |
Nine endcut parameters in the following syntax: [a, b, c, R1, R2, a1, a2, a3, a4]. Different parameters are valid for certain endcut types, as defined in hull standard. |
|
GetEndcutRectangle() |
Rectangle2D |
Endcut picture limiting rectangle. All dimensions positioned by the trigger should be placed outside the rectangle. |
|
GetFlangeCutRectangle() |
Rectangle 2D |
Flange cut picture limiting rectangle. All dimensions positioned by the trigger on a flange cut should be placed outside the rectangle. |
|
GetExcess() |
real |
Excess material length for endcut. |
|
GetSketchExcess() |
real |
Symbolic excess material length for endcut used in sketch. |
|
GetBevelGapWeb() |
real |
Bevel gap on web. |
|
GetBevelGapFlange() |
real |
Bevel gap on flange. |
|
Class KcsSketchDimensioning.DimensionSet |
||
|
The class holds dimension data returned from trig_hull_endcut_dim trigger. |
||
|
Parameters and attributes |
||
|
Elements |
list |
List of dimension data to be drawn on the sketch. |
|
Methods |
||
|
AddLinearDim( measurePoint1, measurePoint2, direction, linePoint, text) |
Adds linear dimension to dimension set.
|
|
|
AddRadiusDim( textPoint, text) |
Adds radius dimension to dimension set.
|
|
|
AddAngleDim( firstLine, secondLine, linePoint, textPoint, text, drawFirst, drawSecond, drawDegree) |
Adds angle dimension to dimension set.
|
|
|
AddCustomDim( textPoint, text) |
Adds custom dimension to dimension set.
|
|
|
Reset() |
Removes all elements from dimension set. |
|