From a1e19bd4e81be178a70da0b1e3da44cd33cb103a Mon Sep 17 00:00:00 2001 From: peteruithoven Date: Wed, 18 Sep 2013 12:13:07 +0200 Subject: [PATCH] Better default for maxObjectHeight --- src/conf_defaults.lua | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/src/conf_defaults.lua b/src/conf_defaults.lua index 394e7d4..b480fc5 100644 --- a/src/conf_defaults.lua +++ b/src/conf_defaults.lua @@ -157,6 +157,12 @@ M.printer_retraction_amount = { min = 0 } +M.printer_enableTraveling = { + default = true, + type = 'bool', + description = '' +} + M.printer_autoWarmUpCommand = { default = 'M104 S180', type = 'string', @@ -170,18 +176,24 @@ M.printer_startgcode = { } M.printer_endgcode = { - default = 'M107 ;fan off\nG91 ;relative positioning\nG1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure\nG1 Z+0.5 E-5 X-20 Y-20 F9000 ;move Z up a bit and retract filament even more\nG28 X0 Y0 ;move X/Y to min endstops, so the head is out of the way\nM84 ;disable axes / steppers\nG90 ;absolute positioning\nM117 Done ;display message (20 characters to clear whole screen)', + default = 'M107 ;fan off\nG91 ;relative positioning\nG1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure\nG1 Z+0.5 E-5 X-20 Y-20 F9000 ;move Z up a bit and retract filament even more\nG28 X0 Y0 ;move X/Y to min endstops, so the head is out of the way\nM84 ;disable axes / steppers\nG90 ;absolute positioning\nM104 S180\nM117 Done ;display message (20 characters to clear whole screen)', type = 'string', description = '' } -M.doodle3d_objectHeight = { - default = 20, +M.printer_maxObjectHeight = { + default = 150, type = 'int', description = 'Maximum height that will be printed', min = 0 } +M.printer_screenToMillimeterScale = { + default = 0.3, + type = 'float', + description = '', +} + M.doodle3d_simplify_minDistance = { default = 3, type = 'int',