fake-bpy-module 20240421__py3-none-any.whl → 20240422__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (187) hide show
  1. bl_operators/add_mesh_torus/__init__.pyi +2 -1
  2. bl_operators/assets/__init__.pyi +12 -12
  3. bl_operators/geometry_nodes/__init__.pyi +256 -238
  4. bl_operators/node/__init__.pyi +262 -260
  5. bl_operators/object_quick_effects/__init__.pyi +19 -19
  6. bl_operators/presets/__init__.pyi +371 -368
  7. bl_operators/wm/__init__.pyi +4 -4
  8. bl_ui/__init__.pyi +3 -3
  9. bl_ui/anim/__init__.pyi +1 -1
  10. bl_ui/asset_shelf/__init__.pyi +1 -1
  11. bl_ui/generic_ui_list/__init__.pyi +3 -3
  12. bl_ui/node_add_menu/__init__.pyi +1 -1
  13. bl_ui/node_add_menu_compositor/__init__.pyi +18 -18
  14. bl_ui/node_add_menu_geometry/__init__.pyi +50 -48
  15. bl_ui/node_add_menu_shader/__init__.pyi +10 -10
  16. bl_ui/node_add_menu_texture/__init__.pyi +9 -9
  17. bl_ui/properties_collection/__init__.pyi +39 -25
  18. bl_ui/properties_constraint/__init__.pyi +1257 -1041
  19. bl_ui/properties_data_armature/__init__.pyi +120 -96
  20. bl_ui/properties_data_bone/__init__.pyi +36 -29
  21. bl_ui/properties_data_camera/__init__.pyi +32 -14
  22. bl_ui/properties_data_curve/__init__.pyi +143 -116
  23. bl_ui/properties_data_curves/__init__.pyi +30 -25
  24. bl_ui/properties_data_empty/__init__.pyi +21 -21
  25. bl_ui/properties_data_gpencil/__init__.pyi +297 -260
  26. bl_ui/properties_data_grease_pencil/__init__.pyi +228 -205
  27. bl_ui/properties_data_lattice/__init__.pyi +25 -22
  28. bl_ui/properties_data_light/__init__.pyi +44 -31
  29. bl_ui/properties_data_lightprobe/__init__.pyi +54 -32
  30. bl_ui/properties_data_mesh/__init__.pyi +579 -570
  31. bl_ui/properties_data_metaball/__init__.pyi +29 -24
  32. bl_ui/properties_data_modifier/__init__.pyi +55 -43
  33. bl_ui/properties_data_pointcloud/__init__.pyi +146 -139
  34. bl_ui/properties_data_shaderfx/__init__.pyi +13 -13
  35. bl_ui/properties_data_speaker/__init__.pyi +27 -24
  36. bl_ui/properties_data_volume/__init__.pyi +75 -68
  37. bl_ui/properties_freestyle/__init__.pyi +407 -284
  38. bl_ui/properties_grease_pencil_common/__init__.pyi +13 -13
  39. bl_ui/properties_mask_common/__init__.pyi +7 -7
  40. bl_ui/properties_material/__init__.pyi +186 -162
  41. bl_ui/properties_material_gpencil/__init__.pyi +111 -87
  42. bl_ui/properties_object/__init__.pyi +102 -84
  43. bl_ui/properties_output/__init__.pyi +255 -228
  44. bl_ui/properties_paint_common/__init__.pyi +9 -9
  45. bl_ui/properties_particle/__init__.pyi +341 -254
  46. bl_ui/properties_physics_cloth/__init__.pyi +54 -33
  47. bl_ui/properties_physics_common/__init__.pyi +20 -20
  48. bl_ui/properties_physics_dynamicpaint/__init__.pyi +231 -193
  49. bl_ui/properties_physics_field/__init__.pyi +52 -36
  50. bl_ui/properties_physics_fluid/__init__.pyi +119 -96
  51. bl_ui/properties_physics_geometry_nodes/__init__.pyi +1 -1
  52. bl_ui/properties_physics_rigidbody/__init__.pyi +36 -20
  53. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +51 -25
  54. bl_ui/properties_physics_softbody/__init__.pyi +62 -34
  55. bl_ui/properties_render/__init__.pyi +275 -187
  56. bl_ui/properties_scene/__init__.pyi +173 -154
  57. bl_ui/properties_texture/__init__.pyi +251 -205
  58. bl_ui/properties_view_layer/__init__.pyi +126 -93
  59. bl_ui/properties_workspace/__init__.pyi +82 -76
  60. bl_ui/properties_world/__init__.pyi +31 -26
  61. bl_ui/space_clip/__init__.pyi +495 -433
  62. bl_ui/space_console/__init__.pyi +6 -6
  63. bl_ui/space_dopesheet/__init__.pyi +209 -174
  64. bl_ui/space_filebrowser/__init__.pyi +691 -679
  65. bl_ui/space_graph/__init__.pyi +25 -20
  66. bl_ui/space_image/__init__.pyi +959 -845
  67. bl_ui/space_info/__init__.pyi +6 -6
  68. bl_ui/space_nla/__init__.pyi +26 -17
  69. bl_ui/space_node/__init__.pyi +49 -36
  70. bl_ui/space_outliner/__init__.pyi +14 -14
  71. bl_ui/space_properties/__init__.pyi +3 -3
  72. bl_ui/space_sequencer/__init__.pyi +510 -444
  73. bl_ui/space_spreadsheet/__init__.pyi +1 -1
  74. bl_ui/space_statusbar/__init__.pyi +1 -1
  75. bl_ui/space_text/__init__.pyi +16 -16
  76. bl_ui/space_time/__init__.pyi +27 -23
  77. bl_ui/space_toolsystem_common/__init__.pyi +1 -1
  78. bl_ui/space_toolsystem_toolbar/__init__.pyi +21 -4
  79. bl_ui/space_topbar/__init__.pyi +26 -26
  80. bl_ui/space_userpref/__init__.pyi +795 -658
  81. bl_ui/space_view3d/__init__.pyi +1460 -1428
  82. bl_ui/space_view3d_toolbar/__init__.pyi +2968 -2657
  83. bl_ui/temp_anim_layers/__init__.pyi +1 -1
  84. bmesh/types/__init__.pyi +13 -6
  85. bpy/app/__init__.pyi +4 -4
  86. bpy/app/icons/__init__.pyi +8 -6
  87. bpy/app/timers/__init__.pyi +10 -8
  88. bpy/app/translations/__init__.pyi +22 -20
  89. bpy/msgbus/__init__.pyi +4 -2
  90. bpy/ops/action/__init__.pyi +319 -316
  91. bpy/ops/anim/__init__.pyi +428 -428
  92. bpy/ops/armature/__init__.pyi +359 -358
  93. bpy/ops/asset/__init__.pyi +146 -146
  94. bpy/ops/boid/__init__.pyi +50 -50
  95. bpy/ops/brush/__init__.pyi +72 -72
  96. bpy/ops/buttons/__init__.pyi +128 -128
  97. bpy/ops/cachefile/__init__.pyi +124 -124
  98. bpy/ops/camera/__init__.pyi +22 -22
  99. bpy/ops/clip/__init__.pyi +773 -768
  100. bpy/ops/cloth/__init__.pyi +10 -10
  101. bpy/ops/collection/__init__.pyi +64 -64
  102. bpy/ops/console/__init__.pyi +150 -150
  103. bpy/ops/constraint/__init__.pyi +150 -150
  104. bpy/ops/curve/__init__.pyi +475 -472
  105. bpy/ops/curves/__init__.pyi +247 -244
  106. bpy/ops/cycles/__init__.pyi +18 -18
  107. bpy/ops/dpaint/__init__.pyi +34 -34
  108. bpy/ops/ed/__init__.pyi +122 -122
  109. bpy/ops/export_anim/__init__.pyi +18 -18
  110. bpy/ops/export_mesh/__init__.pyi +26 -26
  111. bpy/ops/export_scene/__init__.pyi +333 -307
  112. bpy/ops/file/__init__.pyi +340 -340
  113. bpy/ops/fluid/__init__.pyi +88 -88
  114. bpy/ops/font/__init__.pyi +252 -252
  115. bpy/ops/geometry/__init__.pyi +86 -86
  116. bpy/ops/gizmogroup/__init__.pyi +22 -22
  117. bpy/ops/gpencil/__init__.pyi +1459 -1444
  118. bpy/ops/graph/__init__.pyi +645 -642
  119. bpy/ops/grease_pencil/__init__.pyi +441 -436
  120. bpy/ops/image/__init__.pyi +614 -612
  121. bpy/ops/import_anim/__init__.pyi +26 -26
  122. bpy/ops/import_curve/__init__.pyi +6 -6
  123. bpy/ops/import_mesh/__init__.pyi +20 -18
  124. bpy/ops/import_scene/__init__.pyi +92 -86
  125. bpy/ops/info/__init__.pyi +60 -60
  126. bpy/ops/lattice/__init__.pyi +64 -64
  127. bpy/ops/marker/__init__.pyi +106 -106
  128. bpy/ops/mask/__init__.pyi +321 -318
  129. bpy/ops/material/__init__.pyi +18 -18
  130. bpy/ops/mball/__init__.pyi +71 -70
  131. bpy/ops/mesh/__init__.pyi +1997 -1990
  132. bpy/ops/nla/__init__.pyi +330 -329
  133. bpy/ops/node/__init__.pyi +867 -852
  134. bpy/ops/object/__init__.pyi +2433 -2430
  135. bpy/ops/outliner/__init__.pyi +498 -498
  136. bpy/ops/paint/__init__.pyi +554 -544
  137. bpy/ops/paintcurve/__init__.pyi +64 -64
  138. bpy/ops/palette/__init__.pyi +48 -48
  139. bpy/ops/particle/__init__.pyi +266 -264
  140. bpy/ops/pose/__init__.pyi +336 -336
  141. bpy/ops/poselib/__init__.pyi +70 -70
  142. bpy/ops/preferences/__init__.pyi +338 -336
  143. bpy/ops/ptcache/__init__.pyi +46 -46
  144. bpy/ops/render/__init__.pyi +114 -114
  145. bpy/ops/rigidbody/__init__.pyi +102 -102
  146. bpy/ops/scene/__init__.pyi +270 -270
  147. bpy/ops/screen/__init__.pyi +378 -378
  148. bpy/ops/script/__init__.pyi +18 -18
  149. bpy/ops/sculpt/__init__.pyi +411 -405
  150. bpy/ops/sculpt_curves/__init__.pyi +42 -40
  151. bpy/ops/sequencer/__init__.pyi +1053 -1040
  152. bpy/ops/sound/__init__.pyi +208 -208
  153. bpy/ops/spreadsheet/__init__.pyi +30 -30
  154. bpy/ops/surface/__init__.pyi +108 -108
  155. bpy/ops/text/__init__.pyi +382 -382
  156. bpy/ops/text_editor/__init__.pyi +10 -10
  157. bpy/ops/texture/__init__.pyi +26 -26
  158. bpy/ops/transform/__init__.pyi +826 -790
  159. bpy/ops/ui/__init__.pyi +216 -216
  160. bpy/ops/uilist/__init__.pyi +20 -20
  161. bpy/ops/uv/__init__.pyi +605 -600
  162. bpy/ops/view2d/__init__.pyi +156 -156
  163. bpy/ops/view3d/__init__.pyi +578 -576
  164. bpy/ops/wm/__init__.pyi +2412 -2376
  165. bpy/ops/workspace/__init__.pyi +42 -42
  166. bpy/ops/world/__init__.pyi +6 -6
  167. bpy/path/__init__.pyi +48 -33
  168. bpy/props/__init__.pyi +263 -261
  169. bpy/types/__init__.pyi +106351 -103198
  170. bpy/utils/__init__.pyi +87 -52
  171. bpy/utils/previews/__init__.pyi +2 -2
  172. bpy/utils/units/__init__.pyi +20 -17
  173. bpy_extras/anim_utils/__init__.pyi +9 -2
  174. bpy_extras/io_utils/__init__.pyi +2 -1
  175. bpy_extras/view3d_utils/__init__.pyi +2 -1
  176. bpy_types/__init__.pyi +236 -236
  177. {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240422.dist-info}/METADATA +1 -1
  178. {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240422.dist-info}/RECORD +187 -187
  179. freestyle/chainingiterators/__init__.pyi +7 -2
  180. freestyle/types/__init__.pyi +8 -3
  181. gpu_extras/presets/__init__.pyi +14 -2
  182. keyingsets_builtins/__init__.pyi +92 -92
  183. mathutils/__init__.pyi +9 -5
  184. mathutils/geometry/__init__.pyi +8 -4
  185. nodeitems_builtins/__init__.pyi +7 -7
  186. {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240422.dist-info}/WHEEL +0 -0
  187. {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240422.dist-info}/top_level.txt +0 -0
