fake-bpy-module 20240224__py3-none-any.whl → 20240326__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 (293) hide show
  1. addon_utils/__init__.pyi +54 -10
  2. animsys_refactor/__init__.pyi +36 -6
  3. aud/__init__.pyi +132 -125
  4. bgl/__init__.pyi +2545 -546
  5. bl_app_override/__init__.pyi +14 -3
  6. bl_app_override/helpers/__init__.pyi +24 -2
  7. bl_app_template_utils/__init__.pyi +19 -4
  8. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +24 -5
  9. bl_console_utils/autocomplete/complete_import/__init__.pyi +14 -3
  10. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +24 -5
  11. bl_console_utils/autocomplete/intellisense/__init__.pyi +9 -2
  12. bl_i18n_utils/bl_extract_messages/__init__.pyi +74 -15
  13. bl_i18n_utils/merge_po/__init__.pyi +4 -1
  14. bl_i18n_utils/settings/__init__.pyi +53 -6
  15. bl_i18n_utils/utils/__init__.pyi +332 -44
  16. bl_i18n_utils/utils_cli/__init__.pyi +29 -6
  17. bl_i18n_utils/utils_languages_menu/__init__.pyi +4 -1
  18. bl_i18n_utils/utils_rtl/__init__.pyi +9 -2
  19. bl_keymap_utils/io/__init__.pyi +44 -9
  20. bl_keymap_utils/keymap_from_toolbar/__init__.pyi +4 -1
  21. bl_keymap_utils/keymap_hierarchy/__init__.pyi +4 -1
  22. bl_keymap_utils/platform_helpers/__init__.pyi +9 -2
  23. bl_keymap_utils/versioning/__init__.pyi +4 -1
  24. bl_math/__init__.pyi +3 -3
  25. bl_operators/__init__.pyi +9 -2
  26. bl_operators/add_mesh_torus/__init__.pyi +171 -37
  27. bl_operators/anim/__init__.pyi +1065 -226
  28. bl_operators/assets/__init__.pyi +427 -92
  29. bl_operators/bmesh/find_adjacent/__init__.pyi +44 -9
  30. bl_operators/clip/__init__.pyi +1342 -287
  31. bl_operators/console/__init__.pyi +647 -140
  32. bl_operators/constraint/__init__.pyi +524 -112
  33. bl_operators/file/__init__.pyi +396 -84
  34. bl_operators/freestyle/__init__.pyi +532 -113
  35. bl_operators/geometry_nodes/__init__.pyi +2412 -596
  36. bl_operators/image/__init__.pyi +380 -82
  37. bl_operators/mesh/__init__.pyi +401 -85
  38. bl_operators/node/__init__.pyi +1756 -384
  39. bl_operators/object/__init__.pyi +2022 -552
  40. bl_operators/object_align/__init__.pyi +145 -31
  41. bl_operators/object_quick_effects/__init__.pyi +555 -124
  42. bl_operators/object_randomize_transform/__init__.pyi +136 -32
  43. bl_operators/presets/__init__.pyi +3516 -708
  44. bl_operators/rigidbody/__init__.pyi +401 -85
  45. bl_operators/screen_play_rendered_anim/__init__.pyi +129 -29
  46. bl_operators/sequencer/__init__.pyi +731 -149
  47. bl_operators/spreadsheet/__init__.pyi +145 -30
  48. bl_operators/userpref/__init__.pyi +3416 -824
  49. bl_operators/uvcalc_follow_active/__init__.pyi +149 -32
  50. bl_operators/uvcalc_lightmap/__init__.pyi +187 -34
  51. bl_operators/uvcalc_transform/__init__.pyi +344 -73
  52. bl_operators/vertexpaint_dirt/__init__.pyi +140 -30
  53. bl_operators/view3d/__init__.pyi +697 -146
  54. bl_operators/wm/__init__.pyi +6287 -1533
  55. bl_previews_utils/bl_previews_render/__init__.pyi +34 -7
  56. bl_rna_utils/data_path/__init__.pyi +12 -2
  57. bl_text_utils/external_editor/__init__.pyi +4 -1
  58. bl_ui/__init__.pyi +504 -106
  59. bl_ui/anim/__init__.pyi +164 -33
  60. bl_ui/asset_shelf/__init__.pyi +146 -31
  61. bl_ui/generic_ui_list/__init__.pyi +471 -99
  62. bl_ui/node_add_menu/__init__.pyi +196 -40
  63. bl_ui/node_add_menu_compositor/__init__.pyi +3017 -621
  64. bl_ui/node_add_menu_geometry/__init__.pyi +8060 -1625
  65. bl_ui/node_add_menu_shader/__init__.pyi +1709 -348
  66. bl_ui/node_add_menu_texture/__init__.pyi +1502 -305
  67. bl_ui/properties_animviz/__init__.pyi +32 -2
  68. bl_ui/properties_collection/__init__.pyi +787 -179
  69. bl_ui/properties_constraint/__init__.pyi +28635 -5523
  70. bl_ui/properties_data_armature/__init__.pyi +1905 -448
  71. bl_ui/properties_data_bone/__init__.pyi +1560 -336
  72. bl_ui/properties_data_camera/__init__.pyi +2269 -494
  73. bl_ui/properties_data_curve/__init__.pyi +2362 -534
  74. bl_ui/properties_data_curves/__init__.pyi +951 -203
  75. bl_ui/properties_data_empty/__init__.pyi +317 -69
  76. bl_ui/properties_data_gpencil/__init__.pyi +2924 -734
  77. bl_ui/properties_data_grease_pencil/__init__.pyi +1631 -188
  78. bl_ui/properties_data_lattice/__init__.pyi +472 -104
  79. bl_ui/properties_data_light/__init__.pyi +1570 -337
  80. bl_ui/properties_data_lightprobe/__init__.pyi +938 -208
  81. bl_ui/properties_data_mesh/__init__.pyi +3205 -767
  82. bl_ui/properties_data_metaball/__init__.pyi +774 -170
  83. bl_ui/properties_data_modifier/__init__.pyi +1554 -328
  84. bl_ui/properties_data_pointcloud/__init__.pyi +821 -194
  85. bl_ui/properties_data_shaderfx/__init__.pyi +154 -34
  86. bl_ui/properties_data_speaker/__init__.pyi +782 -168
  87. bl_ui/properties_data_volume/__init__.pyi +1243 -281
  88. bl_ui/properties_freestyle/__init__.pyi +4071 -1030
  89. bl_ui/properties_grease_pencil_common/__init__.pyi +2399 -483
  90. bl_ui/properties_mask_common/__init__.pyi +1256 -249
  91. bl_ui/properties_material/__init__.pyi +2351 -542
  92. bl_ui/properties_material_gpencil/__init__.pyi +1590 -365
  93. bl_ui/properties_object/__init__.pyi +2179 -512
  94. bl_ui/properties_output/__init__.pyi +2956 -705
  95. bl_ui/properties_paint_common/__init__.pyi +947 -140
  96. bl_ui/properties_particle/__init__.pyi +8322 -1970
  97. bl_ui/properties_physics_cloth/__init__.pyi +2254 -508
  98. bl_ui/properties_physics_common/__init__.pyi +200 -44
  99. bl_ui/properties_physics_dynamicpaint/__init__.pyi +4454 -965
  100. bl_ui/properties_physics_field/__init__.pyi +1695 -364
  101. bl_ui/properties_physics_fluid/__init__.pyi +6127 -1280
  102. bl_ui/properties_physics_geometry_nodes/__init__.pyi +157 -32
  103. bl_ui/properties_physics_rigidbody/__init__.pyi +1254 -278
  104. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2053 -483
  105. bl_ui/properties_physics_softbody/__init__.pyi +2394 -542
  106. bl_ui/properties_render/__init__.pyi +8312 -1933
  107. bl_ui/properties_scene/__init__.pyi +2211 -539
  108. bl_ui/properties_texture/__init__.pyi +4185 -1013
  109. bl_ui/properties_view_layer/__init__.pyi +2803 -664
  110. bl_ui/properties_workspace/__init__.pyi +626 -148
  111. bl_ui/properties_world/__init__.pyi +1092 -234
  112. bl_ui/space_clip/__init__.pyi +11475 -2805
  113. bl_ui/space_console/__init__.pyi +967 -202
  114. bl_ui/space_dopesheet/__init__.pyi +4260 -966
  115. bl_ui/space_filebrowser/__init__.pyi +4852 -1187
  116. bl_ui/space_graph/__init__.pyi +3251 -702
  117. bl_ui/space_image/__init__.pyi +12219 -2968
  118. bl_ui/space_info/__init__.pyi +964 -200
  119. bl_ui/space_nla/__init__.pyi +2756 -584
  120. bl_ui/space_node/__init__.pyi +5661 -1265
  121. bl_ui/space_outliner/__init__.pyi +2294 -478
  122. bl_ui/space_properties/__init__.pyi +417 -92
  123. bl_ui/space_sequencer/__init__.pyi +12436 -3009
  124. bl_ui/space_spreadsheet/__init__.pyi +184 -36
  125. bl_ui/space_statusbar/__init__.pyi +135 -30
  126. bl_ui/space_text/__init__.pyi +2556 -542
  127. bl_ui/space_time/__init__.pyi +1151 -243
  128. bl_ui/space_toolsystem_common/__init__.pyi +368 -66
  129. bl_ui/space_toolsystem_toolbar/__init__.pyi +1378 -228
  130. bl_ui/space_topbar/__init__.pyi +4214 -887
  131. bl_ui/space_userpref/__init__.pyi +13920 -3468
  132. bl_ui/space_view3d/__init__.pyi +43701 -10599
  133. bl_ui/space_view3d_toolbar/__init__.pyi +16380 -3860
  134. bl_ui/utils/__init__.pyi +42 -4
  135. bl_ui_utils/bug_report_url/__init__.pyi +4 -1
  136. bl_ui_utils/layout/__init__.pyi +4 -1
  137. blend_render_info/__init__.pyi +13 -3
  138. blf/__init__.pyi +5 -7
  139. bmesh/__init__.pyi +7 -7
  140. bmesh/geometry/__init__.pyi +5 -5
  141. bmesh/ops/__init__.pyi +490 -504
  142. bmesh/types/__init__.pyi +268 -262
  143. bmesh/utils/__init__.pyi +55 -55
  144. bpy/__init__.pyi +2 -2
  145. bpy/app/__init__.pyi +4 -5
  146. bpy/app/handlers/__init__.pyi +36 -36
  147. bpy/app/icons/__init__.pyi +8 -10
  148. bpy/app/timers/__init__.pyi +9 -11
  149. bpy/app/translations/__init__.pyi +20 -22
  150. bpy/msgbus/__init__.pyi +3 -12
  151. bpy/ops/action/__init__.pyi +350 -305
  152. bpy/ops/anim/__init__.pyi +464 -426
  153. bpy/ops/armature/__init__.pyi +392 -360
  154. bpy/ops/asset/__init__.pyi +166 -129
  155. bpy/ops/boid/__init__.pyi +64 -37
  156. bpy/ops/brush/__init__.pyi +78 -72
  157. bpy/ops/buttons/__init__.pyi +136 -122
  158. bpy/ops/cachefile/__init__.pyi +128 -123
  159. bpy/ops/camera/__init__.pyi +22 -24
  160. bpy/ops/clip/__init__.pyi +844 -735
  161. bpy/ops/cloth/__init__.pyi +10 -11
  162. bpy/ops/collection/__init__.pyi +38 -38
  163. bpy/ops/console/__init__.pyi +170 -141
  164. bpy/ops/constraint/__init__.pyi +156 -159
  165. bpy/ops/curve/__init__.pyi +518 -461
  166. bpy/ops/curves/__init__.pyi +188 -159
  167. bpy/ops/cycles/__init__.pyi +20 -18
  168. bpy/ops/dpaint/__init__.pyi +40 -30
  169. bpy/ops/ed/__init__.pyi +136 -107
  170. bpy/ops/export_anim/__init__.pyi +18 -19
  171. bpy/ops/export_mesh/__init__.pyi +26 -27
  172. bpy/ops/export_scene/__init__.pyi +313 -334
  173. bpy/ops/file/__init__.pyi +394 -304
  174. bpy/ops/fluid/__init__.pyi +114 -63
  175. bpy/ops/font/__init__.pyi +272 -245
  176. bpy/ops/geometry/__init__.pyi +92 -87
  177. bpy/ops/gizmogroup/__init__.pyi +24 -21
  178. bpy/ops/gpencil/__init__.pyi +1530 -1476
  179. bpy/ops/graph/__init__.pyi +680 -659
  180. bpy/ops/grease_pencil/__init__.pyi +510 -390
  181. bpy/ops/image/__init__.pyi +650 -603
  182. bpy/ops/import_anim/__init__.pyi +26 -27
  183. bpy/ops/import_curve/__init__.pyi +6 -7
  184. bpy/ops/import_mesh/__init__.pyi +18 -21
  185. bpy/ops/import_scene/__init__.pyi +86 -95
  186. bpy/ops/info/__init__.pyi +68 -55
  187. bpy/ops/lattice/__init__.pyi +70 -63
  188. bpy/ops/marker/__init__.pyi +110 -111
  189. bpy/ops/mask/__init__.pyi +352 -308
  190. bpy/ops/material/__init__.pyi +24 -12
  191. bpy/ops/mball/__init__.pyi +72 -75
  192. bpy/ops/mesh/__init__.pyi +2052 -2088
  193. bpy/ops/nla/__init__.pyi +369 -313
  194. bpy/ops/node/__init__.pyi +944 -805
  195. bpy/ops/object/__init__.pyi +2662 -2461
  196. bpy/ops/outliner/__init__.pyi +582 -431
  197. bpy/ops/paint/__init__.pyi +605 -516
  198. bpy/ops/paintcurve/__init__.pyi +72 -60
  199. bpy/ops/palette/__init__.pyi +54 -46
  200. bpy/ops/particle/__init__.pyi +302 -245
  201. bpy/ops/pose/__init__.pyi +366 -330
  202. bpy/ops/poselib/__init__.pyi +78 -64
  203. bpy/ops/preferences/__init__.pyi +361 -341
  204. bpy/ops/ptcache/__init__.pyi +56 -38
  205. bpy/ops/render/__init__.pyi +120 -117
  206. bpy/ops/rigidbody/__init__.pyi +114 -97
  207. bpy/ops/scene/__init__.pyi +302 -240
  208. bpy/ops/screen/__init__.pyi +414 -363
  209. bpy/ops/script/__init__.pyi +20 -18
  210. bpy/ops/sculpt/__init__.pyi +414 -452
  211. bpy/ops/sculpt_curves/__init__.pyi +42 -43
  212. bpy/ops/sequencer/__init__.pyi +1094 -1053
  213. bpy/ops/sound/__init__.pyi +214 -206
  214. bpy/ops/spreadsheet/__init__.pyi +34 -28
  215. bpy/ops/surface/__init__.pyi +108 -114
  216. bpy/ops/text/__init__.pyi +432 -350
  217. bpy/ops/text_editor/__init__.pyi +10 -11
  218. bpy/ops/texture/__init__.pyi +32 -21
  219. bpy/ops/transform/__init__.pyi +801 -854
  220. bpy/ops/ui/__init__.pyi +254 -185
  221. bpy/ops/uilist/__init__.pyi +20 -23
  222. bpy/ops/uv/__init__.pyi +618 -626
  223. bpy/ops/view2d/__init__.pyi +162 -161
  224. bpy/ops/view3d/__init__.pyi +669 -658
  225. bpy/ops/wm/__init__.pyi +2433 -2415
  226. bpy/ops/workspace/__init__.pyi +54 -31
  227. bpy/ops/world/__init__.pyi +8 -4
  228. bpy/path/__init__.pyi +111 -68
  229. bpy/props/__init__.pyi +263 -267
  230. bpy/types/__init__.pyi +86789 -85719
  231. bpy/utils/__init__.pyi +265 -123
  232. bpy/utils/previews/__init__.pyi +103 -17
  233. bpy/utils/units/__init__.pyi +19 -22
  234. bpy_extras/__init__.pyi +0 -4
  235. bpy_extras/anim_utils/__init__.pyi +11 -46
  236. bpy_extras/asset_utils/__init__.pyi +3 -12
  237. bpy_extras/id_map_utils/__init__.pyi +0 -2
  238. bpy_extras/image_utils/__init__.pyi +2 -2
  239. bpy_extras/io_utils/__init__.pyi +30 -27
  240. bpy_extras/keyconfig_utils/__init__.pyi +4 -1
  241. bpy_extras/mesh_utils/__init__.pyi +18 -18
  242. bpy_extras/node_utils/__init__.pyi +4 -3
  243. bpy_extras/object_utils/__init__.pyi +25 -26
  244. bpy_extras/view3d_utils/__init__.pyi +33 -38
  245. bpy_restrict_state/__init__.pyi +14 -1
  246. bpy_types/__init__.pyi +3873 -997
  247. console_python/__init__.pyi +41 -7
  248. console_shell/__init__.pyi +24 -5
  249. {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/METADATA +1 -1
  250. fake_bpy_module-20240326.dist-info/RECORD +343 -0
  251. {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/WHEEL +1 -1
  252. freestyle/chainingiterators/__init__.pyi +50 -52
  253. freestyle/functions/__init__.pyi +303 -207
  254. freestyle/predicates/__init__.pyi +299 -115
  255. freestyle/shaders/__init__.pyi +49 -80
  256. freestyle/types/__init__.pyi +465 -472
  257. freestyle/utils/ContextFunctions/__init__.pyi +9 -9
  258. freestyle/utils/__init__.pyi +28 -18
  259. gpu/capabilities/__init__.pyi +27 -19
  260. gpu/matrix/__init__.pyi +14 -16
  261. gpu/platform/__init__.pyi +5 -5
  262. gpu/shader/__init__.pyi +2 -5
  263. gpu/state/__init__.pyi +1 -1
  264. gpu/texture/__init__.pyi +3 -3
  265. gpu/types/__init__.pyi +54 -85
  266. gpu_extras/batch/__init__.pyi +27 -5
  267. gpu_extras/presets/__init__.pyi +52 -14
  268. graphviz_export/__init__.pyi +9 -2
  269. idprop/types/__init__.pyi +36 -12
  270. imbuf/__init__.pyi +8 -9
  271. imbuf/types/__init__.pyi +8 -15
  272. keyingsets_builtins/__init__.pyi +3149 -701
  273. keyingsets_utils/__init__.pyi +69 -14
  274. mathutils/__init__.pyi +502 -427
  275. mathutils/bvhtree/__init__.pyi +28 -32
  276. mathutils/geometry/__init__.pyi +177 -186
  277. mathutils/kdtree/__init__.pyi +16 -18
  278. mathutils/noise/__init__.pyi +47 -48
  279. nodeitems_builtins/__init__.pyi +50 -10
  280. nodeitems_utils/__init__.pyi +58 -10
  281. rna_info/__init__.pyi +230 -26
  282. rna_keymap_ui/__init__.pyi +29 -6
  283. rna_prop_ui/__init__.pyi +69 -12
  284. rna_xml/__init__.pyi +29 -6
  285. sys_info/__init__.pyi +4 -1
  286. bpy_extras/bmesh_utils/__init__.pyi +0 -6
  287. bpy_extras/extensions/__init__.pyi +0 -4
  288. bpy_extras/extensions/junction_module/__init__.pyi +0 -12
  289. bpy_extras/node_shader_utils/__init__.pyi +0 -131
  290. bpy_extras/wm_utils/__init__.pyi +0 -4
  291. bpy_extras/wm_utils/progress_report/__init__.pyi +0 -29
  292. fake_bpy_module-20240224.dist-info/RECORD +0 -349
  293. {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/top_level.txt +0 -0
@@ -4,57 +4,52 @@ import bpy.types
4
4
  GenericType = typing.TypeVar("GenericType")
5
5
 
6
6
  def brush_edit(
7
- override_context=None,
8
- execution_context=None,
9
- undo=None,
10
- *,
11
- stroke: typing.Optional[
12
- bpy.types.bpy_prop_collection["bpy.types.OperatorStrokeElement"]
13
- ] = None,
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,
14
11
  ):
15
12
  """Apply a stroke of brush to the particles
16
13
 
17
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
18
- :type execution_context: typing.Optional[typing.Union[int, str]]
19
- :type undo: typing.Optional[bool]
14
+ :type override_context: typing.Union[dict, bpy.types.Context]
15
+ :type execution_context: typing.Union[str, int]
16
+ :type undo: bool
20
17
  :param stroke: Stroke
21
- :type stroke: typing.Optional[bpy.types.bpy_prop_collection['bpy.types.OperatorStrokeElement']]
18
+ :type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
22
19
  """
23
20
 
24
21
  ...
25
22
 
26
23
  def connect_hair(
27
- override_context=None,
28
- execution_context=None,
29
- undo=None,
30
- *,
31
- all: typing.Optional[typing.Union[bool, typing.Any]] = False,
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,
32
28
  ):
33
29
  """Connect hair to the emitter mesh
34
30
 
35
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
36
- :type execution_context: typing.Optional[typing.Union[int, str]]
37
- :type undo: typing.Optional[bool]
31
+ :type override_context: typing.Union[dict, bpy.types.Context]
32
+ :type execution_context: typing.Union[str, int]
33
+ :type undo: bool
38
34
  :param all: All Hair, Connect all hair systems to the emitter mesh
39
- :type all: typing.Optional[typing.Union[bool, typing.Any]]
35
+ :type all: typing.Union[bool, typing.Any]
40
36
  """
41
37
 
42
38
  ...
43
39
 
44
40
  def copy_particle_systems(
45
- override_context=None,
46
- execution_context=None,
47
- undo=None,
48
- *,
49
- space: typing.Optional[typing.Any] = "OBJECT",
50
- remove_target_particles: typing.Optional[typing.Union[bool, typing.Any]] = True,
51
- use_active: typing.Optional[typing.Union[bool, typing.Any]] = False,
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,
52
47
  ):
53
48
  """Copy particle systems from the active object to selected objects
54
49
 
55
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
56
- :type execution_context: typing.Optional[typing.Union[int, str]]
57
- :type undo: typing.Optional[bool]
50
+ :type override_context: typing.Union[dict, bpy.types.Context]
51
+ :type execution_context: typing.Union[str, int]
52
+ :type undo: bool
58
53
  :param space: Space, Space transform for copying from one object to another
59
54
 
60
55
  OBJECT
@@ -62,277 +57,308 @@ def copy_particle_systems(
62
57
 
63
58
  WORLD
64
59
  World -- Copy in world space.
65
- :type space: typing.Optional[typing.Any]
60
+ :type space: typing.Any
66
61
  :param remove_target_particles: Remove Target Particles, Remove particle systems on the target objects
67
- :type remove_target_particles: typing.Optional[typing.Union[bool, typing.Any]]
62
+ :type remove_target_particles: typing.Union[bool, typing.Any]
68
63
  :param use_active: Use Active, Use the active particle system from the context
69
- :type use_active: typing.Optional[typing.Union[bool, typing.Any]]
64
+ :type use_active: typing.Union[bool, typing.Any]
70
65
  """
71
66
 
72
67
  ...
73
68
 
74
69
  def delete(
75
- override_context=None,
76
- execution_context=None,
77
- undo=None,
78
- *,
79
- type: typing.Optional[typing.Any] = "PARTICLE",
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",
80
74
  ):
81
75
  """Delete selected particles or keys
82
76
 
83
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
84
- :type execution_context: typing.Optional[typing.Union[int, str]]
85
- :type undo: typing.Optional[bool]
77
+ :type override_context: typing.Union[dict, bpy.types.Context]
78
+ :type execution_context: typing.Union[str, int]
79
+ :type undo: bool
86
80
  :param type: Type, Delete a full particle or only keys
87
- :type type: typing.Optional[typing.Any]
81
+ :type type: typing.Any
88
82
  """
89
83
 
90
84
  ...
91
85
 
92
86
  def disconnect_hair(
93
- override_context=None,
94
- execution_context=None,
95
- undo=None,
96
- *,
97
- all: typing.Optional[typing.Union[bool, typing.Any]] = False,
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,
98
91
  ):
99
92
  """Disconnect hair from the emitter mesh
100
93
 
101
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
102
- :type execution_context: typing.Optional[typing.Union[int, str]]
103
- :type undo: typing.Optional[bool]
94
+ :type override_context: typing.Union[dict, bpy.types.Context]
95
+ :type execution_context: typing.Union[str, int]
96
+ :type undo: bool
104
97
  :param all: All Hair, Disconnect all hair systems from the emitter mesh
105
- :type all: typing.Optional[typing.Union[bool, typing.Any]]
98
+ :type all: typing.Union[bool, typing.Any]
106
99
  """
107
100
 
108
101
  ...
109
102
 
110
103
  def duplicate_particle_system(
111
- override_context=None,
112
- execution_context=None,
113
- undo=None,
114
- *,
115
- use_duplicate_settings: typing.Optional[typing.Union[bool, typing.Any]] = False,
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,
116
108
  ):
117
109
  """Duplicate particle system within the active object
118
110
 
119
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
120
- :type execution_context: typing.Optional[typing.Union[int, str]]
121
- :type undo: typing.Optional[bool]
111
+ :type override_context: typing.Union[dict, bpy.types.Context]
112
+ :type execution_context: typing.Union[str, int]
113
+ :type undo: bool
122
114
  :param use_duplicate_settings: Duplicate Settings, Duplicate settings as well, so the new particle system uses its own settings
123
- :type use_duplicate_settings: typing.Optional[typing.Union[bool, typing.Any]]
115
+ :type use_duplicate_settings: typing.Union[bool, typing.Any]
124
116
  """
125
117
 
126
118
  ...
127
119
 
128
- def dupliob_copy(override_context=None, execution_context=None, undo=None):
120
+ 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,
124
+ ):
129
125
  """Duplicate the current instance object
130
126
 
131
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
132
- :type execution_context: typing.Optional[typing.Union[int, str]]
133
- :type undo: typing.Optional[bool]
127
+ :type override_context: typing.Union[dict, bpy.types.Context]
128
+ :type execution_context: typing.Union[str, int]
129
+ :type undo: bool
134
130
  """
135
131
 
136
132
  ...
137
133
 
138
- def dupliob_move_down(override_context=None, execution_context=None, undo=None):
134
+ 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,
138
+ ):
139
139
  """Move instance object down in the list
140
140
 
141
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
142
- :type execution_context: typing.Optional[typing.Union[int, str]]
143
- :type undo: typing.Optional[bool]
141
+ :type override_context: typing.Union[dict, bpy.types.Context]
142
+ :type execution_context: typing.Union[str, int]
143
+ :type undo: bool
144
144
  """
145
145
 
146
146
  ...
147
147
 
148
- def dupliob_move_up(override_context=None, execution_context=None, undo=None):
148
+ 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,
152
+ ):
149
153
  """Move instance object up in the list
150
154
 
151
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
152
- :type execution_context: typing.Optional[typing.Union[int, str]]
153
- :type undo: typing.Optional[bool]
155
+ :type override_context: typing.Union[dict, bpy.types.Context]
156
+ :type execution_context: typing.Union[str, int]
157
+ :type undo: bool
154
158
  """
