I mentioned I was working on a python SQL database. Maybe it could be incorporated into Phil's config.
This python script initialises a database with around 9 tables in it and loads a metric cut chart for mild steel and the Hypertherm 45xp.
For each material thickness, there are two cut chart entries for each one. One at Best Quality and the other at Production quality per the Hypertherm cutchart in the manual. Many of the database tables are one offs and probably don't need ongoing modification
Note that the database supports metric and imperial cutcharts but I've only entered a metric cut chart for now.
Run it from the command prompt.
Code:
python plasmainit.py
This python script acesses the database and prints a crude cut chart (more like a data dump for each row in the table). It does lots of joins to pull all of the data together.
File Attachment:
File Name:
cutchart.py
File Size:2.09 KB
Run it from the command prompt.
Note the last line of the SELECT statement includes a WHERE clause to filter out either best quality settings or use production quality settings.
I was kinda hoping that somebody might like to incorporate this into the GUI. I envisaged there would be a drop down to select a machine, material, cut quality and the like so that the database could populate the cut parameters to make this a truly plug and play interface. I can code the data structures and populate the database but man, I need to write a file import routine as hardcoding the data really sucked to build the cutchart! Plus I'm not so good at coding the GUI stuff.
Anyway, please give some feedback on these scripts and let me know if this idea is worth adopting. If its got support, I'll work on a CSV cutchart import routine to get away from the hardcoded inset statements.