fake-bpy-module 20240421__py3-none-any.whl → 20240423__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 (187) hide show
  1. bl_operators/add_mesh_torus/__init__.pyi +2 -1
  2. bl_operators/assets/__init__.pyi +12 -12
  3. bl_operators/geometry_nodes/__init__.pyi +256 -238
  4. bl_operators/node/__init__.pyi +262 -260
  5. bl_operators/object_quick_effects/__init__.pyi +19 -19
  6. bl_operators/presets/__init__.pyi +371 -368
  7. bl_operators/wm/__init__.pyi +4 -4
  8. bl_ui/__init__.pyi +3 -3
  9. bl_ui/anim/__init__.pyi +1 -1
  10. bl_ui/asset_shelf/__init__.pyi +1 -1
  11. bl_ui/generic_ui_list/__init__.pyi +3 -3
  12. bl_ui/node_add_menu/__init__.pyi +1 -1
  13. bl_ui/node_add_menu_compositor/__init__.pyi +18 -18
  14. bl_ui/node_add_menu_geometry/__init__.pyi +50 -48
  15. bl_ui/node_add_menu_shader/__init__.pyi +10 -10
  16. bl_ui/node_add_menu_texture/__init__.pyi +9 -9
  17. bl_ui/properties_collection/__init__.pyi +39 -25
  18. bl_ui/properties_constraint/__init__.pyi +1257 -1041
  19. bl_ui/properties_data_armature/__init__.pyi +120 -96
  20. bl_ui/properties_data_bone/__init__.pyi +36 -29
  21. bl_ui/properties_data_camera/__init__.pyi +32 -14
  22. bl_ui/properties_data_curve/__init__.pyi +143 -116
  23. bl_ui/properties_data_curves/__init__.pyi +30 -25
  24. bl_ui/properties_data_empty/__init__.pyi +21 -21
  25. bl_ui/properties_data_gpencil/__init__.pyi +297 -260
  26. bl_ui/properties_data_grease_pencil/__init__.pyi +228 -205
  27. bl_ui/properties_data_lattice/__init__.pyi +25 -22
  28. bl_ui/properties_data_light/__init__.pyi +44 -31
  29. bl_ui/properties_data_lightprobe/__init__.pyi +54 -32
  30. bl_ui/properties_data_mesh/__init__.pyi +579 -570
  31. bl_ui/properties_data_metaball/__init__.pyi +29 -24
  32. bl_ui/properties_data_modifier/__init__.pyi +55 -43
  33. bl_ui/properties_data_pointcloud/__init__.pyi +146 -139
  34. bl_ui/properties_data_shaderfx/__init__.pyi +13 -13
  35. bl_ui/properties_data_speaker/__init__.pyi +27 -24
  36. bl_ui/properties_data_volume/__init__.pyi +75 -68
  37. bl_ui/properties_freestyle/__init__.pyi +407 -284
  38. bl_ui/properties_grease_pencil_common/__init__.pyi +13 -13
  39. bl_ui/properties_mask_common/__init__.pyi +7 -7
  40. bl_ui/properties_material/__init__.pyi +186 -162
  41. bl_ui/properties_material_gpencil/__init__.pyi +111 -87
  42. bl_ui/properties_object/__init__.pyi +102 -84
  43. bl_ui/properties_output/__init__.pyi +255 -228
  44. bl_ui/properties_paint_common/__init__.pyi +9 -9
  45. bl_ui/properties_particle/__init__.pyi +341 -254
  46. bl_ui/properties_physics_cloth/__init__.pyi +54 -33
  47. bl_ui/properties_physics_common/__init__.pyi +20 -20
  48. bl_ui/properties_physics_dynamicpaint/__init__.pyi +231 -193
  49. bl_ui/properties_physics_field/__init__.pyi +52 -36
  50. bl_ui/properties_physics_fluid/__init__.pyi +119 -96
  51. bl_ui/properties_physics_geometry_nodes/__init__.pyi +1 -1
  52. bl_ui/properties_physics_rigidbody/__init__.pyi +36 -20
  53. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +51 -25
  54. bl_ui/properties_physics_softbody/__init__.pyi +62 -34
  55. bl_ui/properties_render/__init__.pyi +275 -187
  56. bl_ui/properties_scene/__init__.pyi +173 -154
  57. bl_ui/properties_texture/__init__.pyi +251 -205
  58. bl_ui/properties_view_layer/__init__.pyi +126 -93
  59. bl_ui/properties_workspace/__init__.pyi +82 -76
  60. bl_ui/properties_world/__init__.pyi +31 -26
  61. bl_ui/space_clip/__init__.pyi +495 -433
  62. bl_ui/space_console/__init__.pyi +6 -6
  63. bl_ui/space_dopesheet/__init__.pyi +209 -174
  64. bl_ui/space_filebrowser/__init__.pyi +691 -679
  65. bl_ui/space_graph/__init__.pyi +25 -20
  66. bl_ui/space_image/__init__.pyi +959 -845
  67. bl_ui/space_info/__init__.pyi +6 -6
  68. bl_ui/space_nla/__init__.pyi +26 -17
  69. bl_ui/space_node/__init__.pyi +49 -36
  70. bl_ui/space_outliner/__init__.pyi +14 -14
  71. bl_ui/space_properties/__init__.pyi +3 -3
  72. bl_ui/space_sequencer/__init__.pyi +510 -444
  73. bl_ui/space_spreadsheet/__init__.pyi +1 -1
  74. bl_ui/space_statusbar/__init__.pyi +1 -1
  75. bl_ui/space_text/__init__.pyi +16 -16
  76. bl_ui/space_time/__init__.pyi +27 -23
  77. bl_ui/space_toolsystem_common/__init__.pyi +1 -1
  78. bl_ui/space_toolsystem_toolbar/__init__.pyi +52 -4
  79. bl_ui/space_topbar/__init__.pyi +26 -26
  80. bl_ui/space_userpref/__init__.pyi +795 -658
  81. bl_ui/space_view3d/__init__.pyi +1460 -1428
  82. bl_ui/space_view3d_toolbar/__init__.pyi +2968 -2657
  83. bl_ui/temp_anim_layers/__init__.pyi +1 -1
  84. bmesh/types/__init__.pyi +13 -6
  85. bpy/app/__init__.pyi +4 -4
  86. bpy/app/icons/__init__.pyi +8 -6
  87. bpy/app/timers/__init__.pyi +10 -8
  88. bpy/app/translations/__init__.pyi +22 -20
  89. bpy/msgbus/__init__.pyi +4 -2
  90. bpy/ops/action/__init__.pyi +319 -316
  91. bpy/ops/anim/__init__.pyi +428 -428
  92. bpy/ops/armature/__init__.pyi +359 -358
  93. bpy/ops/asset/__init__.pyi +146 -146
  94. bpy/ops/boid/__init__.pyi +50 -50
  95. bpy/ops/brush/__init__.pyi +72 -72
  96. bpy/ops/buttons/__init__.pyi +128 -128
  97. bpy/ops/cachefile/__init__.pyi +124 -124
  98. bpy/ops/camera/__init__.pyi +22 -22
  99. bpy/ops/clip/__init__.pyi +773 -768
  100. bpy/ops/cloth/__init__.pyi +10 -10
  101. bpy/ops/collection/__init__.pyi +64 -64
  102. bpy/ops/console/__init__.pyi +150 -150
  103. bpy/ops/constraint/__init__.pyi +150 -150
  104. bpy/ops/curve/__init__.pyi +475 -472
  105. bpy/ops/curves/__init__.pyi +247 -244
  106. bpy/ops/cycles/__init__.pyi +18 -18
  107. bpy/ops/dpaint/__init__.pyi +34 -34
  108. bpy/ops/ed/__init__.pyi +122 -122
  109. bpy/ops/export_anim/__init__.pyi +18 -18
  110. bpy/ops/export_mesh/__init__.pyi +26 -26
  111. bpy/ops/export_scene/__init__.pyi +333 -307
  112. bpy/ops/file/__init__.pyi +340 -340
  113. bpy/ops/fluid/__init__.pyi +88 -88
  114. bpy/ops/font/__init__.pyi +252 -252
  115. bpy/ops/geometry/__init__.pyi +86 -86
  116. bpy/ops/gizmogroup/__init__.pyi +22 -22
  117. bpy/ops/gpencil/__init__.pyi +1459 -1444
  118. bpy/ops/graph/__init__.pyi +645 -642
  119. bpy/ops/grease_pencil/__init__.pyi +580 -436
  120. bpy/ops/image/__init__.pyi +614 -612
  121. bpy/ops/import_anim/__init__.pyi +26 -26
  122. bpy/ops/import_curve/__init__.pyi +6 -6
  123. bpy/ops/import_mesh/__init__.pyi +20 -18
  124. bpy/ops/import_scene/__init__.pyi +92 -86
  125. bpy/ops/info/__init__.pyi +60 -60
  126. bpy/ops/lattice/__init__.pyi +64 -64
  127. bpy/ops/marker/__init__.pyi +106 -106
  128. bpy/ops/mask/__init__.pyi +321 -318
  129. bpy/ops/material/__init__.pyi +18 -18
  130. bpy/ops/mball/__init__.pyi +71 -70
  131. bpy/ops/mesh/__init__.pyi +1997 -1990
  132. bpy/ops/nla/__init__.pyi +331 -330
  133. bpy/ops/node/__init__.pyi +867 -852
  134. bpy/ops/object/__init__.pyi +2433 -2430
  135. bpy/ops/outliner/__init__.pyi +498 -498
  136. bpy/ops/paint/__init__.pyi +554 -544
  137. bpy/ops/paintcurve/__init__.pyi +64 -64
  138. bpy/ops/palette/__init__.pyi +48 -48
  139. bpy/ops/particle/__init__.pyi +266 -264
  140. bpy/ops/pose/__init__.pyi +336 -336
  141. bpy/ops/poselib/__init__.pyi +70 -70
  142. bpy/ops/preferences/__init__.pyi +338 -336
  143. bpy/ops/ptcache/__init__.pyi +46 -46
  144. bpy/ops/render/__init__.pyi +114 -114
  145. bpy/ops/rigidbody/__init__.pyi +102 -102
  146. bpy/ops/scene/__init__.pyi +270 -270
  147. bpy/ops/screen/__init__.pyi +378 -378
  148. bpy/ops/script/__init__.pyi +18 -18
  149. bpy/ops/sculpt/__init__.pyi +411 -405
  150. bpy/ops/sculpt_curves/__init__.pyi +42 -40
  151. bpy/ops/sequencer/__init__.pyi +1053 -1040
  152. bpy/ops/sound/__init__.pyi +208 -208
  153. bpy/ops/spreadsheet/__init__.pyi +30 -30
  154. bpy/ops/surface/__init__.pyi +108 -108
  155. bpy/ops/text/__init__.pyi +382 -382
  156. bpy/ops/text_editor/__init__.pyi +10 -10
  157. bpy/ops/texture/__init__.pyi +26 -26
  158. bpy/ops/transform/__init__.pyi +826 -790
  159. bpy/ops/ui/__init__.pyi +216 -216
  160. bpy/ops/uilist/__init__.pyi +20 -20
  161. bpy/ops/uv/__init__.pyi +605 -600
  162. bpy/ops/view2d/__init__.pyi +156 -156
  163. bpy/ops/view3d/__init__.pyi +578 -576
  164. bpy/ops/wm/__init__.pyi +2418 -2376
  165. bpy/ops/workspace/__init__.pyi +42 -42
  166. bpy/ops/world/__init__.pyi +6 -6
  167. bpy/path/__init__.pyi +48 -33
  168. bpy/props/__init__.pyi +263 -261
  169. bpy/types/__init__.pyi +105733 -102298
  170. bpy/utils/__init__.pyi +87 -52
  171. bpy/utils/previews/__init__.pyi +2 -2
  172. bpy/utils/units/__init__.pyi +21 -18
  173. bpy_extras/anim_utils/__init__.pyi +9 -2
  174. bpy_extras/io_utils/__init__.pyi +2 -1
  175. bpy_extras/view3d_utils/__init__.pyi +2 -1
  176. bpy_types/__init__.pyi +236 -236
  177. {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240423.dist-info}/METADATA +1 -1
  178. {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240423.dist-info}/RECORD +187 -187
  179. freestyle/chainingiterators/__init__.pyi +7 -2
  180. freestyle/types/__init__.pyi +8 -3
  181. gpu_extras/presets/__init__.pyi +14 -2
  182. keyingsets_builtins/__init__.pyi +92 -92
  183. mathutils/__init__.pyi +9 -5
  184. mathutils/geometry/__init__.pyi +8 -4
  185. nodeitems_builtins/__init__.pyi +7 -7
  186. {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240423.dist-info}/WHEEL +0 -0
  187. {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240423.dist-info}/top_level.txt +0 -0