155
159
 
156
160
  ...
157
161
 
158
- def dupliob_refresh(override_context=None, execution_context=None, undo=None):
162
+ 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,
166
+ ):
159
167
  """Refresh list of instance objects and their weights
160
168
 
161
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
162
- :type execution_context: typing.Optional[typing.Union[int, str]]
163
- :type undo: typing.Optional[bool]
169
+ :type override_context: typing.Union[dict, bpy.types.Context]
170
+ :type execution_context: typing.Union[str, int]
171
+ :type undo: bool
164
172
  """
165
173
 
166
174
  ...
167
175
 
168
- def dupliob_remove(override_context=None, execution_context=None, undo=None):
176
+ 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,
180
+ ):
169
181
  """Remove the selected instance object
170
182
 
171
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
172
- :type execution_context: typing.Optional[typing.Union[int, str]]
173
- :type undo: typing.Optional[bool]
183
+ :type override_context: typing.Union[dict, bpy.types.Context]
184
+ :type execution_context: typing.Union[str, int]
185
+ :type undo: bool
174
186
  """
175
187
 
176
188
  ...
177
189
 
178
- def edited_clear(override_context=None, execution_context=None, undo=None):
190
+ 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,
194
+ ):
179
195
  """Undo all edition performed on the particle system
180
196
 
181
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
182
- :type execution_context: typing.Optional[typing.Union[int, str]]
183
- :type undo: typing.Optional[bool]
197
+ :type override_context: typing.Union[dict, bpy.types.Context]
198
+ :type execution_context: typing.Union[str, int]
199
+ :type undo: bool
184
200
  """
