pd

The pd macro adds a path dimension to your pattern, indicating the length of a path.

It is provided by plugin-annotations, which is part of core-plugins (so it is available by default).

Signature

Javascript
macro('pd', {
  Number d,
  String id,
  Path path,
  Boolean noEndMarker,
  Boolean noStartMarker,
  String text,
  Boolean force = false,
})

Example

8.2cm

Configuration

PropertyDefaultTypeDescription
pathPathThe path to draw the dimension along
d10NumberThe offset at which to draw the dimension
textPath lengthNumberThe text to go on the dimension if not the length of the path
idpdstringThe ID of this macro instance
noStartMarkerfalseBooleanWhether to not draw a start marker
noEndMarkerfalseBooleanWhether to not draw an end marker
forcefalsebooleanSet this to true to display the macro output even when paperless is false

Notes

This macro takes the paperless setting into account and won’t output anything when both paperless and force are false.