hurrmmm/blends
Spencer Killen 2c8f320441
controller partial
2023-11-11 09:15:31 -07:00
..
Makefile controller partial 2023-11-11 09:15:31 -07:00
README.md controller partial 2023-11-11 09:15:31 -07:00
export.py controller partial 2023-11-11 09:15:31 -07:00
small_room.blend controller partial 2023-11-11 09:15:31 -07:00
small_room.blend1 controller partial 2023-11-11 09:15:31 -07:00

README.md

Automating exports

each blend file has a text block named "export.py" which is usually just the file in this directory

Exporting from the Blender

  • Create a new text block by opening "export.py" Make sure to relativize the path by clicking "File>>External Data>>Make paths relative" Right now the script depends on the location of the script to find the root of the blends folder so it will not work if the export.py text block is internal
  • Create a collection named "export" and move the objects to be exported inside
  • Run the script inside Blender

Exporting from CLI

  • Save the blend file with a export collection as above
  • Run make