185
201
 
186
202
  ...
187
203
 
188
204
  def hair_dynamics_preset_add(
189
- override_context=None,
190
- execution_context=None,
191
- undo=None,
192
- *,
205
+ override_context: typing.Union[dict, bpy.types.Context] = None,
206
+ execution_context: typing.Union[str, int] = None,
207
+ undo: bool = None,
193
208
  name: typing.Union[str, typing.Any] = "",
194
- remove_name: typing.Optional[typing.Union[bool, typing.Any]] = False,
195
- remove_active: typing.Optional[typing.Union[bool, typing.Any]] = False,
209
+ remove_name: typing.Union[bool, typing.Any] = False,
210
+ remove_active: typing.Union[bool, typing.Any] = False,
196
211
  ):
197
212
  """Add or remove a Hair Dynamics Preset
198
213
 
199
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
200
- :type execution_context: typing.Optional[typing.Union[int, str]]
201
- :type undo: typing.Optional[bool]
214
+ :type override_context: typing.Union[dict, bpy.types.Context]
215
+ :type execution_context: typing.Union[str, int]
216
+ :type undo: bool
202
217
  :param name: Name, Name of the preset, used to make the path name
203
218
  :type name: typing.Union[str, typing.Any]
204
219
  :param remove_name: remove_name
205
- :type remove_name: typing.Optional[typing.Union[bool, typing.Any]]
220
+ :type remove_name: typing.Union[bool, typing.Any]
206
221
  :param remove_active: remove_active
207
- :type remove_active: typing.Optional[typing.Union[bool, typing.Any]]
222
+ :type remove_active: typing.Union[bool, typing.Any]
208
223
  """
