fake-bpy-module 20240423__py3-none-any.whl → 20240426__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.

@@ -143,6 +143,269 @@ class EditExternally(bpy_types.Operator):
143
143
  """ """
144
144
  ...
145
145
 
146
+ class IMAGE_FH_drop_handler(bpy_types.FileHandler):
147
+ """ """
148
+
149
+ bl_file_extensions: typing.Any
150
+ """ """
151
+
152
+ bl_idname: typing.Any
153
+ """ """
154
+
155
+ bl_import_operator: typing.Any
156
+ """ """
157
+
158
+ bl_label: typing.Any
159
+ """ """
160
+
161
+ bl_rna: typing.Any
162
+ """ """
163
+
164
+ id_data: typing.Any
165
+ """ """
166
+
167
+ def as_pointer(self):
168
+ """ """
169
+ ...
170
+
171
+ def bl_rna_get_subclass(self):
172
+ """ """
173
+ ...
174
+
175
+ def bl_rna_get_subclass_py(self):
176
+ """ """
177
+ ...
178
+
179
+ def driver_add(self):
180
+ """ """
181
+ ...
182
+
183
+ def driver_remove(self):
184
+ """ """
185
+ ...
186
+
187
+ def get(self):
188
+ """ """
189
+ ...
190
+
191
+ def id_properties_clear(self):
192
+ """ """
193
+ ...
194
+
195
+ def id_properties_ensure(self):
196
+ """ """
197
+ ...
198
+
199
+ def id_properties_ui(self):
200
+ """ """
201
+ ...
202
+
203
+ def is_property_hidden(self):
204
+ """ """
205
+ ...
206
+
207
+ def is_property_overridable_library(self):
208
+ """ """
209
+ ...
210
+
211
+ def is_property_readonly(self):
212
+ """ """
213
+ ...
214
+
215
+ def is_property_set(self):
216
+ """ """
217
+ ...
218
+
219
+ def items(self):
220
+ """ """
221
+ ...
222
+
223
+ def keyframe_delete(self):
224
+ """ """
225
+ ...
226
+
227
+ def keyframe_insert(self):
228
+ """ """
229
+ ...
230
+
231
+ def keys(self):
232
+ """ """
233
+ ...
234
+
235
+ def path_from_id(self):
236
+ """ """
237
+ ...
238
+
239
+ def path_resolve(self):
240
+ """ """
241
+ ...
242
+
243
+ def poll_drop(self, context):
244
+ """
245
+
246
+ :param context:
247
+ """
248
+ ...
249
+
250
+ def pop(self):
251
+ """ """
252
+ ...
253
+
254
+ def property_overridable_library_set(self):
255
+ """ """
256
+ ...
257
+
258
+ def property_unset(self):
259
+ """ """
260
+ ...
261
+
262
+ def type_recast(self):
263
+ """ """
264
+ ...
265
+
266
+ def values(self):
267
+ """ """
268
+ ...
269
+
270
+ class IMAGE_OT_open_images(bpy_types.Operator):
271
+ """ """
272
+
273
+ bl_idname: typing.Any
274
+ """ """
275
+
276
+ bl_label: typing.Any
277
+ """ """
278
+
279
+ bl_options: typing.Any
280
+ """ """
281
+
282
+ bl_rna: typing.Any
283
+ """ """
284
+
285
+ id_data: typing.Any
286
+ """ """
287
+
288
+ def as_keywords(self, ignore):
289
+ """
290
+
291
+ :param ignore:
292
+ """
293
+ ...
294
+
295
+ def as_pointer(self):
296
+ """ """
297
+ ...
298
+
299
+ def bl_rna_get_subclass(self):
300
+ """ """
301
+ ...
302
+
303
+ def bl_rna_get_subclass_py(self):
304
+ """ """
305
+ ...
306
+
307
+ def driver_add(self):
308
+ """ """
309
+ ...
310
+
311
+ def driver_remove(self):
312
+ """ """
313
+ ...
314
+
315
+ def execute(self, context):
316
+ """
317
+
318
+ :param context:
319
+ """
320
+ ...
321
+
322
+ def get(self):
323
+ """ """
324
+ ...
325
+
326
+ def id_properties_clear(self):
327
+ """ """
328
+ ...
329
+
330
+ def id_properties_ensure(self):
331
+ """ """
332
+ ...
333
+
334
+ def id_properties_ui(self):
335
+ """ """
336
+ ...
337
+
338
+ def is_property_hidden(self):
339
+ """ """
340
+ ...
341
+
342
+ def is_property_overridable_library(self):
343
+ """ """
344
+ ...
345
+
346
+ def is_property_readonly(self):
347
+ """ """
348
+ ...
349
+
350
+ def is_property_set(self):
351
+ """ """
352
+ ...
353
+
354
+ def items(self):
355
+ """ """
356
+ ...
357
+
358
+ def keyframe_delete(self):
359
+ """ """
360
+ ...
361
+
362
+ def keyframe_insert(self):
363
+ """ """
364
+ ...
365
+
366
+ def keys(self):
367
+ """ """
368
+ ...
369
+
370
+ def path_from_id(self):
371
+ """ """
372
+ ...
373
+
374
+ def path_resolve(self):
375
+ """ """
376
+ ...
377
+
378
+ def poll(self, context):
379
+ """
380
+
381
+ :param context:
382
+ """
383
+ ...
384
+
385
+ def poll_message_set(self):
386
+ """ """
387
+ ...
388
+
389
+ def pop(self):
390
+ """ """
391
+ ...
392
+
393
+ def property_overridable_library_set(self):
394
+ """ """
395
+ ...
396
+
397
+ def property_unset(self):
398
+ """ """
399
+ ...
400
+
401
+ def type_recast(self):
402
+ """ """
403
+ ...
404
+
405
+ def values(self):
406
+ """ """
407
+ ...
408
+
146
409
  class ProjectApply(bpy_types.Operator):