@@ -4,52 +4,54 @@ import bpy.types
4
4
  GenericType = typing.TypeVar("GenericType")
5
5
 
6
6
  def brush_edit(
7
- override_context: typing.Union[dict, bpy.types.Context] = None,
8
- execution_context: typing.Union[str, int] = None,
9
- undo: bool = None,
10
- stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] = None,
7
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
8
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
9
+ undo: typing.Optional[bool] = None,
10
+ stroke: typing.Optional[
11
+ bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
12
+ ] = None,
11
13
  ):
12
14
  """Apply a stroke of brush to the particles
13
15
 
14
- :type override_context: typing.Union[dict, bpy.types.Context]
15
- :type execution_context: typing.Union[str, int]
16
- :type undo: bool
16
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
17
+ :type execution_context: typing.Optional[typing.Union[str, int]]
18
+ :type undo: typing.Optional[bool]
17
19
  :param stroke: Stroke
18
- :type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
20
+ :type stroke: typing.Optional[bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]]
19
21
  """
20
22
 
21
23
  ...
22
24
 
23
25
  def connect_hair(
24
- override_context: typing.Union[dict, bpy.types.Context] = None,
25
- execution_context: typing.Union[str, int] = None,
26
- undo: bool = None,
27
- all: typing.Union[bool, typing.Any] = False,
26
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
27
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
28
+ undo: typing.Optional[bool] = None,
29
+ all: typing.Optional[typing.Union[bool, typing.Any]] = False,
28
30
  ):