209
224
 
210
225
  ...
211
226
 
212
227
  def hide(
213
- override_context=None,
214
- execution_context=None,
215
- undo=None,
216
- *,
217
- unselected: typing.Optional[typing.Union[bool, typing.Any]] = False,
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,
218
232
  ):
219
233
  """Hide selected particles
220
234
 
221
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
222
- :type execution_context: typing.Optional[typing.Union[int, str]]
223
- :type undo: typing.Optional[bool]
235
+ :type override_context: typing.Union[dict, bpy.types.Context]
236
+ :type execution_context: typing.Union[str, int]
237
+ :type undo: bool
224
238
  :param unselected: Unselected, Hide unselected rather than selected
225
- :type unselected: typing.Optional[typing.Union[bool, typing.Any]]
239
+ :type unselected: typing.Union[bool, typing.Any]
226
240
  """
227
241
 
228
242
  ...
229
243
 
230
- def mirror(override_context=None, execution_context=None, undo=None):
244
+ def mirror(
245
+ override_context: typing.Union[dict, bpy.types.Context] = None,
246
+ execution_context: typing.Union[str, int] = None,
247
+ undo: bool = None,
248
+ ):
231
249
  """Duplicate and mirror the selected particles along the local X axis
232
250
 
233
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
234
- :type execution_context: typing.Optional[typing.Union[int, str]]
235
- :type undo: typing.Optional[bool]
251
+ :type override_context: typing.Union[dict, bpy.types.Context]
252
+ :type execution_context: typing.Union[str, int]
253
+ :type undo: bool
236
254
  """
