SPHFluidSettings(bpy_struct)

base class — bpy_struct

class bpy.types.SPHFluidSettings(bpy_struct)

Settings for particle fluids physics

buoyancy

Artificial buoyancy force in negative gravity direction based on pressure differences inside the fluid

Type :float in [0, 1], default 0.0
density_force

How strongly the fluid tends to rest density

Type :float in [0, 100], default 0.0
fluid_radius

Fluid interaction radius

Type :float in [0, 20], default 0.0
linear_viscosity

Linear viscosity

Type :float in [0, 100], default 0.0
plasticity

How much the spring rest length can change after the elastic limit is crossed

Type :float in [0, 1], default 0.0
repulsion_force

How strongly the fluid tries to keep from clustering

Type :float in [0, 100], default 0.0
rest_density

Rest density of the fluid

Type :float in [0, 1000], default 0.0
rest_length

Spring rest length (factor of interaction radius)

Type :float in [0, 1], default 0.0
spring_force

Spring force

Type :float in [0, 100], default 0.0
square_viscosity

Square viscosity

Type :float in [0, 100], default 0.0
use_initial_rest_length

Use the initial length as spring rest length instead of interaction radius/2

Type :boolean, default False
use_viscoelastic_springs

Use viscoelastic springs instead of Hooke’s springs

Type :boolean, default False
yield_ratio

How much the spring has to be stretched/compressed in order to change it’s rest length

Type :float in [0, 1], default 0.0

Inherited Properties

Inherited Functions

References

Previous topic

RigidBodyJointConstraint(Constraint)

Next topic

Scene(ID)