Hi Todd,
On 1/5/21 6:33 AM, Todd Zuercher wrote:
I've noticed what appears to be a lot of new development of new GUIs for
Linuxcnc lately. Here is an idea that I would love to see implemented in a new
GUI, but I do not have the programming skills to implement it. For our
production machines it would be nice for the supervisors to be able to set up a
que of g-code files for shifts to run. The que would be a list of g-code
files, and their location paths (possibly a network location), the number of
repeats to run, and possibly a material to be used description. Then the
machine operators would simply unload/load the machine, and press start, once
the required number of runs is completed the gui would automatically load the
next g-code file in the que and prompt the user what material to load for the
next run. How hard might something like this be to implement?
Todd Zuercher
P. Graham Dunn Inc.<http://www.pgrahamdunn.com/index.php>
630 Henry Street
Dalton, Ohio 44618
Phone: (330)828-2105ext. 2031
At least part of your proposal seems to be a logistics problem that
systems administrators have to deal with from time to time.
Think about it as a library of books or paper docs.
Good design should include hierarchy, document (file) naming scheme,
aging, logging, and index.
${HOME}/jobs/<clientAlfa>/
${HOME}/jobs/<clientAlfa>/<clientAlfa>.jobs
${HOME}/jobs/<clientAlfa>/2021-01-02/<clientAlfa>_partx-01.gcode
${HOME}/jobs/<clientAlfa>/2021-01-02/<clientAlfa>_party-02.gcode
${HOME}/jobs/<clientBeta>/<clientBeta>.jobs
${HOME}/jobs/<clientBeta>/<clientBeta>_party-01.gcode
${HOME}/jobs/<clientBeta>/<clientBeta>_party-02.gcode
${HOME}/jobs/<clientBeta>/<clientBeta>_party-03.gcode
${HOME}/jobs/<clientBeta>/<clientBeta>_partx-01.gcode
${HOME}/jobs/allJobs.list would contain file names and short
description about them in one line. Could be implemented in json format.
In general, file names alone should give you a hint where they come from
or belong to.
Large part of this could be done simply with a set of bash scripts.
Advanced design should be done in python IMO. Text based design with
ncurses would work fine in terminal mode. Midnight commander for
managing files is an excellent example of what I mean.
If the number of files grows into tens or hundreds I would use sqlite to
keep track of it all.
One thing should be forbidden, spaces in the file names. File names
should not start with uppercase characters because that requires two
fingers to type which is not always convenient.
--
Rafael
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users