237
255
 
238
256
  ...
239
257
 
240
- def new(override_context=None, execution_context=None, undo=None):
258
+ def new(
259
+ override_context: typing.Union[dict, bpy.types.Context] = None,
260
+ execution_context: typing.Union[str, int] = None,
261
+ undo: bool = None,
262
+ ):
241
263
  """Add new particle settings
242
264
 
243
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
244
- :type execution_context: typing.Optional[typing.Union[int, str]]
245
- :type undo: typing.Optional[bool]
265
+ :type override_context: typing.Union[dict, bpy.types.Context]
266
+ :type execution_context: typing.Union[str, int]
267
+ :type undo: bool
246
268
  """
247
269
 
248
270
  ...
249
271
 
250
- def new_target(override_context=None, execution_context=None, undo=None):
272
+ 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,
276
+ ):
251
277
  """Add a new particle target
252
278
 
253
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
254
- :type execution_context: typing.Optional[typing.Union[int, str]]
255
- :type undo: typing.Optional[bool]
279
+ :type override_context: typing.Union[dict, bpy.types.Context]
280
+ :type execution_context: typing.Union[str, int]
281
+ :type undo: bool
256
282
  """
257
283
 
258
284
  ...
259
285
 
260
- def particle_edit_toggle(override_context=None, execution_context=None, undo=None):
286
+ 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,
290
+ ):
261
291
  """Toggle particle edit mode
262
292
 
263
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
264
- :type execution_context: typing.Optional[typing.Union[int, str]]
265
- :type undo: typing.Optional[bool]
293
+ :type override_context: typing.Union[dict, bpy.types.Context]
294
+ :type execution_context: typing.Union[str, int]
295
+ :type undo: bool
266
296
  """
