user: Describe ParticleSettings(ID) from the Blender manual or Python API, including usage steps and snippets.

assistant: # ParticleSettings(ID)

base classes — [`bpy_struct`](bpy.types.bpy_struct.html#bpy.types.bpy_struct "bpy.types.bpy_struct"), [`ID`](bpy.types.ID.html#bpy.types.ID "bpy.types.ID")

*class* bpy.types.ParticleSettings(*ID*)
:   Particle settings, reusable by multiple particle systems

    active_instanceweight
    :   Type:
        :   [`ParticleDupliWeight`](bpy.types.ParticleDupliWeight.html#bpy.types.ParticleDupliWeight "bpy.types.ParticleDupliWeight"), (readonly)

    active_instanceweight_index
    :   Type:
        :   int in [0, inf], default 0

    active_texture
    :   Active texture slot being displayed

        Type:
        :   [`Texture`](bpy.types.Texture.html#bpy.types.Texture "bpy.types.Texture")

    active_texture_index
    :   Index of active texture slot

        Type:
        :   int in [0, 17], default 0

    adaptive_angle
    :   How many degrees path has to curve to make another render segment

        Type:
        :   int in [0, 45], default 5

    adaptive_pixel
    :   How many pixels path has to cover to make another render segment

        Type:
        :   int in [0, 50], default 3

    angular_velocity_factor
    :   Angular velocity amount (in radians per second)

        Type:
        :   float in [-200, 200], default 0.0

    angular_velocity_mode
    :   What axis is used to change particle rotation with time

        Type:
        :   enum in [`'NONE'`, `'VELOCITY'`, `'HORIZONTAL'`, `'VERTICAL'`, `'GLOBAL_X'`, `'GLOBAL_Y'`, `'GLOBAL_Z'`, `'RAND'`], default `'VELOCITY'`

    animation_data
    :   Animation data for this data-block

        Type:
        :   [`AnimData`](bpy.types.AnimData.html#bpy.types.AnimData "bpy.types.AnimData"), (readonly)

    apply_effector_to_children
    :   Apply effectors to children

        Type:
        :   boolean, default False

    apply_guide_to_children
    :   Type:
        :   boolean, default False

    bending_random
    :   Random stiffness of hairs

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

    boids
    :   Type:
        :   [`BoidSettings`](bpy.types.BoidSettings.html#bpy.types.BoidSettings "bpy.types.BoidSettings"), (readonly)

    branch_threshold
    :   Threshold of branching

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

    brownian_factor
    :   Amount of random, erratic particle movement

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

    child_length
    :   Length of child paths

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

    child_length_threshold
    :   Amount of particles left untouched by child path length

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

    child_parting_factor
    :   Create parting in the children based on parent strands

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

    child_parting_max
    :   Maximum root to tip angle (tip distance/root distance for long hair)

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

    child_parting_min
    :   Minimum root to tip angle (tip distance/root distance for long hair)

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

    child_percent
    :   Number of children per parent

        Type:
        :   int in [0, 100000], default 10

    child_radius
    :   Radius of children around parent

        Type:
        :   float in [0, 100000], default 0.2

    child_roundness
    :   Roundness of children around parent

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

    child_size
    :   A multiplier for the child particle size

        Type:
        :   float in [0.001, 100000], default 1.0

    child_size_random
    :   Random variation to the size of the child particles

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

    child_type
    :   Create child particles

        Type:
        :   enum in [`'NONE'`, `'SIMPLE'`, `'INTERPOLATED'`], default `'NONE'`

    clump_curve
    :   Curve defining clump tapering

        Type:
        :   [`CurveMapping`](bpy.types.CurveMapping.html#bpy.types.CurveMapping "bpy.types.CurveMapping"), (readonly)

    clump_factor
    :   Amount of clumping

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

    clump_noise_size
    :   Size of clump noise

        Type:
        :   float in [1e-05, 100000], default 1.0

    clump_shape
    :   Shape of clumping

        Type:
        :   float in [-0.999, 0.999], default 0.0

    collision_collection
    :   Limit colliders to this collection

        Type:
        :   [`Collection`](bpy.types.Collection.html#bpy.types.Collection "bpy.types.Collection")

    color_maximum
    :   Maximum length of the particle color vector

        Type:
        :   float in [0.01, 100], default 1.0

    count
    :   Total number of particles

        Type:
        :   int in [0, inf], default 1000

    courant_target
    :   The relative distance a particle can move before requiring more subframes (target Courant number); 0.01 to 0.3 is the recommended range

        Type:
        :   float in [0.0001, 10], default 0.2

    create_long_hair_children
    :   Calculate children that suit long hair well

        Type:
        :   boolean, default False

    damping
    :   Amount of damping

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

    display_color
    :   Display additional particle data as a color

        Type:
        :   enum in [`'NONE'`, `'MATERIAL'`, `'VELOCITY'`, `'ACCELERATION'`], default `'MATERIAL'`

    display_method
    :   How particles are displayed in viewport

        Type:
        :   enum in [`'NONE'`, `'RENDER'`, `'DOT'`, `'CIRC'`, `'CROSS'`, `'AXIS'`], default `'RENDER'`

    display_percentage
    :   Percentage of particles to display in 3D view

        Type:
        :   int in [0, 100], default 100

    display_size
    :   Size of particles on viewport

        Type:
        :   float in [0, 1000], default 0.1

    display_step
    :   How many steps paths are displayed with (power of 2)

        Type:
        :   int in [0, 10], default 2

    distribution
    :   How to distribute particles on selected element

        Type:
        :   enum in [`'JIT'`, `'RAND'`, `'GRID'`], default `'JIT'`

    drag_factor
    :   Amount of air drag

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

    effect_hair
    :   Hair stiffness for effectors

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

    effector_amount
    :   How many particles are effectors (0 is all particles)

        Type:
        :   int in [0, 10000], default 0

    effector_weights
    :   Type:
        :   [`EffectorWeights`](bpy.types.EffectorWeights.html#bpy.types.EffectorWeights "bpy.types.EffectorWeights"), (readonly)

    emit_from
    :   Where to emit particles from

        Type:
        :   enum in [`'VERT'`, `'FACE'`, `'VOLUME'`], default `'FACE'`

    factor_random
    :   Give the starting velocity a random variation

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

    fluid
    :   Type:
        :   [`SPHFluidSettings`](bpy.types.SPHFluidSettings.html#bpy.types.SPHFluidSettings "bpy.types.SPHFluidSettings"), (readonly)

    force_field_1
    :   Type:
        :   [`FieldSettings`](bpy.types.FieldSettings.html#bpy.types.FieldSettings "bpy.types.FieldSettings"), (readonly)

    force_field_2
    :   Type:
        :   [`FieldSettings`](bpy.types.FieldSettings.html#bpy.types.FieldSettings "bpy.types.FieldSettings"), (readonly)

    frame_end
    :   Frame number to stop emitting particles

        Type:
        :   float in [-1.04857e+06, 1.04857e+06], default 200.0

    frame_start
    :   Frame number to start emitting particles

        Type:
        :   float in [-1.04857e+06, 1.04857e+06], default 1.0

    grid_random
    :   Add random offset to the grid locations

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

    grid_resolution
    :   The resolution of the particle grid

        Type:
        :   int in [1, 250], default 10

    hair_length
    :   Length of the hair

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

    hair_step
    :   Number of hair segments

        Type:
        :   int in [2, 32767], default 5

    hexagonal_grid
    :   Create the grid in a hexagonal pattern

        Type:
        :   boolean, default False

    instance_collection
    :   Show objects in this collection in place of particles

        Type:
        :   [`Collection`](bpy.types.Collection.html#bpy.types.Collection "bpy.types.Collection")

    instance_object
    :   Show this object in place of particles

        Type:
        :   [`Object`](bpy.types.Object.html#bpy.types.Object "bpy.types.Object")

    instance_weights
    :   Weights for all of the objects in the instance collection

        Type:
        :   [`bpy_prop_collection`](bpy.types.bpy_prop_collection.html#bpy.types.bpy_prop_collection "bpy.types.bpy_prop_collection") of [`ParticleDupliWeight`](bpy.types.ParticleDupliWeight.html#bpy.types.ParticleDupliWeight "bpy.types.ParticleDupliWeight"), (readonly)

    integrator
    :   Algorithm used to calculate physics, from the fastest to the most stable and accurate: Midpoint, Euler, Verlet, RK4

        Type:
        :   enum in [`'EULER'`, `'VERLET'`, `'MIDPOINT'`, `'RK4'`], default `'MIDPOINT'`

    invert_grid
    :   Invert what is considered object and what is not

        Type:
        :   boolean, default False

    is_fluid
    :   Particles were created by a fluid simulation

        Type:
        :   boolean, default False, (readonly)

    jitter_factor
    :   Amount of jitter applied to the sampling

        Type:
        :   float in [0, 2], default 1.0

    keyed_loops
    :   Number of times the keys are looped

        Type:
        :   int in [1, 10000], default 1

    keys_step
    :   Type:
        :   int in [0, 32767], default 5

    kink
    :   Type of periodic offset on the path

        Type:
        :   enum in [`'NO'`, `'CURL'`, `'RADIAL'`, `'WAVE'`, `'BRAID'`, `'SPIRAL'`], default `'NO'`

    kink_amplitude
    :   The amplitude of the offset

        Type:
        :   float in [-100000, 100000], default 0.2

    kink_amplitude_clump
    :   How much clump affects kink amplitude

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

    kink_amplitude_random
    :   Random variation of the amplitude

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

    kink_axis
    :   Which axis to use for offset

        Type:
        :   enum in [Axis Xyz Items](bpy_types_enum_items/axis_xyz_items.html#rna-enum-axis-xyz-items), default `'Z'`

    kink_axis_random
    :   Random variation of the orientation

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

    kink_extra_steps
    :   Extra steps for resolution of special kink features

        Type:
        :   int in [1, inf], default 4

    kink_flat
    :   How flat the hairs are

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

    kink_frequency
    :   The frequency of the offset (1/total length)

        Type:
        :   float in [-100000, 100000], default 2.0

    kink_shape
    :   Adjust the offset to the beginning/end

        Type:
        :   float in [-0.999, 0.999], default 0.0

    length_random
    :   Give path length a random variation

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

    lifetime
    :   Life span of the particles

        Type:
        :   float in [1, 1.04857e+06], default 50.0

    lifetime_random
    :   Give the particle life a random variation

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

    line_length_head
    :   Length of the line’s head

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

    line_length_tail
    :   Length of the line’s tail

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

    lock_boids_to_surface
    :   Constrain boids to a surface

        Type:
        :   boolean, default False

    mass
    :   Mass of the particles

        Type:
        :   float in [1e-08, 100000], default 1.0

    material
    :   Index of material slot used for rendering particles

        Type:
        :   int in [1, 32767], default 1

    material_slot
    :   Material slot used for rendering particles

        Type:
        :   enum in [`'DEFAULT'`], default `'DEFAULT'`

    normal_factor
    :   Let the surface normal give the particle a starting velocity

        Type:
        :   float in [-1000, 1000], default 1.0

    object_align_factor
    :   Let the emitter object orientation give the particle a starting velocity

        Type:
        :   [`mathutils.Vector`](mathutils.html#mathutils.Vector "mathutils.Vector") of 3 items in [-200, 200], default (0.0, 0.0, 0.0)

    object_factor
    :   Let the object give the particle a starting velocity

        Type:
        :   float in [-200, 200], default 0.0

    particle_factor
    :   Let the target particle give the particle a starting velocity

        Type:
        :   float in [-200, 200], default 0.0

    particle_size
    :   The size of the particles

        Type:
        :   float in [0.001, 100000], default 0.05

    path_end
    :   End time of path

        Type:
        :   float in [-inf, inf], default 1.0

    path_start
    :   Starting time of path

        Type:
        :   float in [-inf, inf], default 0.0

    phase_factor
    :   Rotation around the chosen orientation axis

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

    phase_factor_random
    :   Randomize rotation around the chosen orientation axis

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

    physics_type
    :   Particle physics type

        Type:
        :   enum in [`'NO'`, `'NEWTON'`, `'KEYED'`, `'BOIDS'`, `'FLUID'`], default `'NEWTON'`

    radius_scale
    :   Multiplier of diameter properties

        Type:
        :   float in [0, inf], default 0.01

    react_event
    :   The event of target particles to react on

        Type:
        :   enum in [`'DEATH'`, `'COLLIDE'`, `'NEAR'`], default `'DEATH'`

    reactor_factor
    :   Let the vector away from the target particle’s location give the particle a starting velocity

        Type:
        :   float in [-10, 10], default 0.0

    render_step
    :   How many steps paths are rendered with (power of 2)

        Type:
        :   int in [0, 20], default 3

    render_type
    :   How particles are rendered

        Type:
        :   enum in [`'NONE'`, `'HALO'`, `'LINE'`, `'PATH'`, `'OBJECT'`, `'COLLECTION'`], default `'HALO'`

    rendered_child_count
    :   Number of children per parent for rendering

        Type:
        :   int in [0, 100000], default 100

    root_radius
    :   Strand diameter width at the root

        Type:
        :   float in [0, inf], default 1.0

    rotation_factor_random
    :   Randomize particle orientation

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

    rotation_mode
    :   Particle orientation axis (does not affect Explode modifier’s results)

        Type:
        :   enum in [`'NONE'`, `'NOR'`, `'NOR_TAN'`, `'VEL'`, `'GLOB_X'`, `'GLOB_Y'`, `'GLOB_Z'`, `'OB_X'`, `'OB_Y'`, `'OB_Z'`], default `'VEL'`

    roughness_1
    :   Amount of location dependent roughness

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

    roughness_1_size
    :   Size of location dependent roughness

        Type:
        :   float in [0.01, 100000], default 1.0

    roughness_2
    :   Amount of random roughness

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

    roughness_2_size
    :   Size of random roughness

        Type:
        :   float in [0.01, 100000], default 1.0

    roughness_2_threshold
    :   Amount of particles left untouched by random roughness

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

    roughness_curve
    :   Curve defining roughness

        Type:
        :   [`CurveMapping`](bpy.types.CurveMapping.html#bpy.types.CurveMapping "bpy.types.CurveMapping"), (readonly)

    roughness_end_shape
    :   Shape of endpoint roughness

        Type:
        :   float in [0, 10], default 1.0

    roughness_endpoint
    :   Amount of endpoint roughness

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

    shape
    :   Strand shape parameter

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

    show_guide_hairs
    :   Show guide hairs

        Type:
        :   boolean, default False

    show_hair_grid
    :   Show hair simulation grid

        Type:
        :   boolean, default False

    show_health
    :   Display boid health

        Type:
        :   boolean, default False

    show_number
    :   Show particle number

        Type:
        :   boolean, default False

    show_size
    :   Show particle size

        Type:
        :   boolean, default False

    show_unborn
    :   Show particles before they are emitted

        Type:
        :   boolean, default False

    show_velocity
    :   Show particle velocity

        Type:
        :   boolean, default False

    size_random
    :   Give the particle size a random variation

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

    subframes
    :   Subframes to simulate for improved stability and finer granularity simulations (dt = timestep / (subframes + 1))

        Type:
        :   int in [0, 1000], default 0

    tangent_factor
    :   Let the surface tangent give the particle a starting velocity

        Type:
        :   float in [-1000, 1000], default 0.0

    tangent_phase
    :   Rotate the surface tangent

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

    texture_slots
    :   Texture slots defining the mapping and influence of textures

        Type:
        :   [`ParticleSettingsTextureSlots`](bpy.types.ParticleSettingsTextureSlots.html#bpy.types.ParticleSettingsTextureSlots "bpy.types.ParticleSettingsTextureSlots") [`bpy_prop_collection`](bpy.types.bpy_prop_collection.html#bpy.types.bpy_prop_collection "bpy.types.bpy_prop_collection") of [`ParticleSettingsTextureSlot`](bpy.types.ParticleSetti