speed()
Set both the print and travel speed defaults simultaneously.
Equivalent to calling printSpeed(printV) and travelSpeed(travelV).
One argument sets both to the same value; two arguments set each independently.
Resets to printer profile defaults at the start of each fabDraw() call.
Use push() / pop() to scope a temporary change.
All speeds will be clamped by the maxSpeed settings for each axis.
Parameters
| Name | Type | Description |
|---|---|---|
printV | number | Print speed in mm/sec (used for extrusion moves). |
travelV? | number | Travel speed in mm/sec (used for non-extrusion moves). Defaults to printV if omitted. Default: printV. |