bpy/ops/pose/__init__.pyi CHANGED
@@ -4,33 +4,33 @@ import bpy.types
4
4
  GenericType = typing.TypeVar("GenericType")
5
5
 
6
6
  def armature_apply(
7
- override_context: typing.Union[dict, bpy.types.Context] = None,
8
- execution_context: typing.Union[str, int] = None,
9
- undo: bool = None,
10
- selected: typing.Union[bool, typing.Any] = False,
7
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
8
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
9
+ undo: typing.Optional[bool] = None,
10
+ selected: typing.Optional[typing.Union[bool, typing.Any]] = False,
11
11
  ):
12
12
  """Apply the current pose as the new rest pose
13
13
 
14
- :type override_context: typing.Union[dict, bpy.types.Context]
15
- :type execution_context: typing.Union[str, int]
16
- :type undo: bool
14
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
15
+ :type execution_context: typing.Optional[typing.Union[str, int]]
16
+ :type undo: typing.Optional[bool]
17
17
  :param selected: Selected Only, Only apply the selected bones (with propagation to children)
18
- :type selected: typing.Union[bool, typing.Any]
18
+ :type selected: typing.Optional[typing.Union[bool, typing.Any]]
19
19
  """
20
20
 
21
21
  ...
22
22
 
23
23
  def autoside_names(
24
- override_context: typing.Union[dict, bpy.types.Context] = None,
25
- execution_context: typing.Union[str, int] = None,
26
- undo: bool = None,
27
- axis: typing.Any = "XAXIS",
24
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
25
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
26
+ undo: typing.Optional[bool] = None,
27
+ axis: typing.Optional[typing.Any] = "XAXIS",
28
28
  ):
