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

@@ -93,11 +93,11 @@ class POSE_OT_selection_set_assign(_PoseModeOnlyMixin, bpy.types.Operator):
93
93
  :param context:
94
94
  """
95
95
 
96
- def invoke(self, context, event):
96
+ def invoke(self, context, _event):
97
97
  """
98
98
 
99
99
  :param context:
100
- :param event:
100
+ :param _event:
101
101
  """
102
102
 
103
103
  class POSE_OT_selection_set_copy(_NeedSelSetMixin, bpy.types.Operator):
@@ -82,7 +82,7 @@ class RandomizeUVTransform(bpy.types.Operator):
82
82
  """
83
83
 
84
84
  def align_uv_rotation(context, method, axis, correct_aspect): ...
85
- def align_uv_rotation_bmesh(mesh, bm, method, axis, aspect_y): ...
85
+ def align_uv_rotation_bmesh(bm, method, axis, aspect_y): ...
86
86
  def align_uv_rotation_island(bm, uv_layer, faces, method, axis, aspect_y): ...
87
87
  def find_rotation_auto(bm, uv_layer, faces, aspect_y): ...
88
88
  def find_rotation_edge(bm, uv_layer, faces, aspect_y): ...
bl_ui/__init__.pyi CHANGED
@@ -106,10 +106,10 @@ class UI_MT_button_context_menu(bpy.types.Menu):
106
106
  :rtype: typing.Any
107
107
  """
108
108
 
109
- def draw(self, context):
109
+ def draw(self, _context):
110
110
  """
111
111
 
112
- :param context:
112
+ :param _context:
113
113
  """
114
114
 
115
115
  class UI_MT_list_item_context_menu(bpy.types.Menu):
@@ -137,10 +137,10 @@ class UI_MT_list_item_context_menu(bpy.types.Menu):
137
137
  :rtype: typing.Any
138
138
  """
139
139
 
140
- def draw(self, context):
140
+ def draw(self, _context):
141
141
  """
142
142
 
143
- :param context:
143
+ :param _context:
144
144
  """
145
145
 
146
146
  class UI_UL_list(bpy.types.UIList):
bl_ui/anim/__init__.pyi CHANGED
@@ -22,8 +22,8 @@ class ANIM_MT_keyframe_insert_pie(bpy.types.Menu):
22
22
  :rtype: typing.Any
23
23
  """
24
24
 
25
- def draw(self, context):
25
+ def draw(self, _context):
26
26
  """
27
27
 
28
- :param context:
28
+ :param _context:
29
29
  """
@@ -456,10 +456,10 @@ class POSE_MT_selection_set_create(bpy.types.Menu):
456
456
  :rtype: typing.Any
457
457
  """
458
458
 
459
- def draw(self, context):
459
+ def draw(self, _context):
460
460
  """
461
461
 
462
- :param context:
462
+ :param _context:
463
463
  """
464
464
 
465
465
  class POSE_MT_selection_sets_context_menu(bpy.types.Menu):
@@ -574,16 +574,24 @@ class POSE_UL_selection_set(bpy.types.UIList):
574
574
  """
575
575
 
576
576
  def draw_item(
577
- self, context, layout, data, item, icon, active_data, active_propname, index
577
+ self,
578
+ _context,
579
+ layout,
580
+ _data,
581
+ item,
582
+ icon,
583
+ _active_data,
584
+ _active_propname,
585
+ _index,
578
586
  ):
579
587
  """
580
588
 
581
- :param context:
589
+ :param _context:
582
590
  :param layout:
583
- :param data:
591
+ :param _data:
584
592
  :param item:
585
593
  :param icon:
586
- :param active_data:
587
- :param active_propname:
588
- :param index:
594
+ :param _active_data:
595
+ :param _active_propname:
596
+ :param _index:
589
597
  """
@@ -23,11 +23,11 @@ class AddModifierMenu(bpy.types.Operator):
23
23
  :rtype: typing.Any
24
24
  """
25
25
 
26
- def invoke(self, context, event):
26
+ def invoke(self, _context, _event):
27
27
  """
28
28
 
29
- :param context:
30
- :param event:
29
+ :param _context:
30
+ :param _event:
31
31
  """
32
32
 
33
33
  @classmethod
@@ -330,10 +330,10 @@ class GREASE_PENCIL_MT_stroke_simplify(bpy.types.Menu):
330
330
  :rtype: typing.Any
331
331
  """
332
332
 
333
- def draw(self, context):
333
+ def draw(self, _context):
334
334
  """
335
335
 
