| g005 |
Bézier cubic spline |
Cubic B-spline with XYE destination and IJPQ offsets |
thinkyhead |
true |
1.1.0 |
motion |
|
|
| It is an error if an axis other than `X` or `Y` is specified. |
| The first control point is the current position of the head. `XY` is the destination (the last control point of the spline). |
| The next control-points are the current position plus `IJ` and the current position plus `PQ`. |
| `I` and `J` can be omitted, which results in these offsets being zero. This produces a 3-point spline (try the [interactive demo](//www.geogebra.org/m/WPHQ9rUt)). However, `P` and `Q` are required (otherwise you just get a linear movement). |
|
| tag |
optional |
description |
values |
| X |
false |
A destination coordinate on the X axis |
|
|
| tag |
optional |
description |
values |
| Y |
false |
A destination coordinate on the Y axis |
|
|
| tag |
optional |
description |
values |
| E |
true |
The length of filament to feed into the extruder between the start and end point |
|
|
| tag |
optional |
description |
values |
| F |
true |
The maximum feedrate of the move between the start and end point (in current units per second). This value applies to all subsequent moves. |
|
|
| tag |
optional |
description |
values |
| I |
false |
Offset from the `X` start point to first control point |
|
|
| tag |
optional |
description |
values |
| J |
false |
Offset from the `Y` start point to first control point |
|
|
| tag |
optional |
description |
values |
| P |
false |
Offset from the `X` end point to second control point |
|
|
| tag |
optional |
description |
values |
| Q |
false |
Offset from the `Y` end point to the second control point |
|
|
| tag |
optional |
since |
description |
values |
| S |
true |
2.0.8 |
Set the Laser power for the move. |
|
|
|
| pre |
code |
| For example, to program a curvy "N" shape: |
|
| G0 X0 Y0 |
| G5 I0 J3 P0 Q-3 X1 Y1 |
|
|
| pre |
code |
| A second curvy "N" that attaches smoothly to this one can now be made without specifying `I` and `J`: |
|
|
|
|