user: How do I use Bpy.Types.Brushgpencilsettings in Blender? Include parameters, examples, warnings and best practices.

assistant: ], default 0.0 pen_smooth_factor ¶ Amount of smoothing to apply after finish newly created strokes, to reduce jitter/noise Type : float in [0, 2], default 0.0 pen_smooth_steps ¶ Number of times to smooth newly created strokes Type : int in [0, 100], default 0 pen_strength ¶ Color strength for new strokes (affect alpha factor of color) Type : float in [0, 1], default 0.0 pen_subdivision_steps ¶ Number of times to subdivide newly created strokes, for less jagged strokes Type : int in [0, 3], default 0 pin_draw_mode ¶ Pin the mode to the brush Type : boolean, default False random_hue_factor ¶ Random factor to modify original hue Type : float in [0, 1], default 0.0 random_pressure ¶ Randomness factor for pressure in new strokes Type : float in [0, 1], default 0.0 random_saturation_factor ¶ Random factor to modify original saturation Type : float in [0, 1], default 0.0 random_strength ¶ Randomness factor strength in new strokes Type : float in [0, 1], default 0.0 random_value_factor ¶ Random factor to modify original value Type : float in [0, 1], default 0.0 show_fill ¶ Show transparent lines to use as boundary for filling Type : boolean, default True show_fill_boundary ¶ Show help lines for filling to see boundaries Type : boolean, default True show_fill_extend ¶ Show help lines for stroke extension Type : boolean, default True show_lasso ¶ Do not display fill color while drawing the stroke Type : boolean, default False simplify_factor ¶ Factor of Simplify using adaptive algorithm Type : float in [0, 100], default 0.0 simplify_pixel_threshold ¶ Threshold in screen space used for the simplify algorithm. Points within this threshold are treated as if they were in a straight line. Type : float in [0, 10], default 0.0 use_active_layer_only ¶ Only edit the active layer of the object Type : boolean, default False use_auto_remove_fill_guides ¶ Automatically remove fill guide strokes after fill operation Type : boolean, default True use_collide_strokes ¶ Check if extend lines collide with strokes Type : boolean, default False use_edit_position ¶ The brush affects the position of the point Type : boolean, default False use_edit_strength ¶ The brush affects the color strength of the point Type : boolean, default False use_edit_thickness ¶ The brush affects the thickness of the point Type : boolean, default False use_edit_uv ¶ The brush affects the UV rotation of the point Type : boolean, default False use_fill_limit ¶ Fill only visible areas in viewport Type : boolean, default True use_jitter_pressure ¶ Use tablet pressure for jitter Type : boolean, default False use_keep_caps_eraser ¶ Keep the caps as they are and don’t flatten them when erasing Type : boolean, default False use_material_pin ¶ Keep material assigned to brush Type : boolean, default False use_occlude_eraser ¶ Erase only strokes visible and not occluded Type : boolean, default False use_pressure ¶ Use tablet pressure Type : boolean, default False use_random_press_hue ¶ Use pressure to modulate randomness Type : boolean, default False use_random_press_radius ¶ Use pressure to modulate randomness Type : boolean, default False use_random_press_sat ¶ Use pressure to modulate randomness Type : boolean, default False use_random_press_strength ¶ Use pressure to modulate randomness Type : boolean, default False use_random_press_uv ¶ Use pressure to modulate randomness Type : boolean, default False use_random_press_val ¶ Use pressure to modulate randomness Type : boolean, default False use_settings_outline ¶ Convert stroke to outline Type : boolean, default False use_settings_postprocess ¶ Additional post processing options for new strokes Type : boolean, default False use_settings_random ¶ Random brush settings Type : boolean, default False use_settings_stabilizer ¶ Draw lines with a delay to allow smooth strokes (press Shift key to override while drawing) Type : boolean, default True use_strength_pressure ¶ Use tablet pressure for color strength Type : boolean, default False use_stroke_random_hue ¶ Use randomness at stroke level Type : boolean, default False use_stroke_random_radius ¶ Use randomness at stroke level Type : boolean, default False use_stroke_random_sat ¶ Use randomness at stroke level Type : boolean, default False use_stroke_random_strength ¶ Use randomness at stroke level Type : boolean, default False use_stroke_random_uv ¶ Use randomness at stroke level Type : boolean, default False use_stroke_random_val ¶ Use randomness at stroke level Type : boolean, default False use_trim ¶ Trim intersecting stroke ends Type : boolean, default False uv_random ¶ Random factor for auto-generated UV rotation Type : float in [0, 1], default 0.0 vertex_color_factor ¶ Factor used to mix vertex color to get final color Type : float in [0, 1], default 0.0 vertex_mode ¶ Defines how vertex color affect to the strokes STROKE Stroke – Vertex Color affects to Stroke only. FILL Fill – Vertex Color affects to Fill only. BOTH Stroke & Fill – Vertex Color affects to Stroke and Fill. Type : enum in [ 'STROKE' , 'FILL' , 'BOTH' ], default 'STROKE' classmethod bl_rna_get_subclass ( id , default = None , / ) ¶ Parameters : id ( str ) – The RNA type identifier. Returns : The RNA type or default when not found. Return type : bpy.types.Struct subclass classmethod bl_rna_get_subclass_py ( id , default = None , / ) ¶ Parameters : id ( str ) – The RNA type identifier. Returns : The class or default when not found. Return type : type Inherited Properties ¶ bpy_struct.id_data Inherited Functions ¶ bpy_struct.as_pointer bpy_struct.driver_add bpy_struct.driver_remove bpy_struct.get bpy_struct.id_properties_clear bpy_struct.id_properties_ensure bpy_struct.id_properties_ui bpy_struct.is_property_hidden bpy_struct.is_property_overridable_library bpy_struct.is_property_readonly bpy_struct.is_property_set bpy_struct.items bpy_struct.keyframe_delete bpy_struct.keyframe_insert bpy_struct.keys bpy_struct.path_from_id bpy_struct.path_from_module bpy_struct.path_resolve bpy_struct.pop bpy_struct.property_overridable_library_set bpy_struct.property_unset bpy_struct.rna_ancestors bpy_struct.type_recast bpy_struct.values References ¶ Brush.gpencil_settings Next BrushTextureSlot(TextureSlot) Previous BrushCurvesSculptSettings(bpy_struct) Copyright &#169; Blender Authors Made with Furo Report issue on this page On this page BrushGpencilSettings(bpy_struct) BrushGpencilSettings BrushGpencilSettings.active_smooth_factor BrushGpencilSettings.angle BrushGpencilSettings.angle_factor BrushGpencilSettings.aspect BrushGpencilSettings.brush_draw_mode BrushGpencilSettings.caps_type BrushGpencilSettings.curve_jitter BrushGpencilSettings.curve_random_hue BrushGpencilSettings.curve_random_pressure BrushGpencilSettings.curve_random_saturation BrushGpencilSettings.curve_random_strength BrushGpencilSettings.curve_random_uv BrushGpencilSettings.curve_random_value BrushGpencilSettings.curve_sensitivity BrushGpencilSettings.curve_strength BrushGpencilSettings.dilate BrushGpencilSettings.eraser_mode BrushGpencilSettings.eraser_strength_factor BrushGpencilSettings.eraser_thickness_factor BrushGpencilSettings.extend_stroke_factor BrushGpencilSettings.fill_direction BrushGpencilSettings.fill_draw_mode BrushGpencilSettings.fill_extend_mode BrushGpencilSettings.fill_factor BrushGpencilSettings.fill_layer_mode BrushGpencilSettings.fill_simplify_level BrushGpencilSettings.fill_threshold BrushGpencilSettings.hardness BrushGpencilSettings.input_samples BrushGpencilSettings.material BrushGpencilSettings.material_alt BrushGpencilSettings.outline_thickness_factor BrushGpencilSettings.pen_jitter BrushGpencilSettings.pen_smooth_factor BrushGpencilSettings.pen_smooth_steps BrushGpencilSettings.pen_strength BrushGpencilSettings.pen_subdivision_steps BrushGpencilSettings.pin_draw_mode BrushGpencilSettings.random_hue_factor BrushGpencilSettings.random_pressure BrushGpencilSettings.random_saturation_factor BrushGpencilSettings.random_strength BrushGpencilSettings.random_value_factor BrushGpencilSettings.show_fill BrushGpencilSettings.show_fill_boundary BrushGpencilSettings.show_fill_extend BrushGpencilSettings.show_lasso BrushGpencilSettings.simplify_factor BrushGpencilSettings.simplify_pixel_threshold BrushGpencilSettings.use_active_layer_only BrushGpencilSettings.use_auto_remove_fill_guides BrushGpencilSettings.use_collide_strokes BrushGpencilSettings.use_edit_position BrushGpencilSettings.use_edit_strength BrushGpencilSettings.use_edit_thickness BrushGpencilSettings.use_edit_uv BrushGpencilSettings.use_fill_limit BrushGpencilSettings.use_jitter_pressure BrushGpencilSettings.use_keep_caps_eraser BrushGpencilSettings.use_material_pin BrushGpencilSettings.use_occlude_eraser BrushGpencilSettings.use_pressure BrushGpencilSettings.use_random_press_hue BrushGpencilSettings.use_random_press_radius BrushGpencilSettings.use_random_press_sat BrushGpencilSettings.use_random_press_strength BrushGpencilSettings.use_random_press_uv BrushGpencilSettings.use_random_press_val BrushGpencilSettings.use_settings_outline BrushGpencilSettings.use_settings_postprocess BrushGpencilSettings.use_settings_random BrushGpencilSettings.use_settings_stabilizer BrushGpencilSettings.use_strength_pressure BrushGpencilSettings.use_stroke_random_hue BrushGpencilSettings.use_stroke_random_radius BrushGpencilSettings.use_stroke_random_sat BrushGpencilSettings.use_stroke_random_strength BrushGpencilSettings.use_stroke_random_uv BrushGpencilSettings.use_stroke_random_val BrushGpencilSettings.use_trim BrushGpencilSettings.uv_random BrushGpencilSettings.vertex_color_factor BrushGpencilSettings.vertex_mode BrushGpencilSettings.bl_rna_get_subclass() BrushGpencilSettings.bl_rna_get_subclass_py() Inherited Properties Inherited Functions References