267
297
 
268
298
  ...
269
299
 
270
300
  def rekey(
271
- override_context=None,
272
- execution_context=None,
273
- undo=None,
274
- *,
275
- keys_number: typing.Optional[typing.Any] = 2,
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,
276
305
  ):
277
306
  """Change the number of keys of selected particles (root and tip keys included)
278
307
 
279
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
280
- :type execution_context: typing.Optional[typing.Union[int, str]]
281
- :type undo: typing.Optional[bool]
308
+ :type override_context: typing.Union[dict, bpy.types.Context]
309
+ :type execution_context: typing.Union[str, int]
310
+ :type undo: bool
282
311
  :param keys_number: Number of Keys
283
- :type keys_number: typing.Optional[typing.Any]
312
+ :type keys_number: typing.Any
284
313
  """
285
314
 
286
315
  ...
287
316
 
288
317
  def remove_doubles(
289
- override_context=None,
290
- execution_context=None,
291
- undo=None,
292
- *,
293
- threshold: typing.Optional[typing.Any] = 0.0002,
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,
294
322
  ):
295
323
  """Remove selected particles close enough of others
296
324
 
297
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
298
- :type execution_context: typing.Optional[typing.Union[int, str]]
299
- :type undo: typing.Optional[bool]
325
+ :type override_context: typing.Union[dict, bpy.types.Context]
326
+ :type execution_context: typing.Union[str, int]
327
+ :type undo: bool
300
328
  :param threshold: Merge Distance, Threshold distance within which particles are removed
301
- :type threshold: typing.Optional[typing.Any]
329
+ :type threshold: typing.Any
302
330
  """
303
331
 
304
332
  ...
305
333
 
