Docs Home
/
KCL Standard Library
/
Functions
/
Std Gdt Angularity

gdt::angularityFunction in std::gdt

GD&T angularity annotation specifying how much faces or edges may deviate from an orientation at a basic angle relative to datum references.

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

Angularity is an orientation tolerance. The specified angle is a basic dimension in the drawing or model geometry. The tolerance is a length controlling the size of the zone, not an angular plus-or-minus value. Provide at least one of faces or edges. Supplying both is allowed, but omitting both is an error.

Arguments

NameTypeDescriptionRequired
tolerancenumber(Length)The tolerance zone size for orientation at a basic angle.Yes
faces[TaggedFace; 1+]The faces to be annotated. At least one of faces or edges must be supplied.No
edges[Edge; 1+]The edges to be annotated. At least one of faces or edges must be supplied.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(_)Visual scale of the leader dot. The default is 1.0, which maps to the calibrated normal dot size. The value is normalized against fontSize so the dot stays consistent as text size changes. 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::angularity 0

Rendered example of gdt::angularity 1

Found a typo?