29
31
  """Connect hair to the emitter mesh
30
32
 
31
- :type override_context: typing.Union[dict, bpy.types.Context]
32
- :type execution_context: typing.Union[str, int]
33
- :type undo: bool
33
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
34
+ :type execution_context: typing.Optional[typing.Union[str, int]]
35
+ :type undo: typing.Optional[bool]
34
36
  :param all: All Hair, Connect all hair systems to the emitter mesh
35
- :type all: typing.Union[bool, typing.Any]
37
+ :type all: typing.Optional[typing.Union[bool, typing.Any]]
36
38
  """
37
39
 
38
40
  ...
39
41
 
40
42
  def copy_particle_systems(
41
- override_context: typing.Union[dict, bpy.types.Context] = None,
42
- execution_context: typing.Union[str, int] = None,
43
- undo: bool = None,
44
- space: typing.Any = "OBJECT",
45
- remove_target_particles: typing.Union[bool, typing.Any] = True,
46
- use_active: typing.Union[bool, typing.Any] = False,
43
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
44
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
45
+ undo: typing.Optional[bool] = None,
46
+ space: typing.Optional[typing.Any] = "OBJECT",
47
+ remove_target_particles: typing.Optional[typing.Union[bool, typing.Any]] = True,
48
+ use_active: typing.Optional[typing.Union[bool, typing.Any]] = False,
47
49
  ):
48
50
  """Copy particle systems from the active object to selected objects
49
51
 
50
- :type override_context: typing.Union[dict, bpy.types.Context]
51
- :type execution_context: typing.Union[str, int]
52
- :type undo: bool
52
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
53
+ :type execution_context: typing.Optional[typing.Union[str, int]]
54
+ :type undo: typing.Optional[bool]
53
55
  :param space: Space, Space transform for copying from one object to another
54
56
 
55
57
  OBJECT
@@ -57,308 +59,308 @@ def copy_particle_systems(
57
59
 
58
60
  WORLD
59
61
  World -- Copy in world space.
60
- :type space: typing.Any
62
+ :type space: typing.Optional[typing.Any]
61
63
  :param remove_target_particles: Remove Target Particles, Remove particle systems on the target objects
62
- :type remove_target_particles: typing.Union[bool, typing.Any]
64
+ :type remove_target_particles: typing.Optional[typing.Union[bool, typing.Any]]
63
65
  :param use_active: Use Active, Use the active particle system from the context
64
- :type use_active: typing.Union[bool, typing.Any]
66
+ :type use_active: typing.Optional[typing.Union[bool, typing.Any]]
65
67
  """
66
68
 
67
69
  ...
68
70
 
69
71
  def delete(
70
- override_context: typing.Union[dict, bpy.types.Context] = None,
71
- execution_context: typing.Union[str, int] = None,
72
- undo: bool = None,
73
- type: typing.Any = "PARTICLE",
72
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
73
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
74
+ undo: typing.Optional[bool] = None,
75
+ type: typing.Optional[typing.Any] = "PARTICLE",
74
76
  ):
