fake-bpy-module 20240224__py3-none-any.whl → 20240326__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


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

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