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

@@ -24,6 +24,12 @@ class StaleFiles:
24
24
  :param paths:
25
25
  """
26
26
 
27
+ def state_load_remove_and_store(self, *, paths):
28
+ """
29
+
30
+ :param paths:
31
+ """
32
+
27
33
  def state_remove_all(self): ...
28
34
  def state_store(self, *, check_exists):
29
35
  """
addon_utils/__init__.pyi CHANGED
@@ -62,4 +62,5 @@ def paths(): ...
62
62
  def reset_all(*, reload_scripts=False):
63
63
  """Sets the addon state based on the user preferences."""
64
64
 
65
+ def stale_pending_remove_paths(path_base, paths): ...
65
66
  def stale_pending_stage_paths(path_base, paths): ...
@@ -1281,6 +1281,34 @@ class WM_OT_sysinfo(bpy.types.Operator):
1281
1281
  :param _event:
1282
1282
  """
1283
1283
 
1284
+ class WM_OT_tool_set_by_brush_type(bpy.types.Operator):
1285
+ """Look up the most appropriate tool for the given brush type and activate that"""
1286
+
1287
+ bl_idname: typing.Any
1288
+ bl_label: typing.Any
1289
+ bl_rna: typing.Any
1290
+ id_data: typing.Any
1291
+
1292
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
1293
+ """
1294
+
1295
+ :return: The RNA type or default when not found.
1296
+ :rtype: bpy.types.Struct
1297
+ """
1298
+
1299
+ def bl_rna_get_subclass_py(self) -> typing.Any:
1300
+ """
1301
+
1302
+ :return: The class or default when not found.
1303
+ :rtype: typing.Any
1304
+ """
1305
+
1306
+ def execute(self, context):
1307
+ """
1308
+
1309
+ :param context:
1310
+ """
1311
+
1284
1312
  class WM_OT_tool_set_by_id(bpy.types.Operator):
1285
1313
  """Set the tool by name (for key-maps)"""
1286
1314
 
@@ -67,6 +67,36 @@ class DATA_PT_grease_pencil_animation(
67
67
  :rtype: typing.Any
68
68
  """
69
69
 
70
+ class DATA_PT_grease_pencil_attributes(DataButtonsPanel, bpy.types.Panel):
71
+ COMPAT_ENGINES: typing.Any
72
+ bl_context: typing.Any
73
+ bl_label: typing.Any
74
+ bl_options: typing.Any
75
+ bl_region_type: typing.Any
76
+ bl_rna: typing.Any
77
+ bl_space_type: typing.Any
78
+ id_data: typing.Any
79
+
80
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
81
+ """
82
+
83
+ :return: The RNA type or default when not found.
84
+ :rtype: bpy.types.Struct
85
+ """
86
+
87
+ def bl_rna_get_subclass_py(self) -> typing.Any:
88
+ """
89
+
90
+ :return: The class or default when not found.
91
+ :rtype: typing.Any
92
+ """
93
+
94
+ def draw(self, context):
95
+ """
96
+
97
+ :param context:
98
+ """
99
+
70
100
  class DATA_PT_grease_pencil_custom_props(
71
101
  rna_prop_ui.PropertyPanel, DataButtonsPanel, bpy.types.Panel
72
102
  ):
