translate()

Offset the coordinate origin for all subsequent moves by (dx, dy, dz).

Offsets accumulate: a second translate adds to the first. Use push() / pop() to scope a translation to a specific region.

Parameters

Name Type Description
dx number X offset in mm.
dy number Y offset in mm.
dz? number Z offset in mm. Default: 0.

Examples