75
77
  """Delete selected particles or keys
76
78
 
77
- :type override_context: typing.Union[dict, bpy.types.Context]
78
- :type execution_context: typing.Union[str, int]
79
- :type undo: bool
79
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
80
+ :type execution_context: typing.Optional[typing.Union[str, int]]
81
+ :type undo: typing.Optional[bool]
80
82
  :param type: Type, Delete a full particle or only keys
81
- :type type: typing.Any
83
+ :type type: typing.Optional[typing.Any]
82
84
  """
83
85
 
84
86
  ...
85
87
 
86
88
  def disconnect_hair(
87
- override_context: typing.Union[dict, bpy.types.Context] = None,
88
- execution_context: typing.Union[str, int] = None,
89
- undo: bool = None,
90
- all: typing.Union[bool, typing.Any] = False,
89
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
90
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
91
+ undo: typing.Optional[bool] = None,
92
+ all: typing.Optional[typing.Union[bool, typing.Any]] = False,
91
93
  ):
92
94
  """Disconnect hair from the emitter mesh
93
95
 
94
- :type override_context: typing.Union[dict, bpy.types.Context]
95
- :type execution_context: typing.Union[str, int]
96
- :type undo: bool
96
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
97
+ :type execution_context: typing.Optional[typing.Union[str, int]]
98
+ :type undo: typing.Optional[bool]
97
99
  :param all: All Hair, Disconnect all hair systems from the emitter mesh
98
- :type all: typing.Union[bool, typing.Any]
100
+ :type all: typing.Optional[typing.Union[bool, typing.Any]]
99
101
  """
100
102
 
101
103
  ...
102
104
 
103
105
  def duplicate_particle_system(
104
- override_context: typing.Union[dict, bpy.types.Context] = None,
105
- execution_context: typing.Union[str, int] = None,
106
- undo: bool = None,
107
- use_duplicate_settings: typing.Union[bool, typing.Any] = False,
106
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
107
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
108
+ undo: typing.Optional[bool] = None,
109
+ use_duplicate_settings: typing.Optional[typing.Union[bool, typing.Any]] = False,
108
110
  ):
109
111
  """Duplicate particle system within the active object
110
112
 
111
- :type override_context: typing.Union[dict, bpy.types.Context]
112
- :type execution_context: typing.Union[str, int]
113
- :type undo: bool
113
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
114
+ :type execution_context: typing.Optional[typing.Union[str, int]]
115
+ :type undo: typing.Optional[bool]
114
116
  :param use_duplicate_settings: Duplicate Settings, Duplicate settings as well, so the new particle system uses its own settings
115
- :type use_duplicate_settings: typing.Union[bool, typing.Any]
117
+ :type use_duplicate_settings: typing.Optional[typing.Union[bool, typing.Any]]
116
118
  """
117
119
 
118
120
  ...
119
121
 
120
122
  def dupliob_copy(
121
- override_context: typing.Union[dict, bpy.types.Context] = None,
122
- execution_context: typing.Union[str, int] = None,
123
- undo: bool = None,
123
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
124
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
125
+ undo: typing.Optional[bool] = None,
124
126
  ):
125
127
  """Duplicate the current instance object
126
128
 
127
- :type override_context: typing.Union[dict, bpy.types.Context]
128
- :type execution_context: typing.Union[str, int]
129
- :type undo: bool
129
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
130
+ :type execution_context: typing.Optional[typing.Union[str, int]]
131
+ :type undo: typing.Optional[bool]
130
132
  """
131
133
 
132
134
  ...
133
135
 
134
136
  def dupliob_move_down(
135
- override_context: typing.Union[dict, bpy.types.Context] = None,
136
- execution_context: typing.Union[str, int] = None,
137
- undo: bool = None,
137
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
138
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
139
+ undo: typing.Optional[bool] = None,
138
140
  ):
139
141
  """Move instance object down in the list
140
142
 
141
- :type override_context: typing.Union[dict, bpy.types.Context]
142
- :type execution_context: typing.Union[str, int]
143
- :type undo: bool
143
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
144
+ :type execution_context: typing.Optional[typing.Union[str, int]]
145
+ :type undo: typing.Optional[bool]
144
146
  """
145
147
 
146
148
  ...
147
149
 
148
150
  def dupliob_move_up(
149
- override_context: typing.Union[dict, bpy.types.Context] = None,
150
- execution_context: typing.Union[str, int] = None,
151
- undo: bool = None,
151
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
152
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
153
+ undo: typing.Optional[bool] = None,
152
154
  ):
153
155
  """Move instance object up in the list
154
156
 
155
- :type override_context: typing.Union[dict, bpy.types.Context]
156
- :type execution_context: typing.Union[str, int]
157
- :type undo: bool
157
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
158
+ :type execution_context: typing.Optional[typing.Union[str, int]]
159
+ :type undo: typing.Optional[bool]
158
160
  """
159
161
 
160
162
  ...
161
163
 
162
164
  def dupliob_refresh(
163
- override_context: typing.Union[dict, bpy.types.Context] = None,
164
- execution_context: typing.Union[str, int] = None,
165
- undo: bool = None,
165
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
166
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
167
+ undo: typing.Optional[bool] = None,
166
168
  ):
167
169
  """Refresh list of instance objects and their weights
168
170
 
169
- :type override_context: typing.Union[dict, bpy.types.Context]
170
- :type execution_context: typing.Union[str, int]
171
- :type undo: bool
171
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
172
+ :type execution_context: typing.Optional[typing.Union[str, int]]
173
+ :type undo: typing.Optional[bool]
172
174
  """
173
175
 
174
176
  ...
175
177
 
176
178
  def dupliob_remove(
177
- override_context: typing.Union[dict, bpy.types.Context] = None,
178
- execution_context: typing.Union[str, int] = None,
179
- undo: bool = None,
179
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
180
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
181
+ undo: typing.Optional[bool] = None,
180
182
  ):
