This week, I implemented the file upload functionality for our Flask web interface, which is currently hosted locally on the Raspberry Pi. The site can now accept PDF uploads for processing. I also began experimenting with SpirePDF for parsing and converting PDFs into vector formats that will later feed into our toolpath generation pipeline.
By the end of next week, I plan to integrate the PDF parsing results with the SVG-to-G-code conversion flow. I’ll also work on improving the front-end feedback (status messages after upload) and maybe even look up some deployment options such as Gunicorn for non-local hosting.
I realized SpirePDF has some limitations with complex image PDFs, so I will need to do additional testing. This might set me a little behind schedule.