29
29
  """Automatically renames the selected bones according to which side of the target axis they fall on
30
30
 
31
- :type override_context: typing.Union[dict, bpy.types.Context]
32
- :type execution_context: typing.Union[str, int]
33
- :type undo: bool
31
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
32
+ :type execution_context: typing.Optional[typing.Union[str, int]]
33
+ :type undo: typing.Optional[bool]
34
34
  :param axis: Axis, Axis to tag names with
35
35
 
36
36
  XAXIS
@@ -41,32 +41,32 @@ def autoside_names(
41
41
 
42
42
  ZAXIS
43
43
  Z-Axis -- Top/Bottom.
44
- :type axis: typing.Any
44
+ :type axis: typing.Optional[typing.Any]
45
45
  """
46
46
 
47
47
  ...
48
48
 
49
49
  def blend_to_neighbor(
50
- override_context: typing.Union[dict, bpy.types.Context] = None,
51
- execution_context: typing.Union[str, int] = None,
52
- undo: bool = None,
53
- factor: typing.Any = 0.5,
54
- prev_frame: typing.Any = 0,
55
- next_frame: typing.Any = 0,
56
- channels: typing.Any = "ALL",
57
- axis_lock: typing.Any = "FREE",
50
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
51
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
52
+ undo: typing.Optional[bool] = None,
53
+ factor: typing.Optional[typing.Any] = 0.5,
54
+ prev_frame: typing.Optional[typing.Any] = 0,
55
+ next_frame: typing.Optional[typing.Any] = 0,
56
+ channels: typing.Optional[typing.Any] = "ALL",
57
+ axis_lock: typing.Optional[typing.Any] = "FREE",
58
58
  ):
59
59
  """Blend from current position to previous or next keyframe
60
60
 
61
- :type override_context: typing.Union[dict, bpy.types.Context]
62
- :type execution_context: typing.Union[str, int]
63
- :type undo: bool
61
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
62
+ :type execution_context: typing.Optional[typing.Union[str, int]]
63
+ :type undo: typing.Optional[bool]
64
64
  :param factor: Factor, Weighting factor for which keyframe is favored more
65
- :type factor: typing.Any
65
+ :type factor: typing.Optional[typing.Any]
66
66
  :param prev_frame: Previous Keyframe, Frame number of keyframe immediately before the current frame
67
- :type prev_frame: typing.Any
67
+ :type prev_frame: typing.Optional[typing.Any]
68
68
  :param next_frame: Next Keyframe, Frame number of keyframe immediately after the current frame
69
- :type next_frame: typing.Any
69
+ :type next_frame: typing.Optional[typing.Any]
70
70
  :param channels: Channels, Set of properties that are affected
71
71
 
72
72
  ALL
@@ -86,7 +86,7 @@ def blend_to_neighbor(
86
86
 
87
87
  CUSTOM
88
88
  Custom Properties -- Custom properties.
89
- :type channels: typing.Any
89
+ :type channels: typing.Optional[typing.Any]
90
90
  :param axis_lock: Axis Lock, Transform axis to restrict effects to
91
91
 
92
92
  FREE
@@ -100,32 +100,32 @@ def blend_to_neighbor(
100
100
 
101
101
  Z
102
102
  Z -- Only Z-axis transforms are affected.
103
- :type axis_lock: typing.Any
103
+ :type axis_lock: typing.Optional[typing.Any]
104
104
  """
105
105
 
106
106
  ...
107
107
 
108
108
  def blend_with_rest(
109
- override_context: typing.Union[dict, bpy.types.Context] = None,
110
- execution_context: typing.Union[str, int] = None,
111
- undo: bool = None,
112
- factor: typing.Any = 0.5,
113
- prev_frame: typing.Any = 0,
114
- next_frame: typing.Any = 0,
115
- channels: typing.Any = "ALL",
116
- axis_lock: typing.Any = "FREE",
109
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
110
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
111
+ undo: typing.Optional[bool] = None,
112
+ factor: typing.Optional[typing.Any] = 0.5,
113
+ prev_frame: typing.Optional[typing.Any] = 0,
114
+ next_frame: typing.Optional[typing.Any] = 0,
115
+ channels: typing.Optional[typing.Any] = "ALL",
116
+ axis_lock: typing.Optional[typing.Any] = "FREE",
117
117
  ):
118
118
  """Make the current pose more similar to, or further away from, the rest pose
119
119
 
120
- :type override_context: typing.Union[dict, bpy.types.Context]
121
- :type execution_context: typing.Union[str, int]
122
- :type undo: bool
120
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
121
+ :type execution_context: typing.Optional[typing.Union[str, int]]
122
+ :type undo: typing.Optional[bool]
123
123
  :param factor: Factor, Weighting factor for which keyframe is favored more
124
- :type factor: typing.Any
124
+ :type factor: typing.Optional[typing.Any]
125
125
  :param prev_frame: Previous Keyframe, Frame number of keyframe immediately before the current frame
126
- :type prev_frame: typing.Any
126
+ :type prev_frame: typing.Optional[typing.Any]
127
127
  :param next_frame: Next Keyframe, Frame number of keyframe immediately after the current frame
128
- :type next_frame: typing.Any
128
+ :type next_frame: typing.Optional[typing.Any]
129
129
  :param channels: Channels, Set of properties that are affected
130
130
 
131
131
  ALL
@@ -145,7 +145,7 @@ def blend_with_rest(
145
145
 
146
146
  CUSTOM
147
147
  Custom Properties -- Custom properties.
148
- :type channels: typing.Any
148
+ :type channels: typing.Optional[typing.Any]
149
149
  :param axis_lock: Axis Lock, Transform axis to restrict effects to
150
150
 
151
151
  FREE
@@ -159,32 +159,32 @@ def blend_with_rest(
159
159
 
160
160
  Z
161
161
  Z -- Only Z-axis transforms are affected.
162
- :type axis_lock: typing.Any
162
+ :type axis_lock: typing.Optional[typing.Any]
163
163
  """
164
164
 
165
165
  ...
166
166
 
167
167
  def breakdown(
168
- override_context: typing.Union[dict, bpy.types.Context] = None,
169
- execution_context: typing.Union[str, int] = None,
170
- undo: bool = None,
171
- factor: typing.Any = 0.5,
172
- prev_frame: typing.Any = 0,
173
- next_frame: typing.Any = 0,
174
- channels: typing.Any = "ALL",
175
- axis_lock: typing.Any = "FREE",
168
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
169
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
170
+ undo: typing.Optional[bool] = None,
171
+ factor: typing.Optional[typing.Any] = 0.5,
172
+ prev_frame: typing.Optional[typing.Any] = 0,
173
+ next_frame: typing.Optional[typing.Any] = 0,
174
+ channels: typing.Optional[typing.Any] = "ALL",
175
+ axis_lock: typing.Optional[typing.Any] = "FREE",
176
176
  ):