147
410
  """ """
148
411
 
@@ -1092,6 +1092,11 @@ def brush_basic_grease_pencil_paint_settings(layout, context, brush, compact):
1092
1092
 
1093
1093
  ...
1094
1094
 
1095
+ def brush_basic_grease_pencil_weight_settings(layout, context, brush, compact):
1096
+ """ """
1097
+
1098
+ ...
1099
+
1095
1100
  def brush_basic_texpaint_settings(layout, context, brush, compact):
1096
1101
  """ """
1097
1102
 
@@ -1268,6 +1268,16 @@ class _defs_grease_pencil_sculpt:
1268
1268
  """
1269
1269
  ...
1270
1270
 
1271
+ class _defs_grease_pencil_weight:
1272
+ """ """
1273
+
1274
+ def generate_from_brushes(self, context):
1275
+ """
1276
+
1277
+ :param context:
1278
+ """
1279
+ ...
1280
+
1271
1281
  class _defs_image_generic:
1272
1282
  """ """
1273
1283
 
@@ -22803,10 +22803,10 @@ class VIEW3D_MT_paint_weight(bpy_types.Menu, bpy_types._GenericUI):
22803
22803
  """ """
22804
22804
  ...
22805
22805
 
22806
- def draw(self, context):
22806
+ def draw(self, _context):
22807
22807
  """
22808
22808
 
22809
- :param context:
22809
+ :param _context:
22810
22810
  """
22811
22811
  ...
22812
22812
 
@@ -44086,6 +44086,15 @@ class _draw_tool_settings_context_mode:
44086
44086
  """
44087
44087
  ...
44088
44088
 
44089
+ def WEIGHT_GREASE_PENCIL(self, context, layout, tool):
44090
+ """
44091
+
44092
+ :param context:
44093
+ :param layout:
44094
+ :param tool:
44095
+ """
44096
+ ...
44097
+
44089
44098
  class VIEW3D_MT_bone_options_disable(bpy_types._GenericUI, bpy_types.Menu, BoneOptions):
44090
44099
  """ """
44091
44100
 
@@ -154,6 +154,7 @@ def curve_type_set(
154
154
  execution_context: typing.Optional[typing.Union[str, int]] = None,
155
155
  undo: typing.Optional[bool] = None,
156
156
  type: typing.Optional[typing.Union[str, int]] = "POLY",
157
+ use_handles: typing.Optional[typing.Union[bool, typing.Any]] = False,
157
158
  ):
