travel()

Travel a relative XYZ distance with filament retraction, z-hop, and re-prime. Use this to travel between disconnected extrusion paths without stringing. Retract distance and z-hop height are set by retractAmount() and zHopHeight().

Non-extrusion moves will be executed at the default travelSpeed unless manually specified. Use travelSpeed() to set a new default.

Parameters

Name Type Description
dx number Distance to move in X in mm.
dy number Distance to move in Y in mm.
dz number Distance to move in Z in mm.
v number Feedrate in mm/sec.

Examples