|
|
|
@ -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',
|
|
|
|
@ -141,7 +145,7 @@ local default_makerbot_startcode = ";@printer {printerType}\nM136 (enable build)
|
|
|
|
|
local default_deltabot_startcode = ';Generated with Doodle3D (deltabot)\nM109 S{printingTemp} ;set target temperature\n{if heatedBed}M190 S{printingBedTemp} ;set target bed temperature\nG21 ;metric values\nG91 ;relative positioning\nM107 ;start with the fan off\nG28 ; move to home\nG92 E0 ;zero the extruded length\nG90 ;absolute positioning\nM117 Printing Doodle... ;display message (20 characters to clear whole screen)'
|
|
|
|
|
M.printer_startcode = {
|
|
|
|
|
default = ';Generated with Doodle3D (default)\nM109 S{printingTemp} ;set target temperature \n{if heatedBed}M190 S{printingBedTemp} ;set target bed temperature\nG21 ;metric values\nG91 ;relative positioning\nM107 ;start with the fan off\nG28 X0 Y0 ;move X/Y to min endstops\nG28 Z0 ;move Z to min endstops\nG1 Z15 F9000 ;move the platform down 15mm\nG92 E0 ;zero the extruded length\nG1 F200 E10 ;extrude 10mm of feed stock\nG92 E0 ;zero the extruded length again\nG92 E0 ;zero the extruded length again\nG1 F9000\nG90 ;absolute positioning\nM117 Printing Doodle... ;display message (20 characters to clear whole screen)',
|
|
|
|
|
default_ultimaker2 = ';Generated with Doodle3D (ultimaker2)\nM109 S{printingTemp} ;set target temperature \nM190 S{printingBedTemp} ;set target bed temperature\nG21 ;metric values\nG90 ;absolute positioning\nM107 ;start with the fan off\nG28 ; home to endstops\nG1 Z15 F9000 ;move the platform down 15mm\nG92 E0 ;zero the extruded length\nG1 F200 E10 ;extrude 10mm of feed stock\nG92 E0 ;zero the extruded length again\nG1 F9000\nM117 Printing Doodle... ;display message (20 characters to clear whole screen)\n',
|
|
|
|
|
default_ultimaker2 = ';Generated with Doodle3D (ultimaker2)\nM109 S{printingTemp} ;set target temperature \n{if heatedBed}M190 S{printingBedTemp} ;set target bed temperature\nG21 ;metric values\nG90 ;absolute positioning\nM107 ;start with the fan off\nG28 ; home to endstops\nG1 Z15 F9000 ;move the platform down 15mm\nG92 E0 ;zero the extruded length\nG1 F200 E10 ;extrude 10mm of feed stock\nG92 E0 ;zero the extruded length again\nG1 F9000\nM117 Printing Doodle... ;display message (20 characters to clear whole screen)\n',
|
|
|
|
|
default_makerbot_generic = default_makerbot_startcode,
|
|
|
|
|
default_makerbot_replicator2 = default_makerbot_startcode,
|
|
|
|
|
default_makerbot_replicator2x = default_makerbot_startcode,
|
|
|
|
@ -154,11 +158,11 @@ M.printer_startcode = {
|
|
|
|
|
description = ''
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
local default_makerbot_endcode = 'M73 P100\nG92 A0 B0 ;reset extruder position to prevent retraction\nM18 A B(Turn off A and B Steppers)\nG1 Z155 F900\nG162 X Y F2000\nM18 X Y Z(Turn off steppers after a build)\n{if heatedBed}M140 S{preheatBedTemp} T0\nM104 S{preheatTemp} T0\nM73 P100 (end build progress )\nM70 P5 (We <3 Making Things!)\nM72 P1 ( Play Ta-Da song )\nM137 (build end notification)'
|
|
|
|
|
local default_makerbot_endcode = 'M73 P100\nG92 A0 B0 ;reset extruder position to prevent retraction\nM18 A B(Turn off A and B Steppers)\nG1 Z155 F900\nG162 X Y F2000\nM18 X Y Z(Turn off steppers after a build)\n{if heatedBed}M140 S{preheatBedTemp} T0\nM104 S{preheatTemp} T0\nM73 P100 (end build progress )\nM72 P1 ( Play Ta-Da song )\nM137 (build end notification)'
|
|
|
|
|
local default_deltabot_endcode = 'M107 ;fan offG91 ;relative positioningG1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressureG1 Z+0.5 E-5 X-20 Y-20 F9000 ;move Z up a bit and retract filament even moreG28 ;move to homeM84 ;disable axes / steppersG90 ;absolute positioningM109 S0 ; hot end off{if heatedBed}M140 S{preheatBedTemp}M117 Done ;display message (20 characters to clear whole screen)'
|
|
|
|
|
M.printer_endcode = {
|
|
|
|
|
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 S{preheatTemp}\n{if heatedBed}M140 S{preheatBedTemp}\nM117 Done ;display message (20 characters to clear whole screen)',
|
|
|
|
|
default_ultimaker2 = '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+5.5 E-5 X-20 Y-20 F9000 ;move Z up a bit and retract filament even more\nG28 ;home the printer\nM84 ;disable axes / steppers\nG90 ;absolute positioning\nM104 S{preheatTemp}\nM140 S{preheatBedTemp}\nM117 Done ;display message (20 characters to clear whole screen)',
|
|
|
|
|
default_ultimaker2 = '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+5.5 E-5 X-20 Y-20 F9000 ;move Z up a bit and retract filament even more\nG28 ;home the printer\nM84 ;disable axes / steppers\nG90 ;absolute positioning\nM104 S{preheatTemp}\n{if heatedBed}M140 S{preheatBedTemp}\nM117 Done ;display message (20 characters to clear whole screen)',
|
|
|
|
|
default_makerbot_generic = default_makerbot_endcode,
|
|
|
|
|
default_makerbot_replicator2 = default_makerbot_endcode,
|
|
|
|
|
default_makerbot_replicator2x = default_makerbot_endcode,
|
|
|
|
@ -294,7 +298,7 @@ M.printer_retraction_minDistance = {
|
|
|
|
|
|
|
|
|
|
M.printer_retraction_amount = {
|
|
|
|
|
default = 3,
|
|
|
|
|
type = 'int',
|
|
|
|
|
type = 'float',
|
|
|
|
|
description = '',
|
|
|
|
|
min = 0
|
|
|
|
|
}
|
|
|
|
|