Permalink
...
Checking mergeability…
Don’t worry, you can still create the pull request.
Commits on Apr 18, 2016
Commits on May 01, 2016
Commits on May 02, 2016
Commits on May 03, 2016
Commits on May 05, 2016
Commits on May 06, 2016
Commits on May 07, 2016
Commits on May 08, 2016
Commits on Jun 26, 2016
Commits on Jul 04, 2016
Commits on Jul 13, 2016
Commits on Jul 22, 2016
Commits on Nov 18, 2016
Comparing changes
Open a pull request
2
contributors
Unified
Split
Showing
with
484 additions
and 1 deletion.
- +10 −1 js/main.js
- +2 −0 modules/g1.gcode
- +71 −0 modules/printengine.cfg
- +354 −0 modules/printengine.pl
- +47 −0 modules/send.pl
View
11
js/main.js
@@ -454,7 +454,16 @@ function startSlicing() { | ||
if (settings.get('slicer.zip')) { | ||
zipFile = new JSZip(); | ||
zipFolder = zipFile.folder('slices'); | ||
- zipFile.file("README.txt", 'Generated by SLAcer.js\r\nhttp://lautr3k.github.io/SLAcer.js/\r\n'); | ||
+ ontime = parseInt(times.on); | ||
+ offtime = parseInt(times.off); | ||
+ layerheight=settings.get('slicer.layers.height'); | ||
+ zipdelimiter='\"' | ||
+ ziptext1= '#Generated by SLAcer.js\r\n#http://lautr3k.github.io/SLAcer.js/\r\nlayer_height='+zipdelimiter+layerheight; | ||
+ ziptext2='\r\nexposure_time='+zipdelimiter+ontime; | ||
+ ziptext3= '\r\nresin_settling_time='+zipdelimiter+offtime; | ||
+ ziptext= ziptext1+zipdelimiter+ziptext2+zipdelimiter+ziptext3+zipdelimiter; | ||
+ | ||
+ zipFile.file("README.txt",ziptext); | ||
} | ||
slicesNumber && slice(); | ||
View
2
modules/g1.gcode
@@ -0,0 +1,2 @@ | ||
+G28 Z | ||
+G1 Z30 F30 |
View
71
modules/printengine.cfg
@@ -0,0 +1,71 @@ | ||
+#Configuration file for printengine.pl to be called by SLAcer.js and other printer services | ||
+#Copyright 2016 Robert Koeppl, Fablab Leoben robert.koeppl@fablab-leoben.at | ||
+#http://www.fablab-leoben.at | ||
+#http://www.github.com/fablab-leoben | ||
+#released under the GPL v2 | ||
+#this piece of software is provided with absolutely no warranty | ||
+#use at your own risk | ||
+log_file = "../log/printengine.log" | ||
+temporary_folder="./temp" | ||
+logging_enabled="TRUE" | ||
+#controllerboard="BBB" | ||
+controllerboard="raspiarduinoramps" | ||
+arduinotty="/dev/ttyACM0" | ||
+arduinottybaudrate="115200" | ||
+steps_per_mm="100" | ||
+#steps needed to move the Z-Axis 1mm | ||
+projector_type="Lightcrafter4500" | ||
+#default Light engine | ||
+projector_usb_device="/dev/ttyUSB0" | ||
+endstop_Z_max="TRUE" | ||
+endstop_Z_max_type="NC" | ||
+#NO="Normally Open", NC="Normally Closed". NC is preferred | ||
+endstop_Z_min="TRUE" | ||
+endstop_Z_min_type="NC" | ||
+#NO="Normally Open", NC="Normally Closed". NC is preferred | ||
+wiper="FALSE" | ||
+door_contact="TRUE" | ||
+#Defines if there is a door contact to determine if the enclosure is closed | ||
+X_pixels="912" | ||
+Y_pixels="1140" | ||
+Z_speed="5" | ||
+#mm/s | ||
+Z_max_speed="10" | ||
+#mm/s | ||
+Z_Autocal="True" | ||
+#Automatically determine Z-travel by triggering both endstops and dividing the Distance | ||
+overshoot="2" | ||
+#overshoot in mm to make sure the whole area is covered in resin correctly | ||
+testrun_capable="true" | ||
+#Capability to run testruns with wavelengthe that do not trigger polymerisation | ||
+testrun_color="RED" | ||
+#Color channel used for test run | ||
+prodrun_color="BLUE" | ||
+#Color Channel used for production run | ||
+vat_heatable="false" | ||
+vat_target_temperature="" | ||
+#Vat temperature in Celsius | ||
+check_vat_presence="false" | ||
+#board specific configuration for Beaglebone Black | ||
+virtual_terminal="1" | ||
+display_software="builtin" | ||
+#default is the builtin functionality support for other methods not implemented yet. fbi as other option planned next | ||
+display_device="/dev/fb0" | ||
+#PIN asignment | ||
+pin_zmin="testpin" | ||
+pin_zmax="testpin" | ||
+pin_wiper_min="testpin" | ||
+pin_wiper_max="testpin" | ||
+pin_door="testpin" | ||
+pin_step_Z="testpin" | ||
+pin_enable_Z="testpin" | ||
+pin_direction_Z="testpin" | ||
+pin_trigger_pre="testpin" | ||
+pin_trigger_post="testpin" | ||
+pin_enable_wiper="testpin" | ||
+pin_dir_wiper="testpin" | ||
+pin_step_wiper="testpin" | ||
+pin_vat_heater="testpin" | ||
+pin_vat_temperature="testpin" | ||
+pin_vat_presence="testpin" | ||
+#end of BBB specifics |

Oops, something went wrong.