181
183
  """Remove the selected instance object
182
184
 
183
- :type override_context: typing.Union[dict, bpy.types.Context]
184
- :type execution_context: typing.Union[str, int]
185
- :type undo: bool
185
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
186
+ :type execution_context: typing.Optional[typing.Union[str, int]]
187
+ :type undo: typing.Optional[bool]
186
188
  """
187
189
 
188
190
  ...
189
191
 
190
192
  def edited_clear(
191
- override_context: typing.Union[dict, bpy.types.Context] = None,
192
- execution_context: typing.Union[str, int] = None,
193
- undo: bool = None,
193
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
194
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
195
+ undo: typing.Optional[bool] = None,
194
196
  ):
195
197
  """Undo all edition performed on the particle system
196
198
 
197
- :type override_context: typing.Union[dict, bpy.types.Context]
198
- :type execution_context: typing.Union[str, int]
199
- :type undo: bool
199
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
200
+ :type execution_context: typing.Optional[typing.Union[str, int]]
201
+ :type undo: typing.Optional[bool]
200
202
  """
201
203
 
202
204
  ...
203
205
 
204
206
  def hair_dynamics_preset_add(
205
- override_context: typing.Union[dict, bpy.types.Context] = None,
206
- execution_context: typing.Union[str, int] = None,
207
- undo: bool = None,
207
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
208
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
209
+ undo: typing.Optional[bool] = None,
208
210
  name: typing.Union[str, typing.Any] = "",
209
- remove_name: typing.Union[bool, typing.Any] = False,
210
- remove_active: typing.Union[bool, typing.Any] = False,
211
+ remove_name: typing.Optional[typing.Union[bool, typing.Any]] = False,
212
+ remove_active: typing.Optional[typing.Union[bool, typing.Any]] = False,
211
213
  ):
212
214
  """Add or remove a Hair Dynamics Preset
213
215
 
214
- :type override_context: typing.Union[dict, bpy.types.Context]
215
- :type execution_context: typing.Union[str, int]
216
- :type undo: bool
216
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
217
+ :type execution_context: typing.Optional[typing.Union[str, int]]
218
+ :type undo: typing.Optional[bool]
217
219
  :param name: Name, Name of the preset, used to make the path name
218
220
  :type name: typing.Union[str, typing.Any]
219
221
  :param remove_name: remove_name
220
- :type remove_name: typing.Union[bool, typing.Any]
222
+ :type remove_name: typing.Optional[typing.Union[bool, typing.Any]]
221
223
  :param remove_active: remove_active
222
- :type remove_active: typing.Union[bool, typing.Any]
224
+ :type remove_active: typing.Optional[typing.Union[bool, typing.Any]]
223
225
  """
224
226
 
225
227
  ...
226
228
 
227
229
  def hide(
228
- override_context: typing.Union[dict, bpy.types.Context] = None,
229
- execution_context: typing.Union[str, int] = None,
230
- undo: bool = None,
231
- unselected: typing.Union[bool, typing.Any] = False,
230
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
231
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
232
+ undo: typing.Optional[bool] = None,
233
+ unselected: typing.Optional[typing.Union[bool, typing.Any]] = False,
232
234
  ):
233
235
  """Hide selected particles
234
236
 
235
- :type override_context: typing.Union[dict, bpy.types.Context]
236
- :type execution_context: typing.Union[str, int]
237
- :type undo: bool
237
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
238
+ :type execution_context: typing.Optional[typing.Union[str, int]]
239
+ :type undo: typing.Optional[bool]
238
240
  :param unselected: Unselected, Hide unselected rather than selected
239
- :type unselected: typing.Union[bool, typing.Any]
241
+ :type unselected: typing.Optional[typing.Union[bool, typing.Any]]
240
242
  """
241
243
 
242
244
  ...
243
245
 
244
246
  def mirror(
245
- override_context: typing.Union[dict, bpy.types.Context] = None,
246
- execution_context: typing.Union[str, int] = None,
247
- undo: bool = None,
247
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
248
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
249
+ undo: typing.Optional[bool] = None,
248
250
  ):
249
251
  """Duplicate and mirror the selected particles along the local X axis
250
252
 
251
- :type override_context: typing.Union[dict, bpy.types.Context]
252
- :type execution_context: typing.Union[str, int]
253
- :type undo: bool
253
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
254
+ :type execution_context: typing.Optional[typing.Union[str, int]]
255
+ :type undo: typing.Optional[bool]
254
256
  """
255
257
 
256
258
  ...
257
259
 
258
260
  def new(
259
- override_context: typing.Union[dict, bpy.types.Context] = None,
260
- execution_context: typing.Union[str, int] = None,
261
- undo: bool = None,
261
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
262
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
263
+ undo: typing.Optional[bool] = None,
262
264
  ):
263
265
  """Add new particle settings
264
266
 
265
- :type override_context: typing.Union[dict, bpy.types.Context]
266
- :type execution_context: typing.Union[str, int]
267
- :type undo: bool
267
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
268
+ :type execution_context: typing.Optional[typing.Union[str, int]]
269
+ :type undo: typing.Optional[bool]
268
270
  """
269
271
 
270
272
  ...
271
273
 
272
274
  def new_target(
273
- override_context: typing.Union[dict, bpy.types.Context] = None,
274
- execution_context: typing.Union[str, int] = None,
275
- undo: bool = None,
275
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
276
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
277
+ undo: typing.Optional[bool] = None,
276
278
  ):
277
279
  """Add a new particle target
278
280
 
279
- :type override_context: typing.Union[dict, bpy.types.Context]
280
- :type execution_context: typing.Union[str, int]
281
- :type undo: bool
281
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
282
+ :type execution_context: typing.Optional[typing.Union[str, int]]
283
+ :type undo: typing.Optional[bool]
282
284
  """
283
285
 
284
286
  ...
285
287
 