@@ -97,6 +127,32 @@ class DATA_PT_grease_pencil_custom_props(
97
127
  :rtype: typing.Any
98
128
  """
99
129
 
130
+ class DATA_PT_grease_pencil_layer_adjustments(
131
+ GreasePencil_LayerAdjustmentsPanel, LayerDataButtonsPanel, bpy.types.Panel
132
+ ):
133
+ bl_context: typing.Any
134
+ bl_label: typing.Any
135
+ bl_options: typing.Any
136
+ bl_parent_id: typing.Any
137
+ bl_region_type: typing.Any
138
+ bl_rna: typing.Any
139
+ bl_space_type: typing.Any
140
+ id_data: typing.Any
141
+
142
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
143
+ """
144
+
145
+ :return: The RNA type or default when not found.
146
+ :rtype: bpy.types.Struct
147
+ """
148
+
149
+ def bl_rna_get_subclass_py(self) -> typing.Any:
150
+ """
151
+
152
+ :return: The class or default when not found.
153
+ :rtype: typing.Any
154
+ """
155
+
100
156
  class DATA_PT_grease_pencil_layer_masks(
101
157
  GreasePencil_LayerMaskPanel, LayerDataButtonsPanel, bpy.types.Panel
102
158
  ):
@@ -422,6 +478,55 @@ class GREASE_PENCIL_MT_layer_mask_add(bpy.types.Menu):
422
478
  :param context:
423
479
  """
424
480
 
481
+ class GREASE_PENCIL_UL_attributes(bpy.types.UIList):
482
+ bl_rna: typing.Any
483
+ id_data: typing.Any
484
+
485
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
486
+ """
487
+
488
+ :return: The RNA type or default when not found.
489
+ :rtype: bpy.types.Struct
490
+ """
491
+
492
+ def bl_rna_get_subclass_py(self) -> typing.Any:
493
+ """
494
+
495
+ :return: The class or default when not found.
496
+ :rtype: typing.Any
497
+ """
498
+
499
+ def draw_item(
500
+ self,
501
+ _context,
502
+ layout,
503
+ _data,
504
+ attribute,
505
+ _icon,
506
+ _active_data,
507
+ _active_propname,
508
+ _index,
509
+ ):
510
+ """
511
+
512
+ :param _context:
513
+ :param layout:
514
+ :param _data:
515
+ :param attribute:
516
+ :param _icon:
517
+ :param _active_data:
518
+ :param _active_propname:
519
+ :param _index:
520
+ """
521
+
522
+ def filter_items(self, _context, data, property):
523
+ """
524
+
525
+ :param _context:
526
+ :param data:
527
+ :param property:
528
+ """
529
+
425
530
  class GREASE_PENCIL_UL_masks(bpy.types.UIList):
426
531
  bl_rna: typing.Any
427
532
  id_data: typing.Any
@@ -470,6 +575,13 @@ class GreasPencil_LayerRelationsPanel:
470
575
  :param context:
471
576
  """
472
577
 
578
+ class GreasePencil_LayerAdjustmentsPanel:
579
+ def draw(self, context):
580
+ """
581
+
582
+ :param context:
583
+ """
584
+
473
585
  class GreasePencil_LayerMaskPanel:
474
586
  def draw(self, context):
475
587
  """
@@ -286,13 +286,13 @@ class TextureMaskPanel(BrushPanel):
286
286
  :param context:
287
287
  """
288
288
 
289
- def brush_basic__draw_color_selector(context, layout, brush, gp_settings, props): ...
289
+ def brush_basic__draw_color_selector(context, layout, brush, gp_settings): ...
290
290
  def brush_basic_gpencil_paint_settings(layout, context, brush, *, compact=False): ...
291
291
  def brush_basic_gpencil_sculpt_settings(layout, _context, brush, *, compact=False): ...
292
292
  def brush_basic_gpencil_vertex_settings(layout, _context, brush, *, compact=False): ...
293
293
  def brush_basic_gpencil_weight_settings(layout, _context, brush, *, compact=False): ...
294
294
  def brush_basic_grease_pencil_paint_settings(
295
- layout, context, brush, *, compact=False
295
+ layout, context, brush, props, *, compact=False
296
296
  ): ...
297
297
  def brush_basic_grease_pencil_vertex_settings(
298
298
  layout, context, brush, *, compact=False
@@ -114,7 +114,11 @@ class _defs_annotate:
114
114
  :param tool:
115
115
  """
116
116
 
117
- class _defs_curves_sculpt: ...
117
+ class _defs_curves_sculpt:
118
+ add: typing.Any
119
+ delete: typing.Any
120
+ density: typing.Any
121
+ select: typing.Any
118
122
 
119
123
  class _defs_edit_armature:
120
124
  bone_envelope: typing.Any
@@ -248,6 +252,8 @@ class _defs_grease_pencil_paint:
248
252
  """
249
253
 
250
254
  class _defs_grease_pencil_sculpt:
255
+ clone: typing.Any
256
+
251
257
  @staticmethod
252
258
  def poll_select_mask(context):
253
259
  """
@@ -256,6 +262,11 @@ class _defs_grease_pencil_sculpt:
256
262
  """
257
263
 
258
264
  class _defs_grease_pencil_vertex:
265
+ average: typing.Any
266
+ blur: typing.Any
267
+ replace: typing.Any
268
+ smear: typing.Any
269
+
259
270
  @staticmethod
260
271
  def poll_select_mask(context):
261
272
  """
@@ -263,7 +274,10 @@ class _defs_grease_pencil_vertex:
263
274
  :param context:
264
275
  """
265
276
 
266
- class _defs_grease_pencil_weight: ...
277
+ class _defs_grease_pencil_weight:
278
+ average: typing.Any
279
+ blur: typing.Any
280
+ smear: typing.Any
267
281
 
268
282
  class _defs_image_generic:
269
283
  cursor: typing.Any
@@ -321,6 +335,8 @@ class _defs_pose:
321
335
  class _defs_sculpt:
322
336
  cloth_filter: typing.Any
323
337
  color_filter: typing.Any
338
+ draw_face_sets: typing.Any
339
+ dyntopo_density: typing.Any
324
340
  face_set_box: typing.Any
325
341
  face_set_edit: typing.Any
326
342
  face_set_lasso: typing.Any
@@ -330,12 +346,16 @@ class _defs_sculpt:
330
346
  hide_lasso: typing.Any
331
347
  hide_line: typing.Any
332
348
  hide_polyline: typing.Any
349
+ mask: typing.Any
333
350
  mask_border: typing.Any
334
351
  mask_by_color: typing.Any
335
352
  mask_lasso: typing.Any
336
353
  mask_line: typing.Any
337
354
  mask_polyline: typing.Any
338
355
  mesh_filter: typing.Any
356
+ multires_eraser: typing.Any
357
+ multires_smear: typing.Any
358
+ paint: typing.Any
339
359
  project_line: typing.Any
340
360
  trim_box: typing.Any
341
361
  trim_lasso: typing.Any
@@ -352,6 +372,20 @@ class _defs_sculpt:
352
372
  :param draw_popover:
353
373
  """
354
374
 
375
+ @staticmethod
376
+ def poll_dyntopo(context):
377
+ """
378
+
379
+ :param context:
380
+ """
381
+
382
+ @staticmethod
383
+ def poll_multires(context):
384
+ """
385
+
386
+ :param context:
387
+ """
388
+
355
389
  class _defs_sequencer_generic:
356
390
  blade: typing.Any
357
391
  cursor: typing.Any
@@ -363,12 +397,16 @@ class _defs_sequencer_generic:
363
397
 
364
398
  class _defs_sequencer_select:
365
399
  box_preview: typing.Any
366
- box_timeline: typing.Any
367
400
  select_preview: typing.Any
368
401
  select_timeline: typing.Any
369
402
 
370
403
  class _defs_texture_paint:
404
+ blur: typing.Any
371
405
  brush: typing.Any
406
+ clone: typing.Any
407
+ fill: typing.Any
408
+ mask: typing.Any
409
+ smear: typing.Any
372
410
 
373
411
  @staticmethod
374
412
  def poll_select_mask(context):
@@ -394,6 +432,10 @@ class _defs_transform:
394
432
  """
395
433
 
396
434
  class _defs_vertex_paint:
435
+ average: typing.Any
436
+ blur: typing.Any
437
+ smear: typing.Any
438
+
397
439
  @staticmethod
398
440
  def poll_select_mask(context):
399
441
  """
@@ -440,9 +482,12 @@ class _defs_view3d_select:
440
482
  select: typing.Any
441
483
 
442
484
  class _defs_weight_paint:
485
+ average: typing.Any
486
+ blur: typing.Any
443
487
  gradient: typing.Any
444
488
  sample_weight: typing.Any
445
489
  sample_weight_group: typing.Any
490
+ smear: typing.Any
446
491
 
447
492
  @staticmethod
448
493
  def poll_select_tools(context):
@@ -60,6 +60,14 @@ annotation_pre: list[collections.abc.Callable[[bpy.types.Scene], None]]
60
60
  """ on drawing an annotation (before)
61
61
  """
62
62
 
63
+ blend_import_post: list[collections.abc.Callable[[bpy.types.Scene], None]]
64
+ """ on linking or appending data (after), get a single BlendImportContext parameter
65
+ """
66
+
67
+ blend_import_pre: list[collections.abc.Callable[[bpy.types.Scene], None]]
68
+ """ on linking or appending data (before), get a single BlendImportContext parameter
69
+ """
70
+
63
71
  composite_cancel: list[collections.abc.Callable[[bpy.types.Scene], None]]
64
72
  """ on a compositing background job (cancel)
65
73
  """
@@ -736,6 +736,31 @@ def layer_mask_reorder(
736
736
  :type direction: typing.Literal['UP','DOWN'] | None
737
737
  """
738
738
 
739
+ def layer_merge(
740
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
741
+ execution_context: int | str | None = None,
742
+ undo: bool | None = None,
743
+ *,
744
+ mode: typing.Literal["ACTIVE", "GROUP", "ALL"] | None = "ACTIVE",
745
+ ):
746
+ """Combine layers based on the mode into one layer
747
+
748
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
749
+ :type execution_context: int | str | None
750
+ :type undo: bool | None
751
+ :param mode: Mode
752
+
753
+ ACTIVE
754
+ Active -- Combine the active layer with the layer just below (if it exists).
755
+
756
+ GROUP
757
+ Group -- Combine layers in the active group into a single layer.
758
+
759
+ ALL
760
+ All -- Combine all layers into a single layer.
761
+ :type mode: typing.Literal['ACTIVE','GROUP','ALL'] | None
762
+ """
763
+
739
764
  def layer_move(
740
765
  override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
741
766
  execution_context: int | str | None = None,
@@ -922,6 +947,22 @@ def move_to_layer(
922
947
  :type add_new_layer: bool | None
923
948
  """
924
949
 
950
+ def paintmode_toggle(
951
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
952
+ execution_context: int | str | None = None,
953
+ undo: bool | None = None,
954
+ *,
955
+ back: bool | None = False,
956
+ ):
957
+ """Enter/Exit paint mode for Grease Pencil strokes
958
+
959
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
960
+ :type execution_context: int | str | None
961
+ :type undo: bool | None
962
+ :param back: Return to Previous Mode, Return to previous mode
963
+ :type back: bool | None
964
+ """
965
+
925
966
  def paste(
926
967
  override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
927
968
  execution_context: int | str | None = None,
@@ -1162,6 +1203,22 @@ def sculpt_paint(
1162
1203
  :type mode: typing.Literal['NORMAL','INVERT','SMOOTH','ERASE'] | None
1163
1204
  """
1164
1205
 
1206
+ def sculptmode_toggle(
1207
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1208
+ execution_context: int | str | None = None,
1209
+ undo: bool | None = None,
1210
+ *,
1211
+ back: bool | None = False,
1212
+ ):
1213
+ """Enter/Exit sculpt mode for Grease Pencil strokes
1214
+
1215
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1216
+ :type execution_context: int | str | None
1217
+ :type undo: bool | None
1218
+ :param back: Return to Previous Mode, Return to previous mode
1219
+ :type back: bool | None
1220
+ """
1221
+
1165
1222
  def select_all(
1166
1223
  override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1167
1224
  execution_context: int | str | None = None,
@@ -1955,6 +2012,22 @@ def vertex_group_smooth(
1955
2012
  :type repeat: int | None
1956
2013
  """
1957
2014
 
2015
+ def vertexmode_toggle(
2016
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2017
+ execution_context: int | str | None = None,
2018
+ undo: bool | None = None,
2019
+ *,
2020
+ back: bool | None = False,
2021
+ ):
2022
+ """Enter/Exit vertex paint mode for Grease Pencil strokes
2023
+
2024
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2025
+ :type execution_context: int | str | None
2026
+ :type undo: bool | None
2027
+ :param back: Return to Previous Mode, Return to previous mode
2028
+ :type back: bool | None
2029
+ """
2030
+
1958
2031
  def weight_brush_stroke(
1959
2032
  override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1960
2033
  execution_context: int | str | None = None,
@@ -2022,3 +2095,19 @@ def weight_toggle_direction(
2022
2095
  :type execution_context: int | str | None
2023
2096
  :type undo: bool | None
2024
2097
  """
2098
+
2099
+ def weightmode_toggle(
2100
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
2101
+ execution_context: int | str | None = None,
2102
+ undo: bool | None = None,
2103
+ *,
2104
+ back: bool | None = False,
2105
+ ):
2106
+ """Enter/Exit weight paint mode for Grease Pencil strokes
2107
+
2108
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
2109
+ :type execution_context: int | str | None
2110
+ :type undo: bool | None
2111
+ :param back: Return to Previous Mode, Return to previous mode
2112
+ :type back: bool | None
2113
+ """
@@ -1598,7 +1598,6 @@ def select_box(
1598
1598
  ymax: int | None = 0,
1599
1599
  wait_for_input: bool | None = True,
1600
1600
  mode: typing.Literal["SET", "ADD", "SUB"] | None = "SET",
1601
- tweak: bool | None = False,
1602
1601
  include_handles: bool | None = False,
1603
1602
  ignore_connections: bool | None = False,
1604
1603
  ):
@@ -1628,8 +1627,6 @@ def select_box(
1628
1627
  SUB
1629
1628
  Subtract -- Subtract existing selection.
1630
1629
  :type mode: typing.Literal['SET','ADD','SUB'] | None
1631
- :param tweak: Tweak, Operator has been activated using a click-drag event
1632
- :type tweak: bool | None
1633
1630
  :param include_handles: Select Handles, Select the strips and their handles
1634
1631
  :type include_handles: bool | None
1635
1632
  :param ignore_connections: Ignore Connections, Select strips individually whether or not they are connected
bpy/ops/ui/__init__.pyi CHANGED
@@ -499,6 +499,18 @@ def view_item_rename(
499
499
  :type undo: bool | None
500
500
  """
501
501
 
502
+ def view_scroll(
503
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
504
+ execution_context: int | str | None = None,
505
+ undo: bool | None = None,
506
+ ):
507
+ """Undocumented, consider contributing.
508
+
509
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
510
+ :type execution_context: int | str | None
511
+ :type undo: bool | None
512
+ """
513
+
502
514
  def view_start_filter(
503
515
  override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
504
516
  execution_context: int | str | None = None,
bpy/ops/wm/__init__.pyi CHANGED
@@ -5133,6 +5133,46 @@ def sysinfo(
5133
5133
  :type filepath: str
5134
5134
  """
5135
5135
 
5136
+ def tool_set_by_brush_type(
5137
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
5138
+ execution_context: int | str | None = None,
5139
+ undo: bool | None = None,
5140
+ *,
5141
+ brush_type: str = "",
5142
+ space_type: typing.Literal[
5143
+ "EMPTY",
5144
+ "VIEW_3D",
5145
+ "IMAGE_EDITOR",
5146
+ "NODE_EDITOR",
5147
+ "SEQUENCE_EDITOR",
5148
+ "CLIP_EDITOR",
5149
+ "DOPESHEET_EDITOR",
5150
+ "GRAPH_EDITOR",
5151
+ "NLA_EDITOR",
5152
+ "TEXT_EDITOR",
5153
+ "CONSOLE",
5154
+ "INFO",
5155
+ "TOPBAR",
5156
+ "STATUSBAR",
5157
+ "OUTLINER",
5158
+ "PROPERTIES",
5159
+ "FILE_BROWSER",
5160
+ "SPREADSHEET",
5161
+ "PREFERENCES",
5162
+ ]
5163
+ | None = "EMPTY",
5164
+ ):
5165
+ """Look up the most appropriate tool for the given brush type and activate that
5166
+
5167
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
5168
+ :type execution_context: int | str | None
5169
+ :type undo: bool | None
5170
+ :param brush_type: Brush Type, Brush type identifier for which the most appropriate tool will be looked up
5171
+ :type brush_type: str
5172
+ :param space_type: Type
5173
+ :type space_type: typing.Literal['EMPTY','VIEW_3D','IMAGE_EDITOR','NODE_EDITOR','SEQUENCE_EDITOR','CLIP_EDITOR','DOPESHEET_EDITOR','GRAPH_EDITOR','NLA_EDITOR','TEXT_EDITOR','CONSOLE','INFO','TOPBAR','STATUSBAR','OUTLINER','PROPERTIES','FILE_BROWSER','SPREADSHEET','PREFERENCES'] | None
5174
+ """
5175
+
5136
5176
  def tool_set_by_id(
5137
5177
  override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
5138
5178
  execution_context: int | str | None = None,