177
177
  """Create a suitable breakdown pose on the current frame
178
178
 
179
- :type override_context: typing.Union[dict, bpy.types.Context]
180
- :type execution_context: typing.Union[str, int]
181
- :type undo: bool
179
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
180
+ :type execution_context: typing.Optional[typing.Union[str, int]]
181
+ :type undo: typing.Optional[bool]
182
182
  :param factor: Factor, Weighting factor for which keyframe is favored more
183
- :type factor: typing.Any
183
+ :type factor: typing.Optional[typing.Any]
184
184
  :param prev_frame: Previous Keyframe, Frame number of keyframe immediately before the current frame
185
- :type prev_frame: typing.Any
185
+ :type prev_frame: typing.Optional[typing.Any]
186
186
  :param next_frame: Next Keyframe, Frame number of keyframe immediately after the current frame
187
- :type next_frame: typing.Any
187
+ :type next_frame: typing.Optional[typing.Any]
188
188
  :param channels: Channels, Set of properties that are affected
189
189
 
190
190
  ALL
@@ -204,7 +204,7 @@ def breakdown(
204
204
 
205
205
  CUSTOM
206
206
  Custom Properties -- Custom properties.
207
- :type channels: typing.Any
207
+ :type channels: typing.Optional[typing.Any]
208
208
  :param axis_lock: Axis Lock, Transform axis to restrict effects to
209
209
 
210
210
  FREE
@@ -218,266 +218,266 @@ def breakdown(
218
218
 
219
219
  Z
220
220
  Z -- Only Z-axis transforms are affected.
221
- :type axis_lock: typing.Any
221
+ :type axis_lock: typing.Optional[typing.Any]
222
222
  """
223
223
 
224
224
  ...
225
225
 
226
226
  def constraint_add(
227
- override_context: typing.Union[dict, bpy.types.Context] = None,
228
- execution_context: typing.Union[str, int] = None,
229
- undo: bool = None,
230
- type: typing.Union[str, int] = "",
227
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
228
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
229
+ undo: typing.Optional[bool] = None,
230
+ type: typing.Optional[typing.Union[str, int]] = "",
231
231
  ):
232
232
  """Add a constraint to the active bone
233
233
 
234
- :type override_context: typing.Union[dict, bpy.types.Context]
235
- :type execution_context: typing.Union[str, int]
236
- :type undo: bool
234
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
235
+ :type execution_context: typing.Optional[typing.Union[str, int]]
236
+ :type undo: typing.Optional[bool]
237
237
  :param type: Type
238
- :type type: typing.Union[str, int]
238
+ :type type: typing.Optional[typing.Union[str, int]]
239
239
  """
240
240
 
241
241
  ...
242
242
 
243
243
  def constraint_add_with_targets(
244
- override_context: typing.Union[dict, bpy.types.Context] = None,
245
- execution_context: typing.Union[str, int] = None,
246
- undo: bool = None,
247
- type: typing.Union[str, int] = "",
244
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
245
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
246
+ undo: typing.Optional[bool] = None,
247
+ type: typing.Optional[typing.Union[str, int]] = "",
248
248
  ):
249
249
  """Add a constraint to the active bone, with target (where applicable) set to the selected Objects/Bones
250
250
 
251
- :type override_context: typing.Union[dict, bpy.types.Context]
252
- :type execution_context: typing.Union[str, int]
253
- :type undo: bool
251
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
252
+ :type execution_context: typing.Optional[typing.Union[str, int]]
253
+ :type undo: typing.Optional[bool]
254
254
  :param type: Type
255
- :type type: typing.Union[str, int]
255
+ :type type: typing.Optional[typing.Union[str, int]]
256
256
  """
257
257
 
258
258
  ...
259
259
 
260
260
  def constraints_clear(
261
- override_context: typing.Union[dict, bpy.types.Context] = None,
262
- execution_context: typing.Union[str, int] = None,
263
- undo: bool = None,
261
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
262
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
263
+ undo: typing.Optional[bool] = None,
264
264
  ):
265
265
  """Clear all constraints from the selected bones
266
266
 
267
- :type override_context: typing.Union[dict, bpy.types.Context]
268
- :type execution_context: typing.Union[str, int]
269
- :type undo: bool
267
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
268
+ :type execution_context: typing.Optional[typing.Union[str, int]]
269
+ :type undo: typing.Optional[bool]
270
270
  """
271
271
 
272
272
  ...
273
273
 
274
274
  def constraints_copy(
275
- override_context: typing.Union[dict, bpy.types.Context] = None,
276
- execution_context: typing.Union[str, int] = None,
277
- undo: bool = None,
275
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
276
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
277
+ undo: typing.Optional[bool] = None,
278
278
  ):
279
279
  """Copy constraints to other selected bones
280
280
 
281
- :type override_context: typing.Union[dict, bpy.types.Context]
282
- :type execution_context: typing.Union[str, int]
283
- :type undo: bool
281
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
282
+ :type execution_context: typing.Optional[typing.Union[str, int]]
283
+ :type undo: typing.Optional[bool]
284
284
  """
285
285
 
286
286
  ...
287
287
 
288
288
  def copy(
289
- override_context: typing.Union[dict, bpy.types.Context] = None,
290
- execution_context: typing.Union[str, int] = None,
291
- undo: bool = None,
289
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
290
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
291
+ undo: typing.Optional[bool] = None,
292
292
  ):
293
293
  """Copy the current pose of the selected bones to the internal clipboard
294
294
 
295
- :type override_context: typing.Union[dict, bpy.types.Context]
296
- :type execution_context: typing.Union[str, int]
297
- :type undo: bool
295
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
296
+ :type execution_context: typing.Optional[typing.Union[str, int]]
297
+ :type undo: typing.Optional[bool]
298
298
  """
299
299
 
300
300
  ...
301
301
 
302
302
  def flip_names(
303
- override_context: typing.Union[dict, bpy.types.Context] = None,
304
- execution_context: typing.Union[str, int] = None,
305
- undo: bool = None,
306
- do_strip_numbers: typing.Union[bool, typing.Any] = False,
303
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
304
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
305
+ undo: typing.Optional[bool] = None,
306
+ do_strip_numbers: typing.Optional[typing.Union[bool, typing.Any]] = False,
307
307
  ):
308
308
  """Flips (and corrects) the axis suffixes of the names of selected bones
309
309
 
310
- :type override_context: typing.Union[dict, bpy.types.Context]
311
- :type execution_context: typing.Union[str, int]
312
- :type undo: bool
310
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
311
+ :type execution_context: typing.Optional[typing.Union[str, int]]
312
+ :type undo: typing.Optional[bool]
313
313
  :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
314
- :type do_strip_numbers: typing.Union[bool, typing.Any]
314
+ :type do_strip_numbers: typing.Optional[typing.Union[bool, typing.Any]]
315
315
  """
316
316
 
317
317
  ...
318
318
 
319
319
  def hide(
320
- override_context: typing.Union[dict, bpy.types.Context] = None,
321
- execution_context: typing.Union[str, int] = None,
322
- undo: bool = None,
323
- unselected: typing.Union[bool, typing.Any] = False,
320
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
321
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
322
+ undo: typing.Optional[bool] = None,
323
+ unselected: typing.Optional[typing.Union[bool, typing.Any]] = False,
324
324
  ):
325
325
  """Tag selected bones to not be visible in Pose Mode
326
326
 
327
- :type override_context: typing.Union[dict, bpy.types.Context]
328
- :type execution_context: typing.Union[str, int]
329
- :type undo: bool
327
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
328
+ :type execution_context: typing.Optional[typing.Union[str, int]]
329
+ :type undo: typing.Optional[bool]
330
330
  :param unselected: Unselected
331
- :type unselected: typing.Union[bool, typing.Any]
331
+ :type unselected: typing.Optional[typing.Union[bool, typing.Any]]
332
332
  """
333
333
 
334
334
  ...
335
335
 
336
336
  def ik_add(
337
- override_context: typing.Union[dict, bpy.types.Context] = None,
338
- execution_context: typing.Union[str, int] = None,
339
- undo: bool = None,
340
- with_targets: typing.Union[bool, typing.Any] = True,
337
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
338
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
339
+ undo: typing.Optional[bool] = None,
340
+ with_targets: typing.Optional[typing.Union[bool, typing.Any]] = True,
341
341
  ):
