From ff28f33967f069a85dc86098ecfc9d14feb71c8b Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Wed, 22 Apr 2020 14:30:52 -0400 Subject: 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 --- config/example-extras.cfg | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'config/example-extras.cfg') 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] -- cgit v1.2.3-70-g09d2