From f2327d3a21ca9767b8d2b21c4b8541bfb7abb005 Mon Sep 17 00:00:00 2001 From: casperlamboo Date: Wed, 20 May 2015 19:10:18 +0200 Subject: [PATCH] improved variable names --- settings/printer_settings.json | 1 + settings/user_settings.json | 26 ++++++++-------- slice_test.html | 40 ++++++++++++------------- src/paths.js | 1 + src/slicer.js | 54 +++++++++++++++++----------------- 5 files changed, 62 insertions(+), 60 deletions(-) diff --git a/settings/printer_settings.json b/settings/printer_settings.json index 871c351..537bcf9 100644 --- a/settings/printer_settings.json +++ b/settings/printer_settings.json @@ -10,6 +10,7 @@ "printer.heatup.bed.temperature": 70, "printer.heatup.enabled": true, "printer.heatup.temperature": 180, + "printer.nozzleDiameter": 0.4, "printer.startcode": ";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)", "printer.type": "ultimaker" } diff --git a/settings/user_settings.json b/settings/user_settings.json index 7b7ff6d..93d53af 100644 --- a/settings/user_settings.json +++ b/settings/user_settings.json @@ -1,18 +1,18 @@ { - "printer.retraction.speed": 50, - "printer.retraction.minDistance": 5, - "printer.retraction.amount": 3, - "printer.retraction.enabled": true, - "printer.speed": 50, - "printer.wallThickness": 0.4, - "printer.layerHeight": 0.3, + "printer.normalFlowRate": 1.0, + "printer.bottomFlowRate": 2.0, + "printer.bottomLayerSpeed": 35, "printer.bottomThickness": 0.4, - "printer.topThickness": 0.8, - "printer.shellThickness": 0.4, - "printer.temperature": 230, - "printer.travelSpeed": 200, "printer.fillSize": 5, "printer.firstLayerSlow": true, - "printer.bottomLayerSpeed": 35, - "printer.bottomFlowRate": 1.0 + "printer.layerHeight": 0.2, + "printer.retraction.amount": 3, + "printer.retraction.enabled": false, + "printer.retraction.speed": 50, + "printer.retraction.minDistance": 5, + "printer.shellThickness": 0.4, + "printer.speed": 50, + "printer.temperature": 230, + "printer.topThickness": 0.8, + "printer.travelSpeed": 200 } \ No newline at end of file diff --git a/slice_test.html b/slice_test.html index 887e6a3..699e43e 100644 --- a/slice_test.html +++ b/slice_test.html @@ -26,22 +26,23 @@ canvas {border: 1px solid black;}