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

bmesh/ops/__init__.pyi CHANGED
@@ -1061,7 +1061,7 @@ def grid_fill(
1061
1061
  def holes_fill(
1062
1062
  bm: bmesh.types.BMesh, edges: list[bmesh.types.BMEdge] = [], sides: int = 0
1063
1063
  ) -> dict[str, typing.Any]:
1064
- """Fill Holes.Fill boundary edges with faces, copying surrounding customdata.
1064
+ """Fill Holes.Fill boundary edges with faces, copying surrounding custom-data.
1065
1065
 
1066
1066
  :param bm: The bmesh to operate on.
1067
1067
  :type bm: bmesh.types.BMesh
bmesh/utils/__init__.pyi CHANGED
@@ -77,7 +77,7 @@ def face_split(
77
77
 
78
78
  def face_split_edgenet(
79
79
  face: bmesh.types.BMFace, edgenet: collections.abc.Sequence[bmesh.types.BMEdge]
80
- ) -> tuple[bmesh.types.BMFace, int]:
80
+ ) -> tuple[bmesh.types.BMFace, ...]:
81
81
  """Splits a face into any number of regions defined by an edgenet.
82
82
 
83
83
  :param face: The face to split.The face to split.
@@ -85,7 +85,7 @@ def face_split_edgenet(
85
85
  :param edgenet: Sequence of edges.
86
86
  :type edgenet: collections.abc.Sequence[bmesh.types.BMEdge]
87
87
  :return: The newly created faces.
88
- :rtype: tuple[bmesh.types.BMFace, int]
88
+ :rtype: tuple[bmesh.types.BMFace, ...]
89
89
  """
90
90
 
91
91
  def face_vert_separate(
@@ -151,7 +151,7 @@ def vert_dissolve(vert: bmesh.types.BMVert) -> bool:
151
151
 
152
152
  def vert_separate(
153
153
  vert: bmesh.types.BMVert, edges: bmesh.types.BMEdge
154
- ) -> tuple[bmesh.types.BMVert, int]:
154
+ ) -> tuple[bmesh.types.BMVert, ...]:
155
155
  """Separate this vertex at every edge.
156
156
 
157
157
  :param vert: The vert to be separated.
@@ -159,7 +159,7 @@ def vert_separate(
159
159
  :param edges: The edges to separated.
160
160
  :type edges: bmesh.types.BMEdge
161
161
  :return: The newly separated verts (including the vertex passed).
162
- :rtype: tuple[bmesh.types.BMVert, int]
162
+ :rtype: tuple[bmesh.types.BMVert, ...]
163
163
  """
164
164
 
165
165
  def vert_splice(vert: bmesh.types.BMVert, vert_target: bmesh.types.BMVert):
bpy/ops/wm/__init__.pyi CHANGED
@@ -4950,6 +4950,18 @@ def usd_export(
4950
4950
  | None = "KEEP",
4951
4951
  usdz_downscale_custom_size: int | None = 128,
4952
4952
  merge_parent_xform: bool | None = False,
4953
+ convert_scene_units: typing.Literal[
4954
+ "METERS",
4955
+ "KILOMETERS",
4956
+ "CENTIMETERS",
4957
+ "MILLIMETERS",
4958
+ "INCHES",
4959
+ "FEET",
4960
+ "YARDS",
4961
+ "CUSTOM",
4962
+ ]
4963
+ | None = "METERS",
4964
+ meters_per_unit: float | None = 1.0,
4953
4965
  ):
4954
4966
  """Export current scene in a USD archive
4955
4967
 
@@ -5191,6 +5203,34 @@ def usd_export(
5191
5203
  :type usdz_downscale_custom_size: int | None
5192
5204
  :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
5205
  :type merge_parent_xform: bool | None
5206
+ :param convert_scene_units: Units, Set the USD Stage meters per unit to the chosen measurement, or a custom value
5207
+
5208
+ METERS
5209
+ Meters -- Scene meters per unit to 1.0.
5210
+
5211
+ KILOMETERS
5212
+ Kilometers -- Scene meters per unit to 1000.0.
5213
+
5214
+ CENTIMETERS
5215
+ Centimeters -- Scene meters per unit to 0.01.
5216
+
5217
+ MILLIMETERS
5218
+ Millimeters -- Scene meters per unit to 0.001.
5219
+
5220
+ INCHES
5221
+ Inches -- Scene meters per unit to 0.0254.
5222
+
5223
+ FEET
5224
+ Feet -- Scene meters per unit to 0.3048.
5225
+
5226
+ YARDS
5227
+ Yards -- Scene meters per unit to 0.9144.
5228
+
5229
+ CUSTOM
5230
+ Custom -- Specify a custom scene meters per unit value.
5231
+ :type convert_scene_units: typing.Literal['METERS','KILOMETERS','CENTIMETERS','MILLIMETERS','INCHES','FEET','YARDS','CUSTOM'] | None
5232
+ :param meters_per_unit: Meters Per Unit, Custom value for meters per unit in the USD Stage
5233
+ :type meters_per_unit: float | None
5194
5234
  """
5195
5235
 
5196
5236
  def usd_import(
@@ -5266,6 +5306,7 @@ def usd_import(
5266
5306
  create_world_material: bool | None = True,
5267
5307
  import_defined_only: bool | None = True,
5268
5308
  merge_parent_xform: bool | None = True,
5309
+ apply_unit_conversion_scale: bool | None = True,
5269
5310
  ):
5270
5311
  """Import USD stage into current scene
5271
5312
 
@@ -5443,6 +5484,8 @@ def usd_import(
5443
5484
  :type import_defined_only: bool | None
5444
5485
  :param merge_parent_xform: Merge parent Xform, Allow USD primitives to merge with their Xform parent if they are the only child in the hierarchy
5445
5486
  :type merge_parent_xform: bool | None
5487
+ :param apply_unit_conversion_scale: Apply Unit Conversion Scale, Scale the scene objects by the USD stage's meters per unit value. This scaling is applied in addition to the value specified in the Scale option
5488
+ :type apply_unit_conversion_scale: bool | None
5446
5489
  """
5447
5490
 
5448
5491
  def window_close(execution_context: int | str | None = None, undo: bool | None = None):
bpy/props/__init__.pyi CHANGED
@@ -107,8 +107,8 @@ def BoolProperty(
107
107
  description: str | None = "",
108
108
  translation_context: str | None = "*",
109
109
  default=False,
110
- options: bpy.typing.PropertyFlagItems = {"ANIMATABLE"},
111
- override: bpy.typing.PropertyOverrideFlagItems = set(),
110
+ options: set[bpy.typing.PropertyFlagItems] = {"ANIMATABLE"},
111
+ override: set[bpy.typing.PropertyOverrideFlagItems] = set(),
112
112
  tags=set(),
113
113
  subtype: bpy.typing.PropertySubtypeNumberItems = "NONE",
114
114
  update: collections.abc.Callable[[bpy.types.bpy_struct, bpy.types.Context], None]
@@ -125,9 +125,9 @@ def BoolProperty(
125
125
  :param translation_context: Text used as context to disambiguate translations.
126
126
  :type translation_context: str | None
127
127
  :param options: Enumerator in `rna_enum_property_flag_items`.
128
- :type options: bpy.typing.PropertyFlagItems
128
+ :type options: set[bpy.typing.PropertyFlagItems]
129
129
  :param override: Enumerator in `rna_enum_property_override_flag_items`.
130
- :type override: bpy.typing.PropertyOverrideFlagItems
130
+ :type override: set[bpy.typing.PropertyOverrideFlagItems]
131
131
  :param tags: Enumerator of tags that are defined by parent class.
132
132
  :param subtype: Enumerator in `rna_enum_property_subtype_number_items`.
133
133
  :type subtype: bpy.typing.PropertySubtypeNumberItems
@@ -149,8 +149,8 @@ def BoolVectorProperty(
149
149
  description: str | None = "",
150
150
  translation_context: str | None = "*",
151
151
  default: collections.abc.Sequence[bool] | None = (False, False, False),
152
- options: bpy.typing.PropertyFlagItems = {"ANIMATABLE"},
153
- override: bpy.typing.PropertyOverrideFlagItems = set(),
152
+ options: set[bpy.typing.PropertyFlagItems] = {"ANIMATABLE"},
153
+ override: set[bpy.typing.PropertyOverrideFlagItems] = set(),
154
154
  tags=set(),
155
155
  subtype: bpy.typing.PropertySubtypeNumberArrayItems = "NONE",
156
156
  size: collections.abc.Sequence[int] | int | None = 3,
@@ -160,7 +160,7 @@ def BoolVectorProperty(
160
160
  [bpy.types.bpy_struct], collections.abc.Sequence[bool]
161
161
  ]
162
162
  | None = None,
163
- set: collections.abc.Callable[[bpy.types.bpy_struct, tuple[bool, int]], None]
163
+ set: collections.abc.Callable[[bpy.types.bpy_struct, tuple[bool, ...]], None]
164
164
  | None = None,
165
165
  ):
166
166
  """Returns a new vector boolean property definition.
@@ -174,9 +174,9 @@ def BoolVectorProperty(
174
174
  :param default: sequence of booleans the length of size.
175
175
  :type default: collections.abc.Sequence[bool] | None
176
176
  :param options: Enumerator in `rna_enum_property_flag_items`.
177
- :type options: bpy.typing.PropertyFlagItems
177
+ :type options: set[bpy.typing.PropertyFlagItems]
178
178
  :param override: Enumerator in `rna_enum_property_override_flag_items`.
179
- :type override: bpy.typing.PropertyOverrideFlagItems
179
+ :type override: set[bpy.typing.PropertyOverrideFlagItems]
180
180
  :param tags: Enumerator of tags that are defined by parent class.
181
181
  :param subtype: Enumerator in `rna_enum_property_subtype_number_array_items`.
182
182
  :type subtype: bpy.typing.PropertySubtypeNumberArrayItems
@@ -191,7 +191,7 @@ def BoolVectorProperty(
191
191
  :type get: collections.abc.Callable[[bpy.types.bpy_struct], collections.abc.Sequence[bool]] | None
192
192
  :param set: Function to be called when this value is 'written',
193
193
  This function must take 2 values (self, value) and return None.
194
- :type set: collections.abc.Callable[[bpy.types.bpy_struct, tuple[bool, int]], None] | None
194
+ :type set: collections.abc.Callable[[bpy.types.bpy_struct, tuple[bool, ...]], None] | None
195
195
  """
196
196
 
197
197
  def CollectionProperty(
@@ -200,8 +200,8 @@ def CollectionProperty(
200
200
  name: str | None = "",
201
201
  description: str | None = "",
202
202
  translation_context: str | None = "*",
203
- options: bpy.typing.PropertyFlagItems = {"ANIMATABLE"},
204
- override: bpy.typing.PropertyOverrideFlagCollectionItems = set(),
203
+ options: set[bpy.typing.PropertyFlagItems] = {"ANIMATABLE"},
204
+ override: set[bpy.typing.PropertyOverrideFlagCollectionItems] = set(),
205
205
  tags=set(),
206
206
  ):
207
207
  """Returns a new collection property definition.
@@ -215,9 +215,9 @@ def CollectionProperty(
215
215
  :param translation_context: Text used as context to disambiguate translations.
216
216
  :type translation_context: str | None
217
217
  :param options: Enumerator in `rna_enum_property_flag_items`.
218
- :type options: bpy.typing.PropertyFlagItems
218
+ :type options: set[bpy.typing.PropertyFlagItems]
219
219
  :param override: Enumerator in `rna_enum_property_override_flag_collection_items`.
220
- :type override: bpy.typing.PropertyOverrideFlagCollectionItems
220
+ :type override: set[bpy.typing.PropertyOverrideFlagCollectionItems]
221
221
  :param tags: Enumerator of tags that are defined by parent class.
222
222
  """
223
223
 
@@ -242,8 +242,8 @@ def EnumProperty(
242
242
  description: str | None = "",
243
243
  translation_context: str | None = "*",
244
244
  default: int | str | None = None,
245
- options: bpy.typing.PropertyFlagEnumItems = {"ANIMATABLE"},
246
- override: bpy.typing.PropertyOverrideFlagItems = set(),
245
+ options: set[bpy.typing.PropertyFlagEnumItems] = {"ANIMATABLE"},
246
+ override: set[bpy.typing.PropertyOverrideFlagItems] = set(),
247
247
  tags=set(),
248
248
  update: collections.abc.Callable[[bpy.types.bpy_struct, bpy.types.Context], None]
249
249
  | None = None,
@@ -306,9 +306,9 @@ def EnumProperty(
306
306
  (i.e. if a callback function is given as items parameter).
307
307
  :type default: int | str | None
308
308
  :param options: Enumerator in `rna_enum_property_flag_enum_items`.
309
- :type options: bpy.typing.PropertyFlagEnumItems
309
+ :type options: set[bpy.typing.PropertyFlagEnumItems]
310
310
  :param override: Enumerator in `rna_enum_property_override_flag_items`.
311
- :type override: bpy.typing.PropertyOverrideFlagItems
311
+ :type override: set[bpy.typing.PropertyOverrideFlagItems]
312
312
  :param tags: Enumerator of tags that are defined by parent class.
313
313
  :param update: Function to be called when this value is modified,
314
314
  This function must take 2 values (self, context) and return None.
@@ -334,8 +334,8 @@ def FloatProperty(
334
334
  soft_max: float | None = 3.402823e38,
335
335
  step: int | None = 3,
336
336
  precision: int | None = 2,
337
- options: bpy.typing.PropertyFlagItems = {"ANIMATABLE"},
338
- override: bpy.typing.PropertyOverrideFlagItems = set(),
337
+ options: set[bpy.typing.PropertyFlagItems] = {"ANIMATABLE"},
338
+ override: set[bpy.typing.PropertyOverrideFlagItems] = set(),
339
339
  tags=set(),
340
340
  subtype: bpy.typing.PropertySubtypeNumberItems = "NONE",
341
341
  unit: bpy.typing.PropertyUnitItems = "NONE",
@@ -365,9 +365,9 @@ def FloatProperty(
365
365
  :param precision: Maximum number of decimal digits to display, in [0, 6]. Fraction is automatically hidden for exact integer values of fields with unit 'NONE' or 'TIME' (frame count) and step divisible by 100.
366
366
  :type precision: int | None
367
367
  :param options: Enumerator in `rna_enum_property_flag_items`.
368
- :type options: bpy.typing.PropertyFlagItems
368
+ :type options: set[bpy.typing.PropertyFlagItems]
369
369
  :param override: Enumerator in `rna_enum_property_override_flag_items`.
370
- :type override: bpy.typing.PropertyOverrideFlagItems
370
+ :type override: set[bpy.typing.PropertyOverrideFlagItems]
371
371
  :param tags: Enumerator of tags that are defined by parent class.
372
372
  :param subtype: Enumerator in `rna_enum_property_subtype_number_items`.
373
373
  :type subtype: bpy.typing.PropertySubtypeNumberItems
@@ -397,8 +397,8 @@ def FloatVectorProperty(
397
397
  soft_max: float | None = sys.float_info.max,
398
398
  step: int | None = 3,
399
399
  precision: int | None = 2,
400
- options: bpy.typing.PropertyFlagItems = {"ANIMATABLE"},
401
- override: bpy.typing.PropertyOverrideFlagItems = set(),
400
+ options: set[bpy.typing.PropertyFlagItems] = {"ANIMATABLE"},
401
+ override: set[bpy.typing.PropertyOverrideFlagItems] = set(),
402
402
  tags=set(),
403
403
  subtype: bpy.typing.PropertySubtypeNumberArrayItems = "NONE",
404
404
  unit: bpy.typing.PropertyUnitItems = "NONE",
@@ -409,7 +409,7 @@ def FloatVectorProperty(
409
409
  [bpy.types.bpy_struct], collections.abc.Sequence[float]
410
410
  ]
411
411
  | None = None,
412
- set: collections.abc.Callable[[bpy.types.bpy_struct, tuple[float, int]], None]
412
+ set: collections.abc.Callable[[bpy.types.bpy_struct, tuple[float, ...]], None]
413
413
  | None = None,
414
414
  ):
415
415
  """Returns a new vector float property definition.
@@ -435,9 +435,9 @@ def FloatVectorProperty(
435
435
  :param precision: Maximum number of decimal digits to display, in [0, 6]. Fraction is automatically hidden for exact integer values of fields with unit 'NONE' or 'TIME' (frame count) and step divisible by 100.
436
436
  :type precision: int | None
437
437
  :param options: Enumerator in `rna_enum_property_flag_items`.
438
- :type options: bpy.typing.PropertyFlagItems
438
+ :type options: set[bpy.typing.PropertyFlagItems]
439
439
  :param override: Enumerator in `rna_enum_property_override_flag_items`.
440
- :type override: bpy.typing.PropertyOverrideFlagItems
440
+ :type override: set[bpy.typing.PropertyOverrideFlagItems]
441
441
  :param tags: Enumerator of tags that are defined by parent class.
442
442
  :param subtype: Enumerator in `rna_enum_property_subtype_number_array_items`.
443
443
  :type subtype: bpy.typing.PropertySubtypeNumberArrayItems
@@ -454,7 +454,7 @@ def FloatVectorProperty(
454
454
  :type get: collections.abc.Callable[[bpy.types.bpy_struct], collections.abc.Sequence[float]] | None
455
455
  :param set: Function to be called when this value is 'written',
456
456
  This function must take 2 values (self, value) and return None.
457
- :type set: collections.abc.Callable[[bpy.types.bpy_struct, tuple[float, int]], None] | None
457
+ :type set: collections.abc.Callable[[bpy.types.bpy_struct, tuple[float, ...]], None] | None
458
458
  """
459
459
 
460
460
  def IntProperty(
@@ -468,8 +468,8 @@ def IntProperty(
468
468
  soft_min: int | None = None,
469
469
  soft_max: int | None = None,
470
470
  step: int | None = 1,
471
- options: bpy.typing.PropertyFlagItems = {"ANIMATABLE"},
472
- override: bpy.typing.PropertyOverrideFlagItems = set(),
471
+ options: set[bpy.typing.PropertyFlagItems] = {"ANIMATABLE"},
472
+ override: set[bpy.typing.PropertyOverrideFlagItems] = set(),
473
473
  tags=set(),
474
474
  subtype: bpy.typing.PropertySubtypeNumberItems = "NONE",
475
475
  update: collections.abc.Callable[[bpy.types.bpy_struct, bpy.types.Context], None]
@@ -496,9 +496,9 @@ def IntProperty(
496
496
  :param step: Step of increment/decrement in UI, in [1, 100], defaults to 1 (WARNING: unused currently!).
497
497
  :type step: int | None
498
498
  :param options: Enumerator in `rna_enum_property_flag_items`.
499
- :type options: bpy.typing.PropertyFlagItems
499
+ :type options: set[bpy.typing.PropertyFlagItems]
500
500
  :param override: Enumerator in `rna_enum_property_override_flag_items`.
501
- :type override: bpy.typing.PropertyOverrideFlagItems
501
+ :type override: set[bpy.typing.PropertyOverrideFlagItems]
502
502
  :param tags: Enumerator of tags that are defined by parent class.
503
503
  :param subtype: Enumerator in `rna_enum_property_subtype_number_items`.
504
504
  :type subtype: bpy.typing.PropertySubtypeNumberItems
@@ -525,8 +525,8 @@ def IntVectorProperty(
525
525
  soft_min: int | None = None,
526
526
  soft_max: int | None = None,
527
527
  step: int | None = 1,
528
- options: bpy.typing.PropertyFlagItems = {"ANIMATABLE"},
529
- override: bpy.typing.PropertyOverrideFlagItems = set(),
528
+ options: set[bpy.typing.PropertyFlagItems] = {"ANIMATABLE"},
529
+ override: set[bpy.typing.PropertyOverrideFlagItems] = set(),
530
530
  tags=set(),
531
531
  subtype: bpy.typing.PropertySubtypeNumberArrayItems = "NONE",
532
532
  size: collections.abc.Sequence[int] | int | None = 3,
@@ -534,7 +534,7 @@ def IntVectorProperty(
534
534
  | None = None,
535
535
  get: collections.abc.Callable[[bpy.types.bpy_struct], collections.abc.Sequence[int]]
536
536
  | None = None,
537
- set: collections.abc.Callable[[bpy.types.bpy_struct, tuple[int, int]], None]
537
+ set: collections.abc.Callable[[bpy.types.bpy_struct, tuple[int, ...]], None]
538
538
  | None = None,
539
539
  ):
540
540
  """Returns a new vector int property definition.
@@ -558,9 +558,9 @@ def IntVectorProperty(
558
558
  :param step: Step of increment/decrement in UI, in [1, 100], defaults to 1 (WARNING: unused currently!).
559
559
  :type step: int | None
560
560
  :param options: Enumerator in `rna_enum_property_flag_items`.
561
- :type options: bpy.typing.PropertyFlagItems
561
+ :type options: set[bpy.typing.PropertyFlagItems]
562
562
  :param override: Enumerator in `rna_enum_property_override_flag_items`.
563
- :type override: bpy.typing.PropertyOverrideFlagItems
563
+ :type override: set[bpy.typing.PropertyOverrideFlagItems]
564
564
  :param tags: Enumerator of tags that are defined by parent class.
565
565
  :param subtype: Enumerator in `rna_enum_property_subtype_number_array_items`.
566
566
  :type subtype: bpy.typing.PropertySubtypeNumberArrayItems
@@ -575,7 +575,7 @@ def IntVectorProperty(
575
575
  :type get: collections.abc.Callable[[bpy.types.bpy_struct], collections.abc.Sequence[int]] | None
576
576
  :param set: Function to be called when this value is 'written',
577
577
  This function must take 2 values (self, value) and return None.
578
- :type set: collections.abc.Callable[[bpy.types.bpy_struct, tuple[int, int]], None] | None
578
+ :type set: collections.abc.Callable[[bpy.types.bpy_struct, tuple[int, ...]], None] | None
579
579
  """
580
580
 
581
581
  def PointerProperty(
@@ -584,8 +584,8 @@ def PointerProperty(
584
584
  name: str | None = "",
585
585
  description: str | None = "",
586
586
  translation_context: str | None = "*",
587
- options: bpy.typing.PropertyFlagItems = {"ANIMATABLE"},
588
- override: bpy.typing.PropertyOverrideFlagItems = set(),
587
+ options: set[bpy.typing.PropertyFlagItems] = {"ANIMATABLE"},
588
+ override: set[bpy.typing.PropertyOverrideFlagItems] = set(),
589
589
  tags=set(),
590
590
  poll: collections.abc.Callable[[bpy.types.bpy_struct, bpy.types.ID], bool]
591
591
  | None = None,
@@ -603,9 +603,9 @@ def PointerProperty(
603
603
  :param translation_context: Text used as context to disambiguate translations.
604
604
  :type translation_context: str | None
605
605
  :param options: Enumerator in `rna_enum_property_flag_items`.
606
- :type options: bpy.typing.PropertyFlagItems
606
+ :type options: set[bpy.typing.PropertyFlagItems]
607
607
  :param override: Enumerator in `rna_enum_property_override_flag_items`.
608
- :type override: bpy.typing.PropertyOverrideFlagItems
608
+ :type override: set[bpy.typing.PropertyOverrideFlagItems]
609
609
  :param tags: Enumerator of tags that are defined by parent class.
610
610
  :param poll: function to be called to determine whether an item is valid for this property.
611
611
  The function must take 2 values (self, object) and return Bool.
@@ -633,8 +633,8 @@ def StringProperty(
633
633
  translation_context: str | None = "*",
634
634
  default: str | None = "",
635
635
  maxlen: int | None = 0,
636
- options: bpy.typing.PropertyFlagItems = {"ANIMATABLE"},
637
- override: bpy.typing.PropertyOverrideFlagItems = set(),
636
+ options: set[bpy.typing.PropertyFlagItems] = {"ANIMATABLE"},
637
+ override: set[bpy.typing.PropertyOverrideFlagItems] = set(),
638
638
  tags=set(),
639
639
  subtype: bpy.typing.PropertySubtypeStringItems = "NONE",
640
640
  update: collections.abc.Callable[[bpy.types.bpy_struct, bpy.types.Context], None]
@@ -658,9 +658,9 @@ def StringProperty(
658
658
  :param maxlen: maximum length of the string.
659
659
  :type maxlen: int | None
660
660
  :param options: Enumerator in `rna_enum_property_flag_items`.
661
- :type options: bpy.typing.PropertyFlagItems
661
+ :type options: set[bpy.typing.PropertyFlagItems]
662
662
  :param override: Enumerator in `rna_enum_property_override_flag_items`.
663
- :type override: bpy.typing.PropertyOverrideFlagItems
663
+ :type override: set[bpy.typing.PropertyOverrideFlagItems]
664
664
  :param tags: Enumerator of tags that are defined by parent class.
665
665
  :param subtype: Enumerator in `rna_enum_property_subtype_string_items`.
666
666
  :type subtype: bpy.typing.PropertySubtypeStringItems
bpy/types/__init__.pyi CHANGED
@@ -158117,20 +158117,20 @@ class Gizmo(bpy_struct):
158117
158117
  :rtype: tuple[float, float]
158118
158118
  """
158119
158119
 
158120
- def target_get_value(self, target: str | None) -> float | tuple[float, int]:
158120
+ def target_get_value(self, target: str | None) -> float | tuple[float, ...]:
158121
158121
  """Get the value of this target property.
158122
158122
 
158123
158123
  :param target: Target property name.
158124
158124
  :type target: str | None
158125
158125
  :return: The value of the target property as a value or array based on the target type.
158126
- :rtype: float | tuple[float, int]
158126
+ :rtype: float | tuple[float, ...]
158127
158127
  """
158128
158128
 
158129
158129
  def target_set_handler(
158130
158130
  self,
158131
158131
  target: str | None,
158132
158132
  get: collections.abc.Callable[float | collections.abc.Sequence[float]] | None,
158133
- set: collections.abc.Callable[[tuple[float, int]], typing.Any] | None,
158133
+ set: collections.abc.Callable[[tuple[float, ...]], typing.Any] | None,
158134
158134
  range: collections.abc.Callable | None = None,
158135
158135
  ):
158136
158136
  """Assigns callbacks to a gizmos property.
@@ -158140,7 +158140,7 @@ class Gizmo(bpy_struct):
158140
158140
  :param get: Function that returns the value for this property (single value or sequence).
158141
158141
  :type get: collections.abc.Callable[float | collections.abc.Sequence[float]] | None
158142
158142
  :param set: Function that takes a single value argument and applies it.
158143
- :type set: collections.abc.Callable[[tuple[float, int]], typing.Any] | None
158143
+ :type set: collections.abc.Callable[[tuple[float, ...]], typing.Any] | None
158144
158144
  :param range: Function that returns a (min, max) tuple for gizmos that use a range. The returned value is not used.
158145
158145
  :type range: collections.abc.Callable | None
158146
158146
  """
@@ -186905,13 +186905,13 @@ expanding an operator into a menu.
186905
186905
  @classmethod
186906
186906
  def poll_message_set(
186907
186907
  cls,
186908
- message: collections.abc.Callable[[typing.Any, int], str | None] | str | None,
186908
+ message: collections.abc.Callable[[typing.Any, ...], str | None] | str | None,
186909
186909
  *args,
186910
186910
  ):
186911
186911
  """Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function.
186912
186912
 
186913
186913
  :param message: The message or a function that returns the message.
186914
- :type message: collections.abc.Callable[[typing.Any, int], str | None] | str | None
186914
+ :type message: collections.abc.Callable[[typing.Any, ...], str | None] | str | None
186915
186915
  :param args:
186916
186916
  """
186917
186917
 
@@ -208895,8 +208895,8 @@ class Space(bpy_struct):
208895
208895
  @classmethod
208896
208896
  def draw_handler_add(
208897
208897
  cls,
208898
- callback: collections.abc.Callable[[typing.Any, int], typing.Any] | None,
208899
- args: tuple[typing.Any, int] | None,
208898
+ callback: collections.abc.Callable[[typing.Any, ...], typing.Any] | None,
208899
+ args: tuple[typing.Any, ...] | None,
208900
208900
  region_type: str | None,
208901
208901
  draw_type: str | None,
208902
208902
  ) -> typing.Any:
@@ -208906,9 +208906,9 @@ class Space(bpy_struct):
208906
208906
 
208907
208907
  :param callback: A function that will be called when the region is drawn.
208908
208908
  It gets the specified arguments as input, it's return value is ignored.
208909
- :type callback: collections.abc.Callable[[typing.Any, int], typing.Any] | None
208909
+ :type callback: collections.abc.Callable[[typing.Any, ...], typing.Any] | None
208910
208910
  :param args: Arguments that will be passed to the callback.
208911
- :type args: tuple[typing.Any, int] | None
208911
+ :type args: tuple[typing.Any, ...] | None
208912
208912
  :param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
208913
208913
  :type region_type: str | None
208914
208914
  :param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
@@ -209239,8 +209239,8 @@ class SpaceClipEditor(Space, bpy_struct):
209239
209239
  @classmethod
209240
209240
  def draw_handler_add(
209241
209241
  cls,
209242
- callback: collections.abc.Callable[[typing.Any, int], typing.Any] | None,
209243
- args: tuple[typing.Any, int] | None,
209242
+ callback: collections.abc.Callable[[typing.Any, ...], typing.Any] | None,
209243
+ args: tuple[typing.Any, ...] | None,
209244
209244
  region_type: str | None,
209245
209245
  draw_type: str | None,
209246
209246
  ) -> typing.Any:
@@ -209250,9 +209250,9 @@ class SpaceClipEditor(Space, bpy_struct):
209250
209250
 
209251
209251
  :param callback: A function that will be called when the region is drawn.
209252
209252
  It gets the specified arguments as input, it's return value is ignored.
209253
- :type callback: collections.abc.Callable[[typing.Any, int], typing.Any] | None
209253
+ :type callback: collections.abc.Callable[[typing.Any, ...], typing.Any] | None
209254
209254
  :param args: Arguments that will be passed to the callback.
209255
- :type args: tuple[typing.Any, int] | None
209255
+ :type args: tuple[typing.Any, ...] | None
209256
209256
  :param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
209257
209257
  :type region_type: str | None
209258
209258
  :param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
@@ -209341,8 +209341,8 @@ class SpaceConsole(Space, bpy_struct):
209341
209341
  @classmethod
209342
209342
  def draw_handler_add(
209343
209343
  cls,
209344
- callback: collections.abc.Callable[[typing.Any, int], typing.Any] | None,
209345
- args: tuple[typing.Any, int] | None,
209344
+ callback: collections.abc.Callable[[typing.Any, ...], typing.Any] | None,
209345
+ args: tuple[typing.Any, ...] | None,
209346
209346
  region_type: str | None,
209347
209347
  draw_type: str | None,
209348
209348
  ) -> typing.Any:
@@ -209352,9 +209352,9 @@ class SpaceConsole(Space, bpy_struct):
209352
209352
 
209353
209353
  :param callback: A function that will be called when the region is drawn.
209354
209354
  It gets the specified arguments as input, it's return value is ignored.
209355
- :type callback: collections.abc.Callable[[typing.Any, int], typing.Any] | None
209355
+ :type callback: collections.abc.Callable[[typing.Any, ...], typing.Any] | None
209356
209356
  :param args: Arguments that will be passed to the callback.
209357
- :type args: tuple[typing.Any, int] | None
209357
+ :type args: tuple[typing.Any, ...] | None
209358
209358
  :param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
209359
209359
  :type region_type: str | None
209360
209360
  :param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
@@ -209549,8 +209549,8 @@ class SpaceDopeSheetEditor(Space, bpy_struct):
209549
209549
  @classmethod
209550
209550
  def draw_handler_add(
209551
209551
  cls,
209552
- callback: collections.abc.Callable[[typing.Any, int], typing.Any] | None,
209553
- args: tuple[typing.Any, int] | None,
209552
+ callback: collections.abc.Callable[[typing.Any, ...], typing.Any] | None,
209553
+ args: tuple[typing.Any, ...] | None,
209554
209554
  region_type: str | None,
209555
209555
  draw_type: str | None,
209556
209556
  ) -> typing.Any:
@@ -209560,9 +209560,9 @@ class SpaceDopeSheetEditor(Space, bpy_struct):
209560
209560
 
209561
209561
  :param callback: A function that will be called when the region is drawn.
209562
209562
  It gets the specified arguments as input, it's return value is ignored.
209563
- :type callback: collections.abc.Callable[[typing.Any, int], typing.Any] | None
209563
+ :type callback: collections.abc.Callable[[typing.Any, ...], typing.Any] | None
209564
209564
  :param args: Arguments that will be passed to the callback.
209565
- :type args: tuple[typing.Any, int] | None
209565
+ :type args: tuple[typing.Any, ...] | None
209566
209566
  :param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
209567
209567
  :type region_type: str | None
209568
209568
  :param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
@@ -209720,8 +209720,8 @@ class SpaceFileBrowser(Space, bpy_struct):
209720
209720
  @classmethod
209721
209721
  def draw_handler_add(
209722
209722
  cls,
209723
- callback: collections.abc.Callable[[typing.Any, int], typing.Any] | None,
209724
- args: tuple[typing.Any, int] | None,
209723
+ callback: collections.abc.Callable[[typing.Any, ...], typing.Any] | None,
209724
+ args: tuple[typing.Any, ...] | None,
209725
209725
  region_type: str | None,
209726
209726
  draw_type: str | None,
209727
209727
  ) -> typing.Any:
@@ -209731,9 +209731,9 @@ class SpaceFileBrowser(Space, bpy_struct):
209731
209731
 
209732
209732
  :param callback: A function that will be called when the region is drawn.
209733
209733
  It gets the specified arguments as input, it's return value is ignored.
209734
- :type callback: collections.abc.Callable[[typing.Any, int], typing.Any] | None
209734
+ :type callback: collections.abc.Callable[[typing.Any, ...], typing.Any] | None
209735
209735
  :param args: Arguments that will be passed to the callback.
209736
- :type args: tuple[typing.Any, int] | None
209736
+ :type args: tuple[typing.Any, ...] | None
209737
209737
  :param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
209738
209738
  :type region_type: str | None
209739
209739
  :param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
@@ -209906,8 +209906,8 @@ class SpaceGraphEditor(Space, bpy_struct):
209906
209906
  @classmethod
209907
209907
  def draw_handler_add(
209908
209908
  cls,
209909
- callback: collections.abc.Callable[[typing.Any, int], typing.Any] | None,
209910
- args: tuple[typing.Any, int] | None,
209909
+ callback: collections.abc.Callable[[typing.Any, ...], typing.Any] | None,
209910
+ args: tuple[typing.Any, ...] | None,
209911
209911
  region_type: str | None,
209912
209912
  draw_type: str | None,
209913
209913
  ) -> typing.Any:
@@ -209917,9 +209917,9 @@ class SpaceGraphEditor(Space, bpy_struct):
209917
209917
 
209918
209918
  :param callback: A function that will be called when the region is drawn.
209919
209919
  It gets the specified arguments as input, it's return value is ignored.
209920
- :type callback: collections.abc.Callable[[typing.Any, int], typing.Any] | None
209920
+ :type callback: collections.abc.Callable[[typing.Any, ...], typing.Any] | None
209921
209921
  :param args: Arguments that will be passed to the callback.
209922
- :type args: tuple[typing.Any, int] | None
209922
+ :type args: tuple[typing.Any, ...] | None
209923
209923
  :param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
209924
209924
  :type region_type: str | None
209925
209925
  :param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
@@ -210190,8 +210190,8 @@ class SpaceImageEditor(Space, bpy_struct):
210190
210190
  @classmethod
210191
210191
  def draw_handler_add(
210192
210192
  cls,
210193
- callback: collections.abc.Callable[[typing.Any, int], typing.Any] | None,
210194
- args: tuple[typing.Any, int] | None,
210193
+ callback: collections.abc.Callable[[typing.Any, ...], typing.Any] | None,
210194
+ args: tuple[typing.Any, ...] | None,
210195
210195
  region_type: str | None,
210196
210196
  draw_type: str | None,
210197
210197
  ) -> typing.Any:
@@ -210201,9 +210201,9 @@ class SpaceImageEditor(Space, bpy_struct):
210201
210201
 
210202
210202
  :param callback: A function that will be called when the region is drawn.
210203
210203
  It gets the specified arguments as input, it's return value is ignored.
210204
- :type callback: collections.abc.Callable[[typing.Any, int], typing.Any] | None
210204
+ :type callback: collections.abc.Callable[[typing.Any, ...], typing.Any] | None
210205
210205
  :param args: Arguments that will be passed to the callback.
210206
- :type args: tuple[typing.Any, int] | None
210206
+ :type args: tuple[typing.Any, ...] | None
210207
210207
  :param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
210208
210208
  :type region_type: str | None
210209
210209
  :param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
@@ -210317,8 +210317,8 @@ class SpaceInfo(Space, bpy_struct):
210317
210317
  @classmethod
210318
210318
  def draw_handler_add(
210319
210319
  cls,
210320
- callback: collections.abc.Callable[[typing.Any, int], typing.Any] | None,
210321
- args: tuple[typing.Any, int] | None,
210320
+ callback: collections.abc.Callable[[typing.Any, ...], typing.Any] | None,
210321
+ args: tuple[typing.Any, ...] | None,
210322
210322
  region_type: str | None,
210323
210323
  draw_type: str | None,
210324
210324
  ) -> typing.Any:
@@ -210328,9 +210328,9 @@ class SpaceInfo(Space, bpy_struct):
210328
210328
 
210329
210329
  :param callback: A function that will be called when the region is drawn.
210330
210330
  It gets the specified arguments as input, it's return value is ignored.
210331
- :type callback: collections.abc.Callable[[typing.Any, int], typing.Any] | None
210331
+ :type callback: collections.abc.Callable[[typing.Any, ...], typing.Any] | None
210332
210332
  :param args: Arguments that will be passed to the callback.
210333
- :type args: tuple[typing.Any, int] | None
210333
+ :type args: tuple[typing.Any, ...] | None
210334
210334
  :param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
210335
210335
  :type region_type: str | None
210336
210336
  :param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
@@ -210431,8 +210431,8 @@ class SpaceNLA(Space, bpy_struct):
210431
210431
  @classmethod
210432
210432
  def draw_handler_add(
210433
210433
  cls,
210434
- callback: collections.abc.Callable[[typing.Any, int], typing.Any] | None,
210435
- args: tuple[typing.Any, int] | None,
210434
+ callback: collections.abc.Callable[[typing.Any, ...], typing.Any] | None,
210435
+ args: tuple[typing.Any, ...] | None,
210436
210436
  region_type: str | None,
210437
210437
  draw_type: str | None,
210438
210438
  ) -> typing.Any:
@@ -210442,9 +210442,9 @@ class SpaceNLA(Space, bpy_struct):
210442
210442
 
210443
210443
  :param callback: A function that will be called when the region is drawn.
210444
210444
  It gets the specified arguments as input, it's return value is ignored.
210445
- :type callback: collections.abc.Callable[[typing.Any, int], typing.Any] | None
210445
+ :type callback: collections.abc.Callable[[typing.Any, ...], typing.Any] | None
210446
210446
  :param args: Arguments that will be passed to the callback.
210447
- :type args: tuple[typing.Any, int] | None
210447
+ :type args: tuple[typing.Any, ...] | None
210448
210448
  :param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
210449
210449
  :type region_type: str | None
210450
210450
  :param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
@@ -210634,8 +210634,8 @@ class SpaceNodeEditor(Space, bpy_struct):
210634
210634
  @classmethod
210635
210635
  def draw_handler_add(
210636
210636
  cls,
210637
- callback: collections.abc.Callable[[typing.Any, int], typing.Any] | None,
210638
- args: tuple[typing.Any, int] | None,
210637
+ callback: collections.abc.Callable[[typing.Any, ...], typing.Any] | None,
210638
+ args: tuple[typing.Any, ...] | None,
210639
210639
  region_type: str | None,
210640
210640
  draw_type: str | None,
210641
210641
  ) -> typing.Any:
@@ -210645,9 +210645,9 @@ class SpaceNodeEditor(Space, bpy_struct):
210645
210645
 
210646
210646
  :param callback: A function that will be called when the region is drawn.
210647
210647
  It gets the specified arguments as input, it's return value is ignored.
210648
- :type callback: collections.abc.Callable[[typing.Any, int], typing.Any] | None
210648
+ :type callback: collections.abc.Callable[[typing.Any, ...], typing.Any] | None
210649
210649
  :param args: Arguments that will be passed to the callback.
210650
- :type args: tuple[typing.Any, int] | None
210650
+ :type args: tuple[typing.Any, ...] | None
210651
210651
  :param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
210652
210652
  :type region_type: str | None
210653
210653
  :param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
@@ -210967,8 +210967,8 @@ class SpaceOutliner(Space, bpy_struct):
210967
210967
  @classmethod
210968
210968
  def draw_handler_add(
210969
210969
  cls,
210970
- callback: collections.abc.Callable[[typing.Any, int], typing.Any] | None,
210971
- args: tuple[typing.Any, int] | None,
210970
+ callback: collections.abc.Callable[[typing.Any, ...], typing.Any] | None,
210971
+ args: tuple[typing.Any, ...] | None,
210972
210972
  region_type: str | None,
210973
210973
  draw_type: str | None,
210974
210974
  ) -> typing.Any:
@@ -210978,9 +210978,9 @@ class SpaceOutliner(Space, bpy_struct):
210978
210978
 
210979
210979
  :param callback: A function that will be called when the region is drawn.
210980
210980
  It gets the specified arguments as input, it's return value is ignored.
210981
- :type callback: collections.abc.Callable[[typing.Any, int], typing.Any] | None
210981
+ :type callback: collections.abc.Callable[[typing.Any, ...], typing.Any] | None
210982
210982
  :param args: Arguments that will be passed to the callback.
210983
- :type args: tuple[typing.Any, int] | None
210983
+ :type args: tuple[typing.Any, ...] | None
210984
210984
  :param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
210985
210985
  :type region_type: str | None
210986
210986
  :param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
@@ -211039,8 +211039,8 @@ class SpacePreferences(Space, bpy_struct):
211039
211039
  @classmethod
211040
211040
  def draw_handler_add(
211041
211041
  cls,
211042
- callback: collections.abc.Callable[[typing.Any, int], typing.Any] | None,
211043
- args: tuple[typing.Any, int] | None,
211042
+ callback: collections.abc.Callable[[typing.Any, ...], typing.Any] | None,
211043
+ args: tuple[typing.Any, ...] | None,
211044
211044
  region_type: str | None,
211045
211045
  draw_type: str | None,
211046
211046
  ) -> typing.Any:
@@ -211050,9 +211050,9 @@ class SpacePreferences(Space, bpy_struct):
211050
211050
 
211051
211051
  :param callback: A function that will be called when the region is drawn.
211052
211052
  It gets the specified arguments as input, it's return value is ignored.
211053
- :type callback: collections.abc.Callable[[typing.Any, int], typing.Any] | None
211053
+ :type callback: collections.abc.Callable[[typing.Any, ...], typing.Any] | None
211054
211054
  :param args: Arguments that will be passed to the callback.
211055
- :type args: tuple[typing.Any, int] | None
211055
+ :type args: tuple[typing.Any, ...] | None
211056
211056
  :param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
211057
211057
  :type region_type: str | None
211058
211058
  :param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
@@ -211154,8 +211154,8 @@ class SpaceProperties(Space, bpy_struct):
211154
211154
  @classmethod
211155
211155
  def draw_handler_add(
211156
211156
  cls,
211157
- callback: collections.abc.Callable[[typing.Any, int], typing.Any] | None,
211158
- args: tuple[typing.Any, int] | None,
211157
+ callback: collections.abc.Callable[[typing.Any, ...], typing.Any] | None,
211158
+ args: tuple[typing.Any, ...] | None,
211159
211159
  region_type: str | None,
211160
211160
  draw_type: str | None,
211161
211161
  ) -> typing.Any:
@@ -211165,9 +211165,9 @@ class SpaceProperties(Space, bpy_struct):
211165
211165
 
211166
211166
  :param callback: A function that will be called when the region is drawn.
211167
211167
  It gets the specified arguments as input, it's return value is ignored.
211168
- :type callback: collections.abc.Callable[[typing.Any, int], typing.Any] | None
211168
+ :type callback: collections.abc.Callable[[typing.Any, ...], typing.Any] | None
211169
211169
  :param args: Arguments that will be passed to the callback.
211170
- :type args: tuple[typing.Any, int] | None
211170
+ :type args: tuple[typing.Any, ...] | None
211171
211171
  :param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
211172
211172
  :type region_type: str | None
211173
211173
  :param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
@@ -211410,8 +211410,8 @@ class SpaceSequenceEditor(Space, bpy_struct):
211410
211410
  @classmethod
211411
211411
  def draw_handler_add(
211412
211412
  cls,
211413
- callback: collections.abc.Callable[[typing.Any, int], typing.Any] | None,
211414
- args: tuple[typing.Any, int] | None,
211413
+ callback: collections.abc.Callable[[typing.Any, ...], typing.Any] | None,
211414
+ args: tuple[typing.Any, ...] | None,
211415
211415
  region_type: str | None,
211416
211416
  draw_type: str | None,
211417
211417
  ) -> typing.Any:
@@ -211421,9 +211421,9 @@ class SpaceSequenceEditor(Space, bpy_struct):
211421
211421
 
211422
211422
  :param callback: A function that will be called when the region is drawn.
211423
211423
  It gets the specified arguments as input, it's return value is ignored.
211424
- :type callback: collections.abc.Callable[[typing.Any, int], typing.Any] | None
211424
+ :type callback: collections.abc.Callable[[typing.Any, ...], typing.Any] | None
211425
211425
  :param args: Arguments that will be passed to the callback.
211426
- :type args: tuple[typing.Any, int] | None
211426
+ :type args: tuple[typing.Any, ...] | None
211427
211427
  :param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
211428
211428
  :type region_type: str | None
211429
211429
  :param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
@@ -211554,8 +211554,8 @@ class SpaceSpreadsheet(Space, bpy_struct):
211554
211554
  @classmethod
211555
211555
  def draw_handler_add(
211556
211556
  cls,
211557
- callback: collections.abc.Callable[[typing.Any, int], typing.Any] | None,
211558
- args: tuple[typing.Any, int] | None,
211557
+ callback: collections.abc.Callable[[typing.Any, ...], typing.Any] | None,
211558
+ args: tuple[typing.Any, ...] | None,
211559
211559
  region_type: str | None,
211560
211560
  draw_type: str | None,
211561
211561
  ) -> typing.Any:
@@ -211565,9 +211565,9 @@ class SpaceSpreadsheet(Space, bpy_struct):
211565
211565
 
211566
211566
  :param callback: A function that will be called when the region is drawn.
211567
211567
  It gets the specified arguments as input, it's return value is ignored.
211568
- :type callback: collections.abc.Callable[[typing.Any, int], typing.Any] | None
211568
+ :type callback: collections.abc.Callable[[typing.Any, ...], typing.Any] | None
211569
211569
  :param args: Arguments that will be passed to the callback.
211570
- :type args: tuple[typing.Any, int] | None
211570
+ :type args: tuple[typing.Any, ...] | None
211571
211571
  :param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
211572
211572
  :type region_type: str | None
211573
211573
  :param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
@@ -211754,8 +211754,8 @@ class SpaceTextEditor(Space, bpy_struct):
211754
211754
  @classmethod
211755
211755
  def draw_handler_add(
211756
211756
  cls,
211757
- callback: collections.abc.Callable[[typing.Any, int], typing.Any] | None,
211758
- args: tuple[typing.Any, int] | None,
211757
+ callback: collections.abc.Callable[[typing.Any, ...], typing.Any] | None,
211758
+ args: tuple[typing.Any, ...] | None,
211759
211759
  region_type: str | None,
211760
211760
  draw_type: str | None,
211761
211761
  ) -> typing.Any:
@@ -211765,9 +211765,9 @@ class SpaceTextEditor(Space, bpy_struct):
211765
211765
 
211766
211766
  :param callback: A function that will be called when the region is drawn.
211767
211767
  It gets the specified arguments as input, it's return value is ignored.
211768
- :type callback: collections.abc.Callable[[typing.Any, int], typing.Any] | None
211768
+ :type callback: collections.abc.Callable[[typing.Any, ...], typing.Any] | None
211769
211769
  :param args: Arguments that will be passed to the callback.
211770
- :type args: tuple[typing.Any, int] | None
211770
+ :type args: tuple[typing.Any, ...] | None
211771
211771
  :param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
211772
211772
  :type region_type: str | None
211773
211773
  :param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
@@ -212459,8 +212459,8 @@ class SpaceView3D(Space, bpy_struct):
212459
212459
  @classmethod
212460
212460
  def draw_handler_add(
212461
212461
  cls,
212462
- callback: collections.abc.Callable[[typing.Any, int], typing.Any] | None,
212463
- args: tuple[typing.Any, int] | None,
212462
+ callback: collections.abc.Callable[[typing.Any, ...], typing.Any] | None,
212463
+ args: tuple[typing.Any, ...] | None,
212464
212464
  region_type: str | None,
212465
212465
  draw_type: str | None,
212466
212466
  ) -> typing.Any:
@@ -212470,9 +212470,9 @@ class SpaceView3D(Space, bpy_struct):
212470
212470
 
212471
212471
  :param callback: A function that will be called when the region is drawn.
212472
212472
  It gets the specified arguments as input, it's return value is ignored.
212473
- :type callback: collections.abc.Callable[[typing.Any, int], typing.Any] | None
212473
+ :type callback: collections.abc.Callable[[typing.Any, ...], typing.Any] | None
212474
212474
  :param args: Arguments that will be passed to the callback.
212475
- :type args: tuple[typing.Any, int] | None
212475
+ :type args: tuple[typing.Any, ...] | None
212476
212476
  :param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
212477
212477
  :type region_type: str | None
212478
212478
  :param draw_type: Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.
@@ -230598,10 +230598,10 @@ class WindowManager(ID, bpy_struct):
230598
230598
  def draw_cursor_add(
230599
230599
  cls,
230600
230600
  callback: collections.abc.Callable[
230601
- [typing.Any, int, tuple[int, int]], typing.Any
230601
+ [typing.Any, ..., tuple[int, int]], typing.Any
230602
230602
  ]
230603
230603
  | None,
230604
- args: tuple[typing.Any, int] | None,
230604
+ args: tuple[typing.Any, ...] | None,
230605
230605
  space_type: str | None,
230606
230606
  region_type: str | None,
230607
230607
  ) -> typing.Any:
@@ -230611,9 +230611,9 @@ class WindowManager(ID, bpy_struct):
230611
230611
 
230612
230612
  :param callback: A function that will be called when the cursor is drawn.
230613
230613
  It gets the specified arguments as input with the mouse position (tuple) as last argument.
230614
- :type callback: collections.abc.Callable[[typing.Any, int, tuple[int, int]], typing.Any] | None
230614
+ :type callback: collections.abc.Callable[[typing.Any, ..., tuple[int, int]], typing.Any] | None
230615
230615
  :param args: Arguments that will be passed to the callback.
230616
- :type args: tuple[typing.Any, int] | None
230616
+ :type args: tuple[typing.Any, ...] | None
230617
230617
  :param space_type: The space type the callback draws in; for example VIEW_3D. (`bpy.types.Space.type`)
230618
230618
  :type space_type: str | None
230619
230619
  :param region_type: The region type the callback draws in; usually WINDOW. (`bpy.types.Region.type`)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fake-bpy-module
3
- Version: 20250102
3
+ Version: 20250104
4
4
  Summary: Collection of the fake Blender Python API module for the code completion.
5
5
  Author: nutti
6
6
  Author-email: nutti.metro@gmail.com
@@ -185,9 +185,9 @@ blf/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
185
185
  bmesh/__init__.pyi,sha256=6QP0wBMiFIY5MtM1Yuw4Qj2ZPtEZHFUdAf1ay4z-SQE,1500
186
186
  bmesh/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
187
187
  bmesh/geometry/__init__.pyi,sha256=fgGEevkhB2IEtja2X5rm6OQU5EoDfkPaqiKeNGfWZ6c,656
188
- bmesh/ops/__init__.pyi,sha256=7W-Tv_SgkgEMa90SsRfRzBzNG2Wt1EU622YpkDYJthc,74701
188
+ bmesh/ops/__init__.pyi,sha256=DMiZji_B_pnY7y_hrTysJAkYhSrfEz9jnAqIuO16mBc,74702
189
189
  bmesh/types/__init__.pyi,sha256=1KUSIGZDOD-fC_iPMVljAL2QYyYHpsCzWbgnsJJyT8A,43472
190
- bmesh/utils/__init__.pyi,sha256=dxZKrKK89WTo7uvlIZd2JUtAUJWqDXRtHMaLLojlY9A,6235
190
+ bmesh/utils/__init__.pyi,sha256=XNhFTqYQPL7ZUvljUTQkN0X_3YCS_RyrOgEzqrQZiDg,6235
191
191
  bpy/__init__.pyi,sha256=aaYss17B3fH0ejnN9bMctoFfT8ptLuJWq4Kjgm2Gm9Y,495
192
192
  bpy/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
193
193
  bpy/app/__init__.pyi,sha256=gQJdiazscopU-G66fjv1pOLRZykYpJ-6L0aIAYBvzKA,8205
@@ -270,12 +270,12 @@ bpy/ops/uilist/__init__.pyi,sha256=1Vu7qHRYL-MOM5kdcHJLmJwucvveh10t1wbmL_98GEM,1
270
270
  bpy/ops/uv/__init__.pyi,sha256=e6ilriSD-iJymqq1PjEw-DWy218-OeCTTeAiJm4NfGc,45187
271
271
  bpy/ops/view2d/__init__.pyi,sha256=bw6xoLUDUWQGk36g4T8THDWpNSH_VX8Pyg_mlGB9Dik,6986
272
272
  bpy/ops/view3d/__init__.pyi,sha256=MGiNsaGKtQPLFiSQgEdKlULq2a0Rp6W3vGTub0Hb3p4,30689
273
- bpy/ops/wm/__init__.pyi,sha256=hKfEGg5ZP1ydNAkhidsg-KN0yT_p28pgR_g2Vns_bq4,214261
273
+ bpy/ops/wm/__init__.pyi,sha256=7u4gDHRotDpsFjWyimS-8PEZmebPepjI0Mj4qiDk-W4,215760
274
274
  bpy/ops/workspace/__init__.pyi,sha256=BHvDV5CcVBnuKaL8akhm-Es7VcGUjf3jGFTbfx5YHCU,1983
275
275
  bpy/ops/world/__init__.pyi,sha256=pBV8EDA8HoWovDSul6mxkF7Mt6N3PQWuukRhkw3dBr8,601
276
276
  bpy/path/__init__.pyi,sha256=emlV7ocbsOuOSMzxJXr6ldKRk2-_K0DWlKc3Ylt5dsU,5484
277
- bpy/props/__init__.pyi,sha256=XCW9PAdsJ0eCqKV9IMd7KY-WJBXNuN902exwwL7nNtE,34382
278
- bpy/types/__init__.pyi,sha256=VT2ULajsB_5Y69Xn-g7FlPNoT8-6enwISqxFl1gN620,5409745
277
+ bpy/props/__init__.pyi,sha256=hHBLsZzldT2B5zmWZroZzoT5cyHruSaTaBR1oAyIfZc,34582
278
+ bpy/types/__init__.pyi,sha256=N-SPQnADVELgaoIXnXayKrkqg4W0qIWe3Uupln27Pww,5409745
279
279
  bpy/typing/__init__.pyi,sha256=u2XKjd6ZB1Wjt7JwabxexZdswEZLYR2jQpxzzp6AThg,138679
280
280
  bpy/utils/__init__.pyi,sha256=Shl-q0XiWluRIHc6l_YMuVwFrz3vOJ0hnlgjVp1OirY,13711
281
281
  bpy/utils/previews/__init__.pyi,sha256=AsbDN4vRLbSTZ7_S_4LqmI1sJmV_8NnqDt1QfBdH94Y,2280
@@ -311,7 +311,7 @@ freestyle/functions/__init__.pyi,sha256=sEPnGHwZm8XBlfE7CKLros3CKJlAh1h1FI74nBTE
311
311
  freestyle/predicates/__init__.pyi,sha256=TI-9arpIRbq7ePsxHS-d-4iIj54uHMp-ZyGhPVODMPg,13461
312
312
  freestyle/shaders/__init__.pyi,sha256=1Ov48B4P7LV3dwjBqHqqqbPFRBZWjENqIDaFb97Qdj0,23835
313
313
  freestyle/types/__init__.pyi,sha256=BsZjLTN4AobRDBHcT_yh-VC7lo7mDvJPclsVl-fK5FM,100093
314
- freestyle/utils/__init__.pyi,sha256=lW5JWrilkFTvRmtYoS3hbmWfj2abo2hHsvp4eyGLbcQ,5108
314
+ freestyle/utils/__init__.pyi,sha256=DdX3Qj2yTIu8jXdOAnf_9yKhJ5AQFnS_zVvSAdTfBpU,5108
315
315
  freestyle/utils/ContextFunctions/__init__.pyi,sha256=fPDfiBEjpoqXQhBhmHJ6WxG9oLMItwQ32MxKQz_c9_I,3445
316
316
  gpu/__init__.pyi,sha256=Q-AbyJO85pPYcwXNWtvgAhFGGJ6OnnHrlsXQxur9jhs,7999
317
317
  gpu/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -322,7 +322,7 @@ gpu/select/__init__.pyi,sha256=piRQyAtE8YnDjLSqF8S_SSttxzZTickDlbHRONYYdV8,207
322
322
  gpu/shader/__init__.pyi,sha256=JsSm0Zagw7GAVxeaLK4cUAa1oyjSckfNwpweWfepUQg,2138
323
323
  gpu/state/__init__.pyi,sha256=AimAU8NQNaZqYSgKtg7aMS76dzxNuK7m1vTA2ZwMnCQ,4310
324
324
  gpu/texture/__init__.pyi,sha256=NWixhD9M2vFrAIWlQDM0Co-CNRiU7BbL7imkSOloHHI,641
325
- gpu/types/__init__.pyi,sha256=YP9_rEYD3QKsEAm23qlbvFrZzypTn86XT8Qf65N9pbw,27923
325
+ gpu/types/__init__.pyi,sha256=Q8Gym2MsHoDFLW7snVIfPMUGCQns-XA2URYfeOV3nnk,27923
326
326
  gpu_extras/__init__.pyi,sha256=oNgtMNheClZ_iCmKSH63hBJ4U0huayOWKil-qPvYHds,213
327
327
  gpu_extras/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
328
328
  gpu_extras/batch/__init__.pyi,sha256=t-kFLEyZ0OABqt8VbtSwvo60S7vw15Tq5HRea-G3odE,1278
@@ -339,10 +339,10 @@ keyingsets_builtins/__init__.pyi,sha256=FmSnRj8eAiQ_O-X_-kAHM_a8rCv_HZBrjXLXDRss
339
339
  keyingsets_builtins/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
340
340
  keyingsets_utils/__init__.pyi,sha256=UpGuAqOVl6bmy3rffJhqFS8ZKhUtAV-MfVyuuHtqXQI,770
341
341
  keyingsets_utils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
342
- mathutils/__init__.pyi,sha256=ISsSCElrC_d8RQyErtGB00lCpUWV0EdXP5DCpELTjn0,89139
342
+ mathutils/__init__.pyi,sha256=2wLZ7iMLvXeB3Jk1cWKqU0WeJwcv6SZiTFZETAdfu-Y,89139
343
343
  mathutils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
344
344
  mathutils/bvhtree/__init__.pyi,sha256=UtzuOlaUjgPwVQZnDiZhPrzgrFmgpyVY7z9WqoZzNsI,4933
345
- mathutils/geometry/__init__.pyi,sha256=hlZ8PzbCxTbzG_0PE6CAbeRKtDBIFTMgO5WRi4xo8sQ,23278
345
+ mathutils/geometry/__init__.pyi,sha256=q6y5a8T54ZNoIlqkfjx2nZ8iF7G-uHfeFrN7SJqrapc,23278
346
346
  mathutils/interpolate/__init__.pyi,sha256=3MaN3gfetfW_J0ZGye7U9Ae-O5cT7Ok2nyRWjy6HuV4,535
347
347
  mathutils/kdtree/__init__.pyi,sha256=R7efrHFwgdpF3LKlQzW25s-GxVCECQgTuXOwSGoKJTk,2247
348
348
  mathutils/noise/__init__.pyi,sha256=nDUTZpaghLXZwQG_8sVJnR-vdPeN7qk0p343sAsovgI,12725
@@ -358,7 +358,7 @@ rna_prop_ui/__init__.pyi,sha256=lShhkbbeJ_ANi2dy4J4HIkyp1HZrMqCfhcf8QpAQsj0,1281
358
358
  rna_prop_ui/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
359
359
  rna_xml/__init__.pyi,sha256=idYsAZj-_egBKMA2pQl2P9IoNhZxXIkBSALFuq-ylO8,577
360
360
  rna_xml/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
361
- fake_bpy_module-20250102.dist-info/METADATA,sha256=1fKA05mKKHNVXBaqpRbAweLQqSG-czloMO-cNkbD0y0,7289
362
- fake_bpy_module-20250102.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
363
- fake_bpy_module-20250102.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
364
- fake_bpy_module-20250102.dist-info/RECORD,,
361
+ fake_bpy_module-20250104.dist-info/METADATA,sha256=ByjyqfihwRYzg-aBQwdhknd6bp849bGfe4Y2o0QNcNU,7289
362
+ fake_bpy_module-20250104.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
363
+ fake_bpy_module-20250104.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
364
+ fake_bpy_module-20250104.dist-info/RECORD,,
@@ -124,7 +124,7 @@ def material_from_fedge(fe):
124
124
  """get the diffuse RGBA color from an FEdge"""
125
125
 
126
126
  def normal_at_I0D(it): ...
127
- def pairwise(iterable, types={Stroke, StrokeVertexIterator}):
127
+ def pairwise(iterable, types={StrokeVertexIterator, Stroke}):
128
128
  """Yields a tuple containing the previous and current object"""
129
129
 
130
130
  def rgb_to_bw(r, g, b):
gpu/types/__init__.pyi CHANGED
@@ -276,11 +276,11 @@ class GPUShader:
276
276
  :rtype: int
277
277
  """
278
278
 
279
- def attrs_info_get(self) -> tuple[tuple[str, str | None], int]:
279
+ def attrs_info_get(self) -> tuple[tuple[str, str | None], ...]:
280
280
  """Information about the attributes used in the Shader.
281
281
 
282
282
  :return: tuples containing information about the attributes in order (name, type)
283
- :rtype: tuple[tuple[str, str | None], int]
283
+ :rtype: tuple[tuple[str, str | None], ...]
284
284
  """
285
285
 
286
286
  def bind(self):
mathutils/__init__.pyi CHANGED
@@ -3890,13 +3890,13 @@ class Vector:
3890
3890
  :rtype: Quaternion
3891
3891
  """
3892
3892
 
3893
- def to_tuple(self, precision: int = -1) -> tuple[float, int]:
3893
+ def to_tuple(self, precision: int = -1) -> tuple[float, ...]:
3894
3894
  """Return this vector as a tuple with.
3895
3895
 
3896
3896
  :param precision: The number to round the value to in [-1, 21].
3897
3897
  :type precision: int
3898
3898
  :return: the values of the vector rounded by precision
3899
- :rtype: tuple[float, int]
3899
+ :rtype: tuple[float, ...]
3900
3900
  """
3901
3901
 
3902
3902
  def zero(self):
@@ -65,12 +65,12 @@ def box_fit_2d(
65
65
  """
66
66
 
67
67
  def box_pack_2d(
68
- boxes: list[list[float, float, float, float, int]],
68
+ boxes: list[list[float, float, float, float, ...]],
69
69
  ) -> tuple[float, float]:
70
70
  """Returns a tuple with the width and height of the packed bounding box.
71
71
 
72
72
  :param boxes: list of boxes, each box is a list where the first 4 items are [X, Y, width, height, ...] other items are ignored. The X & Y values in this list are modified to set the packed positions.
73
- :type boxes: list[list[float, float, float, float, int]]
73
+ :type boxes: list[list[float, float, float, float, ...]]
74
74
  :return: The width and height of the packed bounding box.
75
75
  :rtype: tuple[float, float]
76
76
  """