Hi Blender Python users!
I was just wondering if anyone knows a way to key frame the particle size of a smoke flow particle system over time with a python script.
For example: I would like to change the flow settings particle size to start at size=1 and end at size= 0.1
Great community here! Thanks for your help!
Right now my script looks like this.
bpy.ops.object.modifier_add(type='SMOKE')
bpy.context.object.modifiers["Smoke"].smoke_type = 'FLOW'
bpy.context.object.modifiers["Smoke"].flow_settings.smoke_flow_type = 'FIRE'
bpy.context.object.modifiers["Smoke"].flow_settings.smoke_flow_source = 'PARTICLES'
bpy.context.object.modifiers["Smoke"].flow_settings.particle_system = bpy.data.objects["Smoke/Fire Particle Emitter"].particle_systems["ParticleSystem"]
bpy.context.object.modifiers["Smoke"].flow_settings.use_initial_velocity = True
bpy.context.object.modifiers["Smoke"].flow_settings.velocity_factor = 0.2
bpy.context.object.modifiers["Smoke"].flow_settings.use_particle_size = True
bpy.context.object.modifiers["Smoke"].flow_settings.particle_size = 1.2
bpy.context.object.modifiers["Smoke"].flow_settings.subframes = 50
bpy.context.object.modifiers["Smoke"].flow_settings.use_absolute = False