fake-bpy-module 20240210__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.

Potentially problematic release.


This version of fake-bpy-module might be problematic. Click here for more details.

Files changed (309) hide show
  1. addon_utils/__init__.pyi +54 -11
  2. animsys_refactor/__init__.pyi +36 -7
  3. aud/__init__.pyi +307 -321
  4. bgl/__init__.pyi +2926 -865
  5. bl_app_override/__init__.pyi +14 -4
  6. bl_app_override/helpers/__init__.pyi +24 -3
  7. bl_app_template_utils/__init__.pyi +19 -5
  8. bl_console_utils/__init__.pyi +0 -1
  9. bl_console_utils/autocomplete/__init__.pyi +2 -3
  10. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +24 -6
  11. bl_console_utils/autocomplete/complete_import/__init__.pyi +14 -4
  12. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +24 -6
  13. bl_console_utils/autocomplete/intellisense/__init__.pyi +9 -3
  14. bl_i18n_utils/__init__.pyi +2 -3
  15. bl_i18n_utils/bl_extract_messages/__init__.pyi +74 -16
  16. bl_i18n_utils/merge_po/__init__.pyi +4 -2
  17. bl_i18n_utils/settings/__init__.pyi +53 -7
  18. bl_i18n_utils/utils/__init__.pyi +332 -45
  19. bl_i18n_utils/utils_cli/__init__.pyi +29 -7
  20. bl_i18n_utils/utils_languages_menu/__init__.pyi +4 -2
  21. bl_i18n_utils/utils_rtl/__init__.pyi +9 -3
  22. bl_keymap_utils/__init__.pyi +2 -3
  23. bl_keymap_utils/io/__init__.pyi +44 -10
  24. bl_keymap_utils/keymap_from_toolbar/__init__.pyi +4 -2
  25. bl_keymap_utils/keymap_hierarchy/__init__.pyi +4 -2
  26. bl_keymap_utils/platform_helpers/__init__.pyi +9 -3
  27. bl_keymap_utils/versioning/__init__.pyi +4 -2
  28. bl_math/__init__.pyi +21 -22
  29. bl_operators/__init__.pyi +30 -24
  30. bl_operators/add_mesh_torus/__init__.pyi +171 -38
  31. bl_operators/anim/__init__.pyi +1065 -227
  32. bl_operators/assets/__init__.pyi +427 -93
  33. bl_operators/bmesh/__init__.pyi +0 -1
  34. bl_operators/bmesh/find_adjacent/__init__.pyi +44 -10
  35. bl_operators/clip/__init__.pyi +1342 -288
  36. bl_operators/console/__init__.pyi +647 -141
  37. bl_operators/constraint/__init__.pyi +524 -113
  38. bl_operators/file/__init__.pyi +396 -85
  39. bl_operators/freestyle/__init__.pyi +532 -114
  40. bl_operators/geometry_nodes/__init__.pyi +2412 -597
  41. bl_operators/image/__init__.pyi +380 -83
  42. bl_operators/mesh/__init__.pyi +401 -86
  43. bl_operators/node/__init__.pyi +1756 -385
  44. bl_operators/object/__init__.pyi +2022 -553
  45. bl_operators/object_align/__init__.pyi +145 -32
  46. bl_operators/object_quick_effects/__init__.pyi +555 -125
  47. bl_operators/object_randomize_transform/__init__.pyi +136 -33
  48. bl_operators/presets/__init__.pyi +3516 -709
  49. bl_operators/rigidbody/__init__.pyi +401 -86
  50. bl_operators/screen_play_rendered_anim/__init__.pyi +129 -30
  51. bl_operators/sequencer/__init__.pyi +731 -150
  52. bl_operators/spreadsheet/__init__.pyi +145 -31
  53. bl_operators/userpref/__init__.pyi +3416 -825
  54. bl_operators/uvcalc_follow_active/__init__.pyi +149 -33
  55. bl_operators/uvcalc_lightmap/__init__.pyi +187 -35
  56. bl_operators/uvcalc_transform/__init__.pyi +344 -74
  57. bl_operators/vertexpaint_dirt/__init__.pyi +140 -31
  58. bl_operators/view3d/__init__.pyi +697 -147
  59. bl_operators/wm/__init__.pyi +6287 -1534
  60. bl_previews_utils/__init__.pyi +0 -1
  61. bl_previews_utils/bl_previews_render/__init__.pyi +34 -8
  62. bl_rna_utils/__init__.pyi +0 -1
  63. bl_rna_utils/data_path/__init__.pyi +12 -3
  64. bl_text_utils/__init__.pyi +0 -1
  65. bl_text_utils/external_editor/__init__.pyi +4 -2
  66. bl_ui/__init__.pyi +567 -170
  67. bl_ui/anim/__init__.pyi +164 -34
  68. bl_ui/asset_shelf/__init__.pyi +146 -32
  69. bl_ui/generic_ui_list/__init__.pyi +471 -100
  70. bl_ui/node_add_menu/__init__.pyi +196 -41
  71. bl_ui/node_add_menu_compositor/__init__.pyi +3017 -622
  72. bl_ui/node_add_menu_geometry/__init__.pyi +8075 -1592
  73. bl_ui/node_add_menu_shader/__init__.pyi +1709 -349
  74. bl_ui/node_add_menu_texture/__init__.pyi +1502 -306
  75. bl_ui/properties_animviz/__init__.pyi +32 -3
  76. bl_ui/properties_collection/__init__.pyi +787 -180
  77. bl_ui/properties_constraint/__init__.pyi +28635 -5524
  78. bl_ui/properties_data_armature/__init__.pyi +1905 -449
  79. bl_ui/properties_data_bone/__init__.pyi +1560 -337
  80. bl_ui/properties_data_camera/__init__.pyi +2269 -495
  81. bl_ui/properties_data_curve/__init__.pyi +2362 -535
  82. bl_ui/properties_data_curves/__init__.pyi +951 -204
  83. bl_ui/properties_data_empty/__init__.pyi +317 -70
  84. bl_ui/properties_data_gpencil/__init__.pyi +2924 -735
  85. bl_ui/properties_data_grease_pencil/__init__.pyi +1631 -189
  86. bl_ui/properties_data_lattice/__init__.pyi +472 -105
  87. bl_ui/properties_data_light/__init__.pyi +1570 -338
  88. bl_ui/properties_data_lightprobe/__init__.pyi +938 -209
  89. bl_ui/properties_data_mesh/__init__.pyi +3205 -768
  90. bl_ui/properties_data_metaball/__init__.pyi +774 -171
  91. bl_ui/properties_data_modifier/__init__.pyi +1554 -329
  92. bl_ui/properties_data_pointcloud/__init__.pyi +821 -195
  93. bl_ui/properties_data_shaderfx/__init__.pyi +154 -35
  94. bl_ui/properties_data_speaker/__init__.pyi +782 -169
  95. bl_ui/properties_data_volume/__init__.pyi +1243 -282
  96. bl_ui/properties_freestyle/__init__.pyi +4071 -1031
  97. bl_ui/properties_grease_pencil_common/__init__.pyi +2399 -484
  98. bl_ui/properties_mask_common/__init__.pyi +1256 -250
  99. bl_ui/properties_material/__init__.pyi +2351 -543
  100. bl_ui/properties_material_gpencil/__init__.pyi +1590 -366
  101. bl_ui/properties_object/__init__.pyi +2179 -513
  102. bl_ui/properties_output/__init__.pyi +2956 -706
  103. bl_ui/properties_paint_common/__init__.pyi +947 -141
  104. bl_ui/properties_particle/__init__.pyi +8322 -1971
  105. bl_ui/properties_physics_cloth/__init__.pyi +2254 -509
  106. bl_ui/properties_physics_common/__init__.pyi +200 -45
  107. bl_ui/properties_physics_dynamicpaint/__init__.pyi +4454 -966
  108. bl_ui/properties_physics_field/__init__.pyi +1695 -365
  109. bl_ui/properties_physics_fluid/__init__.pyi +6127 -1281
  110. bl_ui/properties_physics_geometry_nodes/__init__.pyi +157 -33
  111. bl_ui/properties_physics_rigidbody/__init__.pyi +1254 -279
  112. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2053 -484
  113. bl_ui/properties_physics_softbody/__init__.pyi +2394 -543
  114. bl_ui/properties_render/__init__.pyi +8312 -1934
  115. bl_ui/properties_scene/__init__.pyi +2211 -540
  116. bl_ui/properties_texture/__init__.pyi +4185 -1014
  117. bl_ui/properties_view_layer/__init__.pyi +2803 -665
  118. bl_ui/properties_workspace/__init__.pyi +626 -149
  119. bl_ui/properties_world/__init__.pyi +1092 -235
  120. bl_ui/space_clip/__init__.pyi +11475 -2806
  121. bl_ui/space_console/__init__.pyi +967 -203
  122. bl_ui/space_dopesheet/__init__.pyi +4260 -967
  123. bl_ui/space_filebrowser/__init__.pyi +4852 -1188
  124. bl_ui/space_graph/__init__.pyi +3251 -703
  125. bl_ui/space_image/__init__.pyi +12218 -2968
  126. bl_ui/space_info/__init__.pyi +964 -201
  127. bl_ui/space_nla/__init__.pyi +2756 -585
  128. bl_ui/space_node/__init__.pyi +5661 -1266
  129. bl_ui/space_outliner/__init__.pyi +2294 -479
  130. bl_ui/space_properties/__init__.pyi +417 -93
  131. bl_ui/space_sequencer/__init__.pyi +12436 -3010
  132. bl_ui/space_spreadsheet/__init__.pyi +184 -37
  133. bl_ui/space_statusbar/__init__.pyi +135 -31
  134. bl_ui/space_text/__init__.pyi +2556 -543
  135. bl_ui/space_time/__init__.pyi +1151 -244
  136. bl_ui/space_toolsystem_common/__init__.pyi +368 -67
  137. bl_ui/space_toolsystem_toolbar/__init__.pyi +1378 -229
  138. bl_ui/space_topbar/__init__.pyi +4214 -888
  139. bl_ui/space_userpref/__init__.pyi +13920 -3468
  140. bl_ui/space_view3d/__init__.pyi +42751 -9613
  141. bl_ui/space_view3d_toolbar/__init__.pyi +16379 -3860
  142. bl_ui/utils/__init__.pyi +42 -5
  143. bl_ui_utils/__init__.pyi +0 -1
  144. bl_ui_utils/bug_report_url/__init__.pyi +4 -2
  145. bl_ui_utils/layout/__init__.pyi +4 -2
  146. blend_render_info/__init__.pyi +13 -4
  147. blf/__init__.pyi +15 -18
  148. bmesh/__init__.pyi +18 -18
  149. bmesh/geometry/__init__.pyi +5 -6
  150. bmesh/ops/__init__.pyi +1337 -1158
  151. bmesh/types/__init__.pyi +464 -374
  152. bmesh/utils/__init__.pyi +64 -70
  153. bpy/__init__.pyi +6 -7
  154. bpy/app/__init__.pyi +36 -38
  155. bpy/app/handlers/__init__.pyi +37 -38
  156. bpy/app/icons/__init__.pyi +8 -11
  157. bpy/app/timers/__init__.pyi +18 -17
  158. bpy/app/translations/__init__.pyi +32 -30
  159. bpy/msgbus/__init__.pyi +25 -20
  160. bpy/ops/__init__.pyi +63 -64
  161. bpy/ops/action/__init__.pyi +408 -436
  162. bpy/ops/anim/__init__.pyi +459 -577
  163. bpy/ops/armature/__init__.pyi +396 -498
  164. bpy/ops/asset/__init__.pyi +187 -213
  165. bpy/ops/boid/__init__.pyi +50 -68
  166. bpy/ops/brush/__init__.pyi +72 -97
  167. bpy/ops/buttons/__init__.pyi +202 -193
  168. bpy/ops/cachefile/__init__.pyi +198 -188
  169. bpy/ops/camera/__init__.pyi +24 -31
  170. bpy/ops/clip/__init__.pyi +1021 -1082
  171. bpy/ops/cloth/__init__.pyi +11 -15
  172. bpy/ops/collection/__init__.pyi +36 -51
  173. bpy/ops/console/__init__.pyi +155 -209
  174. bpy/ops/constraint/__init__.pyi +286 -254
  175. bpy/ops/curve/__init__.pyi +597 -659
  176. bpy/ops/curves/__init__.pyi +191 -225
  177. bpy/ops/cycles/__init__.pyi +21 -30
  178. bpy/ops/dpaint/__init__.pyi +34 -47
  179. bpy/ops/ed/__init__.pyi +160 -176
  180. bpy/ops/export_anim/__init__.pyi +51 -34
  181. bpy/ops/export_mesh/__init__.pyi +47 -45
  182. bpy/ops/export_scene/__init__.pyi +659 -504
  183. bpy/ops/file/__init__.pyi +469 -474
  184. bpy/ops/fluid/__init__.pyi +89 -119
  185. bpy/ops/font/__init__.pyi +325 -361
  186. bpy/ops/geometry/__init__.pyi +86 -114
  187. bpy/ops/gizmogroup/__init__.pyi +22 -28
  188. bpy/ops/gpencil/__init__.pyi +1900 -1976
  189. bpy/ops/graph/__init__.pyi +875 -894
  190. bpy/ops/grease_pencil/__init__.pyi +572 -508
  191. bpy/ops/image/__init__.pyi +805 -855
  192. bpy/ops/import_anim/__init__.pyi +66 -46
  193. bpy/ops/import_curve/__init__.pyi +7 -11
  194. bpy/ops/import_mesh/__init__.pyi +19 -25
  195. bpy/ops/import_scene/__init__.pyi +164 -147
  196. bpy/ops/info/__init__.pyi +88 -85
  197. bpy/ops/lattice/__init__.pyi +86 -90
  198. bpy/ops/marker/__init__.pyi +135 -146
  199. bpy/ops/mask/__init__.pyi +372 -436
  200. bpy/ops/material/__init__.pyi +18 -25
  201. bpy/ops/mball/__init__.pyi +93 -99
  202. bpy/ops/mesh/__init__.pyi +2525 -2664
  203. bpy/ops/nla/__init__.pyi +398 -455
  204. bpy/ops/node/__init__.pyi +1015 -1207
  205. bpy/ops/object/__init__.pyi +3423 -3390
  206. bpy/ops/outliner/__init__.pyi +667 -685
  207. bpy/ops/paint/__init__.pyi +719 -672
  208. bpy/ops/paintcurve/__init__.pyi +64 -85
  209. bpy/ops/palette/__init__.pyi +48 -67
  210. bpy/ops/particle/__init__.pyi +323 -367
  211. bpy/ops/pose/__init__.pyi +569 -474
  212. bpy/ops/poselib/__init__.pyi +77 -100
  213. bpy/ops/preferences/__init__.pyi +460 -512
  214. bpy/ops/ptcache/__init__.pyi +46 -63
  215. bpy/ops/render/__init__.pyi +121 -155
  216. bpy/ops/rigidbody/__init__.pyi +148 -143
  217. bpy/ops/scene/__init__.pyi +336 -380
  218. bpy/ops/screen/__init__.pyi +454 -530
  219. bpy/ops/script/__init__.pyi +19 -28
  220. bpy/ops/sculpt/__init__.pyi +734 -587
  221. bpy/ops/sculpt_curves/__init__.pyi +51 -56
  222. bpy/ops/sequencer/__init__.pyi +1617 -1500
  223. bpy/ops/sound/__init__.pyi +392 -315
  224. bpy/ops/spreadsheet/__init__.pyi +31 -42
  225. bpy/ops/surface/__init__.pyi +198 -163
  226. bpy/ops/text/__init__.pyi +479 -545
  227. bpy/ops/text_editor/__init__.pyi +11 -15
  228. bpy/ops/texture/__init__.pyi +26 -36
  229. bpy/ops/transform/__init__.pyi +825 -941
  230. bpy/ops/ui/__init__.pyi +246 -295
  231. bpy/ops/uilist/__init__.pyi +34 -38
  232. bpy/ops/uv/__init__.pyi +912 -824
  233. bpy/ops/view2d/__init__.pyi +157 -197
  234. bpy/ops/view3d/__init__.pyi +777 -878
  235. bpy/ops/wm/__init__.pyi +4102 -3595
  236. bpy/ops/workspace/__init__.pyi +42 -58
  237. bpy/ops/world/__init__.pyi +6 -9
  238. bpy/path/__init__.pyi +166 -109
  239. bpy/props/__init__.pyi +478 -395
  240. bpy/types/__init__.pyi +87194 -81467
  241. bpy/utils/__init__.pyi +325 -169
  242. bpy/utils/previews/__init__.pyi +108 -21
  243. bpy/utils/units/__init__.pyi +37 -39
  244. bpy_extras/__init__.pyi +4 -9
  245. bpy_extras/anim_utils/__init__.pyi +25 -55
  246. bpy_extras/asset_utils/__init__.pyi +3 -13
  247. bpy_extras/id_map_utils/__init__.pyi +1 -4
  248. bpy_extras/image_utils/__init__.pyi +33 -23
  249. bpy_extras/io_utils/__init__.pyi +116 -66
  250. bpy_extras/keyconfig_utils/__init__.pyi +5 -3
  251. bpy_extras/mesh_utils/__init__.pyi +42 -34
  252. bpy_extras/node_utils/__init__.pyi +4 -4
  253. bpy_extras/object_utils/__init__.pyi +58 -43
  254. bpy_extras/view3d_utils/__init__.pyi +64 -63
  255. bpy_restrict_state/__init__.pyi +14 -2
  256. bpy_types/__init__.pyi +3873 -998
  257. console_python/__init__.pyi +41 -8
  258. console_shell/__init__.pyi +24 -6
  259. {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/METADATA +1 -1
  260. fake_bpy_module-20240326.dist-info/RECORD +343 -0
  261. {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/WHEEL +1 -1
  262. freestyle/__init__.pyi +4 -5
  263. freestyle/chainingiterators/__init__.pyi +229 -73
  264. freestyle/functions/__init__.pyi +624 -402
  265. freestyle/predicates/__init__.pyi +381 -169
  266. freestyle/shaders/__init__.pyi +424 -155
  267. freestyle/types/__init__.pyi +1572 -726
  268. freestyle/utils/ContextFunctions/__init__.pyi +54 -43
  269. freestyle/utils/__init__.pyi +67 -31
  270. gpu/__init__.pyi +3 -4
  271. gpu/capabilities/__init__.pyi +57 -37
  272. gpu/matrix/__init__.pyi +14 -17
  273. gpu/platform/__init__.pyi +5 -6
  274. gpu/select/__init__.pyi +2 -5
  275. gpu/shader/__init__.pyi +14 -12
  276. gpu/state/__init__.pyi +48 -62
  277. gpu/texture/__init__.pyi +7 -7
  278. gpu/types/__init__.pyi +670 -229
  279. gpu_extras/__init__.pyi +1 -2
  280. gpu_extras/batch/__init__.pyi +27 -6
  281. gpu_extras/presets/__init__.pyi +67 -27
  282. graphviz_export/__init__.pyi +9 -3
  283. idprop/__init__.pyi +0 -1
  284. idprop/types/__init__.pyi +42 -13
  285. imbuf/__init__.pyi +6 -10
  286. imbuf/types/__init__.pyi +8 -16
  287. keyingsets_builtins/__init__.pyi +3149 -702
  288. keyingsets_utils/__init__.pyi +69 -15
  289. mathutils/__init__.pyi +951 -876
  290. mathutils/bvhtree/__init__.pyi +47 -48
  291. mathutils/geometry/__init__.pyi +237 -242
  292. mathutils/interpolate/__init__.pyi +3 -6
  293. mathutils/kdtree/__init__.pyi +23 -26
  294. mathutils/noise/__init__.pyi +50 -51
  295. nodeitems_builtins/__init__.pyi +50 -11
  296. nodeitems_utils/__init__.pyi +58 -11
  297. rna_info/__init__.pyi +230 -27
  298. rna_keymap_ui/__init__.pyi +29 -7
  299. rna_prop_ui/__init__.pyi +69 -13
  300. rna_xml/__init__.pyi +29 -7
  301. sys_info/__init__.pyi +4 -2
  302. bpy_extras/bmesh_utils/__init__.pyi +0 -7
  303. bpy_extras/extensions/__init__.pyi +0 -5
  304. bpy_extras/extensions/junction_module/__init__.pyi +0 -13
  305. bpy_extras/node_shader_utils/__init__.pyi +0 -132
  306. bpy_extras/wm_utils/__init__.pyi +0 -5
  307. bpy_extras/wm_utils/progress_report/__init__.pyi +0 -30
  308. fake_bpy_module-20240210.dist-info/RECORD +0 -349
  309. {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/top_level.txt +0 -0
@@ -1,43 +1,37 @@
1
- import sys
2
1
  import typing
3
- import bpy.types
4
2
  import bpy.ops.transform
3
+ import bpy.types
5
4
 
6
5
  GenericType = typing.TypeVar("GenericType")
7
6
 
8
7
  def align(
9
- override_context: typing.Optional[
10
- typing.Union[typing.Dict, "bpy.types.Context"]
11
- ] = None,
12
- execution_context: typing.Optional[typing.Union[str, int]] = None,
13
- undo: typing.Optional[bool] = None,
8
+ override_context: typing.Union[dict, bpy.types.Context] = None,
9
+ execution_context: typing.Union[str, int] = None,
10
+ undo: bool = None,
14
11
  ):
15
12
  """Align selected bones to the active bone (or to their parent)
16
13
 
17
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
18
- :type execution_context: typing.Optional[typing.Union[str, int]]
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
  """
21
18
 
22
19
  ...
23
20
 
24
21
  def assign_to_collection(
25
- override_context: typing.Optional[
26
- typing.Union[typing.Dict, "bpy.types.Context"]
27
- ] = None,
28
- execution_context: typing.Optional[typing.Union[str, int]] = None,
29
- undo: typing.Optional[bool] = None,
30
- *,
31
- collection_index: typing.Optional[typing.Any] = -1,
22
+ override_context: typing.Union[dict, bpy.types.Context] = None,
23
+ execution_context: typing.Union[str, int] = None,
24
+ undo: bool = None,
25
+ collection_index: typing.Any = -1,
32
26
  new_collection_name: typing.Union[str, typing.Any] = "",
33
27
  ):
34
28
  """Assign all selected bones to a collection, or unassign them, depending on whether the active bone is already assigned or not
35
29
 
36
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
37
- :type execution_context: typing.Optional[typing.Union[str, int]]
38
- :type undo: typing.Optional[bool]
30
+ :type override_context: typing.Union[dict, bpy.types.Context]
31
+ :type execution_context: typing.Union[str, int]
32
+ :type undo: bool
39
33
  :param collection_index: Collection Index, Index of the collection to assign selected bones to. When the operator should create a new bone collection, use new_collection_name to define the collection name, and set this parameter to the parent index of the new bone collection
40
- :type collection_index: typing.Optional[typing.Any]
34
+ :type collection_index: typing.Any
41
35
  :param new_collection_name: Name, Name of a to-be-added bone collection. Only pass this if you want to create a new bone collection and assign the selected bones to it. To assign to an existing collection, do not include this parameter and use collection_index
42
36
  :type new_collection_name: typing.Union[str, typing.Any]
43
37
  """
@@ -45,39 +39,42 @@ def assign_to_collection(
45
39
  ...
46
40
 
47
41
  def autoside_names(
48
- override_context: typing.Optional[
49
- typing.Union[typing.Dict, "bpy.types.Context"]
50
- ] = None,
51
- execution_context: typing.Optional[typing.Union[str, int]] = None,
52
- undo: typing.Optional[bool] = None,
53
- *,
54
- type: typing.Optional[typing.Any] = "XAXIS",
42
+ override_context: typing.Union[dict, bpy.types.Context] = None,
43
+ execution_context: typing.Union[str, int] = None,
44
+ undo: bool = None,
45
+ type: typing.Any = "XAXIS",
55
46
  ):
56
47
  """Automatically renames the selected bones according to which side of the target axis they fall on
57
48
 
58
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
59
- :type execution_context: typing.Optional[typing.Union[str, int]]
60
- :type undo: typing.Optional[bool]
61
- :param type: Axis, Axis to tag names with * ``XAXIS`` X-Axis -- Left/Right. * ``YAXIS`` Y-Axis -- Front/Back. * ``ZAXIS`` Z-Axis -- Top/Bottom.
62
- :type type: typing.Optional[typing.Any]
49
+ :type override_context: typing.Union[dict, bpy.types.Context]
50
+ :type execution_context: typing.Union[str, int]
51
+ :type undo: bool
52
+ :param type: Axis, Axis to tag names with
53
+
54
+ XAXIS
55
+ X-Axis -- Left/Right.
56
+
57
+ YAXIS
58
+ Y-Axis -- Front/Back.
59
+
60
+ ZAXIS
61
+ Z-Axis -- Top/Bottom.
62
+ :type type: typing.Any
63
63
  """
64
64
 
65
65
  ...
66
66
 
67
67
  def bone_primitive_add(
68
- override_context: typing.Optional[
69
- typing.Union[typing.Dict, "bpy.types.Context"]
70
- ] = None,
71
- execution_context: typing.Optional[typing.Union[str, int]] = None,
72
- undo: typing.Optional[bool] = None,
73
- *,
68
+ override_context: typing.Union[dict, bpy.types.Context] = None,
69
+ execution_context: typing.Union[str, int] = None,
70
+ undo: bool = None,
74
71
  name: typing.Union[str, typing.Any] = "",
75
72
  ):
76
73
  """Add a new bone located at the 3D cursor
77
74
 
78
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
79
- :type execution_context: typing.Optional[typing.Union[str, int]]
80
- :type undo: typing.Optional[bool]
75
+ :type override_context: typing.Union[dict, bpy.types.Context]
76
+ :type execution_context: typing.Union[str, int]
77
+ :type undo: bool
81
78
  :param name: Name, Name of the newly created bone
82
79
  :type name: typing.Union[str, typing.Any]
83
80
  """
@@ -85,77 +82,67 @@ def bone_primitive_add(
85
82
  ...
86
83
 
87
84
  def calculate_roll(
88
- override_context: typing.Optional[
89
- typing.Union[typing.Dict, "bpy.types.Context"]
90
- ] = None,
91
- execution_context: typing.Optional[typing.Union[str, int]] = None,
92
- undo: typing.Optional[bool] = None,
93
- *,
94
- type: typing.Optional[typing.Any] = "POS_X",
95
- axis_flip: typing.Optional[typing.Union[bool, typing.Any]] = False,
96
- axis_only: typing.Optional[typing.Union[bool, typing.Any]] = False,
85
+ override_context: typing.Union[dict, bpy.types.Context] = None,
86
+ execution_context: typing.Union[str, int] = None,
87
+ undo: bool = None,
88
+ type: typing.Any = "POS_X",
89
+ axis_flip: typing.Union[bool, typing.Any] = False,
90
+ axis_only: typing.Union[bool, typing.Any] = False,
97
91
  ):
98
92
  """Automatically fix alignment of select bones' axes
99
93
 
100
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
101
- :type execution_context: typing.Optional[typing.Union[str, int]]
102
- :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
103
97
  :param type: Type
104
- :type type: typing.Optional[typing.Any]
98
+ :type type: typing.Any
105
99
  :param axis_flip: Flip Axis, Negate the alignment axis
106
- :type axis_flip: typing.Optional[typing.Union[bool, typing.Any]]
100
+ :type axis_flip: typing.Union[bool, typing.Any]
107
101
  :param axis_only: Shortest Rotation, Ignore the axis direction, use the shortest rotation to align
108
- :type axis_only: typing.Optional[typing.Union[bool, typing.Any]]
102
+ :type axis_only: typing.Union[bool, typing.Any]
109
103
  """
110
104
 
111
105
  ...
112
106
 
113
107
  def click_extrude(
114
- override_context: typing.Optional[
115
- typing.Union[typing.Dict, "bpy.types.Context"]
116
- ] = None,
117
- execution_context: typing.Optional[typing.Union[str, int]] = None,
118
- undo: typing.Optional[bool] = None,
108
+ override_context: typing.Union[dict, bpy.types.Context] = None,
109
+ execution_context: typing.Union[str, int] = None,
110
+ undo: bool = None,
119
111
  ):
120
112
  """Create a new bone going from the last selected joint to the mouse position
121
113
 
122
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
123
- :type execution_context: typing.Optional[typing.Union[str, int]]
124
- :type undo: typing.Optional[bool]
114
+ :type override_context: typing.Union[dict, bpy.types.Context]
115
+ :type execution_context: typing.Union[str, int]
116
+ :type undo: bool
125
117
  """
126
118
 
127
119
  ...
128
120
 
129
121
  def collection_add(
130
- override_context: typing.Optional[
131
- typing.Union[typing.Dict, "bpy.types.Context"]
132
- ] = None,
133
- execution_context: typing.Optional[typing.Union[str, int]] = None,
134
- undo: typing.Optional[bool] = None,
122
+ override_context: typing.Union[dict, bpy.types.Context] = None,
123
+ execution_context: typing.Union[str, int] = None,
124
+ undo: bool = None,
135
125
  ):
136
126
  """Add a new bone collection
137
127
 
138
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
139
- :type execution_context: typing.Optional[typing.Union[str, int]]
140
- :type undo: typing.Optional[bool]
128
+ :type override_context: typing.Union[dict, bpy.types.Context]
129
+ :type execution_context: typing.Union[str, int]
130
+ :type undo: bool
141
131
  """
142
132
 
143
133
  ...
144
134
 
145
135
  def collection_assign(
146
- override_context: typing.Optional[
147
- typing.Union[typing.Dict, "bpy.types.Context"]
148
- ] = None,
149
- execution_context: typing.Optional[typing.Union[str, int]] = None,
150
- undo: typing.Optional[bool] = None,
151
- *,
136
+ override_context: typing.Union[dict, bpy.types.Context] = None,
137
+ execution_context: typing.Union[str, int] = None,
138
+ undo: bool = None,
152
139
  name: typing.Union[str, typing.Any] = "",
153
140
  ):
154
141
  """Add selected bones to the chosen bone collection
155
142
 
156
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
157
- :type execution_context: typing.Optional[typing.Union[str, int]]
158
- :type undo: typing.Optional[bool]
143
+ :type override_context: typing.Union[dict, bpy.types.Context]
144
+ :type execution_context: typing.Union[str, int]
145
+ :type undo: bool
159
146
  :param name: Bone Collection, Name of the bone collection to assign this bone to; empty to assign to the active bone collection
160
147
  :type name: typing.Union[str, typing.Any]
161
148
  """
@@ -163,19 +150,16 @@ def collection_assign(
163
150
  ...
164
151
 
165
152
  def collection_create_and_assign(
166
- override_context: typing.Optional[
167
- typing.Union[typing.Dict, "bpy.types.Context"]
168
- ] = None,
169
- execution_context: typing.Optional[typing.Union[str, int]] = None,
170
- undo: typing.Optional[bool] = None,
171
- *,
153
+ override_context: typing.Union[dict, bpy.types.Context] = None,
154
+ execution_context: typing.Union[str, int] = None,
155
+ undo: bool = None,
172
156
  name: typing.Union[str, typing.Any] = "",
173
157
  ):
174
158
  """Create a new bone collection and assign all selected bones
175
159
 
176
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
177
- :type execution_context: typing.Optional[typing.Union[str, int]]
178
- :type undo: typing.Optional[bool]
160
+ :type override_context: typing.Union[dict, bpy.types.Context]
161
+ :type execution_context: typing.Union[str, int]
162
+ :type undo: bool
179
163
  :param name: Bone Collection, Name of the bone collection to create
180
164
  :type name: typing.Union[str, typing.Any]
181
165
  """
@@ -183,119 +167,103 @@ def collection_create_and_assign(
183
167
  ...
184
168
 
185
169
  def collection_deselect(
186
- override_context: typing.Optional[
187
- typing.Union[typing.Dict, "bpy.types.Context"]
188
- ] = None,
189
- execution_context: typing.Optional[typing.Union[str, int]] = None,
190
- undo: typing.Optional[bool] = None,
170
+ override_context: typing.Union[dict, bpy.types.Context] = None,
171
+ execution_context: typing.Union[str, int] = None,
172
+ undo: bool = None,
191
173
  ):
192
174
  """Deselect bones of active Bone Collection
193
175
 
194
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
195
- :type execution_context: typing.Optional[typing.Union[str, int]]
196
- :type undo: typing.Optional[bool]
176
+ :type override_context: typing.Union[dict, bpy.types.Context]
177
+ :type execution_context: typing.Union[str, int]
178
+ :type undo: bool
197
179
  """
198
180
 
199
181
  ...
200
182
 
201
183
  def collection_move(
202
- override_context: typing.Optional[
203
- typing.Union[typing.Dict, "bpy.types.Context"]
204
- ] = None,
205
- execution_context: typing.Optional[typing.Union[str, int]] = None,
206
- undo: typing.Optional[bool] = None,
207
- *,
208
- direction: typing.Optional[typing.Any] = "UP",
184
+ override_context: typing.Union[dict, bpy.types.Context] = None,
185
+ execution_context: typing.Union[str, int] = None,
186
+ undo: bool = None,
187
+ direction: typing.Any = "UP",
209
188
  ):
210
189
  """Change position of active Bone Collection in list of Bone collections
211
190
 
212
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
213
- :type execution_context: typing.Optional[typing.Union[str, int]]
214
- :type undo: typing.Optional[bool]
191
+ :type override_context: typing.Union[dict, bpy.types.Context]
192
+ :type execution_context: typing.Union[str, int]
193
+ :type undo: bool
215
194
  :param direction: Direction, Direction to move the active Bone Collection towards
216
- :type direction: typing.Optional[typing.Any]
195
+ :type direction: typing.Any
217
196
  """
218
197
 
219
198
  ...
220
199
 
221
200
  def collection_remove(
222
- override_context: typing.Optional[
223
- typing.Union[typing.Dict, "bpy.types.Context"]
224
- ] = None,
225
- execution_context: typing.Optional[typing.Union[str, int]] = None,
226
- undo: typing.Optional[bool] = None,
201
+ override_context: typing.Union[dict, bpy.types.Context] = None,
202
+ execution_context: typing.Union[str, int] = None,
203
+ undo: bool = None,
227
204
  ):
228
205
  """Remove the active bone collection
229
206
 
230
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
231
- :type execution_context: typing.Optional[typing.Union[str, int]]
232
- :type undo: typing.Optional[bool]
207
+ :type override_context: typing.Union[dict, bpy.types.Context]
208
+ :type execution_context: typing.Union[str, int]
209
+ :type undo: bool
233
210
  """
234
211
 
235
212
  ...
236
213
 
237
214
  def collection_remove_unused(
238
- override_context: typing.Optional[
239
- typing.Union[typing.Dict, "bpy.types.Context"]
240
- ] = None,
241
- execution_context: typing.Optional[typing.Union[str, int]] = None,
242
- undo: typing.Optional[bool] = None,
215
+ override_context: typing.Union[dict, bpy.types.Context] = None,
216
+ execution_context: typing.Union[str, int] = None,
217
+ undo: bool = None,
243
218
  ):
244
- """Remove all bone collections that have neither bones nor children. This is done recursively, so bone collections that only have unused children are also removed :File: `startup/bl_operators/anim.py\:581 <https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/anim.py#L581>`__
219
+ """Remove all bone collections that have neither bones nor children. This is done recursively, so bone collections that only have unused children are also removed
245
220
 
246
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
247
- :type execution_context: typing.Optional[typing.Union[str, int]]
248
- :type undo: typing.Optional[bool]
221
+ :type override_context: typing.Union[dict, bpy.types.Context]
222
+ :type execution_context: typing.Union[str, int]
223
+ :type undo: bool
249
224
  """
250
225
 
251
226
  ...
252
227
 
253
228
  def collection_select(
254
- override_context: typing.Optional[
255
- typing.Union[typing.Dict, "bpy.types.Context"]
256
- ] = None,
257
- execution_context: typing.Optional[typing.Union[str, int]] = None,
258
- undo: typing.Optional[bool] = None,
229
+ override_context: typing.Union[dict, bpy.types.Context] = None,
230
+ execution_context: typing.Union[str, int] = None,
231
+ undo: bool = None,
259
232
  ):
260
233
  """Select bones in active Bone Collection
261
234
 
262
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
263
- :type execution_context: typing.Optional[typing.Union[str, int]]
264
- :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
265
238
  """
266
239
 
267
240
  ...
268
241
 
269
242
  def collection_show_all(
270
- override_context: typing.Optional[
271
- typing.Union[typing.Dict, "bpy.types.Context"]
272
- ] = None,
273
- execution_context: typing.Optional[typing.Union[str, int]] = None,
274
- undo: typing.Optional[bool] = None,
243
+ override_context: typing.Union[dict, bpy.types.Context] = None,
244
+ execution_context: typing.Union[str, int] = None,
245
+ undo: bool = None,
275
246
  ):
276
- """Show all bone collections :File: `startup/bl_operators/anim.py\:537 <https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/anim.py#L537>`__
247
+ """Show all bone collections
277
248
 
278
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
279
- :type execution_context: typing.Optional[typing.Union[str, int]]
280
- :type undo: typing.Optional[bool]
249
+ :type override_context: typing.Union[dict, bpy.types.Context]
250
+ :type execution_context: typing.Union[str, int]
251
+ :type undo: bool
281
252
  """
282
253
 
283
254
  ...
284
255
 
285
256
  def collection_unassign(
286
- override_context: typing.Optional[
287
- typing.Union[typing.Dict, "bpy.types.Context"]
288
- ] = None,
289
- execution_context: typing.Optional[typing.Union[str, int]] = None,
290
- undo: typing.Optional[bool] = None,
291
- *,
257
+ override_context: typing.Union[dict, bpy.types.Context] = None,
258
+ execution_context: typing.Union[str, int] = None,
259
+ undo: bool = None,
292
260
  name: typing.Union[str, typing.Any] = "",
293
261
  ):
294
262
  """Remove selected bones from the active bone collection
295
263
 
296
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
297
- :type execution_context: typing.Optional[typing.Union[str, int]]
298
- :type undo: typing.Optional[bool]
264
+ :type override_context: typing.Union[dict, bpy.types.Context]
265
+ :type execution_context: typing.Union[str, int]
266
+ :type undo: bool
299
267
  :param name: Bone Collection, Name of the bone collection to unassign this bone from; empty to unassign from the active bone collection
300
268
  :type name: typing.Union[str, typing.Any]
301
269
  """
@@ -303,20 +271,17 @@ def collection_unassign(
303
271
  ...
304
272
 
305
273
  def collection_unassign_named(
306
- override_context: typing.Optional[
307
- typing.Union[typing.Dict, "bpy.types.Context"]
308
- ] = None,
309
- execution_context: typing.Optional[typing.Union[str, int]] = None,
310
- undo: typing.Optional[bool] = None,
311
- *,
274
+ override_context: typing.Union[dict, bpy.types.Context] = None,
275
+ execution_context: typing.Union[str, int] = None,
276
+ undo: bool = None,
312
277
  name: typing.Union[str, typing.Any] = "",
313
278
  bone_name: typing.Union[str, typing.Any] = "",
314
279
  ):
315
280
  """Unassign the named bone from this bone collection
316
281
 
317
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
318
- :type execution_context: typing.Optional[typing.Union[str, int]]
319
- :type undo: typing.Optional[bool]
282
+ :type override_context: typing.Union[dict, bpy.types.Context]
283
+ :type execution_context: typing.Union[str, int]
284
+ :type undo: bool
320
285
  :param name: Bone Collection, Name of the bone collection to unassign this bone from; empty to unassign from the active bone collection
321
286
  :type name: typing.Union[str, typing.Any]
322
287
  :param bone_name: Bone Name, Name of the bone to unassign from the collection; empty to use the active bone
@@ -326,259 +291,229 @@ def collection_unassign_named(
326
291
  ...
327
292
 
328
293
  def collection_unsolo_all(
329
- override_context: typing.Optional[
330
- typing.Union[typing.Dict, "bpy.types.Context"]
331
- ] = None,
332
- execution_context: typing.Optional[typing.Union[str, int]] = None,
333
- undo: typing.Optional[bool] = None,
294
+ override_context: typing.Union[dict, bpy.types.Context] = None,
295
+ execution_context: typing.Union[str, int] = None,
296
+ undo: bool = None,
334
297
  ):
335
- """Clear the 'solo' setting on all bone collections :File: `startup/bl_operators/anim.py\:559 <https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/anim.py#L559>`__
298
+ """Clear the 'solo' setting on all bone collections
336
299
 
337
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
338
- :type execution_context: typing.Optional[typing.Union[str, int]]
339
- :type undo: typing.Optional[bool]
300
+ :type override_context: typing.Union[dict, bpy.types.Context]
301
+ :type execution_context: typing.Union[str, int]
302
+ :type undo: bool
340
303
  """
341
304
 
342
305
  ...
343
306
 
344
307
  def copy_bone_color_to_selected(
345
- override_context: typing.Optional[
346
- typing.Union[typing.Dict, "bpy.types.Context"]
347
- ] = None,
348
- execution_context: typing.Optional[typing.Union[str, int]] = None,
349
- undo: typing.Optional[bool] = None,
350
- *,
351
- bone_type: typing.Optional[typing.Any] = "EDIT",
308
+ override_context: typing.Union[dict, bpy.types.Context] = None,
309
+ execution_context: typing.Union[str, int] = None,
310
+ undo: bool = None,
311
+ bone_type: typing.Any = "EDIT",
352
312
  ):
353
- """Copy the bone color of the active bone to all selected bones :File: `startup/bl_operators/anim.py\:469 <https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/anim.py#L469>`__
313
+ """Copy the bone color of the active bone to all selected bones
314
+
315
+ :type override_context: typing.Union[dict, bpy.types.Context]
316
+ :type execution_context: typing.Union[str, int]
317
+ :type undo: bool
318
+ :param bone_type: Type
354
319
 
355
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
356
- :type execution_context: typing.Optional[typing.Union[str, int]]
357
- :type undo: typing.Optional[bool]
358
- :param bone_type: Type * ``EDIT`` Bone -- Copy Bone colors from the active bone to all selected bones. * ``POSE`` Pose Bone -- Copy Pose Bone colors from the active pose bone to all selected pose bones.
359
- :type bone_type: typing.Optional[typing.Any]
320
+ EDIT
321
+ Bone -- Copy Bone colors from the active bone to all selected bones.
322
+
323
+ POSE
324
+ Pose Bone -- Copy Pose Bone colors from the active pose bone to all selected pose bones.
325
+ :type bone_type: typing.Any
360
326
  """
361
327
 
362
328
  ...
363
329
 
364
330
  def delete(
365
- override_context: typing.Optional[
366
- typing.Union[typing.Dict, "bpy.types.Context"]
367
- ] = None,
368
- execution_context: typing.Optional[typing.Union[str, int]] = None,
369
- undo: typing.Optional[bool] = None,
370
- *,
371
- confirm: typing.Optional[typing.Union[bool, typing.Any]] = True,
331
+ override_context: typing.Union[dict, bpy.types.Context] = None,
332
+ execution_context: typing.Union[str, int] = None,
333
+ undo: bool = None,
334
+ confirm: typing.Union[bool, typing.Any] = True,
372
335
  ):
373
336
  """Remove selected bones from the armature
374
337
 
375
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
376
- :type execution_context: typing.Optional[typing.Union[str, int]]
377
- :type undo: typing.Optional[bool]
338
+ :type override_context: typing.Union[dict, bpy.types.Context]
339
+ :type execution_context: typing.Union[str, int]
340
+ :type undo: bool
378
341
  :param confirm: Confirm, Prompt for confirmation
379
- :type confirm: typing.Optional[typing.Union[bool, typing.Any]]
342
+ :type confirm: typing.Union[bool, typing.Any]
380
343
  """
381
344
 
382
345
  ...
383
346
 
384
347
  def dissolve(
385
- override_context: typing.Optional[
386
- typing.Union[typing.Dict, "bpy.types.Context"]
387
- ] = None,
388
- execution_context: typing.Optional[typing.Union[str, int]] = None,
389
- undo: typing.Optional[bool] = None,
348
+ override_context: typing.Union[dict, bpy.types.Context] = None,
349
+ execution_context: typing.Union[str, int] = None,
350
+ undo: bool = None,
390
351
  ):
391
352
  """Dissolve selected bones from the armature
392
353
 
393
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
394
- :type execution_context: typing.Optional[typing.Union[str, int]]
395
- :type undo: typing.Optional[bool]
354
+ :type override_context: typing.Union[dict, bpy.types.Context]
355
+ :type execution_context: typing.Union[str, int]
356
+ :type undo: bool
396
357
  """
397
358
 
398
359
  ...
399
360
 
400
361
  def duplicate(
401
- override_context: typing.Optional[
402
- typing.Union[typing.Dict, "bpy.types.Context"]
403
- ] = None,
404
- execution_context: typing.Optional[typing.Union[str, int]] = None,
405
- undo: typing.Optional[bool] = None,
406
- *,
407
- do_flip_names: typing.Optional[typing.Union[bool, typing.Any]] = False,
362
+ override_context: typing.Union[dict, bpy.types.Context] = None,
363
+ execution_context: typing.Union[str, int] = None,
364
+ undo: bool = None,
365
+ do_flip_names: typing.Union[bool, typing.Any] = False,
408
366
  ):
409
367
  """Make copies of the selected bones within the same armature
410
368
 
411
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
412
- :type execution_context: typing.Optional[typing.Union[str, int]]
413
- :type undo: typing.Optional[bool]
369
+ :type override_context: typing.Union[dict, bpy.types.Context]
370
+ :type execution_context: typing.Union[str, int]
371
+ :type undo: bool
414
372
  :param do_flip_names: Flip Names, Try to flip names of the bones, if possible, instead of adding a number extension
415
- :type do_flip_names: typing.Optional[typing.Union[bool, typing.Any]]
373
+ :type do_flip_names: typing.Union[bool, typing.Any]
416
374
  """
417
375
 
418
376
  ...
419
377
 
420
378
  def duplicate_move(
421
- override_context: typing.Optional[
422
- typing.Union[typing.Dict, "bpy.types.Context"]
423
- ] = None,
424
- execution_context: typing.Optional[typing.Union[str, int]] = None,
425
- undo: typing.Optional[bool] = None,
426
- *,
427
- ARMATURE_OT_duplicate: typing.Optional["duplicate"] = None,
428
- TRANSFORM_OT_translate: typing.Optional["bpy.ops.transform.translate"] = None,
379
+ override_context: typing.Union[dict, bpy.types.Context] = None,
380
+ execution_context: typing.Union[str, int] = None,
381
+ undo: bool = None,
382
+ ARMATURE_OT_duplicate: duplicate = None,
383
+ TRANSFORM_OT_translate: bpy.ops.transform.translate = None,
429
384
  ):
430
385
  """Make copies of the selected bones within the same armature and move them
431
386
 
432
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
433
- :type execution_context: typing.Optional[typing.Union[str, int]]
434
- :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
435
390
  :param ARMATURE_OT_duplicate: Duplicate Selected Bone(s), Make copies of the selected bones within the same armature
436
- :type ARMATURE_OT_duplicate: typing.Optional['duplicate']
391
+ :type ARMATURE_OT_duplicate: duplicate
437
392
  :param TRANSFORM_OT_translate: Move, Move selected items
438
- :type TRANSFORM_OT_translate: typing.Optional['bpy.ops.transform.translate']
393
+ :type TRANSFORM_OT_translate: bpy.ops.transform.translate
439
394
  """
440
395
 
441
396
  ...
442
397
 
443
398
  def extrude(
444
- override_context: typing.Optional[
445
- typing.Union[typing.Dict, "bpy.types.Context"]
446
- ] = None,
447
- execution_context: typing.Optional[typing.Union[str, int]] = None,
448
- undo: typing.Optional[bool] = None,
449
- *,
450
- forked: typing.Optional[typing.Union[bool, typing.Any]] = False,
399
+ override_context: typing.Union[dict, bpy.types.Context] = None,
400
+ execution_context: typing.Union[str, int] = None,
401
+ undo: bool = None,
402
+ forked: typing.Union[bool, typing.Any] = False,
451
403
  ):
452
404
  """Create new bones from the selected joints
453
405
 
454
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
455
- :type execution_context: typing.Optional[typing.Union[str, int]]
456
- :type undo: typing.Optional[bool]
406
+ :type override_context: typing.Union[dict, bpy.types.Context]
407
+ :type execution_context: typing.Union[str, int]
408
+ :type undo: bool
457
409
  :param forked: Forked
458
- :type forked: typing.Optional[typing.Union[bool, typing.Any]]
410
+ :type forked: typing.Union[bool, typing.Any]
459
411
  """
460
412
 
461
413
  ...
462
414
 
463
415
  def extrude_forked(
464
- override_context: typing.Optional[
465
- typing.Union[typing.Dict, "bpy.types.Context"]
466
- ] = None,
467
- execution_context: typing.Optional[typing.Union[str, int]] = None,
468
- undo: typing.Optional[bool] = None,
469
- *,
470
- ARMATURE_OT_extrude: typing.Optional["extrude"] = None,
471
- TRANSFORM_OT_translate: typing.Optional["bpy.ops.transform.translate"] = None,
416
+ override_context: typing.Union[dict, bpy.types.Context] = None,
417
+ execution_context: typing.Union[str, int] = None,
418
+ undo: bool = None,
419
+ ARMATURE_OT_extrude: extrude = None,
420
+ TRANSFORM_OT_translate: bpy.ops.transform.translate = None,
472
421
  ):
473
422
  """Create new bones from the selected joints and move them
474
423
 
475
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
476
- :type execution_context: typing.Optional[typing.Union[str, int]]
477
- :type undo: typing.Optional[bool]
424
+ :type override_context: typing.Union[dict, bpy.types.Context]
425
+ :type execution_context: typing.Union[str, int]
426
+ :type undo: bool
478
427
  :param ARMATURE_OT_extrude: Extrude, Create new bones from the selected joints
479
- :type ARMATURE_OT_extrude: typing.Optional['extrude']
428
+ :type ARMATURE_OT_extrude: extrude
480
429
  :param TRANSFORM_OT_translate: Move, Move selected items
481
- :type TRANSFORM_OT_translate: typing.Optional['bpy.ops.transform.translate']
430
+ :type TRANSFORM_OT_translate: bpy.ops.transform.translate
482
431
  """
483
432
 
484
433
  ...
485
434
 
486
435
  def extrude_move(
487
- override_context: typing.Optional[
488
- typing.Union[typing.Dict, "bpy.types.Context"]
489
- ] = None,
490
- execution_context: typing.Optional[typing.Union[str, int]] = None,
491
- undo: typing.Optional[bool] = None,
492
- *,
493
- ARMATURE_OT_extrude: typing.Optional["extrude"] = None,
494
- TRANSFORM_OT_translate: typing.Optional["bpy.ops.transform.translate"] = None,
436
+ override_context: typing.Union[dict, bpy.types.Context] = None,
437
+ execution_context: typing.Union[str, int] = None,
438
+ undo: bool = None,
439
+ ARMATURE_OT_extrude: extrude = None,
440
+ TRANSFORM_OT_translate: bpy.ops.transform.translate = None,
495
441
  ):
496
442
  """Create new bones from the selected joints and move them
497
443
 
498
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
499
- :type execution_context: typing.Optional[typing.Union[str, int]]
500
- :type undo: typing.Optional[bool]
444
+ :type override_context: typing.Union[dict, bpy.types.Context]
445
+ :type execution_context: typing.Union[str, int]
446
+ :type undo: bool
501
447
  :param ARMATURE_OT_extrude: Extrude, Create new bones from the selected joints
502
- :type ARMATURE_OT_extrude: typing.Optional['extrude']
448
+ :type ARMATURE_OT_extrude: extrude
503
449
  :param TRANSFORM_OT_translate: Move, Move selected items
504
- :type TRANSFORM_OT_translate: typing.Optional['bpy.ops.transform.translate']
450
+ :type TRANSFORM_OT_translate: bpy.ops.transform.translate
505
451
  """
506
452
 
507
453
  ...
508
454
 
509
455
  def fill(
510
- override_context: typing.Optional[
511
- typing.Union[typing.Dict, "bpy.types.Context"]
512
- ] = None,
513
- execution_context: typing.Optional[typing.Union[str, int]] = None,
514
- undo: typing.Optional[bool] = None,
456
+ override_context: typing.Union[dict, bpy.types.Context] = None,
457
+ execution_context: typing.Union[str, int] = None,
458
+ undo: bool = None,
515
459
  ):
516
460
  """Add bone between selected joint(s) and/or 3D cursor
517
461
 
518
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
519
- :type execution_context: typing.Optional[typing.Union[str, int]]
520
- :type undo: typing.Optional[bool]
462
+ :type override_context: typing.Union[dict, bpy.types.Context]
463
+ :type execution_context: typing.Union[str, int]
464
+ :type undo: bool
521
465
  """
522
466
 
523
467
  ...
524
468
 
525
469
  def flip_names(
526
- override_context: typing.Optional[
527
- typing.Union[typing.Dict, "bpy.types.Context"]
528
- ] = None,
529
- execution_context: typing.Optional[typing.Union[str, int]] = None,
530
- undo: typing.Optional[bool] = None,
531
- *,
532
- do_strip_numbers: typing.Optional[typing.Union[bool, typing.Any]] = False,
470
+ override_context: typing.Union[dict, bpy.types.Context] = None,
471
+ execution_context: typing.Union[str, int] = None,
472
+ undo: bool = None,
473
+ do_strip_numbers: typing.Union[bool, typing.Any] = False,
533
474
  ):
534
475
  """Flips (and corrects) the axis suffixes of the names of selected bones
535
476
 
536
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
537
- :type execution_context: typing.Optional[typing.Union[str, int]]
538
- :type undo: typing.Optional[bool]
539
- :param do_strip_numbers: May result in incoherent naming in some cases
540
- :type do_strip_numbers: typing.Optional[typing.Union[bool, typing.Any]]
477
+ :type override_context: typing.Union[dict, bpy.types.Context]
478
+ :type execution_context: typing.Union[str, int]
479
+ :type undo: bool
480
+ :param do_strip_numbers: Strip Numbers, Try to remove right-most dot-number from flipped names.Warning: May result in incoherent naming in some cases
481
+ :type do_strip_numbers: typing.Union[bool, typing.Any]
541
482
  """
542
483
 
543
484
  ...
544
485
 
545
486
  def hide(
546
- override_context: typing.Optional[
547
- typing.Union[typing.Dict, "bpy.types.Context"]
548
- ] = None,
549
- execution_context: typing.Optional[typing.Union[str, int]] = None,
550
- undo: typing.Optional[bool] = None,
551
- *,
552
- unselected: typing.Optional[typing.Union[bool, typing.Any]] = False,
487
+ override_context: typing.Union[dict, bpy.types.Context] = None,
488
+ execution_context: typing.Union[str, int] = None,
489
+ undo: bool = None,
490
+ unselected: typing.Union[bool, typing.Any] = False,
553
491
  ):
554
492
  """Tag selected bones to not be visible in Edit Mode
555
493
 
556
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
557
- :type execution_context: typing.Optional[typing.Union[str, int]]
558
- :type undo: typing.Optional[bool]
494
+ :type override_context: typing.Union[dict, bpy.types.Context]
495
+ :type execution_context: typing.Union[str, int]
496
+ :type undo: bool
559
497
  :param unselected: Unselected, Hide unselected rather than selected
560
- :type unselected: typing.Optional[typing.Union[bool, typing.Any]]
498
+ :type unselected: typing.Union[bool, typing.Any]
561
499
  """
562
500
 
563
501
  ...
564
502
 
565
503
  def move_to_collection(
566
- override_context: typing.Optional[
567
- typing.Union[typing.Dict, "bpy.types.Context"]
568
- ] = None,
569
- execution_context: typing.Optional[typing.Union[str, int]] = None,
570
- undo: typing.Optional[bool] = None,
571
- *,
572
- collection_index: typing.Optional[typing.Any] = -1,
504
+ override_context: typing.Union[dict, bpy.types.Context] = None,
505
+ execution_context: typing.Union[str, int] = None,
506
+ undo: bool = None,
507
+ collection_index: typing.Any = -1,
573
508
  new_collection_name: typing.Union[str, typing.Any] = "",
574
509
  ):
575
510
  """Move bones to a collection
576
511
 
577
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
578
- :type execution_context: typing.Optional[typing.Union[str, int]]
579
- :type undo: typing.Optional[bool]
512
+ :type override_context: typing.Union[dict, bpy.types.Context]
513
+ :type execution_context: typing.Union[str, int]
514
+ :type undo: bool
580
515
  :param collection_index: Collection Index, Index of the collection to move selected bones to. When the operator should create a new bone collection, do not include this parameter and pass new_collection_name
581
- :type collection_index: typing.Optional[typing.Any]
516
+ :type collection_index: typing.Any
582
517
  :param new_collection_name: Name, Name of a to-be-added bone collection. Only pass this if you want to create a new bone collection and move the selected bones to it. To move to an existing collection, do not include this parameter and use collection_index
583
518
  :type new_collection_name: typing.Union[str, typing.Any]
584
519
  """
@@ -586,353 +521,316 @@ def move_to_collection(
586
521
  ...
587
522
 
588
523
  def parent_clear(
589
- override_context: typing.Optional[
590
- typing.Union[typing.Dict, "bpy.types.Context"]
591
- ] = None,
592
- execution_context: typing.Optional[typing.Union[str, int]] = None,
593
- undo: typing.Optional[bool] = None,
594
- *,
595
- type: typing.Optional[typing.Any] = "CLEAR",
524
+ override_context: typing.Union[dict, bpy.types.Context] = None,
525
+ execution_context: typing.Union[str, int] = None,
526
+ undo: bool = None,
527
+ type: typing.Any = "CLEAR",
596
528
  ):
597
529
  """Remove the parent-child relationship between selected bones and their parents
598
530
 
599
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
600
- :type execution_context: typing.Optional[typing.Union[str, int]]
601
- :type undo: typing.Optional[bool]
531
+ :type override_context: typing.Union[dict, bpy.types.Context]
532
+ :type execution_context: typing.Union[str, int]
533
+ :type undo: bool
602
534
  :param type: Clear Type, What way to clear parenting
603
- :type type: typing.Optional[typing.Any]
535
+ :type type: typing.Any
604
536
  """
605
537
 
606
538
  ...
607
539
 
608
540
  def parent_set(
609
- override_context: typing.Optional[
610
- typing.Union[typing.Dict, "bpy.types.Context"]
611
- ] = None,
612
- execution_context: typing.Optional[typing.Union[str, int]] = None,
613
- undo: typing.Optional[bool] = None,
614
- *,
615
- type: typing.Optional[typing.Any] = "CONNECTED",
541
+ override_context: typing.Union[dict, bpy.types.Context] = None,
542
+ execution_context: typing.Union[str, int] = None,
543
+ undo: bool = None,
544
+ type: typing.Any = "CONNECTED",
616
545
  ):
617
546
  """Set the active bone as the parent of the selected bones
618
547
 
619
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
620
- :type execution_context: typing.Optional[typing.Union[str, int]]
621
- :type undo: typing.Optional[bool]
548
+ :type override_context: typing.Union[dict, bpy.types.Context]
549
+ :type execution_context: typing.Union[str, int]
550
+ :type undo: bool
622
551
  :param type: Parent Type, Type of parenting
623
- :type type: typing.Optional[typing.Any]
552
+ :type type: typing.Any
624
553
  """
625
554
 
626
555
  ...
627
556
 
628
557
  def reveal(
629
- override_context: typing.Optional[
630
- typing.Union[typing.Dict, "bpy.types.Context"]
631
- ] = None,
632
- execution_context: typing.Optional[typing.Union[str, int]] = None,
633
- undo: typing.Optional[bool] = None,
634
- *,
635
- select: typing.Optional[typing.Union[bool, typing.Any]] = True,
558
+ override_context: typing.Union[dict, bpy.types.Context] = None,
559
+ execution_context: typing.Union[str, int] = None,
560
+ undo: bool = None,
561
+ select: typing.Union[bool, typing.Any] = True,
636
562
  ):
637
563
  """Reveal all bones hidden in Edit Mode
638
564
 
639
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
640
- :type execution_context: typing.Optional[typing.Union[str, int]]
641
- :type undo: typing.Optional[bool]
565
+ :type override_context: typing.Union[dict, bpy.types.Context]
566
+ :type execution_context: typing.Union[str, int]
567
+ :type undo: bool
642
568
  :param select: Select
643
- :type select: typing.Optional[typing.Union[bool, typing.Any]]
569
+ :type select: typing.Union[bool, typing.Any]
644
570
  """
645
571
 
646
572
  ...
647
573
 
648
574
  def roll_clear(
649
- override_context: typing.Optional[
650
- typing.Union[typing.Dict, "bpy.types.Context"]
651
- ] = None,
652
- execution_context: typing.Optional[typing.Union[str, int]] = None,
653
- undo: typing.Optional[bool] = None,
654
- *,
655
- roll: typing.Optional[typing.Any] = 0.0,
575
+ override_context: typing.Union[dict, bpy.types.Context] = None,
576
+ execution_context: typing.Union[str, int] = None,
577
+ undo: bool = None,
578
+ roll: typing.Any = 0.0,
656
579
  ):
657
580
  """Clear roll for selected bones
658
581
 
659
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
660
- :type execution_context: typing.Optional[typing.Union[str, int]]
661
- :type undo: typing.Optional[bool]
582
+ :type override_context: typing.Union[dict, bpy.types.Context]
583
+ :type execution_context: typing.Union[str, int]
584
+ :type undo: bool
662
585
  :param roll: Roll
663
- :type roll: typing.Optional[typing.Any]
586
+ :type roll: typing.Any
664
587
  """
665
588
 
666
589
  ...
667
590
 
668
591
  def select_all(
669
- override_context: typing.Optional[
670
- typing.Union[typing.Dict, "bpy.types.Context"]
671
- ] = None,
672
- execution_context: typing.Optional[typing.Union[str, int]] = None,
673
- undo: typing.Optional[bool] = None,
674
- *,
675
- action: typing.Optional[typing.Any] = "TOGGLE",
592
+ override_context: typing.Union[dict, bpy.types.Context] = None,
593
+ execution_context: typing.Union[str, int] = None,
594
+ undo: bool = None,
595
+ action: typing.Any = "TOGGLE",
676
596
  ):
677
597
  """Toggle selection status of all bones
678
598
 
679
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
680
- :type execution_context: typing.Optional[typing.Union[str, int]]
681
- :type undo: typing.Optional[bool]
682
- :param action: Action, Selection action to execute * ``TOGGLE`` Toggle -- Toggle selection for all elements. * ``SELECT`` Select -- Select all elements. * ``DESELECT`` Deselect -- Deselect all elements. * ``INVERT`` Invert -- Invert selection of all elements.
683
- :type action: typing.Optional[typing.Any]
599
+ :type override_context: typing.Union[dict, bpy.types.Context]
600
+ :type execution_context: typing.Union[str, int]
601
+ :type undo: bool
602
+ :param action: Action, Selection action to execute
603
+
604
+ TOGGLE
605
+ Toggle -- Toggle selection for all elements.
606
+
607
+ SELECT
608
+ Select -- Select all elements.
609
+
610
+ DESELECT
611
+ Deselect -- Deselect all elements.
612
+
613
+ INVERT
614
+ Invert -- Invert selection of all elements.
615
+ :type action: typing.Any
684
616
  """
685
617
 
686
618
  ...
687
619
 
688
620
  def select_hierarchy(
689
- override_context: typing.Optional[
690
- typing.Union[typing.Dict, "bpy.types.Context"]
691
- ] = None,
692
- execution_context: typing.Optional[typing.Union[str, int]] = None,
693
- undo: typing.Optional[bool] = None,
694
- *,
695
- direction: typing.Optional[typing.Any] = "PARENT",
696
- extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
621
+ override_context: typing.Union[dict, bpy.types.Context] = None,
622
+ execution_context: typing.Union[str, int] = None,
623
+ undo: bool = None,
624
+ direction: typing.Any = "PARENT",
625
+ extend: typing.Union[bool, typing.Any] = False,
697
626
  ):
698
627
  """Select immediate parent/children of selected bones
699
628
 
700
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
701
- :type execution_context: typing.Optional[typing.Union[str, int]]
702
- :type undo: typing.Optional[bool]
629
+ :type override_context: typing.Union[dict, bpy.types.Context]
630
+ :type execution_context: typing.Union[str, int]
631
+ :type undo: bool
703
632
  :param direction: Direction
704
- :type direction: typing.Optional[typing.Any]
633
+ :type direction: typing.Any
705
634
  :param extend: Extend, Extend the selection
706
- :type extend: typing.Optional[typing.Union[bool, typing.Any]]
635
+ :type extend: typing.Union[bool, typing.Any]
707
636
  """
708
637
 
709
638
  ...
710
639
 
711
640
  def select_less(
712
- override_context: typing.Optional[
713
- typing.Union[typing.Dict, "bpy.types.Context"]
714
- ] = None,
715
- execution_context: typing.Optional[typing.Union[str, int]] = None,
716
- undo: typing.Optional[bool] = None,
641
+ override_context: typing.Union[dict, bpy.types.Context] = None,
642
+ execution_context: typing.Union[str, int] = None,
643
+ undo: bool = None,
717
644
  ):
718
645
  """Deselect those bones at the boundary of each selection region
719
646
 
720
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
721
- :type execution_context: typing.Optional[typing.Union[str, int]]
722
- :type undo: typing.Optional[bool]
647
+ :type override_context: typing.Union[dict, bpy.types.Context]
648
+ :type execution_context: typing.Union[str, int]
649
+ :type undo: bool
723
650
  """
724
651
 
725
652
  ...
726
653
 
727
654
  def select_linked(
728
- override_context: typing.Optional[
729
- typing.Union[typing.Dict, "bpy.types.Context"]
730
- ] = None,
731
- execution_context: typing.Optional[typing.Union[str, int]] = None,
732
- undo: typing.Optional[bool] = None,
733
- *,
734
- all_forks: typing.Optional[typing.Union[bool, typing.Any]] = False,
655
+ override_context: typing.Union[dict, bpy.types.Context] = None,
656
+ execution_context: typing.Union[str, int] = None,
657
+ undo: bool = None,
658
+ all_forks: typing.Union[bool, typing.Any] = False,
735
659
  ):
736
660
  """Select all bones linked by parent/child connections to the current selection
737
661
 
738
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
739
- :type execution_context: typing.Optional[typing.Union[str, int]]
740
- :type undo: typing.Optional[bool]
662
+ :type override_context: typing.Union[dict, bpy.types.Context]
663
+ :type execution_context: typing.Union[str, int]
664
+ :type undo: bool
741
665
  :param all_forks: All Forks, Follow forks in the parents chain
742
- :type all_forks: typing.Optional[typing.Union[bool, typing.Any]]
666
+ :type all_forks: typing.Union[bool, typing.Any]
743
667
  """
744
668
 
745
669
  ...
746
670
 
747
671
  def select_linked_pick(
748
- override_context: typing.Optional[
749
- typing.Union[typing.Dict, "bpy.types.Context"]
750
- ] = None,
751
- execution_context: typing.Optional[typing.Union[str, int]] = None,
752
- undo: typing.Optional[bool] = None,
753
- *,
754
- deselect: typing.Optional[typing.Union[bool, typing.Any]] = False,
755
- all_forks: typing.Optional[typing.Union[bool, typing.Any]] = False,
672
+ override_context: typing.Union[dict, bpy.types.Context] = None,
673
+ execution_context: typing.Union[str, int] = None,
674
+ undo: bool = None,
675
+ deselect: typing.Union[bool, typing.Any] = False,
676
+ all_forks: typing.Union[bool, typing.Any] = False,
756
677
  ):
757
678
  """(De)select bones linked by parent/child connections under the mouse cursor
758
679
 
759
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
760
- :type execution_context: typing.Optional[typing.Union[str, int]]
761
- :type undo: typing.Optional[bool]
680
+ :type override_context: typing.Union[dict, bpy.types.Context]
681
+ :type execution_context: typing.Union[str, int]
682
+ :type undo: bool
762
683
  :param deselect: Deselect
763
- :type deselect: typing.Optional[typing.Union[bool, typing.Any]]
684
+ :type deselect: typing.Union[bool, typing.Any]
764
685
  :param all_forks: All Forks, Follow forks in the parents chain
765
- :type all_forks: typing.Optional[typing.Union[bool, typing.Any]]
686
+ :type all_forks: typing.Union[bool, typing.Any]
766
687
  """
767
688
 
768
689
  ...
769
690
 
770
691
  def select_mirror(
771
- override_context: typing.Optional[
772
- typing.Union[typing.Dict, "bpy.types.Context"]
773
- ] = None,
774
- execution_context: typing.Optional[typing.Union[str, int]] = None,
775
- undo: typing.Optional[bool] = None,
776
- *,
777
- only_active: typing.Optional[typing.Union[bool, typing.Any]] = False,
778
- extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
692
+ override_context: typing.Union[dict, bpy.types.Context] = None,
693
+ execution_context: typing.Union[str, int] = None,
694
+ undo: bool = None,
695
+ only_active: typing.Union[bool, typing.Any] = False,
696
+ extend: typing.Union[bool, typing.Any] = False,
779
697
  ):
780
698
  """Mirror the bone selection
781
699
 
782
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
783
- :type execution_context: typing.Optional[typing.Union[str, int]]
784
- :type undo: typing.Optional[bool]
700
+ :type override_context: typing.Union[dict, bpy.types.Context]
701
+ :type execution_context: typing.Union[str, int]
702
+ :type undo: bool
785
703
  :param only_active: Active Only, Only operate on the active bone
786
- :type only_active: typing.Optional[typing.Union[bool, typing.Any]]
704
+ :type only_active: typing.Union[bool, typing.Any]
787
705
  :param extend: Extend, Extend the selection
788
- :type extend: typing.Optional[typing.Union[bool, typing.Any]]
706
+ :type extend: typing.Union[bool, typing.Any]
789
707
  """
790
708
 
791
709
  ...
792
710
 
793
711
  def select_more(
794
- override_context: typing.Optional[
795
- typing.Union[typing.Dict, "bpy.types.Context"]
796
- ] = None,
797
- execution_context: typing.Optional[typing.Union[str, int]] = None,
798
- undo: typing.Optional[bool] = None,
712
+ override_context: typing.Union[dict, bpy.types.Context] = None,
713
+ execution_context: typing.Union[str, int] = None,
714
+ undo: bool = None,
799
715
  ):
800
716
  """Select those bones connected to the initial selection
801
717
 
802
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
803
- :type execution_context: typing.Optional[typing.Union[str, int]]
804
- :type undo: typing.Optional[bool]
718
+ :type override_context: typing.Union[dict, bpy.types.Context]
719
+ :type execution_context: typing.Union[str, int]
720
+ :type undo: bool
805
721
  """
806
722
 
807
723
  ...
808
724
 
809
725
  def select_similar(
810
- override_context: typing.Optional[
811
- typing.Union[typing.Dict, "bpy.types.Context"]
812
- ] = None,
813
- execution_context: typing.Optional[typing.Union[str, int]] = None,
814
- undo: typing.Optional[bool] = None,
815
- *,
816
- type: typing.Optional[typing.Any] = "LENGTH",
817
- threshold: typing.Optional[typing.Any] = 0.1,
726
+ override_context: typing.Union[dict, bpy.types.Context] = None,
727
+ execution_context: typing.Union[str, int] = None,
728
+ undo: bool = None,
729
+ type: typing.Any = "LENGTH",
730
+ threshold: typing.Any = 0.1,
818
731
  ):
819
732
  """Select similar bones by property types
820
733
 
821
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
822
- :type execution_context: typing.Optional[typing.Union[str, int]]
823
- :type undo: typing.Optional[bool]
734
+ :type override_context: typing.Union[dict, bpy.types.Context]
735
+ :type execution_context: typing.Union[str, int]
736
+ :type undo: bool
824
737
  :param type: Type
825
- :type type: typing.Optional[typing.Any]
738
+ :type type: typing.Any
826
739
  :param threshold: Threshold
827
- :type threshold: typing.Optional[typing.Any]
740
+ :type threshold: typing.Any
828
741
  """
829
742
 
830
743
  ...
831
744
 
832
745
  def separate(
833
- override_context: typing.Optional[
834
- typing.Union[typing.Dict, "bpy.types.Context"]
835
- ] = None,
836
- execution_context: typing.Optional[typing.Union[str, int]] = None,
837
- undo: typing.Optional[bool] = None,
838
- *,
839
- confirm: typing.Optional[typing.Union[bool, typing.Any]] = True,
746
+ override_context: typing.Union[dict, bpy.types.Context] = None,
747
+ execution_context: typing.Union[str, int] = None,
748
+ undo: bool = None,
749
+ confirm: typing.Union[bool, typing.Any] = True,
840
750
  ):
841
751
  """Isolate selected bones into a separate armature
842
752
 
843
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
844
- :type execution_context: typing.Optional[typing.Union[str, int]]
845
- :type undo: typing.Optional[bool]
753
+ :type override_context: typing.Union[dict, bpy.types.Context]
754
+ :type execution_context: typing.Union[str, int]
755
+ :type undo: bool
846
756
  :param confirm: Confirm, Prompt for confirmation
847
- :type confirm: typing.Optional[typing.Union[bool, typing.Any]]
757
+ :type confirm: typing.Union[bool, typing.Any]
848
758
  """
849
759
 
850
760
  ...
851
761
 
852
762
  def shortest_path_pick(
853
- override_context: typing.Optional[
854
- typing.Union[typing.Dict, "bpy.types.Context"]
855
- ] = None,
856
- execution_context: typing.Optional[typing.Union[str, int]] = None,
857
- undo: typing.Optional[bool] = None,
763
+ override_context: typing.Union[dict, bpy.types.Context] = None,
764
+ execution_context: typing.Union[str, int] = None,
765
+ undo: bool = None,
858
766
  ):
859
767
  """Select shortest path between two bones
860
768
 
861
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
862
- :type execution_context: typing.Optional[typing.Union[str, int]]
863
- :type undo: typing.Optional[bool]
769
+ :type override_context: typing.Union[dict, bpy.types.Context]
770
+ :type execution_context: typing.Union[str, int]
771
+ :type undo: bool
864
772
  """
865
773
 
866
774
  ...
867
775
 
868
776
  def split(
869
- override_context: typing.Optional[
870
- typing.Union[typing.Dict, "bpy.types.Context"]
871
- ] = None,
872
- execution_context: typing.Optional[typing.Union[str, int]] = None,
873
- undo: typing.Optional[bool] = None,
777
+ override_context: typing.Union[dict, bpy.types.Context] = None,
778
+ execution_context: typing.Union[str, int] = None,
779
+ undo: bool = None,
874
780
  ):
875
781
  """Split off selected bones from connected unselected bones
876
782
 
877
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
878
- :type execution_context: typing.Optional[typing.Union[str, int]]
879
- :type undo: typing.Optional[bool]
783
+ :type override_context: typing.Union[dict, bpy.types.Context]
784
+ :type execution_context: typing.Union[str, int]
785
+ :type undo: bool
880
786
  """
881
787
 
882
788
  ...
883
789
 
884
790
  def subdivide(
885
- override_context: typing.Optional[
886
- typing.Union[typing.Dict, "bpy.types.Context"]
887
- ] = None,
888
- execution_context: typing.Optional[typing.Union[str, int]] = None,
889
- undo: typing.Optional[bool] = None,
890
- *,
891
- number_cuts: typing.Optional[typing.Any] = 1,
791
+ override_context: typing.Union[dict, bpy.types.Context] = None,
792
+ execution_context: typing.Union[str, int] = None,
793
+ undo: bool = None,
794
+ number_cuts: typing.Any = 1,
892
795
  ):
893
796
  """Break selected bones into chains of smaller bones
894
797
 
895
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
896
- :type execution_context: typing.Optional[typing.Union[str, int]]
897
- :type undo: typing.Optional[bool]
798
+ :type override_context: typing.Union[dict, bpy.types.Context]
799
+ :type execution_context: typing.Union[str, int]
800
+ :type undo: bool
898
801
  :param number_cuts: Number of Cuts
899
- :type number_cuts: typing.Optional[typing.Any]
802
+ :type number_cuts: typing.Any
900
803
  """
901
804
 
902
805
  ...
903
806
 
904
807
  def switch_direction(
905
- override_context: typing.Optional[
906
- typing.Union[typing.Dict, "bpy.types.Context"]
907
- ] = None,
908
- execution_context: typing.Optional[typing.Union[str, int]] = None,
909
- undo: typing.Optional[bool] = None,
808
+ override_context: typing.Union[dict, bpy.types.Context] = None,
809
+ execution_context: typing.Union[str, int] = None,
810
+ undo: bool = None,
910
811
  ):
911
812
  """Change the direction that a chain of bones points in (head and tail swap)
912
813
 
913
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
914
- :type execution_context: typing.Optional[typing.Union[str, int]]
915
- :type undo: typing.Optional[bool]
814
+ :type override_context: typing.Union[dict, bpy.types.Context]
815
+ :type execution_context: typing.Union[str, int]
816
+ :type undo: bool
916
817
  """
917
818
 
918
819
  ...
919
820
 
920
821
  def symmetrize(
921
- override_context: typing.Optional[
922
- typing.Union[typing.Dict, "bpy.types.Context"]
923
- ] = None,
924
- execution_context: typing.Optional[typing.Union[str, int]] = None,
925
- undo: typing.Optional[bool] = None,
926
- *,
927
- direction: typing.Optional[typing.Any] = "NEGATIVE_X",
822
+ override_context: typing.Union[dict, bpy.types.Context] = None,
823
+ execution_context: typing.Union[str, int] = None,
824
+ undo: bool = None,
825
+ direction: typing.Any = "NEGATIVE_X",
928
826
  ):
929
827
  """Enforce symmetry, make copies of the selection or use existing
930
828
 
931
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
932
- :type execution_context: typing.Optional[typing.Union[str, int]]
933
- :type undo: typing.Optional[bool]
829
+ :type override_context: typing.Union[dict, bpy.types.Context]
830
+ :type execution_context: typing.Union[str, int]
831
+ :type undo: bool
934
832
  :param direction: Direction, Which sides to copy from and to (when both are selected)
935
- :type direction: typing.Optional[typing.Any]
833
+ :type direction: typing.Any
936
834
  """
937
835
 
938
836
  ...