diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2020-04-22 14:30:52 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2020-04-22 16:19:15 -0400 |
commit | ff28f33967f069a85dc86098ecfc9d14feb71c8b (patch) | |
tree | 399655c2387302d2e3f02b71781e8367d00f220e /config | |
parent | 120331f49ac626efc313e27f8ebc3842f0293ab6 (diff) | |
download | kutter-ff28f33967f069a85dc86098ecfc9d14feb71c8b.tar.gz kutter-ff28f33967f069a85dc86098ecfc9d14feb71c8b.tar.xz kutter-ff28f33967f069a85dc86098ecfc9d14feb71c8b.zip |
gcode_arcs: Simplify parameter parsing
Use the normal gcode.get_float() mechanism for extracting parameters
from the g-code command.
Don't register descriptions for the G2/G3 commands as the convention
is to only use descriptions for "extended g-code commands".
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'config')
-rw-r--r-- | config/example-extras.cfg | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/config/example-extras.cfg b/config/example-extras.cfg index bcc90fe3..a81ab014 100644 --- a/config/example-extras.cfg +++ b/config/example-extras.cfg @@ -502,14 +502,13 @@ #unretract_speed: 10 # The speed of unretraction, in mm/s. The default is 10 mm/s. -# enables arc (G2/G3) commands. Only IJ version is supported -# example: "G2 X125 Y32 Z10 E5 I10.5 J10.5" +# Support for gcode arc (G2/G3) commands. #[gcode_arcs] #resolution: 1.0 # An arc will be split into segments. Each segment's length will equal # the resolution in mm set above. Lower values will produce a finer arc, # but also more work for your machine. Arcs smaller than the configured -# value will become straight lines. +# value will become straight lines. The default is 1mm. # Enable the "M118" and "RESPOND" extended commands. # [respond] |