GD&T annotation for attaching manufacturing text to faces or edges.
This is part of model-based definition (MBD).
Arguments
| Name | Type | Description | Required |
|---|---|---|---|
annotation | string | The annotation text to display. | Yes |
faces | [TaggedFace; 1+] | The faces to be annotated. | No |
edges | [Edge; 1+] | The edges to be annotated. | No |
framePosition | Point2d | The position of the annotation relative to the leader arrow. The default is [100mm, 100mm]. | No |
framePlane | Plane | The plane in which to display the annotation. The default is XY. Other standard planes like XZ and YZ can also be used. The annotation may be displayed in a plane parallel to the given plane. | No |
leaderScale | number(_) | Scale of the leader. The default is 1.0. Must be greater than 0. | No |
fontSize | number(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

