Class 14

Progress Update:

Since last class, I've decided to make some big changes to the way Mesa creates template folders and files.

Current status of Mesa

Since Monday, I've decide to reverse course and create temp folders and files from JSON template files. I'm deciding to continue in this direction to make the pipeline more flexible for future users. I'm also pursuing this path because I wanted to simplify my code.

On Monday, I would've had to write hard-coded functions to create the needed temp files for every asset type. By switching to an approach that uses templates, I can specify where these files need to go in the template, eliminating the need for specific scripts that create temporary files.

This is what the file prop.json looks like:

{ "name": "placeholder", "type": "folder", "contents": [ { "name": "geo", "type": "folder", "contents": [ { "name": "geo.usdc", "type": "file" } ] }, { "name": "mtl", "type": "folder", "contents": [ { "name": "tex", "type": "folder" }, { "name": "mtl.usdc", "type": "file" } ] }, { "name": "placeholder.usd", "type": "file" }, { "name": "placeholder_payload.usdc", "type": "file" } ]}