342
342
  """Add IK Constraint to the active Bone
343
343
 
344
- :type override_context: typing.Union[dict, bpy.types.Context]
345
- :type execution_context: typing.Union[str, int]
346
- :type undo: bool
344
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
345
+ :type execution_context: typing.Optional[typing.Union[str, int]]
346
+ :type undo: typing.Optional[bool]
347
347
  :param with_targets: With Targets, Assign IK Constraint with targets derived from the select bones/objects
348
- :type with_targets: typing.Union[bool, typing.Any]
348
+ :type with_targets: typing.Optional[typing.Union[bool, typing.Any]]
349
349
  """
350
350
 
351
351
  ...
352
352
 
353
353
  def ik_clear(
354
- override_context: typing.Union[dict, bpy.types.Context] = None,
355
- execution_context: typing.Union[str, int] = None,
356
- undo: bool = None,
354
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
355
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
356
+ undo: typing.Optional[bool] = None,
357
357
  ):
358
358
  """Remove all IK Constraints from selected bones
359
359
 
360
- :type override_context: typing.Union[dict, bpy.types.Context]
361
- :type execution_context: typing.Union[str, int]
362
- :type undo: bool
360
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
361
+ :type execution_context: typing.Optional[typing.Union[str, int]]
362
+ :type undo: typing.Optional[bool]
363
363
  """
364
364
 
365
365
  ...
366
366
 
367
367
  def loc_clear(
368
- override_context: typing.Union[dict, bpy.types.Context] = None,
369
- execution_context: typing.Union[str, int] = None,
370
- undo: bool = None,
368
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
369
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
370
+ undo: typing.Optional[bool] = None,
371
371
  ):
372
372
  """Reset locations of selected bones to their default values
373
373
 
374
- :type override_context: typing.Union[dict, bpy.types.Context]
375
- :type execution_context: typing.Union[str, int]
376
- :type undo: bool
374
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
375
+ :type execution_context: typing.Optional[typing.Union[str, int]]
376
+ :type undo: typing.Optional[bool]
377
377
  """
378
378
 
379
379
  ...
380
380
 
381
381
  def paste(
382
- override_context: typing.Union[dict, bpy.types.Context] = None,
383
- execution_context: typing.Union[str, int] = None,
384
- undo: bool = None,
385
- flipped: typing.Union[bool, typing.Any] = False,
386
- selected_mask: typing.Union[bool, typing.Any] = False,
382
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
383
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
384
+ undo: typing.Optional[bool] = None,
385
+ flipped: typing.Optional[typing.Union[bool, typing.Any]] = False,
386
+ selected_mask: typing.Optional[typing.Union[bool, typing.Any]] = False,
387
387
  ):
388
388
  """Paste the stored pose on to the current pose
389
389
 
390
- :type override_context: typing.Union[dict, bpy.types.Context]
391
- :type execution_context: typing.Union[str, int]
392
- :type undo: bool
390
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
391
+ :type execution_context: typing.Optional[typing.Union[str, int]]
392
+ :type undo: typing.Optional[bool]
393
393
  :param flipped: Flipped on X-Axis, Paste the stored pose flipped on to current pose
394
- :type flipped: typing.Union[bool, typing.Any]
394
+ :type flipped: typing.Optional[typing.Union[bool, typing.Any]]
395
395
  :param selected_mask: On Selected Only, Only paste the stored pose on to selected bones in the current pose
396
- :type selected_mask: typing.Union[bool, typing.Any]
396
+ :type selected_mask: typing.Optional[typing.Union[bool, typing.Any]]
397
397
  """
398
398
 
399
399
  ...
400
400
 
401
401
  def paths_calculate(
402
- override_context: typing.Union[dict, bpy.types.Context] = None,
403
- execution_context: typing.Union[str, int] = None,
404
- undo: bool = None,
405
- display_type: typing.Union[str, int] = "RANGE",
406
- range: typing.Union[str, int] = "SCENE",
407
- bake_location: typing.Union[str, int] = "HEADS",
402
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
403
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
404
+ undo: typing.Optional[bool] = None,
405
+ display_type: typing.Optional[typing.Union[str, int]] = "RANGE",
406
+ range: typing.Optional[typing.Union[str, int]] = "SCENE",
407
+ bake_location: typing.Optional[typing.Union[str, int]] = "HEADS",
408
408
  ):
409
409
  """Calculate paths for the selected bones
410
410
 
411
- :type override_context: typing.Union[dict, bpy.types.Context]
412
- :type execution_context: typing.Union[str, int]
413
- :type undo: bool
411
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
412
+ :type execution_context: typing.Optional[typing.Union[str, int]]
413
+ :type undo: typing.Optional[bool]
414
414
  :param display_type: Display type
415
- :type display_type: typing.Union[str, int]
415
+ :type display_type: typing.Optional[typing.Union[str, int]]
416
416
  :param range: Computation Range
417
- :type range: typing.Union[str, int]
417
+ :type range: typing.Optional[typing.Union[str, int]]
418
418
  :param bake_location: Bake Location, Which point on the bones is used when calculating paths
419
- :type bake_location: typing.Union[str, int]
419
+ :type bake_location: typing.Optional[typing.Union[str, int]]
420
420
  """
421
421
 
422
422
  ...
423
423
 
424
424
  def paths_clear(
425
- override_context: typing.Union[dict, bpy.types.Context] = None,
426
- execution_context: typing.Union[str, int] = None,
427
- undo: bool = None,
428
- only_selected: typing.Union[bool, typing.Any] = False,
425
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
426
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
427
+ undo: typing.Optional[bool] = None,
428
+ only_selected: typing.Optional[typing.Union[bool, typing.Any]] = False,
429
429
  ):
430
430
  """Undocumented, consider contributing.
431
431
 
432
- :type override_context: typing.Union[dict, bpy.types.Context]
433
- :type execution_context: typing.Union[str, int]
434
- :type undo: bool
432
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
433
+ :type execution_context: typing.Optional[typing.Union[str, int]]
434
+ :type undo: typing.Optional[bool]
435
435
  :param only_selected: Only Selected, Only clear motion paths of selected bones
436
- :type only_selected: typing.Union[bool, typing.Any]
436
+ :type only_selected: typing.Optional[typing.Union[bool, typing.Any]]
437
437
  """
438
438
 
439
439
  ...
440
440
 
441
441
  def paths_range_update(
442
- override_context: typing.Union[dict, bpy.types.Context] = None,
443
- execution_context: typing.Union[str, int] = None,
444
- undo: bool = None,
442
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
443
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
444
+ undo: typing.Optional[bool] = None,
445
445
  ):
446
446
  """Update frame range for motion paths from the Scene's current frame range
447
447
 
448
- :type override_context: typing.Union[dict, bpy.types.Context]
449
- :type execution_context: typing.Union[str, int]
450
- :type undo: bool
448
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
449
+ :type execution_context: typing.Optional[typing.Union[str, int]]
450
+ :type undo: typing.Optional[bool]
451
451
  """
452
452
 
453
453
  ...
454
454
 
455
455
  def paths_update(
456
- override_context: typing.Union[dict, bpy.types.Context] = None,
457
- execution_context: typing.Union[str, int] = None,
458
- undo: bool = None,
456
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
457
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
458
+ undo: typing.Optional[bool] = None,
459
459
  ):
