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