From 11f8364e6e1b17a4a443e8aec2d62c25da178721 Mon Sep 17 00:00:00 2001 From: peteruithoven Date: Thu, 30 Jan 2014 13:21:21 +0100 Subject: [PATCH] miniFactory support --- src/conf_defaults.lua | 4 ++++ src/util/printer.lua | 1 + 2 files changed, 5 insertions(+) diff --git a/src/conf_defaults.lua b/src/conf_defaults.lua index e467b9b..52c64b1 100644 --- a/src/conf_defaults.lua +++ b/src/conf_defaults.lua @@ -106,6 +106,7 @@ M.printer_dimensions_x = { default_delta_rostockmax = 0, default_deltamaker = 0, default_kossel = 0, + default_minifactory = 150, subSection = 'printer_type', type = 'int', description = '', @@ -116,6 +117,7 @@ M.printer_dimensions_y = { default_delta_rostockmax = 0, default_deltamaker = 0, default_kossel = 0, + default_minifactory = 150, subSection = 'printer_type', type = 'int', description = '', @@ -123,6 +125,7 @@ M.printer_dimensions_y = { } M.printer_dimensions_z = { default = 200, + default_minifactory = 155, subSection = 'printer_type', type = 'int', description = '', @@ -132,6 +135,7 @@ M.printer_heatedbed = { default = false, default_ultimaker2 = true, default_makerbot_replicator2x = true, + default_minifactory = true, subSection = 'printer_type', type = 'bool', description = 'Printer has heated bed', diff --git a/src/util/printer.lua b/src/util/printer.lua index 1c619eb..6de86c8 100644 --- a/src/util/printer.lua +++ b/src/util/printer.lua @@ -44,6 +44,7 @@ local SUPPORTED_PRINTERS = { shapercube = "ShaperCube", tantillus = "Tantillus", vision_3d_printer = "Vision 3D Printer", + minifactory = "miniFactory", marlin_generic = "Generic Marlin Printer", makerbot_generic = "Generic Makerbot Printer" }