safety, glbs now have no sanitizing of file names; png & webP conversions work

This commit is contained in:
John Poole 2026-03-05 13:53:27 -08:00
commit 8181c9b2d4
11 changed files with 267 additions and 878 deletions

View file

@ -4,8 +4,11 @@ Voron Project STL creating customer manifests where parts are easily discernible
# Directories
You will have three directory trees:
1) Voron Directory - this is a directory you create and then perform "git clone..." for each of the Voron projects you need STL files from. The files of interest in the tree are the STL files (warning: not all STL files have lowercase .stl suffixes). This is a read-only (git updatable) directory and the STL files there are the source of truth.
2) Staging Area - this is a directory you create where the links to the STL files within Voron Root Directory. The links are created under an identical tree structure. The Staging area also will also hold the *.glb files that are created from the STLs using Blender. This area will also hold the final HTML and its PNGs copied from the Project Code Area's pngs folder.
3) Project Code Area - this project's git clone directory. Note: there are two working directories were interim links to glbs and files, generated PNG images, are stored:
1) Source [Voron] Directory - this is a directory you create and then perform "git clone..." for each of the Voron projects you need STL files from. The files of interest in the tree are the STL files (warning: not all STL files have lowercase .stl suffixes). This is treated as read-only, though git updatable, directory and the STL files there are the source of truth. The approach is that if we want an STL file, then we read it from this tree and nowhere else.
2) Staging Area - The Staging area houses the *.glb files that are created from the STLs using Blender. The directory structure and the associated *.glb file is created by the script XXX. This area will also hold the final HTML and its PNGs copied from the Project Code Area's pngs folder.
3) Code Area - this project's git clone directory. Note: there are two working directories were interim links to glbs and files, generated PNG images, are stored:
A) ...web/batch_glb_png/glbs - this is where links to the glb files (originals in the Staging Area) are staged
B) ...web/batch_glb_png/pngs - these are the PNG files created from the glbs [links]