306
334
  def reveal(
307
- override_context=None,
308
- execution_context=None,
309
- undo=None,
310
- *,
311
- select: typing.Optional[typing.Union[bool, typing.Any]] = True,
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,
312
339
  ):
313
340
  """Show hidden particles
314
341
 
315
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
316
- :type execution_context: typing.Optional[typing.Union[int, str]]
317
- :type undo: typing.Optional[bool]
342
+ :type override_context: typing.Union[dict, bpy.types.Context]
343
+ :type execution_context: typing.Union[str, int]
344
+ :type undo: bool
318
345
  :param select: Select
319
- :type select: typing.Optional[typing.Union[bool, typing.Any]]
346
+ :type select: typing.Union[bool, typing.Any]
320
347
  """
321
348
 
322
349
  ...
323
350
 
324
351
  def select_all(
325
- override_context=None,
326
- execution_context=None,
327
- undo=None,
328
- *,
329
- action: typing.Optional[typing.Any] = "TOGGLE",
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",
330
356
  ):
331
357
  """(De)select all particles' keys
332
358
 
333
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
334
- :type execution_context: typing.Optional[typing.Union[int, str]]
335
- :type undo: typing.Optional[bool]
359
+ :type override_context: typing.Union[dict, bpy.types.Context]
360
+ :type execution_context: typing.Union[str, int]
361
+ :type undo: bool
336
362
  :param action: Action, Selection action to execute
337
363
 
338
364
  TOGGLE
@@ -346,81 +372,91 @@ def select_all(
346
372
 
347
373
  INVERT
348
374
  Invert -- Invert selection of all elements.
349
- :type action: typing.Optional[typing.Any]
375
+ :type action: typing.Any
350
376
  """
351
377
 
352
378
  ...
353
379
 
354
- def select_less(override_context=None, execution_context=None, undo=None):
380
+ 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,
384
+ ):
355
385
  """Deselect boundary selected keys of each particle
356
386
 
357
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
358
- :type execution_context: typing.Optional[typing.Union[int, str]]
359
- :type undo: typing.Optional[bool]
387
+ :type override_context: typing.Union[dict, bpy.types.Context]
388
+ :type execution_context: typing.Union[str, int]
389
+ :type undo: bool
360
390
  """
361
391
 
362
392
  ...
363
393
 
364
- def select_linked(override_context=None, execution_context=None, undo=None):
394
+ 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,
398
+ ):
365
399
  """Select all keys linked to already selected ones
366
400
 
367
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
368
- :type execution_context: typing.Optional[typing.Union[int, str]]
369
- :type undo: typing.Optional[bool]
401
+ :type override_context: typing.Union[dict, bpy.types.Context]
402
+ :type execution_context: typing.Union[str, int]
403
+ :type undo: bool
370
404
  """
371
405
 
372
406
  ...
373
407
 
374
408
  def select_linked_pick(
375
- override_context=None,
376
- execution_context=None,
377
- undo=None,
378
- *,
379
- deselect: typing.Optional[typing.Union[bool, typing.Any]] = False,
380
- location: typing.Optional[typing.Any] = (0, 0),
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),
381
414
  ):
382
415
  """Select nearest particle from mouse pointer
383
416
 
384
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
385
- :type execution_context: typing.Optional[typing.Union[int, str]]
386
- :type undo: typing.Optional[bool]
417
+ :type override_context: typing.Union[dict, bpy.types.Context]
418
+ :type execution_context: typing.Union[str, int]
419
+ :type undo: bool
387
420
  :param deselect: Deselect, Deselect linked keys rather than selecting them
388
- :type deselect: typing.Optional[typing.Union[bool, typing.Any]]
421
+ :type deselect: typing.Union[bool, typing.Any]
389
422
  :param location: Location
390
- :type location: typing.Optional[typing.Any]
423
+ :type location: typing.Any
391
424
  """
392
425
 
393
426
  ...
394
427
 
395
- def select_more(override_context=None, execution_context=None, undo=None):
428
+ 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,
432
+ ):
396
433
  """Select keys linked to boundary selected keys of each particle
397
434
 
398
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
399
- :type execution_context: typing.Optional[typing.Union[int, str]]
400
- :type undo: typing.Optional[bool]
435
+ :type override_context: typing.Union[dict, bpy.types.Context]
436
+ :type execution_context: typing.Union[str, int]
437
+ :type undo: bool
401
438
  """
402
439
 
403
440
  ...
404
441
 
405
442
  def select_random(
406
- override_context=None,
407
- execution_context=None,
408
- undo=None,
409
- *,
410
- ratio: typing.Optional[typing.Any] = 0.5,
411
- seed: typing.Optional[typing.Any] = 0,
412
- action: typing.Optional[typing.Any] = "SELECT",
413
- type: typing.Optional[typing.Any] = "HAIR",
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",
414
450
  ):
415
451
  """Select a randomly distributed set of hair or points
416
452
 
417
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
418
- :type execution_context: typing.Optional[typing.Union[int, str]]
419
- :type undo: typing.Optional[bool]
453
+ :type override_context: typing.Union[dict, bpy.types.Context]
454
+ :type execution_context: typing.Union[str, int]
455
+ :type undo: bool
420
456
  :param ratio: Ratio, Portion of items to select randomly
421
- :type ratio: typing.Optional[typing.Any]
457
+ :type ratio: typing.Any
422
458
  :param seed: Random Seed, Seed for the random number generator
423
- :type seed: typing.Optional[typing.Any]
459
+ :type seed: typing.Any
424
460
  :param action: Action, Selection action to execute
425
461
 
426
462
  SELECT
@@ -428,25 +464,24 @@ def select_random(
428
464
 
429
465
  DESELECT
430
466
  Deselect -- Deselect all elements.
431
- :type action: typing.Optional[typing.Any]
467
+ :type action: typing.Any
432
468
  :param type: Type, Select either hair or points
433
- :type type: typing.Optional[typing.Any]
469
+ :type type: typing.Any
434
470
  """
435
471
 
436
472
  ...
437
473
 
