This project provides an automated solution for generating machining cost quotes based on client emails containing CAD files. 📧
The script continuously scans for new emails and performs the following steps:
-
📥 Email Scan: The script actively monitors the specified email account for incoming messages.
-
🔎 Quote Request Detection: If a client sends an email with the subject "#quote" and attaches one or multiple STL files, the script identifies it as a quote request for CAD machining.
-
⬇️ Download Files: The attached STL files are automatically downloaded and stored in a designated "Staging Area" folder for processing.
-
🔄 File Conversion: The STL files are converted into the required binvox format using SSDNeT standards. This conversion prepares the files for predictions.
-
⚙️ Machining Feature Detection And Localization: SSDNeT is employed to analyze the CAD files and predict the machining features performed. This step provides insights into the required manufacturing processes.
-
💰 Cost and Time Estimation: Based on the predicted machining features and the volume of material to be machined, the script calculates the estimated cost and time required for the machining process.
-
📃 Quote Generation: A detailed quotation is generated in PDF format, including the breakdown of costs, machining features, and project timeline.
-
📝 Record Logging: The script updates a CSV log file with the filenames and unique identifiers (UID) of processed emails. This log ensures that previously processed emails are not reprocessed in the future.
-
📁 Archiving Files: The received and generated files are compressed into a zip file and stored in a local MySQL server. This enables easy retrieval and access to historical data.
Explore the code and documentation to learn more about this automated machining cost quoting solution. 🚀
