diff --git a/src/conf_defaults.lua b/src/conf_defaults.lua index 002b418..b11291d 100644 --- a/src/conf_defaults.lua +++ b/src/conf_defaults.lua @@ -111,6 +111,7 @@ M.printer_dimensions_x = { default_lulzbot_taz_4 = 298, default_ultimaker2go = 120, default_doodle_dream = 120, + default_wanhao_duplicator4 = 210, subSection = 'printer_type', type = 'int', description = '', @@ -126,6 +127,7 @@ M.printer_dimensions_y = { default_lulzbot_taz_4 = 275, default_ultimaker2go = 120, default_doodle_dream = 120, + default_wanhao_duplicator4 = 140, subSection = 'printer_type', type = 'int', description = '', @@ -138,6 +140,7 @@ M.printer_dimensions_z = { default_lulzbot_taz_4 = 250, default_ultimaker2go = 112, default_doodle_dream = 80, + default_wanhao_duplicator4 = 140, subSection = 'printer_type', type = 'int', description = '', @@ -149,6 +152,7 @@ M.printer_heatedbed = { default_makerbot_replicator2x = true, default_minifactory = true, default_lulzbot_taz_4 = true, + default_wanhao_duplicator4 = true, subSection = 'printer_type', type = 'bool', description = 'Printer has heated bed', @@ -156,6 +160,7 @@ M.printer_heatedbed = { M.printer_filamentThickness = { default = 2.89, default_doodle_dream = 1.75, + default_wanhao_duplicator4 = 1.75, type = 'float', description = '', min = 0.0, @@ -173,6 +178,7 @@ M.printer_startcode = { default_makerbot_replicator2 = default_makerbot_startcode, default_makerbot_replicator2x = default_makerbot_startcode, default_makerbot_thingomatic = default_makerbot_startcode, + default_wanhao_duplicator4 = default_makerbot_startcode, default_delta_rostockmax = default_deltabot_startcode, default_deltamaker = default_deltabot_startcode, default_kossel = default_deltabot_startcode, @@ -192,6 +198,7 @@ M.printer_endcode = { default_makerbot_replicator2 = default_makerbot_endcode, default_makerbot_replicator2x = default_makerbot_endcode, default_makerbot_thingomatic = default_makerbot_endcode, + default_wanhao_duplicator4 = default_makerbot_endcode, default_delta_rostockmax = default_deltabot_endcode, default_deltamaker = default_deltabot_endcode, default_kossel = default_deltabot_endcode, diff --git a/src/util/printer.lua b/src/util/printer.lua index 6bf2438..5edd5e9 100644 --- a/src/util/printer.lua +++ b/src/util/printer.lua @@ -18,6 +18,7 @@ local SUPPORTED_PRINTERS = { makerbot_replicator2 = "MakerBot Replicator2", makerbot_replicator2x = "MakerBot Replicator2x", makerbot_thingomatic = "MakerBot Thing-o-matic", + wanhao_duplicator4 = "Wanhao Duplicator 4", printrbot = "Printrbot", bukobot = "Bukobot", cartesio = "Cartesio",