460
460
  """Recalculate paths for bones that already have them
461
461
 
462
- :type override_context: typing.Union[dict, bpy.types.Context]
463
- :type execution_context: typing.Union[str, int]
464
- :type undo: bool
462
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
463
+ :type execution_context: typing.Optional[typing.Union[str, int]]
464
+ :type undo: typing.Optional[bool]
465
465
  """
466
466
 
467
467
  ...
468
468
 
469
469
  def propagate(
470
- override_context: typing.Union[dict, bpy.types.Context] = None,
471
- execution_context: typing.Union[str, int] = None,
472
- undo: bool = None,
473
- mode: typing.Any = "NEXT_KEY",
474
- end_frame: typing.Any = 250.0,
470
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
471
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
472
+ undo: typing.Optional[bool] = None,
473
+ mode: typing.Optional[typing.Any] = "NEXT_KEY",
474
+ end_frame: typing.Optional[typing.Any] = 250.0,
475
475
  ):
476
476
  """Copy selected aspects of the current pose to subsequent poses already keyframed
477
477
 
478
- :type override_context: typing.Union[dict, bpy.types.Context]
479
- :type execution_context: typing.Union[str, int]
480
- :type undo: bool
478
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
479
+ :type execution_context: typing.Optional[typing.Union[str, int]]
480
+ :type undo: typing.Optional[bool]
481
481
  :param mode: Terminate Mode, Method used to determine when to stop propagating pose to keyframes
482
482
 
483
483
  NEXT_KEY
@@ -497,34 +497,34 @@ def propagate(
497
497
 
498
498
  SELECTED_MARKERS
499
499
  On Selected Markers -- Propagate pose to all keyframes occurring on frames with Scene Markers after the current frame.
500
- :type mode: typing.Any
500
+ :type mode: typing.Optional[typing.Any]
501
501
  :param end_frame: End Frame, Frame to stop propagating frames to (for 'Before Frame' mode)
502
- :type end_frame: typing.Any
502
+ :type end_frame: typing.Optional[typing.Any]
503
503
  """
504
504
 
505
505
  ...
506
506
 
507
507
  def push(
508
- override_context: typing.Union[dict, bpy.types.Context] = None,
509
- execution_context: typing.Union[str, int] = None,
510
- undo: bool = None,
511
- factor: typing.Any = 0.5,
512
- prev_frame: typing.Any = 0,
513
- next_frame: typing.Any = 0,
514
- channels: typing.Any = "ALL",
515
- axis_lock: typing.Any = "FREE",
508
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
509
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
510
+ undo: typing.Optional[bool] = None,
511
+ factor: typing.Optional[typing.Any] = 0.5,
512
+ prev_frame: typing.Optional[typing.Any] = 0,
513
+ next_frame: typing.Optional[typing.Any] = 0,
514
+ channels: typing.Optional[typing.Any] = "ALL",
515
+ axis_lock: typing.Optional[typing.Any] = "FREE",
516
516
  ):
517
517
  """Exaggerate the current pose in regards to the breakdown pose
518
518
 
519
- :type override_context: typing.Union[dict, bpy.types.Context]
520
- :type execution_context: typing.Union[str, int]
521
- :type undo: bool
519
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
520
+ :type execution_context: typing.Optional[typing.Union[str, int]]
521
+ :type undo: typing.Optional[bool]
522
522
  :param factor: Factor, Weighting factor for which keyframe is favored more
523
- :type factor: typing.Any
523
+ :type factor: typing.Optional[typing.Any]
524
524
  :param prev_frame: Previous Keyframe, Frame number of keyframe immediately before the current frame
525
- :type prev_frame: typing.Any
525
+ :type prev_frame: typing.Optional[typing.Any]
526
526
  :param next_frame: Next Keyframe, Frame number of keyframe immediately after the current frame
527
- :type next_frame: typing.Any
527
+ :type next_frame: typing.Optional[typing.Any]
528
528
  :param channels: Channels, Set of properties that are affected
529
529
 
530
530
  ALL
@@ -544,7 +544,7 @@ def push(
544
544
 
545
545
  CUSTOM
546
546
  Custom Properties -- Custom properties.
547
- :type channels: typing.Any
547
+ :type channels: typing.Optional[typing.Any]
548
548
  :param axis_lock: Axis Lock, Transform axis to restrict effects to
549
549
 
550
550
  FREE
@@ -558,46 +558,46 @@ def push(
558
558
 
559
559
  Z
560
560
  Z -- Only Z-axis transforms are affected.
561
- :type axis_lock: typing.Any
561
+ :type axis_lock: typing.Optional[typing.Any]
562
562
  """
563
563
 
564
564
  ...
565
565
 
566
566
  def quaternions_flip(
567
- override_context: typing.Union[dict, bpy.types.Context] = None,
568
- execution_context: typing.Union[str, int] = None,
569
- undo: bool = None,
567
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
568
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
569
+ undo: typing.Optional[bool] = None,
570
570
  ):
571
571
  """Flip quaternion values to achieve desired rotations, while maintaining the same orientations
572
572
 
573
- :type override_context: typing.Union[dict, bpy.types.Context]
574
- :type execution_context: typing.Union[str, int]
575
- :type undo: bool
573
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
574
+ :type execution_context: typing.Optional[typing.Union[str, int]]
575
+ :type undo: typing.Optional[bool]
576
576
  """
577
577
 
578
578
  ...
579
579
 
580
580
  def relax(
581
- override_context: typing.Union[dict, bpy.types.Context] = None,
582
- execution_context: typing.Union[str, int] = None,
583
- undo: bool = None,
584
- factor: typing.Any = 0.5,
585
- prev_frame: typing.Any = 0,
586
- next_frame: typing.Any = 0,
587
- channels: typing.Any = "ALL",
588
- axis_lock: typing.Any = "FREE",
581
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
582
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
583
+ undo: typing.Optional[bool] = None,
584
+ factor: typing.Optional[typing.Any] = 0.5,
585
+ prev_frame: typing.Optional[typing.Any] = 0,
586
+ next_frame: typing.Optional[typing.Any] = 0,
587
+ channels: typing.Optional[typing.Any] = "ALL",
588
+ axis_lock: typing.Optional[typing.Any] = "FREE",
589
589
  ):
590
590
  """Make the current pose more similar to its breakdown pose
591
591
 
592
- :type override_context: typing.Union[dict, bpy.types.Context]
593
- :type execution_context: typing.Union[str, int]
594
- :type undo: bool
592
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
593
+ :type execution_context: typing.Optional[typing.Union[str, int]]
594
+ :type undo: typing.Optional[bool]
595
595
  :param factor: Factor, Weighting factor for which keyframe is favored more
596
- :type factor: typing.Any
596
+ :type factor: typing.Optional[typing.Any]
597
597
  :param prev_frame: Previous Keyframe, Frame number of keyframe immediately before the current frame
598
- :type prev_frame: typing.Any
598
+ :type prev_frame: typing.Optional[typing.Any]
599
599
  :param next_frame: Next Keyframe, Frame number of keyframe immediately after the current frame
600
- :type next_frame: typing.Any
600
+ :type next_frame: typing.Optional[typing.Any]
601
601
  :param channels: Channels, Set of properties that are affected
602
602
 
603
603
  ALL
@@ -617,7 +617,7 @@ def relax(
617
617
 
618
618
  CUSTOM
619
619
  Custom Properties -- Custom properties.
620
- :type channels: typing.Any
620
+ :type channels: typing.Optional[typing.Any]
621
621
  :param axis_lock: Axis Lock, Transform axis to restrict effects to
622
622
 
623
623
  FREE
@@ -631,84 +631,84 @@ def relax(
631
631
 
632
632
  Z
633
633
  Z -- Only Z-axis transforms are affected.
634
- :type axis_lock: typing.Any
634
+ :type axis_lock: typing.Optional[typing.Any]
635
635
  """