158
159
  """Set type of selected curves
159
160
 
@@ -162,6 +163,8 @@ def curve_type_set(
162
163
  :type undo: typing.Optional[bool]
163
164
  :param type: Type, Curve type
164
165
  :type type: typing.Optional[typing.Union[str, int]]
166
+ :param use_handles: Handles, Take handle information into account in the conversion
167
+ :type use_handles: typing.Optional[typing.Union[bool, typing.Any]]
165
168
  """
166
169
 
167
170
  ...
@@ -20,12 +20,12 @@ def fbx(
20
20
  use_space_transform: typing.Optional[typing.Union[bool, typing.Any]] = True,
21
21
  bake_space_transform: typing.Optional[typing.Union[bool, typing.Any]] = False,
22
22
  object_types: typing.Optional[typing.Any] = {
23
- '"CAMERA"',
24
- '"EMPTY"',
25
23
  '"LIGHT"',
26
- '"MESH"',
24
+ '"EMPTY"',
25
+ '"CAMERA"',
27
26
  '"OTHER"',
28
27
  '"ARMATURE"',
28
+ '"MESH"',
29
29
  },
30
30
  use_mesh_modifiers: typing.Optional[typing.Union[bool, typing.Any]] = True,
31
31
  use_mesh_modifiers_render: typing.Optional[typing.Union[bool, typing.Any]] = True,
@@ -175,20 +175,6 @@ def dissolve(
175
175
 
176
176
  ...
177
177
 
178
- def draw_mode_toggle(
179
- override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
180
- execution_context: typing.Optional[typing.Union[str, int]] = None,
181
- undo: typing.Optional[bool] = None,
182
- ):
183
- """Enter/Exit draw mode for grease pencil
184
-
185
- :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
186
- :type execution_context: typing.Optional[typing.Union[str, int]]
187
- :type undo: typing.Optional[bool]
188
- """
189
-
190
- ...
191
-
192
178
  def duplicate(
193
179
  override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
194
180
  execution_context: typing.Optional[typing.Union[str, int]] = None,
@@ -1170,3 +1156,62 @@ def stroke_switch_direction(
1170
1156
  """
1171
1157
 
1172
1158
  ...
1159
+
1160
+ def weight_brush_stroke(
1161
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
1162
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
1163
+ undo: typing.Optional[bool] = None,
1164
+ stroke: typing.Optional[
1165
+ bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
1166
+ ] = None,
1167
+ mode: typing.Optional[typing.Any] = "NORMAL",
1168
+ ):
1169
+ """Draw weight on stroke points in the active Grease Pencil object
1170
+
1171
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
1172
+ :type execution_context: typing.Optional[typing.Union[str, int]]
1173
+ :type undo: typing.Optional[bool]
1174
+ :param stroke: Stroke
1175
+ :type stroke: typing.Optional[bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]]
1176
+ :param mode: Stroke Mode, Action taken when a paint stroke is made
1177
+
1178
+ NORMAL
1179
+ Regular -- Apply brush normally.
1180
+
1181
+ INVERT
1182
+ Invert -- Invert action of brush for duration of stroke.
1183
+
1184
+ SMOOTH
1185
+ Smooth -- Switch brush to smooth mode for duration of stroke.
1186
+ :type mode: typing.Optional[typing.Any]
1187
+ """
1188
+
1189
+ ...
1190
+
1191
+ def weight_sample(
1192
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
1193
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
1194
+ undo: typing.Optional[bool] = None,
1195
+ ):
1196
+ """Set the weight of the Draw tool to the weight of the vertex under the mouse cursor
1197
+
1198
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
1199
+ :type execution_context: typing.Optional[typing.Union[str, int]]
1200
+ :type undo: typing.Optional[bool]
1201
+ """
1202
+
1203
+ ...
1204
+
1205
+ def weight_toggle_direction(
1206
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
1207
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
1208
+ undo: typing.Optional[bool] = None,
1209
+ ):
1210
+ """Toggle Add/Subtract for the weight paint draw tool
1211
+
1212
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
1213
+ :type execution_context: typing.Optional[typing.Union[str, int]]
1214
+ :type undo: typing.Optional[bool]
1215
+ """
1216
+
1217
+ ...
@@ -383,7 +383,7 @@ def open(
383
383
  show_multiview: typing.Optional[typing.Union[bool, typing.Any]] = False,
384
384
  use_multiview: typing.Optional[typing.Union[bool, typing.Any]] = False,
385
385
  display_type: typing.Optional[typing.Any] = "DEFAULT",
386
- sort_method: typing.Optional[typing.Any] = "",
386
+ sort_method: typing.Optional[typing.Union[str, int, typing.Any]] = "",
387
387
  use_sequence_detection: typing.Optional[typing.Union[bool, typing.Any]] = True,
388
388
  use_udim_detecting: typing.Optional[typing.Union[bool, typing.Any]] = True,
389
389
  ):
@@ -461,22 +461,7 @@ def open(
461
461
  Thumbnails -- Display files as thumbnails.
462
462
  :type display_type: typing.Optional[typing.Any]
463
463
  :param sort_method: File sorting mode
464
-
465
- DEFAULT
466
- Default -- Automatically determine sort method for files.
467
-
468
- FILE_SORT_ALPHA
469
- Name -- Sort the file list alphabetically.
470
-
471
- FILE_SORT_EXTENSION
472
- Extension -- Sort the file list by extension/type.
473
-
474
- FILE_SORT_TIME
475
- Modified Date -- Sort files by modification time.
476
-
477
- FILE_SORT_SIZE
478
- Size -- Sort files by size.
479
- :type sort_method: typing.Optional[typing.Any]
464
+ :type sort_method: typing.Optional[typing.Union[str, int, typing.Any]]
480
465
  :param use_sequence_detection: Detect Sequences, Automatically detect animated sequences in selected images (based on file names)
481
466
  :type use_sequence_detection: typing.Optional[typing.Union[bool, typing.Any]]
482
467
  :param use_udim_detecting: Detect UDIMs, Detect selected UDIM files and load all matching tiles
@@ -485,6 +470,37 @@ def open(
485
470
 
486
471
  ...
487
472
 
473
+ def open_images(
474
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
475
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
476
+ undo: typing.Optional[bool] = None,
477
+ directory: typing.Union[str, typing.Any] = "",
478
+ files: typing.Optional[
479
+ bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement]
480
+ ] = None,
481
+ relative_path: typing.Optional[typing.Union[bool, typing.Any]] = True,
482
+ use_sequence_detection: typing.Optional[typing.Union[bool, typing.Any]] = True,
483
+ use_udim_detection: typing.Optional[typing.Union[bool, typing.Any]] = True,
484
+ ):
485
+ """Undocumented, consider contributing.
486
+
487
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
488
+ :type execution_context: typing.Optional[typing.Union[str, int]]
489
+ :type undo: typing.Optional[bool]
490
+ :param directory: directory
491
+ :type directory: typing.Union[str, typing.Any]
492
+ :param files: files
493
+ :type files: typing.Optional[bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement]]
494
+ :param relative_path: Use relative path
495
+ :type relative_path: typing.Optional[typing.Union[bool, typing.Any]]
496
+ :param use_sequence_detection: Use sequence detection
497
+ :type use_sequence_detection: typing.Optional[typing.Union[bool, typing.Any]]
498
+ :param use_udim_detection: Use UDIM detection
499
+ :type use_udim_detection: typing.Optional[typing.Union[bool, typing.Any]]
500
+ """
501
+
502
+ ...
503
+
488
504
  def pack(
489
505
  override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
490
506
  execution_context: typing.Optional[typing.Union[str, int]] = None,
bpy/ops/nla/__init__.pyi CHANGED
@@ -101,11 +101,11 @@ def bake(
101
101
  clean_curves: typing.Optional[typing.Union[bool, typing.Any]] = False,
102
102
  bake_types: typing.Optional[typing.Any] = {'"POSE"'},
103
103
  channel_types: typing.Optional[typing.Any] = {
104
- '"SCALE"',
105
- '"ROTATION"',
106
- '"BBONE"',
107
- '"PROPS"',
108
104
  '"LOCATION"',
105
+ '"PROPS"',
106
+ '"BBONE"',
107
+ '"ROTATION"',
108
+ '"SCALE"',
109
109
  },
110
110
  ):
111
111
  """Bake all selected objects location/scale/rotation animation to an action
@@ -49,7 +49,7 @@ def cloth_filter(
49
49
  bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
50
50
  ] = None,
51
51
  type: typing.Optional[typing.Any] = "GRAVITY",
52
- force_axis: typing.Optional[typing.Any] = {'"Y"', '"Z"', '"X"'},
52
+ force_axis: typing.Optional[typing.Any] = {'"Z"', '"Y"', '"X"'},
53
53
  orientation: typing.Optional[typing.Any] = "LOCAL",
54
54
  cloth_mass: typing.Optional[typing.Any] = 1.0,
55
55
  cloth_damping: typing.Optional[typing.Any] = 0.0,
@@ -603,7 +603,7 @@ def mesh_filter(
603
603
  bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
604
604
  ] = None,
605
605
  type: typing.Optional[typing.Any] = "INFLATE",
606
- deform_axis: typing.Optional[typing.Any] = {'"Y"', '"Z"', '"X"'},
606
+ deform_axis: typing.Optional[typing.Any] = {'"Z"', '"Y"', '"X"'},
607
607
  orientation: typing.Optional[typing.Any] = "LOCAL",
608
608
  surface_smooth_shape_preservation: typing.Optional[typing.Any] = 0.5,
609
609
  surface_smooth_current_vertex: typing.Optional[typing.Any] = 0.5,
bpy/ops/wm/__init__.pyi CHANGED
@@ -4898,6 +4898,8 @@ def usd_export(
4898
4898
  overwrite_textures: typing.Optional[typing.Union[bool, typing.Any]] = False,
4899
4899
  relative_paths: typing.Optional[typing.Union[bool, typing.Any]] = True,
4900
4900
  root_prim_path: typing.Union[str, typing.Any] = "/root",
4901
+ export_custom_properties: typing.Optional[typing.Union[bool, typing.Any]] = True,
4902
+ author_blender_name: typing.Optional[typing.Union[bool, typing.Any]] = True,
4901
4903
  ):
4902
4904
  """Export current scene in a USD archive
4903
4905
 
@@ -5016,6 +5018,10 @@ def usd_export(
5016
5018
  :type relative_paths: typing.Optional[typing.Union[bool, typing.Any]]
5017
5019
  :param root_prim_path: Root Prim, If set, add a transform primitive with the given path to the stage as the parent of all exported data
5018
5020
  :type root_prim_path: typing.Union[str, typing.Any]
5021
+ :param export_custom_properties: Export Custom Properties, When checked, custom properties will be exported as USD User Properties
5022
+ :type export_custom_properties: typing.Optional[typing.Union[bool, typing.Any]]
5023
+ :param author_blender_name: Author Blender Name, When checked, custom userProperties will be authored to allow a round trip
5024
+ :type author_blender_name: typing.Optional[typing.Union[bool, typing.Any]]
5019
5025
  """
5020
5026
 
5021
5027
  ...
@@ -5078,6 +5084,8 @@ def usd_import(
5078
5084
  import_textures_mode: typing.Optional[typing.Any] = "IMPORT_PACK",
5079
5085
  import_textures_dir: typing.Union[str, typing.Any] = "//textures/",
5080
5086
  tex_name_collision_mode: typing.Optional[typing.Any] = "USE_EXISTING",
5087
+ attr_import_mode: typing.Optional[typing.Any] = "ALL",
5088
+ validate_meshes: typing.Optional[typing.Union[bool, typing.Any]] = False,
5081
5089
  ):
5082
5090
  """Import USD stage into current scene
5083
5091
 
@@ -5224,6 +5232,19 @@ def usd_import(
5224
5232
  OVERWRITE
5225
5233
  Overwrite -- Overwrite existing files.
5226
5234
  :type tex_name_collision_mode: typing.Optional[typing.Any]
5235
+ :param attr_import_mode: Import Custom Properties, Behavior when importing USD attributes as Blender custom properties
5236
+
5237
+ NONE
5238
+ None -- Do not import attributes.
5239
+
5240
+ USER
5241
+ User -- Import attributes in the 'userProperties' namespace as Blender custom properties. The namespace will be stripped from the property names.
5242
+
5243
+ ALL
5244
+ All Custom -- Import all USD custom attributes as Blender custom properties. Namespaces will be retained in the property names.
5245
+ :type attr_import_mode: typing.Optional[typing.Any]
5246
+ :param validate_meshes: Validate Meshes, Check imported mesh objects for invalid data (slow)
5247
+ :type validate_meshes: typing.Optional[typing.Union[bool, typing.Any]]
5227
5248
  """
5228
5249
 
5229
5250
  ...