Labels
This is the API for labels:
Default origin = yappCoordBox: box[0,0,0]
Parameters:
Required:
p(0) = posx
p(1) = posy/z
p(2) = rotation degrees CCW
p(3) = depth : positive values go into case (Remove) negative valies are raised (Add)
p(4) = plane { yappLeft | yappRight | yappFront | yappBack | yappLid | yappBase }
p(5) = font
p(6) = size
p(7) = "label text"
Optional:
p(8) = Expand : Default = 0 : mm to expand text by (making it bolder)
p(9) = Direction : { <yappTextLeftToRight>, yappTextRightToLeft, yappTextTopToBottom, yappTextBottomToTop }
p(10) = Horizontal alignment : { <yappTextHAlignLeft>, yappTextHAlignCenter, yappTextHAlignRight }
p(11) = Vertical alignment : { yappTextVAlignTop, yappTextVAlignCenter, yappTextVAlignBaseLine, <yappTextVAlignBottom> }
p(12) = Character Spacing multiplier (1.0 = normal)
Here is the code for the labels in the next images:


Here is an example if the use of the Depth (p(3)) parameter:


Last updated