Christian Rupp Log: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 4: | Line 4: | ||
Additional, reboot works now (and it should now be easy to implement further commands if necessary). | Additional, reboot works now (and it should now be easy to implement further commands if necessary). | ||
Lastly, some little code optimization (looks far more convenient now), renaming of the host to replab (this is now also what you type into search bar for accessing the website) and | Lastly, some little code optimization (looks far more convenient now), renaming of the host to replab (this is now also what you type into search bar for accessing the website) and I licensed the files under the GPLv3. (6h) | ||
=Fri Jul 7, 2017= | =Fri Jul 7, 2017= |
Revision as of 21:13, 8 July 2017
Sat Jul 8, 2017
Had some thinking about security, user internal permission restrictions. Would be a pain to explain it all, however, solved it by running scanner on systemstart (there it is always run as root) and trigger the running by a variable settable by the website (clicking on the button).
Additional, reboot works now (and it should now be easy to implement further commands if necessary).
Lastly, some little code optimization (looks far more convenient now), renaming of the host to replab (this is now also what you type into search bar for accessing the website) and I licensed the files under the GPLv3. (6h)
Fri Jul 7, 2017
Took longer than expected, but the uploader contains now a drag and drop and accepts mutliple uploads at once and mirrors the design of the website. (5h)
Thu Jul 6, 2017
Integrated the script into the Web Interface, the current model allows an upload via the 3dPrinter website. The upload then automatically converts the file into stl. Currently, the upload allows fcstd and stl files. The Upload blocks the website for the uploader until the upload is complete, after that, the file is already accessible in the Octoprint interface.
The upload is should take about a second per 20 kb of fcstd converting. This means, a 60 kb file takes 3 seconds of 'uploading'. (4h)
Drag and drop and a neater upload interface will be the next goal.
Wed Jul 5, 2017
Designed a script to convert fcstd to stl. It's tested and working, however it seems not to work perfectly with all Parts. I think this is not fault of the script but of freecad. It seems to impact only very complex forms, so I hope it won't impact our work. The script will be added to the zip as soon as it is implemented into the website. (3h)
Tue Jul 4, 2017
Wiped the Testpi end redeployed it in the simplest way possible and wrote the instructions down here How_to:_Create_Printer_Cluster_Image (1h)
Mon Jul 3, 2017
Added Lazyload to the iframes for a maximum of performance, added buttons for server management (reboot etc.), merged all data to a zip file with a how to, taking octopi as a basis. Package will be tested by me tomorrow. (3h) File:PrinterClusterData.zip
Sun Jul 2, 2017
Wrote a webtemplate for managing multiple instances of octoprint,
additionaly step by step instructions to make the OSE Printer Cluster image out of the octopi (8 h)
Sat Jul 1, 2017
Worked on Scanscript, ready for testing (6h)
Fri Jun 30, 2017
Got a SD card setup with octopi and written a documentation about how to do it right here
The Image itself btw can be found here
The hardware setup is displayed in the presentation already, so there is nothing holding us back from testing the software upon a printer. Additionaly, I've figured out some of the missing pieces and began writing a python script for autorecognition of the 3d printers. (5h)
Thu Jun 29, 2017
Got a step-by step plan about what should be done, learned about the G-Code and found those of interest for me from Marlin. (M115 gives me unique Data about the printer, M20 to M30 are used to read, write to the sd card and start the printing process from there) Found out how to reformat fcstd to stl with command line only (for automatic conversion on upload). (1,5h)
Tue Jun 27, 2017
Researched Methods for cluster management, communication between printer and computer etc. Most Promising: Octoprint
This can be run for several printers
Hardware is defined and set, list and setup in the presentation. Very rough price estimate: 45 $ + 20$/printer(5h)
Sun Jun 25, 2017
Finished FreeCAD test, Video is uploaded to youtube. https://www.youtube.com/watch?v=nkDFKByIPfE (about 7h)