286
288
  def particle_edit_toggle(
287
- override_context: typing.Union[dict, bpy.types.Context] = None,
288
- execution_context: typing.Union[str, int] = None,
289
- undo: bool = None,
289
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
290
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
291
+ undo: typing.Optional[bool] = None,
290
292
  ):
291
293
  """Toggle particle edit mode
292
294
 
293
- :type override_context: typing.Union[dict, bpy.types.Context]
294
- :type execution_context: typing.Union[str, int]
295
- :type undo: bool
295
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
296
+ :type execution_context: typing.Optional[typing.Union[str, int]]
297
+ :type undo: typing.Optional[bool]
296
298
  """
297
299
 
298
300
  ...
299
301
 
300
302
  def rekey(
301
- override_context: typing.Union[dict, bpy.types.Context] = None,
302
- execution_context: typing.Union[str, int] = None,
303
- undo: bool = None,
304
- keys_number: typing.Any = 2,
303
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
304
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
305
+ undo: typing.Optional[bool] = None,
306
+ keys_number: typing.Optional[typing.Any] = 2,
305
307
  ):
306
308
  """Change the number of keys of selected particles (root and tip keys included)
307
309
 
308
- :type override_context: typing.Union[dict, bpy.types.Context]
309
- :type execution_context: typing.Union[str, int]
310
- :type undo: bool
310
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
311
+ :type execution_context: typing.Optional[typing.Union[str, int]]
312
+ :type undo: typing.Optional[bool]
311
313
  :param keys_number: Number of Keys
312
- :type keys_number: typing.Any
314
+ :type keys_number: typing.Optional[typing.Any]
313
315
  """
314
316
 
315
317
  ...
316
318
 
317
319
  def remove_doubles(
318
- override_context: typing.Union[dict, bpy.types.Context] = None,
319
- execution_context: typing.Union[str, int] = None,
320
- undo: bool = None,
321
- threshold: typing.Any = 0.0002,
320
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
321
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
322
+ undo: typing.Optional[bool] = None,
323
+ threshold: typing.Optional[typing.Any] = 0.0002,
322
324
  ):
323
325
  """Remove selected particles close enough of others
324
326
 
325
- :type override_context: typing.Union[dict, bpy.types.Context]
326
- :type execution_context: typing.Union[str, int]
327
- :type undo: bool
327
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
328
+ :type execution_context: typing.Optional[typing.Union[str, int]]
329
+ :type undo: typing.Optional[bool]
328
330
  :param threshold: Merge Distance, Threshold distance within which particles are removed
329
- :type threshold: typing.Any
331
+ :type threshold: typing.Optional[typing.Any]
330
332
  """
331
333
 
332
334
  ...
333
335
 
334
336
  def reveal(
335
- override_context: typing.Union[dict, bpy.types.Context] = None,
336
- execution_context: typing.Union[str, int] = None,
337
- undo: bool = None,
338
- select: typing.Union[bool, typing.Any] = True,
337
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
338
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
339
+ undo: typing.Optional[bool] = None,
340
+ select: typing.Optional[typing.Union[bool, typing.Any]] = True,
339
341
  ):
340
342
  """Show hidden particles
341
343
 
342
- :type override_context: typing.Union[dict, bpy.types.Context]
343
- :type execution_context: typing.Union[str, int]
344
- :type undo: bool
344
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
345
+ :type execution_context: typing.Optional[typing.Union[str, int]]
346
+ :type undo: typing.Optional[bool]
345
347
  :param select: Select
346
- :type select: typing.Union[bool, typing.Any]
348
+ :type select: typing.Optional[typing.Union[bool, typing.Any]]
347
349
  """
348
350
 
349
351
  ...
350
352
 
351
353
  def select_all(
352
- override_context: typing.Union[dict, bpy.types.Context] = None,
353
- execution_context: typing.Union[str, int] = None,
354
- undo: bool = None,
355
- action: typing.Any = "TOGGLE",
354
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
355
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
356
+ undo: typing.Optional[bool] = None,
357
+ action: typing.Optional[typing.Any] = "TOGGLE",
356
358
  ):
357
359
  """(De)select all particles' keys
358
360
 
359
- :type override_context: typing.Union[dict, bpy.types.Context]
360
- :type execution_context: typing.Union[str, int]
361
- :type undo: bool
361
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
362
+ :type execution_context: typing.Optional[typing.Union[str, int]]
363
+ :type undo: typing.Optional[bool]
362
364
  :param action: Action, Selection action to execute
363
365
 
364
366
  TOGGLE
@@ -372,91 +374,91 @@ def select_all(
372
374
 
373
375
  INVERT
374
376
  Invert -- Invert selection of all elements.
375
- :type action: typing.Any
377
+ :type action: typing.Optional[typing.Any]
376
378
  """
377
379
 
378
380
  ...
379
381
 
380
382
  def select_less(
381
- override_context: typing.Union[dict, bpy.types.Context] = None,
382
- execution_context: typing.Union[str, int] = None,
383
- undo: bool = None,
383
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
384
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
385
+ undo: typing.Optional[bool] = None,
384
386
  ):
385
387
  """Deselect boundary selected keys of each particle
386
388
 
387
- :type override_context: typing.Union[dict, bpy.types.Context]
388
- :type execution_context: typing.Union[str, int]
389
- :type undo: bool
389
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
390
+ :type execution_context: typing.Optional[typing.Union[str, int]]
391
+ :type undo: typing.Optional[bool]
390
392
  """
391
393
 
392
394
  ...
393
395
 
394
396
  def select_linked(
395
- override_context: typing.Union[dict, bpy.types.Context] = None,
396
- execution_context: typing.Union[str, int] = None,
397
- undo: bool = None,
397
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
398
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
399
+ undo: typing.Optional[bool] = None,
398
400
  ):
