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

gdt::datumFunction in std::gdt

GD&T datum feature.

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

Arguments

NameTypeDescriptionRequired
faceTaggedFaceThe face to be annotated.Yes
namestringThe name of the datum.Yes
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 - A GD&T annotation created by one of the gdt functions.

Examples

Rendered example of gdt::datum 0

Rendered example of gdt::datum 1

Found a typo?