fake-bpy-module 20240417__py3-none-any.whl → 20240419__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 (139) hide show
  1. _bpy_internal/__init__.pyi +4 -0
  2. _bpy_internal/freedesktop/__init__.pyi +88 -0
  3. _bpy_internal/freedesktop/py.typed +0 -0
  4. _bpy_internal/py.typed +0 -0
  5. aud/__init__.pyi +121 -48
  6. bgl/__init__.pyi +2443 -1265
  7. bl_math/__init__.pyi +19 -3
  8. bl_operators/geometry_nodes/__init__.pyi +13 -0
  9. bl_ui/properties_data_light/__init__.pyi +337 -0
  10. blf/__init__.pyi +63 -13
  11. bmesh/__init__.pyi +13 -0
  12. bmesh/geometry/__init__.pyi +5 -0
  13. bmesh/ops/__init__.pyi +157 -68
  14. bmesh/types/__init__.pyi +109 -62
  15. bmesh/utils/__init__.pyi +11 -2
  16. bpy/__init__.pyi +7 -0
  17. bpy/app/__init__.pyi +13 -0
  18. bpy/app/handlers/__init__.pyi +41 -0
  19. bpy/app/icons/__init__.pyi +4 -2
  20. bpy/app/timers/__init__.pyi +38 -2
  21. bpy/app/translations/__init__.pyi +58 -0
  22. bpy/msgbus/__init__.pyi +46 -0
  23. bpy/ops/__init__.pyi +151 -0
  24. bpy/ops/action/__init__.pyi +76 -76
  25. bpy/ops/anim/__init__.pyi +104 -104
  26. bpy/ops/armature/__init__.pyi +96 -96
  27. bpy/ops/asset/__init__.pyi +32 -32
  28. bpy/ops/boid/__init__.pyi +16 -16
  29. bpy/ops/brush/__init__.pyi +18 -18
  30. bpy/ops/buttons/__init__.pyi +12 -12
  31. bpy/ops/cachefile/__init__.pyi +10 -10
  32. bpy/ops/camera/__init__.pyi +4 -4
  33. bpy/ops/clip/__init__.pyi +184 -184
  34. bpy/ops/cloth/__init__.pyi +2 -2
  35. bpy/ops/collection/__init__.pyi +18 -18
  36. bpy/ops/console/__init__.pyi +42 -42
  37. bpy/ops/constraint/__init__.pyi +36 -36
  38. bpy/ops/curve/__init__.pyi +102 -102
  39. bpy/ops/curves/__init__.pyi +54 -54
  40. bpy/ops/cycles/__init__.pyi +6 -6
  41. bpy/ops/dpaint/__init__.pyi +10 -10
  42. bpy/ops/ed/__init__.pyi +24 -24
  43. bpy/ops/export_anim/__init__.pyi +2 -2
  44. bpy/ops/export_mesh/__init__.pyi +2 -2
  45. bpy/ops/export_scene/__init__.pyi +7 -7
  46. bpy/ops/file/__init__.pyi +80 -80
  47. bpy/ops/fluid/__init__.pyi +28 -28
  48. bpy/ops/font/__init__.pyi +46 -46
  49. bpy/ops/geometry/__init__.pyi +20 -20
  50. bpy/ops/gizmogroup/__init__.pyi +4 -4
  51. bpy/ops/gpencil/__init__.pyi +300 -300
  52. bpy/ops/graph/__init__.pyi +130 -130
  53. bpy/ops/grease_pencil/__init__.pyi +112 -112
  54. bpy/ops/image/__init__.pyi +92 -92
  55. bpy/ops/import_anim/__init__.pyi +2 -2
  56. bpy/ops/import_curve/__init__.pyi +2 -2
  57. bpy/ops/import_mesh/__init__.pyi +2 -2
  58. bpy/ops/import_scene/__init__.pyi +6 -6
  59. bpy/ops/info/__init__.pyi +14 -14
  60. bpy/ops/lattice/__init__.pyi +16 -16
  61. bpy/ops/marker/__init__.pyi +22 -22
  62. bpy/ops/mask/__init__.pyi +78 -78
  63. bpy/ops/material/__init__.pyi +6 -6
  64. bpy/ops/mball/__init__.pyi +16 -16
  65. bpy/ops/mesh/__init__.pyi +326 -326
  66. bpy/ops/nla/__init__.pyi +80 -80
  67. bpy/ops/node/__init__.pyi +202 -202
  68. bpy/ops/object/__init__.pyi +509 -500
  69. bpy/ops/outliner/__init__.pyi +138 -138
  70. bpy/ops/paint/__init__.pyi +104 -104
  71. bpy/ops/paintcurve/__init__.pyi +16 -16
  72. bpy/ops/palette/__init__.pyi +14 -14
  73. bpy/ops/particle/__init__.pyi +72 -72
  74. bpy/ops/pose/__init__.pyi +78 -78
  75. bpy/ops/poselib/__init__.pyi +18 -18
  76. bpy/ops/preferences/__init__.pyi +76 -76
  77. bpy/ops/ptcache/__init__.pyi +14 -14
  78. bpy/ops/render/__init__.pyi +24 -24
  79. bpy/ops/rigidbody/__init__.pyi +26 -26
  80. bpy/ops/scene/__init__.pyi +78 -78
  81. bpy/ops/screen/__init__.pyi +78 -78
  82. bpy/ops/script/__init__.pyi +6 -6
  83. bpy/ops/sculpt/__init__.pyi +62 -62
  84. bpy/ops/sculpt_curves/__init__.pyi +8 -8
  85. bpy/ops/sequencer/__init__.pyi +170 -170
  86. bpy/ops/sound/__init__.pyi +14 -14
  87. bpy/ops/spreadsheet/__init__.pyi +8 -8
  88. bpy/ops/surface/__init__.pyi +12 -12
  89. bpy/ops/text/__init__.pyi +86 -86
  90. bpy/ops/text_editor/__init__.pyi +2 -2
  91. bpy/ops/texture/__init__.pyi +8 -8
  92. bpy/ops/transform/__init__.pyi +54 -54
  93. bpy/ops/ui/__init__.pyi +64 -64
  94. bpy/ops/uilist/__init__.pyi +6 -6
  95. bpy/ops/uv/__init__.pyi +98 -98
  96. bpy/ops/view2d/__init__.pyi +28 -28
  97. bpy/ops/view3d/__init__.pyi +134 -134
  98. bpy/ops/wm/__init__.pyi +224 -224
  99. bpy/ops/workspace/__init__.pyi +14 -14
  100. bpy/ops/world/__init__.pyi +2 -2
  101. bpy/path/__init__.pyi +6 -0
  102. bpy/props/__init__.pyi +141 -29
  103. bpy/types/__init__.pyi +101517 -5027
  104. bpy/utils/__init__.pyi +18 -3
  105. bpy/utils/previews/__init__.pyi +15 -0
  106. bpy/utils/units/__init__.pyi +11 -3
  107. bpy_extras/__init__.pyi +19 -0
  108. bpy_extras/asset_utils/__init__.pyi +5 -0
  109. {fake_bpy_module-20240417.dist-info → fake_bpy_module-20240419.dist-info}/METADATA +1 -1
  110. {fake_bpy_module-20240417.dist-info → fake_bpy_module-20240419.dist-info}/RECORD +139 -135
  111. {fake_bpy_module-20240417.dist-info → fake_bpy_module-20240419.dist-info}/top_level.txt +1 -0
  112. freestyle/__init__.pyi +18 -0
  113. freestyle/chainingiterators/__init__.pyi +20 -5
  114. freestyle/functions/__init__.pyi +151 -155
  115. freestyle/predicates/__init__.pyi +53 -46
  116. freestyle/shaders/__init__.pyi +91 -32
  117. freestyle/types/__init__.pyi +362 -120
  118. freestyle/utils/ContextFunctions/__init__.pyi +32 -7
  119. freestyle/utils/__init__.pyi +13 -1
  120. gpu/__init__.pyi +225 -0
  121. gpu/capabilities/__init__.pyi +37 -15
  122. gpu/matrix/__init__.pyi +7 -1
  123. gpu/platform/__init__.pyi +5 -0
  124. gpu/select/__init__.pyi +5 -0
  125. gpu/shader/__init__.pyi +77 -0
  126. gpu/state/__init__.pyi +15 -4
  127. gpu/texture/__init__.pyi +5 -0
  128. gpu/types/__init__.pyi +91 -33
  129. gpu_extras/__init__.pyi +15 -0
  130. gpu_extras/presets/__init__.pyi +16 -4
  131. imbuf/__init__.pyi +13 -0
  132. imbuf/types/__init__.pyi +20 -5
  133. mathutils/__init__.pyi +349 -227
  134. mathutils/bvhtree/__init__.pyi +21 -8
  135. mathutils/geometry/__init__.pyi +23 -9
  136. mathutils/interpolate/__init__.pyi +5 -0
  137. mathutils/kdtree/__init__.pyi +19 -5
  138. mathutils/noise/__init__.pyi +87 -41
  139. {fake_bpy_module-20240417.dist-info → fake_bpy_module-20240419.dist-info}/WHEEL +0 -0
