Dimensioning of Curved Models
- Last UpdatedJan 07, 2026
- 2 minute read
These functions calculate distances between objects placed on or attached to curved panel surface. No markup is done on view. The object types that are accepted by this function are:
-
Hull curves
-
Seams and butts
-
Shell stiffeners
-
Curves along Jig rows and columns
-
Frame curves
-
Planar panel limits
-
Hole crossmarks
Hole cross-marks are identified by the curved panel (Model class "Name" attribute, "Type" attribute), hole part ID (Model class "PartId" attribute), subpart type ("SubPartType" attribute "crossmark") and subpart ID corresponding to horizontal or vertical crossmark position ("SubPartId" attribute 666 or 667). Correct Model class instances are returned by kcs_draft.model_identify() function.
|
remarking_length(ObjectFrom, ObjectAlong, ObjectTo) |
||
|
Function returns length between two objects along a third. For accepted object types see Dimensioning from Hull Tools Menu. |
||
|
Input Parameters: |
||
|
ObjectFrom |
Model |
Object to measure from. |
|
ObjectAlong |
Model |
Object to measure along. |
|
ObjectTo |
Model |
Object to measure to. |
|
Returned value: |
||
|
[0] Length |
float |
The measured distance between objects. |
|
Exceptions: |
||
|
kcs_ArgumentError |
Invalid input. |
|
|
kcs_Error |
The dimensioning failed: Objects do not exist, no intersection or other error. |
|
|
remarking_length_ext(Activity, PanelName, ObjectFrom, ObjectAlong, ObjectTo) |
||
|
This function returns length between two objects along a third with adjustments according to set flags. In case the objects intersection point is located at a panel boundary, the measure is optionally adjusted with bevel gap, excess, compensation and shrinkage compensation of intersecting plate(s). For accepted object types see Dimensioning from Hull Tools Menu. |
||
|
Input Parameters: |
||
|
Activity |
integer |
Sum of the following flags: 1 - bevel gap considered, 2 - excess type 1 considered, 4 - excess type 2 considered, 8 - excess type 3 considered, 16 - excess type 4 considered, 32 - excess type 5 considered, 64 - compensation considered, 128 - shrinkage considered. |
|
PanelName |
string |
Curved panel name (intersection surface). |
|
ObjectForm |
Model |
Object to measure from. |
|
AbjectAlong |
Model |
Object to measure along. |
|
ObjectTo |
Model |
Object to measure to. |
|
Returned value: |
||
|
[0] Length |
float |
The measured distance between objects. |
|
Exceptions: |
||
|
kcs_ArgumentError |
Invalid input. |
|
|
kcs_Error |
The dimensioning failed: general error. |
|
|
kcs_DatabankReadError |
Failed to read from databank. |
|
|
kcs_ObjectNotFound |
Object not found in databank. |
|
|
kcs_DevelopedPlateObjectNotFound |
Failed to retrieve developed plate data needed for calculations. |
|
|
kcs_ObjectNotInPanel |
Seam or intersection point not in the panel. |
|
|
kcs_BevelError |
Error while calculating bevel gap, for example, bevel control object not found or wrong name of the object. |
|
|
kcs_Shrinkage ObjectError |
Error while getting data from shrinkage object. |
|
|
kcs_unableToCalculate |
Error in calculations. |
|