The server hands over an order as a single archive. The program unpacks it and lays the files out not «as in the archive» but by type — so that each folder can be handed to its own machine with a single copying rule.
The folders inside the orders folder
cuting\— the cutting maps: the saw program and the picture of the map.gl_<machine>\<order number>\xnc_part\— the CNC programs for each part.gl_<machine>\<order number>\xnc_cut\— the CNC programs for the cutting map.ifp_lbl\<order number>\— the source labels of the parts.lbl_print\<order number>\— the print-ready labels (they appear after conversion).SVG\<order number>\— the drawings of the parts for viewing. They are not converted and do not go to the machines.is_<machine>\<order number>\<operation>\— the files for the Felder / Otto Mayer sawing centres, including the.mayformat.giblab_projects\andgiblab_requests\— the projects and requests of the cutting program.errors\<order number>\— this is where what the server marked as a generation error goes. If the folder is growing, it has to be dealt with on the server, not in the program.
Everything that did not fit any type is put into a folder named after the file extension.
Why the order number is in every path
The order number in the path is not for beauty. By it the program knows which order a file belongs to: which files to copy to the machine, which to delete when the order is withdrawn and which to show in the card. A file whose path has no number is considered foreign by the program and is not touched — neither copied nor deleted.
Hence a practical rule: do not move files around inside the orders folder by hand and do not rename the folders with the numbers.
What happens when an order is downloaded again
If the order has been rebuilt on the server, the program first erases the old files of that order and only then downloads the new ones. This way a mix of the old and the new layout will not get onto the machine. That is why edits made by hand in the order files will be lost on a rebuild.
How much it weighs
The bulk is the cutting maps and the labels. Orders are kept on the disk for as many days as set in time.txt, and are not deleted by themselves if the order has not been withdrawn on the server. About cleanup — How many orders to keep and how to clean the disk.
Which machine gets which format — CNC post-processors.