336
- :param context:
336
+ :param _context:
337
337
  """
338
338
 
339
339
  class GreasePencilBrushFalloff:
@@ -125,7 +125,7 @@ class WORKSPACE_UL_addons_items(bpy.types.UIList):
125
125
  layout,
126
126
  _data,
127
127
  addon,
128
- icon,
128
+ _icon,
129
129
  _active_data,
130
130
  _active_propname,
131
131
  _index,
@@ -136,7 +136,7 @@ class WORKSPACE_UL_addons_items(bpy.types.UIList):
136
136
  :param layout:
137
137
  :param _data:
138
138
  :param addon:
139
- :param icon:
139
+ :param _icon:
140
140
  :param _active_data:
141
141
  :param _active_propname:
142
142
  :param _index:
@@ -22,8 +22,8 @@ class STATUSBAR_HT_header(bpy.types.Header):
22
22
  :rtype: typing.Any
23
23
  """
24
24
 
25
- def draw(self, context):
25
+ def draw(self, _context):
26
26
  """
27
27
 
28
- :param context:
28
+ :param _context:
29
29
  """
@@ -351,10 +351,10 @@ class VIEW3D_PT_slots_paint_canvas(View3DPanel, SelectPaintSlotHelper, bpy.types
351
351
  :param context:
352
352
  """
353
353
 
354
- def draw_image_interpolation(self, **kwargs):
354
+ def draw_image_interpolation(self, **_kwargs):
355
355
  """
356
356
 
357
- :param kwargs:
357
+ :param _kwargs:
358
358
  """
359
359
 
360
360
  def get_mode_settings(self, context):
bpy/ops/file/__init__.pyi CHANGED
@@ -70,7 +70,7 @@ def bookmark_move(
70
70
  """
71
71
 
72
72
  def cancel(execution_context: int | str | None = None, undo: bool | None = None):
73
- """Cancel loading of selected file
73
+ """Cancel file operation
74
74
 
75
75
  :type execution_context: int | str | None
76
76
  :type undo: bool | None
@@ -244,6 +244,57 @@ def duplicate_move(
244
244
  :type TRANSFORM_OT_translate: bpy.ops.transform.translate | None
245
245
  """
246
246
 
247
+ def erase_box(
248
+ execution_context: int | str | None = None,
249
+ undo: bool | None = None,
250
+ /,
251
+ *,
252
+ xmin: int | None = 0,
253
+ xmax: int | None = 0,
254
+ ymin: int | None = 0,
255
+ ymax: int | None = 0,
256
+ wait_for_input: bool | None = True,
257
+ ):
258
+ """Erase points in the box region
259
+
260
+ :type execution_context: int | str | None
261
+ :type undo: bool | None
262
+ :param xmin: X Min
263
+ :type xmin: int | None
264
+ :param xmax: X Max
265
+ :type xmax: int | None
266
+ :param ymin: Y Min
267
+ :type ymin: int | None
268
+ :param ymax: Y Max
269
+ :type ymax: int | None
270
+ :param wait_for_input: Wait for Input
271
+ :type wait_for_input: bool | None
272
+ """
273
+
274
+ def erase_lasso(
275
+ execution_context: int | str | None = None,
276
+ undo: bool | None = None,
277
+ /,
278
+ *,
279
+ path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
280
+ use_smooth_stroke: bool | None = False,
281
+ smooth_stroke_factor: float | None = 0.75,
282
+ smooth_stroke_radius: int | None = 35,
283
+ ):
284
+ """Erase points in the lasso region
285
+
286
+ :type execution_context: int | str | None
287
+ :type undo: bool | None
288
+ :param path: Path
289
+ :type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None
290
+ :param use_smooth_stroke: Stabilize Stroke, Selection lags behind mouse and follows a smoother path
291
+ :type use_smooth_stroke: bool | None
292
+ :param smooth_stroke_factor: Smooth Stroke Factor, Higher values gives a smoother stroke
293
+ :type smooth_stroke_factor: float | None
294
+ :param smooth_stroke_radius: Smooth Stroke Radius, Minimum distance from last point before selection continues
295
+ :type smooth_stroke_radius: int | None
296
+ """
297
+
247
298
  def extrude(execution_context: int | str | None = None, undo: bool | None = None):
248
299
  """Extrude the selected points
249
300
 
bpy/ops/wm/__init__.pyi CHANGED
@@ -5189,7 +5189,7 @@ def usd_export(
5189
5189
  :type usdz_downscale_size: typing.Literal['KEEP','256','512','1024','2048','4096','CUSTOM'] | None
5190
5190
  :param usdz_downscale_custom_size: USDZ Custom Downscale Size, Custom size for downscaling exported textures
5191
5191
  :type usdz_downscale_custom_size: int | None
5192
- :param merge_parent_xform: Merge parent Xform, Merge USD primitives with their Xform parent if possible: USD does not allow nested UsdGeomGprim. Intermediary Xform will be defined to keep the USD file valid.
5192
+ :param merge_parent_xform: Merge parent Xform, Merge USD primitives with their Xform parent if possible. USD does not allow nested UsdGeomGprims, intermediary Xform prims will be defined to keep the USD file valid when encountering object hierarchies.
5193
5193
  :type merge_parent_xform: bool | None
5194
5194
  """
5195
5195