636
636
 
637
637
  ...
638
638
 
639
639
  def reveal(
640
- override_context: typing.Union[dict, bpy.types.Context] = None,
641
- execution_context: typing.Union[str, int] = None,
642
- undo: bool = None,
643
- select: typing.Union[bool, typing.Any] = True,
640
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
641
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
642
+ undo: typing.Optional[bool] = None,
643
+ select: typing.Optional[typing.Union[bool, typing.Any]] = True,
644
644
  ):
645
645
  """Reveal all bones hidden in Pose Mode
646
646
 
647
- :type override_context: typing.Union[dict, bpy.types.Context]
648
- :type execution_context: typing.Union[str, int]
649
- :type undo: bool
647
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
648
+ :type execution_context: typing.Optional[typing.Union[str, int]]
649
+ :type undo: typing.Optional[bool]
650
650
  :param select: Select
651
- :type select: typing.Union[bool, typing.Any]
651
+ :type select: typing.Optional[typing.Union[bool, typing.Any]]
652
652
  """
653
653
 
654
654
  ...
655
655
 
656
656
  def rot_clear(
657
- override_context: typing.Union[dict, bpy.types.Context] = None,
658
- execution_context: typing.Union[str, int] = None,
659
- undo: bool = None,
657
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
658
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
659
+ undo: typing.Optional[bool] = None,
660
660
  ):
661
661
  """Reset rotations of selected bones to their default values
662
662
 
663
- :type override_context: typing.Union[dict, bpy.types.Context]
664
- :type execution_context: typing.Union[str, int]
665
- :type undo: bool
663
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
664
+ :type execution_context: typing.Optional[typing.Union[str, int]]
665
+ :type undo: typing.Optional[bool]
666
666
  """
667
667
 
668
668
  ...
669
669
 
670
670
  def rotation_mode_set(
671
- override_context: typing.Union[dict, bpy.types.Context] = None,
672
- execution_context: typing.Union[str, int] = None,
673
- undo: bool = None,
674
- type: typing.Union[str, int] = "QUATERNION",
671
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
672
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
673
+ undo: typing.Optional[bool] = None,
674
+ type: typing.Optional[typing.Union[str, int]] = "QUATERNION",
675
675
  ):
676
676
  """Set the rotation representation used by selected bones
677
677
 
678
- :type override_context: typing.Union[dict, bpy.types.Context]
679
- :type execution_context: typing.Union[str, int]
680
- :type undo: bool
678
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
679
+ :type execution_context: typing.Optional[typing.Union[str, int]]
680
+ :type undo: typing.Optional[bool]
681
681
  :param type: Rotation Mode
682
- :type type: typing.Union[str, int]
682
+ :type type: typing.Optional[typing.Union[str, int]]
683
683
  """
684
684
 
685
685
  ...
686
686
 
687
687
  def scale_clear(
688
- override_context: typing.Union[dict, bpy.types.Context] = None,
689
- execution_context: typing.Union[str, int] = None,
690
- undo: bool = None,
688
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
689
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
690
+ undo: typing.Optional[bool] = None,
691
691
  ):
692
692
  """Reset scaling of selected bones to their default values
693
693
 
694
- :type override_context: typing.Union[dict, bpy.types.Context]
695
- :type execution_context: typing.Union[str, int]
696
- :type undo: bool
694
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
695
+ :type execution_context: typing.Optional[typing.Union[str, int]]
696
+ :type undo: typing.Optional[bool]
697
697
  """
698
698
 
699
699
  ...
700
700
 
701
701
  def select_all(
702
- override_context: typing.Union[dict, bpy.types.Context] = None,
703
- execution_context: typing.Union[str, int] = None,
704
- undo: bool = None,
705
- action: typing.Any = "TOGGLE",
702
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
703
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
704
+ undo: typing.Optional[bool] = None,
705
+ action: typing.Optional[typing.Any] = "TOGGLE",
706
706
  ):
707
707
  """Toggle selection status of all bones
708
708
 
709
- :type override_context: typing.Union[dict, bpy.types.Context]
710
- :type execution_context: typing.Union[str, int]
711
- :type undo: bool
709
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
710
+ :type execution_context: typing.Optional[typing.Union[str, int]]
711
+ :type undo: typing.Optional[bool]
712
712
  :param action: Action, Selection action to execute
713
713
 
714
714
  TOGGLE
@@ -722,39 +722,39 @@ def select_all(
722
722
 
723
723
  INVERT
724
724
  Invert -- Invert selection of all elements.
725
- :type action: typing.Any
725
+ :type action: typing.Optional[typing.Any]
726
726
  """
727
727
 
728
728
  ...
729
729
 
730
730
  def select_constraint_target(
731
- override_context: typing.Union[dict, bpy.types.Context] = None,
732
- execution_context: typing.Union[str, int] = None,
733
- undo: bool = None,
731
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
732
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
733
+ undo: typing.Optional[bool] = None,
734
734
  ):
735
735
  """Select bones used as targets for the currently selected bones
736
736
 
737
- :type override_context: typing.Union[dict, bpy.types.Context]
738
- :type execution_context: typing.Union[str, int]
739
- :type undo: bool
737
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
738
+ :type execution_context: typing.Optional[typing.Union[str, int]]
739
+ :type undo: typing.Optional[bool]
740
740
  """
741
741
 
742
742
  ...
743
743
 
744
744
  def select_grouped(
745
- override_context: typing.Union[dict, bpy.types.Context] = None,
746
- execution_context: typing.Union[str, int] = None,
747
- undo: bool = None,
748
- extend: typing.Union[bool, typing.Any] = False,
749
- type: typing.Any = "COLLECTION",
745
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
746
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
747
+ undo: typing.Optional[bool] = None,
748
+ extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
749
+ type: typing.Optional[typing.Any] = "COLLECTION",
750
750
  ):
751
751
  """Select all visible bones grouped by similar properties
752
752
 
753
- :type override_context: typing.Union[dict, bpy.types.Context]
754
- :type execution_context: typing.Union[str, int]
755
- :type undo: bool
753
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
754
+ :type execution_context: typing.Optional[typing.Union[str, int]]
755
+ :type undo: typing.Optional[bool]
756
756
  :param extend: Extend, Extend selection instead of deselecting everything first
757
- :type extend: typing.Union[bool, typing.Any]
757
+ :type extend: typing.Optional[typing.Union[bool, typing.Any]]
758
758
  :param type: Type
759
759
 
760
760
  COLLECTION
@@ -765,137 +765,137 @@ def select_grouped(
765
765
 
766
766
  KEYINGSET
767
767
  Keying Set -- All bones affected by active Keying Set.
768
- :type type: typing.Any
768
+ :type type: typing.Optional[typing.Any]
769
769
  """
770
770
 
771
771
  ...
772
772
 