399
401
  """Select all keys linked to already selected ones
400
402
 
401
- :type override_context: typing.Union[dict, bpy.types.Context]
402
- :type execution_context: typing.Union[str, int]
403
- :type undo: bool
403
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
404
+ :type execution_context: typing.Optional[typing.Union[str, int]]
405
+ :type undo: typing.Optional[bool]
404
406
  """
405
407
 
406
408
  ...
407
409
 
408
410
  def select_linked_pick(
409
- override_context: typing.Union[dict, bpy.types.Context] = None,
410
- execution_context: typing.Union[str, int] = None,
411
- undo: bool = None,
412
- deselect: typing.Union[bool, typing.Any] = False,
413
- location: typing.Any = (0, 0),
411
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
412
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
413
+ undo: typing.Optional[bool] = None,
414
+ deselect: typing.Optional[typing.Union[bool, typing.Any]] = False,
415
+ location: typing.Optional[typing.Any] = (0, 0),
414
416
  ):
415
417
  """Select nearest particle from mouse pointer
416
418
 
417
- :type override_context: typing.Union[dict, bpy.types.Context]
418
- :type execution_context: typing.Union[str, int]
419
- :type undo: bool
419
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
420
+ :type execution_context: typing.Optional[typing.Union[str, int]]
421
+ :type undo: typing.Optional[bool]
420
422
  :param deselect: Deselect, Deselect linked keys rather than selecting them
421
- :type deselect: typing.Union[bool, typing.Any]
423
+ :type deselect: typing.Optional[typing.Union[bool, typing.Any]]
422
424
  :param location: Location
423
- :type location: typing.Any
425
+ :type location: typing.Optional[typing.Any]
424
426
  """
425
427
 
426
428
  ...
427
429
 
428
430
  def select_more(
429
- override_context: typing.Union[dict, bpy.types.Context] = None,
430
- execution_context: typing.Union[str, int] = None,
431
- undo: bool = None,
431
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
432
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
433
+ undo: typing.Optional[bool] = None,
432
434
  ):
433
435
  """Select keys linked to boundary selected keys of each particle
434
436
 
435
- :type override_context: typing.Union[dict, bpy.types.Context]
436
- :type execution_context: typing.Union[str, int]
437
- :type undo: bool
437
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
438
+ :type execution_context: typing.Optional[typing.Union[str, int]]
439
+ :type undo: typing.Optional[bool]
438
440
  """
439
441
 
440
442
  ...
441
443
 
442
444
  def select_random(
443
- override_context: typing.Union[dict, bpy.types.Context] = None,
444
- execution_context: typing.Union[str, int] = None,
445
- undo: bool = None,
446
- ratio: typing.Any = 0.5,
447
- seed: typing.Any = 0,
448
- action: typing.Any = "SELECT",
449
- type: typing.Any = "HAIR",
445
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
446
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
447
+ undo: typing.Optional[bool] = None,
448
+ ratio: typing.Optional[typing.Any] = 0.5,
449
+ seed: typing.Optional[typing.Any] = 0,
450
+ action: typing.Optional[typing.Any] = "SELECT",
451
+ type: typing.Optional[typing.Any] = "HAIR",
450
452
  ):
451
453
  """Select a randomly distributed set of hair or points
452
454
 
453
- :type override_context: typing.Union[dict, bpy.types.Context]
454
- :type execution_context: typing.Union[str, int]
455
- :type undo: bool
455
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
456
+ :type execution_context: typing.Optional[typing.Union[str, int]]
457
+ :type undo: typing.Optional[bool]
456
458
  :param ratio: Ratio, Portion of items to select randomly
457
- :type ratio: typing.Any
459
+ :type ratio: typing.Optional[typing.Any]
458
460
  :param seed: Random Seed, Seed for the random number generator
459
- :type seed: typing.Any
461
+ :type seed: typing.Optional[typing.Any]
460
462
  :param action: Action, Selection action to execute
461
463
 
462
464
  SELECT
@@ -464,24 +466,24 @@ def select_random(
464
466
 
465
467
  DESELECT
466
468
  Deselect -- Deselect all elements.
467
- :type action: typing.Any
469
+ :type action: typing.Optional[typing.Any]
468
470
  :param type: Type, Select either hair or points
469
- :type type: typing.Any
471
+ :type type: typing.Optional[typing.Any]
470
472
  """
471
473
 
472
474
  ...
473
475
 
474
476
  def select_roots(
475
- override_context: typing.Union[dict, bpy.types.Context] = None,
476
- execution_context: typing.Union[str, int] = None,
477
- undo: bool = None,
478
- action: typing.Any = "SELECT",
477
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
478
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
479
+ undo: typing.Optional[bool] = None,
480
+ action: typing.Optional[typing.Any] = "SELECT",
479
481
  ):
480
482
  """Select roots of all visible particles
481
483
 
482
- :type override_context: typing.Union[dict, bpy.types.Context]
483
- :type execution_context: typing.Union[str, int]
484
- :type undo: bool
484
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
485
+ :type execution_context: typing.Optional[typing.Union[str, int]]
486
+ :type undo: typing.Optional[bool]
485
487
  :param action: Action, Selection action to execute
486
488
 
487
489
  TOGGLE
@@ -495,22 +497,22 @@ def select_roots(
495
497
 
496
498
  INVERT
497
499
  Invert -- Invert selection of all elements.
498
- :type action: typing.Any
500
+ :type action: typing.Optional[typing.Any]
499
501
  """
500
502
 
501
503
  ...
502
504
 
503
505
  def select_tips(
504
- override_context: typing.Union[dict, bpy.types.Context] = None,
505
- execution_context: typing.Union[str, int] = None,
506
- undo: bool = None,
507
- action: typing.Any = "SELECT",
506
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
507
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
508
+ undo: typing.Optional[bool] = None,
509
+ action: typing.Optional[typing.Any] = "SELECT",
508
510
  ):
