extrudeXY()

Move a relative distance in X and Y while extruding.

Extrusion amount is calculated automatically from the move distance, scaled by extrusionMultiplier. If an explicit extrusion amount is specified, extrusionMultiplier is ignored.

Print moves will be executed at the default printSpeed unless manually specified.

Parameters

Name Type Description
dx number Distance to move in X in mm.
dy number Distance to move in Y in mm.
v number Feedrate in mm/min.
e? number | null Extrusion amount in mm. Calculated automatically if null.
comment? string Optional G-code comment. Default: ''.

Examples