travelTo()

Travel to an absolute XYZ position 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
x number Target X position in mm.
y number Target Y position in mm.
z number Target Z position in mm.
v number Feedrate in mm/sec.

Examples