509
511
  """Select tips of all visible particles
510
512
 
511
- :type override_context: typing.Union[dict, bpy.types.Context]
512
- :type execution_context: typing.Union[str, int]
513
- :type undo: bool
513
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
514
+ :type execution_context: typing.Optional[typing.Union[str, int]]
515
+ :type undo: typing.Optional[bool]
514
516
  :param action: Action, Selection action to execute
515
517
 
516
518
  TOGGLE
@@ -524,108 +526,108 @@ def select_tips(
524
526
 
525
527
  INVERT
526
528
  Invert -- Invert selection of all elements.
527
- :type action: typing.Any
529
+ :type action: typing.Optional[typing.Any]
528
530
  """
529
531
 
530
532
  ...
531
533
 
532
534
  def shape_cut(
533
- override_context: typing.Union[dict, bpy.types.Context] = None,
534
- execution_context: typing.Union[str, int] = None,
535
- undo: bool = None,
535
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
536
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
537
+ undo: typing.Optional[bool] = None,
536
538
  ):
537
539
  """Cut hair to conform to the set shape object
538
540
 
539
- :type override_context: typing.Union[dict, bpy.types.Context]
540
- :type execution_context: typing.Union[str, int]
541
- :type undo: bool
541
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
542
+ :type execution_context: typing.Optional[typing.Union[str, int]]
543
+ :type undo: typing.Optional[bool]
542
544
  """
543
545
 
544
546
  ...
545
547
 
546
548
  def subdivide(
547
- override_context: typing.Union[dict, bpy.types.Context] = None,
548
- execution_context: typing.Union[str, int] = None,
549
- undo: bool = None,
549
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
550
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
551
+ undo: typing.Optional[bool] = None,
550
552
  ):
551
553
  """Subdivide selected particles segments (adds keys)
552
554
 
553
- :type override_context: typing.Union[dict, bpy.types.Context]
554
- :type execution_context: typing.Union[str, int]
555
- :type undo: bool
555
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
556
+ :type execution_context: typing.Optional[typing.Union[str, int]]
557
+ :type undo: typing.Optional[bool]
556
558
  """
557
559
 
558
560
  ...
559
561
 
560
562
  def target_move_down(
561
- override_context: typing.Union[dict, bpy.types.Context] = None,
562
- execution_context: typing.Union[str, int] = None,
563
- undo: bool = None,
563
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
564
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
565
+ undo: typing.Optional[bool] = None,
564
566
  ):
565
567
  """Move particle target down in the list
566
568
 
567
- :type override_context: typing.Union[dict, bpy.types.Context]
568
- :type execution_context: typing.Union[str, int]
569
- :type undo: bool
569
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
570
+ :type execution_context: typing.Optional[typing.Union[str, int]]
571
+ :type undo: typing.Optional[bool]
570
572
  """
571
573
 
572
574
  ...
573
575
 
574
576
  def target_move_up(
575
- override_context: typing.Union[dict, bpy.types.Context] = None,
576
- execution_context: typing.Union[str, int] = None,
577
- undo: bool = None,
577
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
578
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
579
+ undo: typing.Optional[bool] = None,
578
580
  ):
579
581
  """Move particle target up in the list
580
582
 
581
- :type override_context: typing.Union[dict, bpy.types.Context]
582
- :type execution_context: typing.Union[str, int]
583
- :type undo: bool
583
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
584
+ :type execution_context: typing.Optional[typing.Union[str, int]]
585
+ :type undo: typing.Optional[bool]
584
586
  """
585
587
 
586
588
  ...
587
589
 
588
590
  def target_remove(
589
- override_context: typing.Union[dict, bpy.types.Context] = None,
590
- execution_context: typing.Union[str, int] = None,
591
- undo: bool = None,
591
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
592
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
593
+ undo: typing.Optional[bool] = None,
592
594
  ):
593
595
  """Remove the selected particle target
594
596
 
595
- :type override_context: typing.Union[dict, bpy.types.Context]
596
- :type execution_context: typing.Union[str, int]
597
- :type undo: bool
597
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
598
+ :type execution_context: typing.Optional[typing.Union[str, int]]
599
+ :type undo: typing.Optional[bool]
598
600
  """
599
601
 
600
602
  ...
601
603
 
602
604
  def unify_length(
603
- override_context: typing.Union[dict, bpy.types.Context] = None,
604
- execution_context: typing.Union[str, int] = None,
605
- undo: bool = None,
605
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
606
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
607
+ undo: typing.Optional[bool] = None,
606
608
  ):
607
609
  """Make selected hair the same length
608
610
 
609
- :type override_context: typing.Union[dict, bpy.types.Context]
610
- :type execution_context: typing.Union[str, int]
611
- :type undo: bool
611
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
612
+ :type execution_context: typing.Optional[typing.Union[str, int]]
613
+ :type undo: typing.Optional[bool]
612
614
  """
613
615
 
614
616
  ...
615
617
 
616
618
  def weight_set(
617
- override_context: typing.Union[dict, bpy.types.Context] = None,
618
- execution_context: typing.Union[str, int] = None,
619
- undo: bool = None,
620
- factor: typing.Any = 1.0,
619
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
620
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
621
+ undo: typing.Optional[bool] = None,
622
+ factor: typing.Optional[typing.Any] = 1.0,
621
623
  ):
622
624
  """Set the weight of selected keys
623
625
 
624
- :type override_context: typing.Union[dict, bpy.types.Context]
625
- :type execution_context: typing.Union[str, int]
626
- :type undo: bool
626
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
627
+ :type execution_context: typing.Optional[typing.Union[str, int]]
628
+ :type undo: typing.Optional[bool]
627
629
  :param factor: Factor, Interpolation factor between current brush weight, and keys' weights
628
- :type factor: typing.Any
630
+ :type factor: typing.Optional[typing.Any]
629
631
  """
630
632
 
631
633
  ...