Christian Rupp Log: Difference between revisions
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
Took a while to figure out the errors, there were two; rc.local had the wrong permissions, I added the necessary steps to the instructional, and a classic mistake in the Scanner (intendation error...), not quite sure where that came from. | Took a while to figure out the errors, there were two; rc.local had the wrong permissions, I added the necessary steps to the instructional, and a classic mistake in the Scanner (intendation error...), not quite sure where that came from. | ||
Additionaly I figured out how to make the image for distribution only as small as the files contained, other than the size of my SD card (which would make the use of a 4 GB SD card impossible). All is now uploaded, corrected, tested and well. ( | Additionaly I figured out how to make the image for distribution only as small as the files contained, other than the size of my SD card (which would make the use of a 4 GB SD card impossible). All is now uploaded, corrected, tested and well. (5h) | ||
=Wed Jul 26, 2017= | =Wed Jul 26, 2017= |
Revision as of 22:38, 27 July 2017
Status - Done: ...WebInterface, Basic Scripts, Documentation of setup To Do: Post bio on Developers page, Testing, Soon tasks about organizing wiki and/or migrating the site Blocks: ...
D3D Log. Development Team Log. Marcin Log. OSE Hangout Jitsi Meetup. Time Sheet.
Thu Jul 27, 2017
Took a while to figure out the errors, there were two; rc.local had the wrong permissions, I added the necessary steps to the instructional, and a classic mistake in the Scanner (intendation error...), not quite sure where that came from.
Additionaly I figured out how to make the image for distribution only as small as the files contained, other than the size of my SD card (which would make the use of a 4 GB SD card impossible). All is now uploaded, corrected, tested and well. (5h)
Wed Jul 26, 2017
Started the documentation of the testing and created a main article on the printer cluster, including all the used ressources, install instructions, testing results and all the information I collected while I was setting up and configuring the image. All of this is now collected here: 3d_Printer_Cluster
However, I was confronted with problems on the image I was uploading to my drive, I'll have to redo some things there... (4h)
Tue Jul 25, 2017
Got the testing scenario right, tested on and finished.
Did refurbish the code a bit and uploaded the new version.
The Image is now collected and done, it lays in my drive right here Printer Cluster for installation, just follow these Instructions How_to:Write_Image_to_SD_Card. More detailed Documentation tomorrow. (7h)
Mon Jul 24, 2017
Started testing, couldn't however communicate with the Marlin; possible solutions:
1. Marlin wasn't setup properly: check by sending GCode via USB from a 3d print software.
2. Pins aren't setup properly: May need its power from the USB to UART, not only ground... (till now, I power comes from USB)
3. Contact protocol is wrong: Check the Bitrate (with step 1) and the /dev folder on whats appearing on plugging in
Sat Jul 22, 2017
Took part of the sprint for the CEB Press, I did insert new rods
Also stayed for the filament extruder. As there was nothing to do for me, I setup my freshly arrived Ardurinos . All thats missing now for testing is the USB to UART converter, I can and will pick it up on monday (5h)
Fri Jul 21, 2017
Preparated the software for testing, adding slicing profile to script, configured Marlin, ready for the ardurinos to arrive(3,5h)
Thu Jul 20, 2017
Talked with Michael on how I can help administering the server (1h)
Wed Jul 19, 2017
I was given the task of making the wiki more accessible, so I asked myself
How can we organize the current information on the wiki?
The sites have to be hierarchical, so there are main sites, that redirect to more specific undercategories. Crossreferences are no problem of course, this is only about quickly aquiring information. This means also that those hierarchical links should be displayed prominently. For organising the information in that way, we have to map the wiki first, so we can manually decide how the every site should be reachable from the main page.
The following tools will therefore be of use:
Simpler Variant, maybe interesting if we have to modify the script
Additionaly, I ordered the more parts necessary for setting up a printer cluster on my own (at least the software-site). Documentation will follow when I start the setup (2h)
Friday Jul 14, 2017
Setup the Pi with marcin, gave me SSH access cia DynDNS (4,5h)
Wednesday Jul 12, 2017
Learned about AT code, about how to connect with the RC12 module and some other details for setting up the transceiver (2h)
Tuesday Jul 11, 2017
Tried to setup the SD card with Marcin, failed because of different errors (2h)
Sun Jul 9, 2017
Written a definite manual on how to setup software and hardware in its entirety. The instructions are in the google spreadsheet seen below (Jun 27). (0,5h)
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)
That means the user interface is done and ready for testing. Changes will now only impact the Scanner and Maybe some design wishes (I'm open for requests) for the website.
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)