On 12/03/2014 at 10:29, xxxxxxxx wrote:
Hi
I know nothing about Python so please bear with me if this is the mother of all dumb questions.
I have to produce 62 models of industrial equipment. Certain parts of each model are coloured (all the same colour) and there are 12 different colour options. I have to produce a render for each colour option, so that's 62 models x 12 colour ways, making 744 renders in total.
So the plan is to do something like this…
Set up master scene that contains lighting and 12 materials.
Bring in model 1.
Drag all 12 materials onto relevant parts of model.
Save version 1.
Delete right most material tag.
Save version 2.
Delete right most material tag.
Save version 3
Delete rightmost material tag.
Save version 4.
And so on…
The saved files will all be sent off to a renderfarm.
So my question is, can Python automate the 'Delete rightmost material tag. Save version…' process so that, once I've applied the materials, I can just press 'execute' and it will delete the right most tag and save the file with a unique file name such as 'Sand Blaster 001', 'Sand Blaster 002' etc. into a folder of my choosing.
I don't even know if this is the sort of thing that Python is used for, so any guidance would be appreciated.
Thanks.