773
773
  def select_hierarchy(
774
- override_context: typing.Union[dict, bpy.types.Context] = None,
775
- execution_context: typing.Union[str, int] = None,
776
- undo: bool = None,
777
- direction: typing.Any = "PARENT",
778
- extend: typing.Union[bool, typing.Any] = False,
774
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
775
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
776
+ undo: typing.Optional[bool] = None,
777
+ direction: typing.Optional[typing.Any] = "PARENT",
778
+ extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
779
779
  ):
780
780
  """Select immediate parent/children of selected bones
781
781
 
782
- :type override_context: typing.Union[dict, bpy.types.Context]
783
- :type execution_context: typing.Union[str, int]
784
- :type undo: bool
782
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
783
+ :type execution_context: typing.Optional[typing.Union[str, int]]
784
+ :type undo: typing.Optional[bool]
785
785
  :param direction: Direction
786
- :type direction: typing.Any
786
+ :type direction: typing.Optional[typing.Any]
787
787
  :param extend: Extend, Extend the selection
788
- :type extend: typing.Union[bool, typing.Any]
788
+ :type extend: typing.Optional[typing.Union[bool, typing.Any]]
789
789
  """
790
790
 
791
791
  ...
792
792
 
793
793
  def select_linked(
794
- override_context: typing.Union[dict, bpy.types.Context] = None,
795
- execution_context: typing.Union[str, int] = None,
796
- undo: bool = None,
794
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
795
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
796
+ undo: typing.Optional[bool] = None,
797
797
  ):
798
798
  """Select all bones linked by parent/child connections to the current selection
799
799
 
800
- :type override_context: typing.Union[dict, bpy.types.Context]
801
- :type execution_context: typing.Union[str, int]
802
- :type undo: bool
800
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
801
+ :type execution_context: typing.Optional[typing.Union[str, int]]
802
+ :type undo: typing.Optional[bool]
803
803
  """
804
804
 
805
805
  ...
806
806
 
807
807
  def select_linked_pick(
808
- override_context: typing.Union[dict, bpy.types.Context] = None,
809
- execution_context: typing.Union[str, int] = None,
810
- undo: bool = None,
811
- extend: typing.Union[bool, typing.Any] = False,
808
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
809
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
810
+ undo: typing.Optional[bool] = None,
811
+ extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
812
812
  ):
813
813
  """Select bones linked by parent/child connections under the mouse cursor
814
814
 
815
- :type override_context: typing.Union[dict, bpy.types.Context]
816
- :type execution_context: typing.Union[str, int]
817
- :type undo: bool
815
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
816
+ :type execution_context: typing.Optional[typing.Union[str, int]]
817
+ :type undo: typing.Optional[bool]
818
818
  :param extend: Extend, Extend selection instead of deselecting everything first
819
- :type extend: typing.Union[bool, typing.Any]
819
+ :type extend: typing.Optional[typing.Union[bool, typing.Any]]
820
820
  """
821
821
 
822
822
  ...
823
823
 
824
824
  def select_mirror(
825
- override_context: typing.Union[dict, bpy.types.Context] = None,
826
- execution_context: typing.Union[str, int] = None,
827
- undo: bool = None,
828
- only_active: typing.Union[bool, typing.Any] = False,
829
- extend: typing.Union[bool, typing.Any] = False,
825
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
826
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
827
+ undo: typing.Optional[bool] = None,
828
+ only_active: typing.Optional[typing.Union[bool, typing.Any]] = False,
829
+ extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
830
830
  ):
831
831
  """Mirror the bone selection
832
832
 
833
- :type override_context: typing.Union[dict, bpy.types.Context]
834
- :type execution_context: typing.Union[str, int]
835
- :type undo: bool
833
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
834
+ :type execution_context: typing.Optional[typing.Union[str, int]]
835
+ :type undo: typing.Optional[bool]
836
836
  :param only_active: Active Only, Only operate on the active bone
837
- :type only_active: typing.Union[bool, typing.Any]
837
+ :type only_active: typing.Optional[typing.Union[bool, typing.Any]]
838
838
  :param extend: Extend, Extend the selection
839
- :type extend: typing.Union[bool, typing.Any]
839
+ :type extend: typing.Optional[typing.Union[bool, typing.Any]]
840
840
  """
841
841
 
842
842
  ...
843
843
 
844
844
  def select_parent(
845
- override_context: typing.Union[dict, bpy.types.Context] = None,
846
- execution_context: typing.Union[str, int] = None,
847
- undo: bool = None,
845
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
846
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
847
+ undo: typing.Optional[bool] = None,
848
848
  ):
849
849
  """Select bones that are parents of the currently selected bones
850
850
 
851
- :type override_context: typing.Union[dict, bpy.types.Context]
852
- :type execution_context: typing.Union[str, int]
853
- :type undo: bool
851
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
852
+ :type execution_context: typing.Optional[typing.Union[str, int]]
853
+ :type undo: typing.Optional[bool]
854
854
  """
855
855
 
856
856
  ...
857
857
 
858
858
  def transforms_clear(
859
- override_context: typing.Union[dict, bpy.types.Context] = None,
860
- execution_context: typing.Union[str, int] = None,
861
- undo: bool = None,
859
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
860
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
861
+ undo: typing.Optional[bool] = None,
862
862
  ):
863
863
  """Reset location, rotation, and scaling of selected bones to their default values
864
864
 
865
- :type override_context: typing.Union[dict, bpy.types.Context]
866
- :type execution_context: typing.Union[str, int]
867
- :type undo: bool
865
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
866
+ :type execution_context: typing.Optional[typing.Union[str, int]]
867
+ :type undo: typing.Optional[bool]
868
868
  """
869
869
 
870
870
  ...
871
871
 
872
872
  def user_transforms_clear(
873
- override_context: typing.Union[dict, bpy.types.Context] = None,
874
- execution_context: typing.Union[str, int] = None,
875
- undo: bool = None,
876
- only_selected: typing.Union[bool, typing.Any] = True,
873
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
874
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
875
+ undo: typing.Optional[bool] = None,
876
+ only_selected: typing.Optional[typing.Union[bool, typing.Any]] = True,
877
877
  ):
878
878
  """Reset pose bone transforms to keyframed state
879
879
 
880
- :type override_context: typing.Union[dict, bpy.types.Context]
881
- :type execution_context: typing.Union[str, int]
882
- :type undo: bool
880
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
881
+ :type execution_context: typing.Optional[typing.Union[str, int]]
882
+ :type undo: typing.Optional[bool]
883
883
  :param only_selected: Only Selected, Only visible/selected bones
884
- :type only_selected: typing.Union[bool, typing.Any]
884
+ :type only_selected: typing.Optional[typing.Union[bool, typing.Any]]
885
885
  """
886
886
 
887
887
  ...
888
888
 
889
889
  def visual_transform_apply(
890
- override_context: typing.Union[dict, bpy.types.Context] = None,
891
- execution_context: typing.Union[str, int] = None,
892
- undo: bool = None,
890
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
891
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
892
+ undo: typing.Optional[bool] = None,
893
893
  ):
894
894
  """Apply final constrained position of pose bones to their transform
895
895
 
896
- :type override_context: typing.Union[dict, bpy.types.Context]
897
- :type execution_context: typing.Union[str, int]
898
- :type undo: bool
896
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
897
+ :type execution_context: typing.Optional[typing.Union[str, int]]
898
+ :type undo: typing.Optional[bool]
899
899
  """
900
900
 
901
901
  ...