hurrmmm/blends
alex-kumpula 04def51693 Added Domino 2023-11-12 14:04:14 -07:00
..
.gitignore occlusion 2023-11-11 13:08:24 -07:00
Child_Colour.png Added child 2023-11-12 01:23:21 -07:00
Child_Normal.png Added child 2023-11-12 01:23:21 -07:00
Domino.blend Added Domino 2023-11-12 14:04:14 -07:00
Domino_Colour.png Added Domino 2023-11-12 14:04:14 -07:00
Igloo_Colour.png Added Igloo 2023-11-12 02:53:06 -07:00
Igloo_Normal.png Added Igloo 2023-11-12 02:53:06 -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
balloon.blend Added Balloon 2023-11-12 13:30:55 -07:00
cake.blend cake 2023-11-12 01:42:51 -07:00
cake_albedo.png cake 2023-11-12 01:42:51 -07:00
cake_normals.png cake 2023-11-12 01:42:51 -07:00
child.blend a 2023-11-12 03:16:34 -07:00
export.py child child 2023-11-12 02:59:43 -07:00
grape.blend progress 2023-11-11 16:12:46 -07:00
igloo.blend Added Igloo 2023-11-12 02:53:06 -07:00
small_room.blend progress 2023-11-11 16:12:46 -07:00
small_room.blend1 progress 2023-11-11 16:12:46 -07:00
string.blend Added Balloon 2023-11-12 13:30:55 -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