Makeathon ends in00:00:00:00
Docs Home
/
KCL Standard Library
/
Functions
/
Std Gdt Position

gdt::positionFunction in std::gdt

GD&T position annotation specifying how much faces or edges may deviate from their ideal location.

This is part of model-based definition (MBD).

Arguments

NameTypeDescriptionRequired
tolerancenumber(Length)The positional tolerance that is acceptable.Yes
faces[TaggedFace; 1+]The faces to be annotated.No
edges[Edge; 1+]The edges to be annotated.No
datums[string; 1+]The datum references to display in the feature control frame. Supports up to primary, secondary, and tertiary datums.No
precisionnumber(_)The number of decimal places to display. The default is 3. Must be greater than or equal to 0 and less than or equal to 9.No
framePositionPoint2dThe position of the feature control frame relative to the leader arrow. The default is [100mm, 100mm].No
framePlanePlaneThe plane in which to display the feature control frame. The default is XY. Other standard planes like XZ and YZ can also be used. The frame may be displayed in a plane parallel to the given plane.No
leaderScalenumber(_)Scale of the leader. The default is 1.0. Must be greater than 0.No
fontSizenumber(Length)The model-space height to use for annotation text. The default is 10mm. Explicit units are supported; bare numbers use the file's default length unit. This changes the scene size, not the internal raster texture quality.No

Returns

[GdtAnnotation; 1+]

Examples

Rendered example of gdt::position 0

Rendered example of gdt::position 1

Found a typo?