G5.2 opens a NURBS data block in LinuxCNC. The lines between G5.2 and G5.3 define control points with optional weights, and the current position before the first G5.2 is taken as the first control point. Optional P and L words set control-point weights and the curve order, with defaults of 1 and 3.
| Language | gcode |
|---|---|
| Code | G5.2 |
| Group | NURBS block |
| Syntax | G5.2 <P-> <X- Y-> <L-> |
| Dialect | LinuxCNC |
| Name | Description |
|---|---|
| P | Control point weight; default 1 if unspecified. |
| X | X coordinate for a NURBS control point. |
| Y | Y coordinate for a NURBS control point. |
| L | Parameter that determines the order of the curve; default 3 if unspecified. |