I know Python is the standard scripting language for use inside Blender, but I didn't find a way to create a .blend file with python.
What I want to do is not to use python inside blender, but rather "use blender (libs?) inside python".
My planned workflow would be the following:
- Define some parameters for my model;
- Define a "generative recipe" to create appropriate Blender objects that will be saved to file;
- Create a python script to store the parameters and procedures. When the script runs, some .blend file is created in the same folder;
- Use Blender to visualize the model. If model needs to be changed, make changes to the script, run it again, and open it again.