438
474
  def select_roots(
439
- override_context=None,
440
- execution_context=None,
441
- undo=None,
442
- *,
443
- action: typing.Optional[typing.Any] = "SELECT",
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",
444
479
  ):
445
480
  """Select roots of all visible particles
446
481
 
447
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
448
- :type execution_context: typing.Optional[typing.Union[int, str]]
449
- :type undo: typing.Optional[bool]
482
+ :type override_context: typing.Union[dict, bpy.types.Context]
483
+ :type execution_context: typing.Union[str, int]
484
+ :type undo: bool
450
485
  :param action: Action, Selection action to execute
451
486
 
452
487
  TOGGLE
@@ -460,23 +495,22 @@ def select_roots(
460
495
 
461
496
  INVERT
462
497
  Invert -- Invert selection of all elements.
463
- :type action: typing.Optional[typing.Any]
498
+ :type action: typing.Any
464
499
  """
465
500
 
466
501
  ...
467
502
 
468
503
  def select_tips(
469
- override_context=None,
470
- execution_context=None,
471
- undo=None,
472
- *,
473
- action: typing.Optional[typing.Any] = "SELECT",
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",
474
508
  ):
475
509
  """Select tips of all visible particles
476
510
 
477
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
478
- :type execution_context: typing.Optional[typing.Union[int, str]]
479
- :type undo: typing.Optional[bool]
511
+ :type override_context: typing.Union[dict, bpy.types.Context]
512
+ :type execution_context: typing.Union[str, int]
513
+ :type undo: bool
480
514
  :param action: Action, Selection action to execute
481
515
 
482
516
  TOGGLE
@@ -490,85 +524,108 @@ def select_tips(
490
524
 
491
525
  INVERT
492
526
  Invert -- Invert selection of all elements.
493
- :type action: typing.Optional[typing.Any]
527
+ :type action: typing.Any
494
528
  """
495
529
 
496
530
  ...
497
531
 
498
- def shape_cut(override_context=None, execution_context=None, undo=None):
532
+ 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,
536
+ ):
499
537
  """Cut hair to conform to the set shape object
500
538
 
501
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
502
- :type execution_context: typing.Optional[typing.Union[int, str]]
503
- :type undo: typing.Optional[bool]
539
+ :type override_context: typing.Union[dict, bpy.types.Context]
540
+ :type execution_context: typing.Union[str, int]
541
+ :type undo: bool
504
542
  """
505
543
 
506
544
  ...
507
545
 
508
- def subdivide(override_context=None, execution_context=None, undo=None):
546
+ def subdivide(
547
+ override_context: typing.Union[dict, bpy.types.Context] = None,
548
+ execution_context: typing.Union[str, int] = None,
549
+ undo: bool = None,
550
+ ):
509
551
  """Subdivide selected particles segments (adds keys)
510
552
 
511
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
512
- :type execution_context: typing.Optional[typing.Union[int, str]]
513
- :type undo: typing.Optional[bool]
553
+ :type override_context: typing.Union[dict, bpy.types.Context]
554
+ :type execution_context: typing.Union[str, int]
555
+ :type undo: bool
514
556
  """
515
557
 
516
558
  ...
517
559
 
518
- def target_move_down(override_context=None, execution_context=None, undo=None):
560
+ 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,
564
+ ):
519
565
  """Move particle target down in the list
520
566
 
521
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
522
- :type execution_context: typing.Optional[typing.Union[int, str]]
523
- :type undo: typing.Optional[bool]
567
+ :type override_context: typing.Union[dict, bpy.types.Context]
568
+ :type execution_context: typing.Union[str, int]
569
+ :type undo: bool
524
570
  """
525
571
 
526
572
  ...
527
573
 
528
- def target_move_up(override_context=None, execution_context=None, undo=None):
574
+ 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,
578
+ ):
529
579
  """Move particle target up in the list
530
580
 
531
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
532
- :type execution_context: typing.Optional[typing.Union[int, str]]
533
- :type undo: typing.Optional[bool]
581
+ :type override_context: typing.Union[dict, bpy.types.Context]
582
+ :type execution_context: typing.Union[str, int]
583
+ :type undo: bool
534
584
  """
535
585
 
536
586
  ...
537
587
 
538
- def target_remove(override_context=None, execution_context=None, undo=None):
588
+ 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,
592
+ ):
539
593
  """Remove the selected particle target
540
594
 
541
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
542
- :type execution_context: typing.Optional[typing.Union[int, str]]
543
- :type undo: typing.Optional[bool]
595
+ :type override_context: typing.Union[dict, bpy.types.Context]
596
+ :type execution_context: typing.Union[str, int]
597
+ :type undo: bool
544
598
  """
545
599
 
546
600
  ...
547
601
 
548
- def unify_length(override_context=None, execution_context=None, undo=None):
602
+ 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,
606
+ ):
549
607
  """Make selected hair the same length
550
608
 
551
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
552
- :type execution_context: typing.Optional[typing.Union[int, str]]
553
- :type undo: typing.Optional[bool]
609
+ :type override_context: typing.Union[dict, bpy.types.Context]
610
+ :type execution_context: typing.Union[str, int]
611
+ :type undo: bool
554
612
  """
555
613
 
556
614
  ...
557
615
 
558
616
  def weight_set(
559
- override_context=None,
560
- execution_context=None,
561
- undo=None,
562
- *,
563
- factor: typing.Optional[typing.Any] = 1.0,
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,
564
621
  ):
565
622
  """Set the weight of selected keys
566
623
 
567
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
568
- :type execution_context: typing.Optional[typing.Union[int, str]]
569
- :type undo: typing.Optional[bool]
624
+ :type override_context: typing.Union[dict, bpy.types.Context]
625
+ :type execution_context: typing.Union[str, int]
626
+ :type undo: bool
570
627
  :param factor: Factor, Interpolation factor between current brush weight, and keys' weights
571
- :type factor: typing.Optional[typing.Any]
628
+ :type factor: typing.Any
572
629
  """
573
630
 
574
631
  ...