@@ -5,13 +5,13 @@ GenericType = typing.TypeVar("GenericType")
5
5
 
6
6
  def align(
7
7
  override_context: typing.Union[dict, bpy.types.Context] = None,
8
- execution_context: str = None,
8
+ execution_context: typing.Union[str, int] = None,
9
9
  undo: bool = None,
10
10
  ):
11
11
  """Align selected bones to the active bone (or to their parent)
12
12
 
13
13
  :type override_context: typing.Union[dict, bpy.types.Context]
14
- :type execution_context: str
14
+ :type execution_context: typing.Union[str, int]
15
15
  :type undo: bool
16
16
  """
17
17
 
@@ -19,7 +19,7 @@ def align(
19
19
 
20
20
  def assign_to_collection(
21
21
  override_context: typing.Union[dict, bpy.types.Context] = None,
22
- execution_context: str = None,
22
+ execution_context: typing.Union[str, int] = None,
23
23
  undo: bool = None,
24
24
  collection_index: typing.Any = -1,
25
25
  new_collection_name: typing.Union[str, typing.Any] = "",
@@ -27,7 +27,7 @@ def assign_to_collection(
27
27
  """Assign all selected bones to a collection, or unassign them, depending on whether the active bone is already assigned or not
28
28
 
29
29
  :type override_context: typing.Union[dict, bpy.types.Context]
30
- :type execution_context: str
30
+ :type execution_context: typing.Union[str, int]
31
31
  :type undo: bool
32
32
  :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
33
33
  :type collection_index: typing.Any
@@ -39,14 +39,14 @@ def assign_to_collection(
39
39
 
40
40
  def autoside_names(
41
41
  override_context: typing.Union[dict, bpy.types.Context] = None,
42
- execution_context: str = None,
42
+ execution_context: typing.Union[str, int] = None,
43
43
  undo: bool = None,
44
44
  type: typing.Any = "XAXIS",
45
45
  ):
46
46
  """Automatically renames the selected bones according to which side of the target axis they fall on
47
47
 
48
48
  :type override_context: typing.Union[dict, bpy.types.Context]
49
- :type execution_context: str
49
+ :type execution_context: typing.Union[str, int]
50
50
  :type undo: bool
51
51
  :param type: Axis, Axis to tag names with
52
52
 
@@ -65,14 +65,14 @@ def autoside_names(
65
65
 
66
66
  def bone_primitive_add(
67
67
  override_context: typing.Union[dict, bpy.types.Context] = None,
68
- execution_context: str = None,
68
+ execution_context: typing.Union[str, int] = None,
69
69
  undo: bool = None,
70
70
  name: typing.Union[str, typing.Any] = "",
71
71
  ):
72
72
  """Add a new bone located at the 3D cursor
73
73
 
74
74
  :type override_context: typing.Union[dict, bpy.types.Context]
75
- :type execution_context: str
75
+ :type execution_context: typing.Union[str, int]
76
76
  :type undo: bool
77
77
  :param name: Name, Name of the newly created bone
78
78
  :type name: typing.Union[str, typing.Any]
@@ -82,7 +82,7 @@ def bone_primitive_add(
82
82
 
83
83
  def calculate_roll(
84
84
  override_context: typing.Union[dict, bpy.types.Context] = None,
85
- execution_context: str = None,
85
+ execution_context: typing.Union[str, int] = None,
86
86
  undo: bool = None,
87
87
  type: typing.Any = "POS_X",
88
88
  axis_flip: typing.Union[bool, typing.Any] = False,
@@ -91,7 +91,7 @@ def calculate_roll(
91
91
  """Automatically fix alignment of select bones' axes
92
92
 
93
93
  :type override_context: typing.Union[dict, bpy.types.Context]
94
- :type execution_context: str
94
+ :type execution_context: typing.Union[str, int]
95
95
  :type undo: bool
96
96
  :param type: Type
97
97
  :type type: typing.Any
@@ -105,13 +105,13 @@ def calculate_roll(
105
105
 
106
106
  def click_extrude(
107
107
  override_context: typing.Union[dict, bpy.types.Context] = None,
108
- execution_context: str = None,
108
+ execution_context: typing.Union[str, int] = None,
109
109
  undo: bool = None,
110
110
  ):
111
111
  """Create a new bone going from the last selected joint to the mouse position
112
112
 
113
113
  :type override_context: typing.Union[dict, bpy.types.Context]
114
- :type execution_context: str
114
+ :type execution_context: typing.Union[str, int]
115
115
  :type undo: bool
116
116
  """
117
117
 
@@ -119,13 +119,13 @@ def click_extrude(
119
119
 
120
120
  def collection_add(
121
121
  override_context: typing.Union[dict, bpy.types.Context] = None,
122
- execution_context: str = None,
122
+ execution_context: typing.Union[str, int] = None,
123
123
  undo: bool = None,
124
124
  ):
125
125
  """Add a new bone collection
126
126
 
127
127
  :type override_context: typing.Union[dict, bpy.types.Context]
128
- :type execution_context: str
128
+ :type execution_context: typing.Union[str, int]
129
129
  :type undo: bool
130
130
  """
131
131
 
@@ -133,14 +133,14 @@ def collection_add(
133
133
 
134
134
  def collection_assign(
135
135
  override_context: typing.Union[dict, bpy.types.Context] = None,
136
- execution_context: str = None,
136
+ execution_context: typing.Union[str, int] = None,
137
137
  undo: bool = None,
138
138
  name: typing.Union[str, typing.Any] = "",
139
139
  ):
140
140
  """Add selected bones to the chosen bone collection
141
141
 
142
142
  :type override_context: typing.Union[dict, bpy.types.Context]
143
- :type execution_context: str
143
+ :type execution_context: typing.Union[str, int]
144
144
  :type undo: bool
145
145
  :param name: Bone Collection, Name of the bone collection to assign this bone to; empty to assign to the active bone collection
146
146
  :type name: typing.Union[str, typing.Any]
@@ -150,14 +150,14 @@ def collection_assign(
150
150
 
151
151
  def collection_create_and_assign(
152
152
  override_context: typing.Union[dict, bpy.types.Context] = None,
153
- execution_context: str = None,
153
+ execution_context: typing.Union[str, int] = None,
154
154
  undo: bool = None,
155
155
  name: typing.Union[str, typing.Any] = "",
156
156
  ):
157
157
  """Create a new bone collection and assign all selected bones
158
158
 
159
159
  :type override_context: typing.Union[dict, bpy.types.Context]
160
- :type execution_context: str
160
+ :type execution_context: typing.Union[str, int]
161
161
  :type undo: bool
162
162
  :param name: Bone Collection, Name of the bone collection to create
163
163
  :type name: typing.Union[str, typing.Any]
@@ -167,13 +167,13 @@ def collection_create_and_assign(
167
167
 
168
168
  def collection_deselect(
169
169
  override_context: typing.Union[dict, bpy.types.Context] = None,
170
- execution_context: str = None,
170
+ execution_context: typing.Union[str, int] = None,
171
171
  undo: bool = None,
172
172
  ):
173
173
  """Deselect bones of active Bone Collection
174
174
 
175
175
  :type override_context: typing.Union[dict, bpy.types.Context]
176
- :type execution_context: str
176
+ :type execution_context: typing.Union[str, int]
177
177
  :type undo: bool
178
178
  """
179
179
 
@@ -181,14 +181,14 @@ def collection_deselect(
181
181
 
182
182
  def collection_move(
183
183
  override_context: typing.Union[dict, bpy.types.Context] = None,
184
- execution_context: str = None,
184
+ execution_context: typing.Union[str, int] = None,
185
185
  undo: bool = None,
186
186
  direction: typing.Any = "UP",
187
187
  ):
188
188
  """Change position of active Bone Collection in list of Bone collections
189
189
 
190
190
  :type override_context: typing.Union[dict, bpy.types.Context]
191
- :type execution_context: str
191
+ :type execution_context: typing.Union[str, int]
192
192
  :type undo: bool
193
193
  :param direction: Direction, Direction to move the active Bone Collection towards
194
194
  :type direction: typing.Any
@@ -198,13 +198,13 @@ def collection_move(
198
198
 
199
199
  def collection_remove(
200
200
  override_context: typing.Union[dict, bpy.types.Context] = None,
201
- execution_context: str = None,
201
+ execution_context: typing.Union[str, int] = None,
202
202
  undo: bool = None,
203
203
  ):
204
204
  """Remove the active bone collection
205
205
 
206
206
  :type override_context: typing.Union[dict, bpy.types.Context]
207
- :type execution_context: str
207
+ :type execution_context: typing.Union[str, int]
208
208
  :type undo: bool
209
209
  """
210
210
 
@@ -212,13 +212,13 @@ def collection_remove(
212
212
 
213
213
  def collection_remove_unused(
214
214
  override_context: typing.Union[dict, bpy.types.Context] = None,
215
- execution_context: str = None,
215
+ execution_context: typing.Union[str, int] = None,
216
216
  undo: bool = None,
217
217
  ):
218
218
  """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
219
219
 
220
220
  :type override_context: typing.Union[dict, bpy.types.Context]
221
- :type execution_context: str
221
+ :type execution_context: typing.Union[str, int]
222
222
  :type undo: bool
223
223
  """
224
224
 
@@ -226,13 +226,13 @@ def collection_remove_unused(
226
226
 
227
227
  def collection_select(
228
228
  override_context: typing.Union[dict, bpy.types.Context] = None,
229
- execution_context: str = None,
229
+ execution_context: typing.Union[str, int] = None,
230
230
  undo: bool = None,
231
231
  ):
232
232
  """Select bones in active Bone Collection
233
233
 
234
234
  :type override_context: typing.Union[dict, bpy.types.Context]
235
- :type execution_context: str
235
+ :type execution_context: typing.Union[str, int]
236
236
  :type undo: bool
237
237
  """
238
238
 
@@ -240,13 +240,13 @@ def collection_select(
240
240
 
241
241
  def collection_show_all(
242
242
  override_context: typing.Union[dict, bpy.types.Context] = None,
243
- execution_context: str = None,
243
+ execution_context: typing.Union[str, int] = None,
244
244
  undo: bool = None,
245
245
  ):
246
246
  """Show all bone collections
247
247
 
248
248
  :type override_context: typing.Union[dict, bpy.types.Context]
249
- :type execution_context: str
249
+ :type execution_context: typing.Union[str, int]
250
250
  :type undo: bool
251
251
  """
252
252
 
@@ -254,14 +254,14 @@ def collection_show_all(
254
254
 
255
255
  def collection_unassign(
256
256
  override_context: typing.Union[dict, bpy.types.Context] = None,
257
- execution_context: str = None,
257
+ execution_context: typing.Union[str, int] = None,
258
258
  undo: bool = None,
259
259
  name: typing.Union[str, typing.Any] = "",
260
260
  ):
261
261
  """Remove selected bones from the active bone collection
262
262
 
263
263
  :type override_context: typing.Union[dict, bpy.types.Context]
264
- :type execution_context: str
264
+ :type execution_context: typing.Union[str, int]
265
265
  :type undo: bool
266
266
  :param name: Bone Collection, Name of the bone collection to unassign this bone from; empty to unassign from the active bone collection
267
267
  :type name: typing.Union[str, typing.Any]
@@ -271,7 +271,7 @@ def collection_unassign(
271
271
 
272
272
  def collection_unassign_named(
273
273
  override_context: typing.Union[dict, bpy.types.Context] = None,
274
- execution_context: str = None,
274
+ execution_context: typing.Union[str, int] = None,
275
275
  undo: bool = None,
276
276
  name: typing.Union[str, typing.Any] = "",
277
277
  bone_name: typing.Union[str, typing.Any] = "",
@@ -279,7 +279,7 @@ def collection_unassign_named(
279
279
  """Unassign the named bone from this bone collection
280
280
 
281
281
  :type override_context: typing.Union[dict, bpy.types.Context]
282
- :type execution_context: str
282
+ :type execution_context: typing.Union[str, int]
283
283
  :type undo: bool
284
284
  :param name: Bone Collection, Name of the bone collection to unassign this bone from; empty to unassign from the active bone collection
285
285
  :type name: typing.Union[str, typing.Any]
@@ -291,13 +291,13 @@ def collection_unassign_named(
291
291
 
292
292
  def collection_unsolo_all(
293
293
  override_context: typing.Union[dict, bpy.types.Context] = None,
294
- execution_context: str = None,
294
+ execution_context: typing.Union[str, int] = None,
295
295
  undo: bool = None,
296
296
  ):
297
297
  """Clear the 'solo' setting on all bone collections
298
298
 
299
299
  :type override_context: typing.Union[dict, bpy.types.Context]
300
- :type execution_context: str
300
+ :type execution_context: typing.Union[str, int]
301
301
  :type undo: bool
302
302
  """
303
303
 
@@ -305,14 +305,14 @@ def collection_unsolo_all(
305
305
 
306
306
  def copy_bone_color_to_selected(
307
307
  override_context: typing.Union[dict, bpy.types.Context] = None,
308
- execution_context: str = None,
308
+ execution_context: typing.Union[str, int] = None,
309
309
  undo: bool = None,
310
310
  bone_type: typing.Any = "EDIT",
311
311
  ):
312
312
  """Copy the bone color of the active bone to all selected bones
313
313
 
314
314
  :type override_context: typing.Union[dict, bpy.types.Context]
315
- :type execution_context: str
315
+ :type execution_context: typing.Union[str, int]
316
316
  :type undo: bool
317
317
  :param bone_type: Type
318
318
 
@@ -328,14 +328,14 @@ def copy_bone_color_to_selected(
328
328
 
329
329
  def delete(
330
330
  override_context: typing.Union[dict, bpy.types.Context] = None,
331
- execution_context: str = None,
331
+ execution_context: typing.Union[str, int] = None,
332
332
  undo: bool = None,
333
333
  confirm: typing.Union[bool, typing.Any] = True,
334
334
  ):
335
335
  """Remove selected bones from the armature
336
336
 
337
337
  :type override_context: typing.Union[dict, bpy.types.Context]
338
- :type execution_context: str
338
+ :type execution_context: typing.Union[str, int]
339
339
  :type undo: bool
340
340
  :param confirm: Confirm, Prompt for confirmation
341
341
  :type confirm: typing.Union[bool, typing.Any]
@@ -345,13 +345,13 @@ def delete(
345
345
 
346
346
  def dissolve(
347
347
  override_context: typing.Union[dict, bpy.types.Context] = None,
348
- execution_context: str = None,
348
+ execution_context: typing.Union[str, int] = None,
349
349
  undo: bool = None,
350
350
  ):
351
351
  """Dissolve selected bones from the armature
352
352
 
353
353
  :type override_context: typing.Union[dict, bpy.types.Context]
354
- :type execution_context: str
354
+ :type execution_context: typing.Union[str, int]
355
355
  :type undo: bool
356
356
  """
357
357
 
@@ -359,14 +359,14 @@ def dissolve(
359
359
 
360
360
  def duplicate(
361
361
  override_context: typing.Union[dict, bpy.types.Context] = None,
362
- execution_context: str = None,
362
+ execution_context: typing.Union[str, int] = None,
363
363
  undo: bool = None,
364
364
  do_flip_names: typing.Union[bool, typing.Any] = False,
365
365
  ):
366
366
  """Make copies of the selected bones within the same armature
367
367
 
368
368
  :type override_context: typing.Union[dict, bpy.types.Context]
369
- :type execution_context: str
369
+ :type execution_context: typing.Union[str, int]
370
370
  :type undo: bool
371
371
  :param do_flip_names: Flip Names, Try to flip names of the bones, if possible, instead of adding a number extension
372
372
  :type do_flip_names: typing.Union[bool, typing.Any]
@@ -376,7 +376,7 @@ def duplicate(
376
376
 
377
377
  def duplicate_move(
378
378
  override_context: typing.Union[dict, bpy.types.Context] = None,
379
- execution_context: str = None,
379
+ execution_context: typing.Union[str, int] = None,
380
380
  undo: bool = None,
381
381
  ARMATURE_OT_duplicate: typing.Any = None,
382
382
  TRANSFORM_OT_translate: typing.Any = None,
@@ -384,7 +384,7 @@ def duplicate_move(
384
384
  """Make copies of the selected bones within the same armature and move them
385
385
 
386
386
  :type override_context: typing.Union[dict, bpy.types.Context]
387
- :type execution_context: str
387
+ :type execution_context: typing.Union[str, int]
388
388
  :type undo: bool
389
389
  :param ARMATURE_OT_duplicate: Duplicate Selected Bone(s), Make copies of the selected bones within the same armature
390
390
  :type ARMATURE_OT_duplicate: typing.Any
@@ -396,14 +396,14 @@ def duplicate_move(
396
396
 
397
397
  def extrude(
398
398
  override_context: typing.Union[dict, bpy.types.Context] = None,
399
- execution_context: str = None,
399
+ execution_context: typing.Union[str, int] = None,
400
400
  undo: bool = None,
401
401
  forked: typing.Union[bool, typing.Any] = False,
402
402
  ):
403
403
  """Create new bones from the selected joints
404
404
 
405
405
  :type override_context: typing.Union[dict, bpy.types.Context]
406
- :type execution_context: str
406
+ :type execution_context: typing.Union[str, int]
407
407
  :type undo: bool
408
408
  :param forked: Forked
409
409
  :type forked: typing.Union[bool, typing.Any]
@@ -413,7 +413,7 @@ def extrude(
413
413
 
414
414
  def extrude_forked(
415
415
  override_context: typing.Union[dict, bpy.types.Context] = None,
416
- execution_context: str = None,
416
+ execution_context: typing.Union[str, int] = None,
417
417
  undo: bool = None,
418
418
  ARMATURE_OT_extrude: typing.Any = None,
419
419
  TRANSFORM_OT_translate: typing.Any = None,
@@ -421,7 +421,7 @@ def extrude_forked(
421
421
  """Create new bones from the selected joints and move them
422
422
 
423
423
  :type override_context: typing.Union[dict, bpy.types.Context]
424
- :type execution_context: str
424
+ :type execution_context: typing.Union[str, int]
425
425
  :type undo: bool
426
426
  :param ARMATURE_OT_extrude: Extrude, Create new bones from the selected joints
427
427
  :type ARMATURE_OT_extrude: typing.Any
@@ -433,7 +433,7 @@ def extrude_forked(
433
433
 
434
434
  def extrude_move(
435
435
  override_context: typing.Union[dict, bpy.types.Context] = None,
436
- execution_context: str = None,
436
+ execution_context: typing.Union[str, int] = None,
437
437
  undo: bool = None,
438
438
  ARMATURE_OT_extrude: typing.Any = None,
439
439
  TRANSFORM_OT_translate: typing.Any = None,
@@ -441,7 +441,7 @@ def extrude_move(
441
441
  """Create new bones from the selected joints and move them
442
442
 
443
443
  :type override_context: typing.Union[dict, bpy.types.Context]
444
- :type execution_context: str
444
+ :type execution_context: typing.Union[str, int]
445
445
  :type undo: bool
446
446
  :param ARMATURE_OT_extrude: Extrude, Create new bones from the selected joints
447
447
  :type ARMATURE_OT_extrude: typing.Any
@@ -453,13 +453,13 @@ def extrude_move(
453
453
 
454
454
  def fill(
455
455
  override_context: typing.Union[dict, bpy.types.Context] = None,
456
- execution_context: str = None,
456
+ execution_context: typing.Union[str, int] = None,
457
457
  undo: bool = None,
458
458
  ):
459
459
  """Add bone between selected joint(s) and/or 3D cursor
460
460
 
461
461
  :type override_context: typing.Union[dict, bpy.types.Context]
462
- :type execution_context: str
462
+ :type execution_context: typing.Union[str, int]
463
463
  :type undo: bool
464
464
  """
465
465
 
@@ -467,14 +467,14 @@ def fill(
467
467
 
468
468
  def flip_names(
469
469
  override_context: typing.Union[dict, bpy.types.Context] = None,
470
- execution_context: str = None,
470
+ execution_context: typing.Union[str, int] = None,
471
471
  undo: bool = None,
472
472
  do_strip_numbers: typing.Union[bool, typing.Any] = False,
473
473
  ):
474
474
  """Flips (and corrects) the axis suffixes of the names of selected bones
475
475
 
476
476
  :type override_context: typing.Union[dict, bpy.types.Context]
477
- :type execution_context: str
477
+ :type execution_context: typing.Union[str, int]
478
478
  :type undo: bool
479
479
  :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
480
480
  :type do_strip_numbers: typing.Union[bool, typing.Any]
@@ -484,14 +484,14 @@ def flip_names(
484
484
 
485
485
  def hide(
486
486
  override_context: typing.Union[dict, bpy.types.Context] = None,
487
- execution_context: str = None,
487
+ execution_context: typing.Union[str, int] = None,
488
488
  undo: bool = None,
489
489
  unselected: typing.Union[bool, typing.Any] = False,
490
490
  ):
491
491
  """Tag selected bones to not be visible in Edit Mode
492
492
 
493
493
  :type override_context: typing.Union[dict, bpy.types.Context]
494
- :type execution_context: str
494
+ :type execution_context: typing.Union[str, int]
495
495
  :type undo: bool
496
496
  :param unselected: Unselected, Hide unselected rather than selected
497
497
  :type unselected: typing.Union[bool, typing.Any]
@@ -501,7 +501,7 @@ def hide(
501
501
 
502
502
  def move_to_collection(
503
503
  override_context: typing.Union[dict, bpy.types.Context] = None,
504
- execution_context: str = None,
504
+ execution_context: typing.Union[str, int] = None,
505
505
  undo: bool = None,
506
506
  collection_index: typing.Any = -1,
507
507
  new_collection_name: typing.Union[str, typing.Any] = "",
@@ -509,7 +509,7 @@ def move_to_collection(
509
509
  """Move bones to a collection
510
510
 
511
511
  :type override_context: typing.Union[dict, bpy.types.Context]
512
- :type execution_context: str
512
+ :type execution_context: typing.Union[str, int]
513
513
  :type undo: bool
514
514
  :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
515
515
  :type collection_index: typing.Any
@@ -521,14 +521,14 @@ def move_to_collection(
521
521
 
522
522
  def parent_clear(
523
523
  override_context: typing.Union[dict, bpy.types.Context] = None,
524
- execution_context: str = None,
524
+ execution_context: typing.Union[str, int] = None,
525
525
  undo: bool = None,
526
526
  type: typing.Any = "CLEAR",
527
527
  ):
528
528
  """Remove the parent-child relationship between selected bones and their parents
529
529
 
530
530
  :type override_context: typing.Union[dict, bpy.types.Context]
531
- :type execution_context: str
531
+ :type execution_context: typing.Union[str, int]
532
532
  :type undo: bool
533
533
  :param type: Clear Type, What way to clear parenting
534
534
  :type type: typing.Any
@@ -538,14 +538,14 @@ def parent_clear(
538
538
 
539
539
  def parent_set(
540
540
  override_context: typing.Union[dict, bpy.types.Context] = None,
541
- execution_context: str = None,
541
+ execution_context: typing.Union[str, int] = None,
542
542
  undo: bool = None,
543
543
  type: typing.Any = "CONNECTED",
544
544
  ):
545
545
  """Set the active bone as the parent of the selected bones
546
546
 
547
547
  :type override_context: typing.Union[dict, bpy.types.Context]
548
- :type execution_context: str
548
+ :type execution_context: typing.Union[str, int]
549
549
  :type undo: bool
550
550
  :param type: Parent Type, Type of parenting
551
551
  :type type: typing.Any
@@ -555,14 +555,14 @@ def parent_set(
555
555
 
556
556
  def reveal(
557
557
  override_context: typing.Union[dict, bpy.types.Context] = None,
558
- execution_context: str = None,
558
+ execution_context: typing.Union[str, int] = None,
559
559
  undo: bool = None,
560
560
  select: typing.Union[bool, typing.Any] = True,
561
561
  ):
562
562
  """Reveal all bones hidden in Edit Mode
563
563
 
564
564
  :type override_context: typing.Union[dict, bpy.types.Context]
565
- :type execution_context: str
565
+ :type execution_context: typing.Union[str, int]
566
566
  :type undo: bool
567
567
  :param select: Select
568
568
  :type select: typing.Union[bool, typing.Any]
@@ -572,14 +572,14 @@ def reveal(
572
572
 
573
573
  def roll_clear(
574
574
  override_context: typing.Union[dict, bpy.types.Context] = None,
575
- execution_context: str = None,
575
+ execution_context: typing.Union[str, int] = None,
576
576
  undo: bool = None,
577
577
  roll: typing.Any = 0.0,
578
578
  ):
579
579
  """Clear roll for selected bones
580
580
 
581
581
  :type override_context: typing.Union[dict, bpy.types.Context]
582
- :type execution_context: str
582
+ :type execution_context: typing.Union[str, int]
583
583
  :type undo: bool
584
584
  :param roll: Roll
585
585
  :type roll: typing.Any
@@ -589,14 +589,14 @@ def roll_clear(
589
589
 
590
590
  def select_all(
591
591
  override_context: typing.Union[dict, bpy.types.Context] = None,
592
- execution_context: str = None,
592
+ execution_context: typing.Union[str, int] = None,
593
593
  undo: bool = None,
594
594
  action: typing.Any = "TOGGLE",
595
595
  ):
596
596
  """Toggle selection status of all bones
597
597
 
598
598
  :type override_context: typing.Union[dict, bpy.types.Context]
599
- :type execution_context: str
599
+ :type execution_context: typing.Union[str, int]
600
600
  :type undo: bool
601
601
  :param action: Action, Selection action to execute
602
602
 
@@ -618,7 +618,7 @@ def select_all(
618
618
 
619
619
  def select_hierarchy(
620
620
  override_context: typing.Union[dict, bpy.types.Context] = None,
621
- execution_context: str = None,
621
+ execution_context: typing.Union[str, int] = None,
622
622
  undo: bool = None,
623
623
  direction: typing.Any = "PARENT",
624
624
  extend: typing.Union[bool, typing.Any] = False,
@@ -626,7 +626,7 @@ def select_hierarchy(
626
626
  """Select immediate parent/children of selected bones
627
627
 
628
628
  :type override_context: typing.Union[dict, bpy.types.Context]
629
- :type execution_context: str
629
+ :type execution_context: typing.Union[str, int]
630
630
  :type undo: bool
631
631
  :param direction: Direction
632
632
  :type direction: typing.Any
@@ -638,13 +638,13 @@ def select_hierarchy(
638
638
 
639
639
  def select_less(
640
640
  override_context: typing.Union[dict, bpy.types.Context] = None,
641
- execution_context: str = None,
641
+ execution_context: typing.Union[str, int] = None,
642
642
  undo: bool = None,
643
643
  ):
644
644
  """Deselect those bones at the boundary of each selection region
645
645
 
646
646
  :type override_context: typing.Union[dict, bpy.types.Context]
647
- :type execution_context: str
647
+ :type execution_context: typing.Union[str, int]
648
648
  :type undo: bool
649
649
  """
650
650
 
@@ -652,14 +652,14 @@ def select_less(
652
652
 
653
653
  def select_linked(
654
654
  override_context: typing.Union[dict, bpy.types.Context] = None,
655
- execution_context: str = None,
655
+ execution_context: typing.Union[str, int] = None,
656
656
  undo: bool = None,
657
657
  all_forks: typing.Union[bool, typing.Any] = False,
658
658
  ):
659
659
  """Select all bones linked by parent/child connections to the current selection
660
660
 
661
661
  :type override_context: typing.Union[dict, bpy.types.Context]
662
- :type execution_context: str
662
+ :type execution_context: typing.Union[str, int]
663
663
  :type undo: bool
664
664
  :param all_forks: All Forks, Follow forks in the parents chain
665
665
  :type all_forks: typing.Union[bool, typing.Any]
@@ -669,7 +669,7 @@ def select_linked(
669
669
 
670
670
  def select_linked_pick(
671
671
  override_context: typing.Union[dict, bpy.types.Context] = None,
672
- execution_context: str = None,
672
+ execution_context: typing.Union[str, int] = None,
673
673
  undo: bool = None,
674
674
  deselect: typing.Union[bool, typing.Any] = False,
675
675
  all_forks: typing.Union[bool, typing.Any] = False,
@@ -677,7 +677,7 @@ def select_linked_pick(
677
677
  """(De)select bones linked by parent/child connections under the mouse cursor
678
678
 
679
679
  :type override_context: typing.Union[dict, bpy.types.Context]
680
- :type execution_context: str
680
+ :type execution_context: typing.Union[str, int]
681
681
  :type undo: bool
682
682
  :param deselect: Deselect
683
683
  :type deselect: typing.Union[bool, typing.Any]
@@ -689,7 +689,7 @@ def select_linked_pick(
689
689
 
690
690
  def select_mirror(
691
691
  override_context: typing.Union[dict, bpy.types.Context] = None,
692
- execution_context: str = None,
692
+ execution_context: typing.Union[str, int] = None,
693
693
  undo: bool = None,
694
694
  only_active: typing.Union[bool, typing.Any] = False,
695
695
  extend: typing.Union[bool, typing.Any] = False,
@@ -697,7 +697,7 @@ def select_mirror(
697
697
  """Mirror the bone selection
698
698
 
699
699
  :type override_context: typing.Union[dict, bpy.types.Context]
700
- :type execution_context: str
700
+ :type execution_context: typing.Union[str, int]
701
701
  :type undo: bool
702
702
  :param only_active: Active Only, Only operate on the active bone
703
703
  :type only_active: typing.Union[bool, typing.Any]
@@ -709,13 +709,13 @@ def select_mirror(
709
709
 
710
710
  def select_more(
711
711
  override_context: typing.Union[dict, bpy.types.Context] = None,
712
- execution_context: str = None,
712
+ execution_context: typing.Union[str, int] = None,
713
713
  undo: bool = None,
714
714
  ):
715
715
  """Select those bones connected to the initial selection
716
716
 
717
717
  :type override_context: typing.Union[dict, bpy.types.Context]
718
- :type execution_context: str
718
+ :type execution_context: typing.Union[str, int]
719
719
  :type undo: bool
720
720
  """
721
721
 
@@ -723,7 +723,7 @@ def select_more(
723
723
 
724
724
  def select_similar(
725
725
  override_context: typing.Union[dict, bpy.types.Context] = None,
726
- execution_context: str = None,
726
+ execution_context: typing.Union[str, int] = None,
727
727
  undo: bool = None,
728
728
  type: typing.Any = "LENGTH",
729
729
  threshold: typing.Any = 0.1,
@@ -731,7 +731,7 @@ def select_similar(
731
731
  """Select similar bones by property types
732
732
 
733
733
  :type override_context: typing.Union[dict, bpy.types.Context]
734
- :type execution_context: str
734
+ :type execution_context: typing.Union[str, int]
735
735
  :type undo: bool
736
736
  :param type: Type
737
737
  :type type: typing.Any
@@ -743,13 +743,13 @@ def select_similar(
743
743
 
744
744
  def separate(
745
745
  override_context: typing.Union[dict, bpy.types.Context] = None,
746
- execution_context: str = None,
746
+ execution_context: typing.Union[str, int] = None,
747
747
  undo: bool = None,
748
748
  ):
749
749
  """Isolate selected bones into a separate armature
750
750
 
751
751
  :type override_context: typing.Union[dict, bpy.types.Context]
752
- :type execution_context: str
752
+ :type execution_context: typing.Union[str, int]
753
753
  :type undo: bool
754
754
  """
755
755
 
@@ -757,13 +757,13 @@ def separate(
757
757
 
758
758
  def shortest_path_pick(
759
759
  override_context: typing.Union[dict, bpy.types.Context] = None,
760
- execution_context: str = None,
760
+ execution_context: typing.Union[str, int] = None,
761
761
  undo: bool = None,
762
762
  ):
763
763
  """Select shortest path between two bones
764
764
 
765
765
  :type override_context: typing.Union[dict, bpy.types.Context]
766
- :type execution_context: str
766
+ :type execution_context: typing.Union[str, int]
767
767
  :type undo: bool
768
768
  """
769
769
 
@@ -771,13 +771,13 @@ def shortest_path_pick(
771
771
 
772
772
  def split(
773
773
  override_context: typing.Union[dict, bpy.types.Context] = None,
774
- execution_context: str = None,
774
+ execution_context: typing.Union[str, int] = None,
775
775
  undo: bool = None,
776
776
  ):
777
777
  """Split off selected bones from connected unselected bones
778
778
 
779
779
  :type override_context: typing.Union[dict, bpy.types.Context]
780
- :type execution_context: str
780
+ :type execution_context: typing.Union[str, int]
781
781
  :type undo: bool
782
782
  """
783
783
 
@@ -785,14 +785,14 @@ def split(
785
785
 
786
786
  def subdivide(
787
787
  override_context: typing.Union[dict, bpy.types.Context] = None,
788
- execution_context: str = None,
788
+ execution_context: typing.Union[str, int] = None,
789
789
  undo: bool = None,
790
790
  number_cuts: typing.Any = 1,
791
791
  ):
792
792
  """Break selected bones into chains of smaller bones
793
793
 
794
794
  :type override_context: typing.Union[dict, bpy.types.Context]
795
- :type execution_context: str
795
+ :type execution_context: typing.Union[str, int]
796
796
  :type undo: bool
797
797
  :param number_cuts: Number of Cuts
798
798
  :type number_cuts: typing.Any
@@ -802,13 +802,13 @@ def subdivide(
802
802
 
803
803
  def switch_direction(
804
804
  override_context: typing.Union[dict, bpy.types.Context] = None,
805
- execution_context: str = None,
805
+ execution_context: typing.Union[str, int] = None,
806
806
  undo: bool = None,
807
807
  ):
808
808
  """Change the direction that a chain of bones points in (head and tail swap)
809
809
 
810
810
  :type override_context: typing.Union[dict, bpy.types.Context]
811
- :type execution_context: str
811
+ :type execution_context: typing.Union[str, int]
812
812
  :type undo: bool
813
813
  """
814
814
 
@@ -816,14 +816,14 @@ def switch_direction(
816
816
 
817
817
  def symmetrize(
818
818
  override_context: typing.Union[dict, bpy.types.Context] = None,
819
- execution_context: str = None,
819
+ execution_context: typing.Union[str, int] = None,
820
820
  undo: bool = None,
821
821
  direction: typing.Any = "NEGATIVE_X",
822
822
  ):
823
823
  """Enforce symmetry, make copies of the selection or use existing
824
824
 
825
825
  :type override_context: typing.Union[dict, bpy.types.Context]
826
- :type execution_context: str
826
+ :type execution_context: typing.Union[str, int]
827
827
  :type undo: bool
828
828
  :param direction: Direction, Which sides to copy from and to (when both are selected)
829
829
  :type direction: typing.Any