fake-bpy-module 20250913__py3-none-any.whl → 20250915__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.
- bl_ui/generic_ui_list/__init__.pyi +2 -2
- bmesh/types/__init__.pyi +7 -6
- bpy/props/__init__.pyi +67 -70
- {fake_bpy_module-20250913.dist-info → fake_bpy_module-20250915.dist-info}/METADATA +1 -1
- {fake_bpy_module-20250913.dist-info → fake_bpy_module-20250915.dist-info}/RECORD +8 -8
- mathutils/bvhtree/__init__.pyi +3 -2
- {fake_bpy_module-20250913.dist-info → fake_bpy_module-20250915.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20250913.dist-info → fake_bpy_module-20250915.dist-info}/top_level.txt +0 -0
|
@@ -120,7 +120,7 @@ class UILIST_OT_entry_remove(GenericUIListOperator, _bpy_types.Operator):
|
|
|
120
120
|
|
|
121
121
|
def draw_ui_list(
|
|
122
122
|
layout: bpy.types.UILayout,
|
|
123
|
-
context:
|
|
123
|
+
context: _bpy_types.Context,
|
|
124
124
|
class_name: str = "UI_UL_list",
|
|
125
125
|
*,
|
|
126
126
|
unique_id: str,
|
|
@@ -136,7 +136,7 @@ def draw_ui_list(
|
|
|
136
136
|
:param layout: UILayout to draw the list in.
|
|
137
137
|
:type layout: bpy.types.UILayout
|
|
138
138
|
:param context: Blender context to get the list data from.
|
|
139
|
-
:type context:
|
|
139
|
+
:type context: _bpy_types.Context
|
|
140
140
|
:param class_name: Name of the UIList class to draw. The default is the UIList class that ships with Blender.
|
|
141
141
|
:type class_name: str
|
|
142
142
|
:param unique_id: Unique identifier to differentiate this from other UI lists.
|
bmesh/types/__init__.pyi
CHANGED
|
@@ -23,6 +23,7 @@ import typing
|
|
|
23
23
|
import collections.abc
|
|
24
24
|
import typing_extensions
|
|
25
25
|
import numpy.typing as npt
|
|
26
|
+
import _bpy_types
|
|
26
27
|
import bpy.types
|
|
27
28
|
import mathutils
|
|
28
29
|
|
|
@@ -1615,7 +1616,7 @@ class BMesh:
|
|
|
1615
1616
|
|
|
1616
1617
|
def from_mesh(
|
|
1617
1618
|
self,
|
|
1618
|
-
mesh:
|
|
1619
|
+
mesh: _bpy_types.Mesh,
|
|
1619
1620
|
*,
|
|
1620
1621
|
face_normals: bool = True,
|
|
1621
1622
|
vertex_normals: bool = True,
|
|
@@ -1625,7 +1626,7 @@ class BMesh:
|
|
|
1625
1626
|
"""Initialize this bmesh from existing mesh data-block.
|
|
1626
1627
|
|
|
1627
1628
|
:param mesh: The mesh data to load.
|
|
1628
|
-
:type mesh:
|
|
1629
|
+
:type mesh: _bpy_types.Mesh
|
|
1629
1630
|
:param face_normals:
|
|
1630
1631
|
:type face_normals: bool
|
|
1631
1632
|
:param vertex_normals:
|
|
@@ -1638,7 +1639,7 @@ class BMesh:
|
|
|
1638
1639
|
|
|
1639
1640
|
def from_object(
|
|
1640
1641
|
self,
|
|
1641
|
-
object:
|
|
1642
|
+
object: _bpy_types.Object,
|
|
1642
1643
|
depsgraph: bpy.types.Depsgraph,
|
|
1643
1644
|
*,
|
|
1644
1645
|
cage: bool = False,
|
|
@@ -1648,7 +1649,7 @@ class BMesh:
|
|
|
1648
1649
|
"""Initialize this bmesh from existing object data-block (only meshes are currently supported).
|
|
1649
1650
|
|
|
1650
1651
|
:param object: The object data to load.
|
|
1651
|
-
:type object:
|
|
1652
|
+
:type object: _bpy_types.Object
|
|
1652
1653
|
:param depsgraph:
|
|
1653
1654
|
:type depsgraph: bpy.types.Depsgraph
|
|
1654
1655
|
:param cage: Get the mesh as a deformed cage.
|
|
@@ -1672,11 +1673,11 @@ class BMesh:
|
|
|
1672
1673
|
def select_flush_mode(self) -> None:
|
|
1673
1674
|
"""flush selection based on the current mode current `BMesh.select_mode`."""
|
|
1674
1675
|
|
|
1675
|
-
def to_mesh(self, mesh:
|
|
1676
|
+
def to_mesh(self, mesh: _bpy_types.Mesh) -> None:
|
|
1676
1677
|
"""Writes this BMesh data into an existing Mesh data-block.
|
|
1677
1678
|
|
|
1678
1679
|
:param mesh: The mesh data to write into.
|
|
1679
|
-
:type mesh:
|
|
1680
|
+
:type mesh: _bpy_types.Mesh
|
|
1680
1681
|
"""
|
|
1681
1682
|
|
|
1682
1683
|
def transform(
|
bpy/props/__init__.pyi
CHANGED
|
@@ -155,7 +155,7 @@ import numpy.typing as npt
|
|
|
155
155
|
import bpy.stub_internal.rna_enums
|
|
156
156
|
import bpy.types
|
|
157
157
|
|
|
158
|
-
def BoolProperty(
|
|
158
|
+
def BoolProperty[_GenericType1: bpy.types.bpy_struct](
|
|
159
159
|
*,
|
|
160
160
|
name: str | None = "",
|
|
161
161
|
description: str | None = "",
|
|
@@ -165,10 +165,10 @@ def BoolProperty(
|
|
|
165
165
|
override: set[bpy.stub_internal.rna_enums.PropertyOverrideFlagItems] = set(),
|
|
166
166
|
tags=set(),
|
|
167
167
|
subtype: bpy.stub_internal.rna_enums.PropertySubtypeNumberItems = "NONE",
|
|
168
|
-
update: collections.abc.Callable[[
|
|
168
|
+
update: collections.abc.Callable[[_GenericType1, bpy.types.Context], None]
|
|
169
169
|
| None = None,
|
|
170
|
-
get: collections.abc.Callable[[
|
|
171
|
-
set: collections.abc.Callable[[
|
|
170
|
+
get: collections.abc.Callable[[_GenericType1], bool] | None = None,
|
|
171
|
+
set: collections.abc.Callable[[_GenericType1, bool], None] | None = None,
|
|
172
172
|
get_transform: collections.abc.Callable[[bpy.types.bpy_struct, bool, bool], bool]
|
|
173
173
|
| None = None,
|
|
174
174
|
set_transform: collections.abc.Callable[
|
|
@@ -194,19 +194,19 @@ def BoolProperty(
|
|
|
194
194
|
:param update: Function to be called when this value is modified,
|
|
195
195
|
This function must take 2 values (self, context) and return None.
|
|
196
196
|
Warning there are no safety checks to avoid infinite recursion.
|
|
197
|
-
:type update: collections.abc.Callable[[
|
|
197
|
+
:type update: collections.abc.Callable[[_GenericType1, bpy.types.Context], None] | None
|
|
198
198
|
:param get: Function to be called when this value is read, and the default,
|
|
199
199
|
system-defined storage is not used for this property.
|
|
200
200
|
This function must take 1 value (self) and return the value of the property.
|
|
201
201
|
|
|
202
202
|
Defining this callback without a matching set one will make the property read-only (even if READ_ONLY option is not set).
|
|
203
|
-
:type get: collections.abc.Callable[[
|
|
203
|
+
:type get: collections.abc.Callable[[_GenericType1], bool] | None
|
|
204
204
|
:param set: Function to be called when this value is written, and the default,
|
|
205
205
|
system-defined storage is not used for this property.
|
|
206
206
|
This function must take 2 values (self, value) and return None.
|
|
207
207
|
|
|
208
208
|
Defining this callback without a matching get one is invalid.
|
|
209
|
-
:type set: collections.abc.Callable[[
|
|
209
|
+
:type set: collections.abc.Callable[[_GenericType1, bool], None] | None
|
|
210
210
|
:param get_transform: Function to be called when this value is read,
|
|
211
211
|
if some additional processing must be performed on the stored value.
|
|
212
212
|
This function must take three arguments (self, the stored value,
|
|
@@ -226,7 +226,7 @@ def BoolProperty(
|
|
|
226
226
|
:type set_transform: collections.abc.Callable[[bpy.types.bpy_struct, bool, bool, bool], bool] | None
|
|
227
227
|
"""
|
|
228
228
|
|
|
229
|
-
def BoolVectorProperty(
|
|
229
|
+
def BoolVectorProperty[_GenericType1: bpy.types.bpy_struct](
|
|
230
230
|
*,
|
|
231
231
|
name: str | None = "",
|
|
232
232
|
description: str | None = "",
|
|
@@ -237,13 +237,11 @@ def BoolVectorProperty(
|
|
|
237
237
|
tags=set(),
|
|
238
238
|
subtype: bpy.stub_internal.rna_enums.PropertySubtypeNumberArrayItems = "NONE",
|
|
239
239
|
size: collections.abc.Sequence[int] | int | None = 3,
|
|
240
|
-
update: collections.abc.Callable[[
|
|
240
|
+
update: collections.abc.Callable[[_GenericType1, bpy.types.Context], None]
|
|
241
241
|
| None = None,
|
|
242
|
-
get: collections.abc.Callable[
|
|
243
|
-
[bpy.types.bpy_struct], collections.abc.Sequence[bool]
|
|
244
|
-
]
|
|
242
|
+
get: collections.abc.Callable[[_GenericType1], collections.abc.Sequence[bool]]
|
|
245
243
|
| None = None,
|
|
246
|
-
set: collections.abc.Callable[[
|
|
244
|
+
set: collections.abc.Callable[[_GenericType1, collections.abc.Sequence[bool]], None]
|
|
247
245
|
| None = None,
|
|
248
246
|
get_transform: collections.abc.Callable[
|
|
249
247
|
[bpy.types.bpy_struct, collections.abc.Sequence[bool], bool],
|
|
@@ -283,19 +281,19 @@ def BoolVectorProperty(
|
|
|
283
281
|
:param update: Function to be called when this value is modified,
|
|
284
282
|
This function must take 2 values (self, context) and return None.
|
|
285
283
|
Warning there are no safety checks to avoid infinite recursion.
|
|
286
|
-
:type update: collections.abc.Callable[[
|
|
284
|
+
:type update: collections.abc.Callable[[_GenericType1, bpy.types.Context], None] | None
|
|
287
285
|
:param get: Function to be called when this value is read, and the default,
|
|
288
286
|
system-defined storage is not used for this property.
|
|
289
287
|
This function must take 1 value (self) and return the value of the property.
|
|
290
288
|
|
|
291
289
|
Defining this callback without a matching set one will make the property read-only (even if READ_ONLY option is not set).
|
|
292
|
-
:type get: collections.abc.Callable[[
|
|
290
|
+
:type get: collections.abc.Callable[[_GenericType1], collections.abc.Sequence[bool]] | None
|
|
293
291
|
:param set: Function to be called when this value is written, and the default,
|
|
294
292
|
system-defined storage is not used for this property.
|
|
295
293
|
This function must take 2 values (self, value) and return None.
|
|
296
294
|
|
|
297
295
|
Defining this callback without a matching get one is invalid.
|
|
298
|
-
:type set: collections.abc.Callable[[
|
|
296
|
+
:type set: collections.abc.Callable[[_GenericType1, collections.abc.Sequence[bool]], None] | None
|
|
299
297
|
:param get_transform: Function to be called when this value is read,
|
|
300
298
|
if some additional processing must be performed on the stored value.
|
|
301
299
|
This function must take three arguments (self, the stored value,
|
|
@@ -344,7 +342,7 @@ def CollectionProperty(
|
|
|
344
342
|
:param tags: Enumerator of tags that are defined by parent class.
|
|
345
343
|
"""
|
|
346
344
|
|
|
347
|
-
def EnumProperty(
|
|
345
|
+
def EnumProperty[_GenericType1: bpy.types.bpy_struct](
|
|
348
346
|
*,
|
|
349
347
|
items: collections.abc.Iterable[
|
|
350
348
|
tuple[str, str, str]
|
|
@@ -353,7 +351,7 @@ def EnumProperty(
|
|
|
353
351
|
| None
|
|
354
352
|
]
|
|
355
353
|
| collections.abc.Callable[
|
|
356
|
-
[
|
|
354
|
+
[_GenericType1, bpy.types.Context | None],
|
|
357
355
|
collections.abc.Iterable[
|
|
358
356
|
tuple[str, str, str]
|
|
359
357
|
| tuple[str, str, str, int]
|
|
@@ -368,10 +366,10 @@ def EnumProperty(
|
|
|
368
366
|
options: set[bpy.stub_internal.rna_enums.PropertyFlagEnumItems] = {"ANIMATABLE"},
|
|
369
367
|
override: set[bpy.stub_internal.rna_enums.PropertyOverrideFlagItems] = set(),
|
|
370
368
|
tags=set(),
|
|
371
|
-
update: collections.abc.Callable[[
|
|
369
|
+
update: collections.abc.Callable[[_GenericType1, bpy.types.Context], None]
|
|
372
370
|
| None = None,
|
|
373
|
-
get: collections.abc.Callable[[
|
|
374
|
-
set: collections.abc.Callable[[
|
|
371
|
+
get: collections.abc.Callable[[_GenericType1], int] | None = None,
|
|
372
|
+
set: collections.abc.Callable[[_GenericType1, int], None] | None = None,
|
|
375
373
|
get_transform: collections.abc.Callable[[bpy.types.bpy_struct, int, bool], int]
|
|
376
374
|
| None = None,
|
|
377
375
|
set_transform: collections.abc.Callable[[bpy.types.bpy_struct, int, int, bool], int]
|
|
@@ -420,7 +418,7 @@ def EnumProperty(
|
|
|
420
418
|
There is a known bug with using a callback,
|
|
421
419
|
Python must keep a reference to the strings returned by the callback or Blender
|
|
422
420
|
will misbehave or even crash.
|
|
423
|
-
:type items: collections.abc.Iterable[tuple[str, str, str] | tuple[str, str, str, int] | tuple[str, str, str, str, int] | None] | collections.abc.Callable[[
|
|
421
|
+
:type items: collections.abc.Iterable[tuple[str, str, str] | tuple[str, str, str, int] | tuple[str, str, str, str, int] | None] | collections.abc.Callable[[_GenericType1, bpy.types.Context | None], collections.abc.Iterable[tuple[str, str, str] | tuple[str, str, str, int] | tuple[str, str, str, str, int] | None]]
|
|
424
422
|
:param name: Name used in the user interface.
|
|
425
423
|
:type name: str | None
|
|
426
424
|
:param description: Text used for the tooltip and api documentation.
|
|
@@ -440,19 +438,19 @@ def EnumProperty(
|
|
|
440
438
|
:param update: Function to be called when this value is modified,
|
|
441
439
|
This function must take 2 values (self, context) and return None.
|
|
442
440
|
Warning there are no safety checks to avoid infinite recursion.
|
|
443
|
-
:type update: collections.abc.Callable[[
|
|
441
|
+
:type update: collections.abc.Callable[[_GenericType1, bpy.types.Context], None] | None
|
|
444
442
|
:param get: Function to be called when this value is read, and the default,
|
|
445
443
|
system-defined storage is not used for this property.
|
|
446
444
|
This function must take 1 value (self) and return the value of the property.
|
|
447
445
|
|
|
448
446
|
Defining this callback without a matching set one will make the property read-only (even if READ_ONLY option is not set).
|
|
449
|
-
:type get: collections.abc.Callable[[
|
|
447
|
+
:type get: collections.abc.Callable[[_GenericType1], int] | None
|
|
450
448
|
:param set: Function to be called when this value is written, and the default,
|
|
451
449
|
system-defined storage is not used for this property.
|
|
452
450
|
This function must take 2 values (self, value) and return None.
|
|
453
451
|
|
|
454
452
|
Defining this callback without a matching get one is invalid.
|
|
455
|
-
:type set: collections.abc.Callable[[
|
|
453
|
+
:type set: collections.abc.Callable[[_GenericType1, int], None] | None
|
|
456
454
|
:param get_transform: Function to be called when this value is read,
|
|
457
455
|
if some additional processing must be performed on the stored value.
|
|
458
456
|
This function must take three arguments (self, the stored value,
|
|
@@ -472,7 +470,7 @@ def EnumProperty(
|
|
|
472
470
|
:type set_transform: collections.abc.Callable[[bpy.types.bpy_struct, int, int, bool], int] | None
|
|
473
471
|
"""
|
|
474
472
|
|
|
475
|
-
def FloatProperty(
|
|
473
|
+
def FloatProperty[_GenericType1: bpy.types.bpy_struct](
|
|
476
474
|
*,
|
|
477
475
|
name: str | None = "",
|
|
478
476
|
description: str | None = "",
|
|
@@ -489,10 +487,10 @@ def FloatProperty(
|
|
|
489
487
|
tags=set(),
|
|
490
488
|
subtype: bpy.stub_internal.rna_enums.PropertySubtypeNumberItems = "NONE",
|
|
491
489
|
unit: bpy.stub_internal.rna_enums.PropertyUnitItems = "NONE",
|
|
492
|
-
update: collections.abc.Callable[[
|
|
490
|
+
update: collections.abc.Callable[[_GenericType1, bpy.types.Context], None]
|
|
493
491
|
| None = None,
|
|
494
|
-
get: collections.abc.Callable[[
|
|
495
|
-
set: collections.abc.Callable[[
|
|
492
|
+
get: collections.abc.Callable[[_GenericType1], float] | None = None,
|
|
493
|
+
set: collections.abc.Callable[[_GenericType1, float], None] | None = None,
|
|
496
494
|
get_transform: collections.abc.Callable[[bpy.types.bpy_struct, float, bool], float]
|
|
497
495
|
| None = None,
|
|
498
496
|
set_transform: collections.abc.Callable[
|
|
@@ -532,19 +530,19 @@ def FloatProperty(
|
|
|
532
530
|
:param update: Function to be called when this value is modified,
|
|
533
531
|
This function must take 2 values (self, context) and return None.
|
|
534
532
|
Warning there are no safety checks to avoid infinite recursion.
|
|
535
|
-
:type update: collections.abc.Callable[[
|
|
533
|
+
:type update: collections.abc.Callable[[_GenericType1, bpy.types.Context], None] | None
|
|
536
534
|
:param get: Function to be called when this value is read, and the default,
|
|
537
535
|
system-defined storage is not used for this property.
|
|
538
536
|
This function must take 1 value (self) and return the value of the property.
|
|
539
537
|
|
|
540
538
|
Defining this callback without a matching set one will make the property read-only (even if READ_ONLY option is not set).
|
|
541
|
-
:type get: collections.abc.Callable[[
|
|
539
|
+
:type get: collections.abc.Callable[[_GenericType1], float] | None
|
|
542
540
|
:param set: Function to be called when this value is written, and the default,
|
|
543
541
|
system-defined storage is not used for this property.
|
|
544
542
|
This function must take 2 values (self, value) and return None.
|
|
545
543
|
|
|
546
544
|
Defining this callback without a matching get one is invalid.
|
|
547
|
-
:type set: collections.abc.Callable[[
|
|
545
|
+
:type set: collections.abc.Callable[[_GenericType1, float], None] | None
|
|
548
546
|
:param get_transform: Function to be called when this value is read,
|
|
549
547
|
if some additional processing must be performed on the stored value.
|
|
550
548
|
This function must take three arguments (self, the stored value,
|
|
@@ -564,7 +562,7 @@ def FloatProperty(
|
|
|
564
562
|
:type set_transform: collections.abc.Callable[[bpy.types.bpy_struct, float, float, bool], float] | None
|
|
565
563
|
"""
|
|
566
564
|
|
|
567
|
-
def FloatVectorProperty(
|
|
565
|
+
def FloatVectorProperty[_GenericType1: bpy.types.bpy_struct](
|
|
568
566
|
*,
|
|
569
567
|
name: str | None = "",
|
|
570
568
|
description: str | None = "",
|
|
@@ -582,13 +580,13 @@ def FloatVectorProperty(
|
|
|
582
580
|
subtype: bpy.stub_internal.rna_enums.PropertySubtypeNumberArrayItems = "NONE",
|
|
583
581
|
unit: bpy.stub_internal.rna_enums.PropertyUnitItems = "NONE",
|
|
584
582
|
size: collections.abc.Sequence[int] | int | None = 3,
|
|
585
|
-
update: collections.abc.Callable[[
|
|
583
|
+
update: collections.abc.Callable[[_GenericType1, bpy.types.Context], None]
|
|
586
584
|
| None = None,
|
|
587
|
-
get: collections.abc.Callable[
|
|
588
|
-
[bpy.types.bpy_struct], collections.abc.Sequence[float]
|
|
589
|
-
]
|
|
585
|
+
get: collections.abc.Callable[[_GenericType1], collections.abc.Sequence[float]]
|
|
590
586
|
| None = None,
|
|
591
|
-
set: collections.abc.Callable[
|
|
587
|
+
set: collections.abc.Callable[
|
|
588
|
+
[_GenericType1, collections.abc.Sequence[float]], None
|
|
589
|
+
]
|
|
592
590
|
| None = None,
|
|
593
591
|
) -> None:
|
|
594
592
|
"""Returns a new vector float property definition.
|
|
@@ -627,22 +625,22 @@ def FloatVectorProperty(
|
|
|
627
625
|
:param update: Function to be called when this value is modified,
|
|
628
626
|
This function must take 2 values (self, context) and return None.
|
|
629
627
|
Warning there are no safety checks to avoid infinite recursion.
|
|
630
|
-
:type update: collections.abc.Callable[[
|
|
628
|
+
:type update: collections.abc.Callable[[_GenericType1, bpy.types.Context], None] | None
|
|
631
629
|
:param get: Function to be called when this value is read, and the default,
|
|
632
630
|
system-defined storage is not used for this property.
|
|
633
631
|
This function must take 1 value (self) and return the value of the property.
|
|
634
632
|
|
|
635
633
|
Defining this callback without a matching set one will make the property read-only (even if READ_ONLY option is not set).
|
|
636
|
-
:type get: collections.abc.Callable[[
|
|
634
|
+
:type get: collections.abc.Callable[[_GenericType1], collections.abc.Sequence[float]] | None
|
|
637
635
|
:param set: Function to be called when this value is written, and the default,
|
|
638
636
|
system-defined storage is not used for this property.
|
|
639
637
|
This function must take 2 values (self, value) and return None.
|
|
640
638
|
|
|
641
639
|
Defining this callback without a matching get one is invalid.
|
|
642
|
-
:type set: collections.abc.Callable[[
|
|
640
|
+
:type set: collections.abc.Callable[[_GenericType1, collections.abc.Sequence[float]], None] | None
|
|
643
641
|
"""
|
|
644
642
|
|
|
645
|
-
def IntProperty(
|
|
643
|
+
def IntProperty[_GenericType1: bpy.types.bpy_struct](
|
|
646
644
|
*,
|
|
647
645
|
name: str | None = "",
|
|
648
646
|
description: str | None = "",
|
|
@@ -657,10 +655,10 @@ def IntProperty(
|
|
|
657
655
|
override: set[bpy.stub_internal.rna_enums.PropertyOverrideFlagItems] = set(),
|
|
658
656
|
tags=set(),
|
|
659
657
|
subtype: bpy.stub_internal.rna_enums.PropertySubtypeNumberItems = "NONE",
|
|
660
|
-
update: collections.abc.Callable[[
|
|
658
|
+
update: collections.abc.Callable[[_GenericType1, bpy.types.Context], None]
|
|
661
659
|
| None = None,
|
|
662
|
-
get: collections.abc.Callable[[
|
|
663
|
-
set: collections.abc.Callable[[
|
|
660
|
+
get: collections.abc.Callable[[_GenericType1], int] | None = None,
|
|
661
|
+
set: collections.abc.Callable[[_GenericType1, int], None] | None = None,
|
|
664
662
|
get_transform: collections.abc.Callable[[bpy.types.bpy_struct, int, bool], int]
|
|
665
663
|
| None = None,
|
|
666
664
|
set_transform: collections.abc.Callable[[bpy.types.bpy_struct, int, int, bool], int]
|
|
@@ -694,19 +692,19 @@ def IntProperty(
|
|
|
694
692
|
:param update: Function to be called when this value is modified,
|
|
695
693
|
This function must take 2 values (self, context) and return None.
|
|
696
694
|
Warning there are no safety checks to avoid infinite recursion.
|
|
697
|
-
:type update: collections.abc.Callable[[
|
|
695
|
+
:type update: collections.abc.Callable[[_GenericType1, bpy.types.Context], None] | None
|
|
698
696
|
:param get: Function to be called when this value is read, and the default,
|
|
699
697
|
system-defined storage is not used for this property.
|
|
700
698
|
This function must take 1 value (self) and return the value of the property.
|
|
701
699
|
|
|
702
700
|
Defining this callback without a matching set one will make the property read-only (even if READ_ONLY option is not set).
|
|
703
|
-
:type get: collections.abc.Callable[[
|
|
701
|
+
:type get: collections.abc.Callable[[_GenericType1], int] | None
|
|
704
702
|
:param set: Function to be called when this value is written, and the default,
|
|
705
703
|
system-defined storage is not used for this property.
|
|
706
704
|
This function must take 2 values (self, value) and return None.
|
|
707
705
|
|
|
708
706
|
Defining this callback without a matching get one is invalid.
|
|
709
|
-
:type set: collections.abc.Callable[[
|
|
707
|
+
:type set: collections.abc.Callable[[_GenericType1, int], None] | None
|
|
710
708
|
:param get_transform: Function to be called when this value is read,
|
|
711
709
|
if some additional processing must be performed on the stored value.
|
|
712
710
|
This function must take three arguments (self, the stored value,
|
|
@@ -726,7 +724,7 @@ def IntProperty(
|
|
|
726
724
|
:type set_transform: collections.abc.Callable[[bpy.types.bpy_struct, int, int, bool], int] | None
|
|
727
725
|
"""
|
|
728
726
|
|
|
729
|
-
def IntVectorProperty(
|
|
727
|
+
def IntVectorProperty[_GenericType1: bpy.types.bpy_struct](
|
|
730
728
|
*,
|
|
731
729
|
name: str | None = "",
|
|
732
730
|
description: str | None = "",
|
|
@@ -742,11 +740,11 @@ def IntVectorProperty(
|
|
|
742
740
|
tags=set(),
|
|
743
741
|
subtype: bpy.stub_internal.rna_enums.PropertySubtypeNumberArrayItems = "NONE",
|
|
744
742
|
size: collections.abc.Sequence[int] | int | None = 3,
|
|
745
|
-
update: collections.abc.Callable[[
|
|
743
|
+
update: collections.abc.Callable[[_GenericType1, bpy.types.Context], None]
|
|
746
744
|
| None = None,
|
|
747
|
-
get: collections.abc.Callable[[
|
|
745
|
+
get: collections.abc.Callable[[_GenericType1], collections.abc.Sequence[int]]
|
|
748
746
|
| None = None,
|
|
749
|
-
set: collections.abc.Callable[[
|
|
747
|
+
set: collections.abc.Callable[[_GenericType1, collections.abc.Sequence[int]], None]
|
|
750
748
|
| None = None,
|
|
751
749
|
get_transform: collections.abc.Callable[
|
|
752
750
|
[bpy.types.bpy_struct, collections.abc.Sequence[int], bool],
|
|
@@ -796,19 +794,19 @@ def IntVectorProperty(
|
|
|
796
794
|
:param update: Function to be called when this value is modified,
|
|
797
795
|
This function must take 2 values (self, context) and return None.
|
|
798
796
|
Warning there are no safety checks to avoid infinite recursion.
|
|
799
|
-
:type update: collections.abc.Callable[[
|
|
797
|
+
:type update: collections.abc.Callable[[_GenericType1, bpy.types.Context], None] | None
|
|
800
798
|
:param get: Function to be called when this value is read, and the default,
|
|
801
799
|
system-defined storage is not used for this property.
|
|
802
800
|
This function must take 1 value (self) and return the value of the property.
|
|
803
801
|
|
|
804
802
|
Defining this callback without a matching set one will make the property read-only (even if READ_ONLY option is not set).
|
|
805
|
-
:type get: collections.abc.Callable[[
|
|
803
|
+
:type get: collections.abc.Callable[[_GenericType1], collections.abc.Sequence[int]] | None
|
|
806
804
|
:param set: Function to be called when this value is written, and the default,
|
|
807
805
|
system-defined storage is not used for this property.
|
|
808
806
|
This function must take 2 values (self, value) and return None.
|
|
809
807
|
|
|
810
808
|
Defining this callback without a matching get one is invalid.
|
|
811
|
-
:type set: collections.abc.Callable[[
|
|
809
|
+
:type set: collections.abc.Callable[[_GenericType1, collections.abc.Sequence[int]], None] | None
|
|
812
810
|
:param get_transform: Function to be called when this value is read,
|
|
813
811
|
if some additional processing must be performed on the stored value.
|
|
814
812
|
This function must take three arguments (self, the stored value,
|
|
@@ -828,7 +826,7 @@ def IntVectorProperty(
|
|
|
828
826
|
:type set_transform: collections.abc.Callable[[bpy.types.bpy_struct, collections.abc.Sequence[int], collections.abc.Sequence[int], bool], collections.abc.Sequence[int]] | None
|
|
829
827
|
"""
|
|
830
828
|
|
|
831
|
-
def PointerProperty(
|
|
829
|
+
def PointerProperty[_GenericType1: bpy.types.bpy_struct, _GenericType2: bpy.types.ID](
|
|
832
830
|
*,
|
|
833
831
|
type: type[bpy.types.PropertyGroup | bpy.types.ID] | None,
|
|
834
832
|
name: str | None = "",
|
|
@@ -837,9 +835,8 @@ def PointerProperty(
|
|
|
837
835
|
options: set[bpy.stub_internal.rna_enums.PropertyFlagItems] = {"ANIMATABLE"},
|
|
838
836
|
override: set[bpy.stub_internal.rna_enums.PropertyOverrideFlagItems] = set(),
|
|
839
837
|
tags=set(),
|
|
840
|
-
poll: collections.abc.Callable[[
|
|
841
|
-
|
|
842
|
-
update: collections.abc.Callable[[bpy.types.bpy_struct, bpy.types.Context], None]
|
|
838
|
+
poll: collections.abc.Callable[[_GenericType1, _GenericType2], bool] | None = None,
|
|
839
|
+
update: collections.abc.Callable[[_GenericType1, bpy.types.Context], None]
|
|
843
840
|
| None = None,
|
|
844
841
|
) -> None:
|
|
845
842
|
"""Returns a new pointer property definition.
|
|
@@ -861,11 +858,11 @@ def PointerProperty(
|
|
|
861
858
|
The function must take 2 values (self, object) and return a boolean.
|
|
862
859
|
|
|
863
860
|
The return value will be checked only when assigning an item from the UI, but it is still possible to assign an "invalid" item to the property directly.
|
|
864
|
-
:type poll: collections.abc.Callable[[
|
|
861
|
+
:type poll: collections.abc.Callable[[_GenericType1, _GenericType2], bool] | None
|
|
865
862
|
:param update: Function to be called when this value is modified,
|
|
866
863
|
This function must take 2 values (self, context) and return None.
|
|
867
864
|
Warning there are no safety checks to avoid infinite recursion.
|
|
868
|
-
:type update: collections.abc.Callable[[
|
|
865
|
+
:type update: collections.abc.Callable[[_GenericType1, bpy.types.Context], None] | None
|
|
869
866
|
"""
|
|
870
867
|
|
|
871
868
|
def RemoveProperty(*, cls: typing.Any | None, attr: str | None) -> None:
|
|
@@ -877,7 +874,7 @@ def RemoveProperty(*, cls: typing.Any | None, attr: str | None) -> None:
|
|
|
877
874
|
:type attr: str | None
|
|
878
875
|
"""
|
|
879
876
|
|
|
880
|
-
def StringProperty(
|
|
877
|
+
def StringProperty[_GenericType1: bpy.types.bpy_struct](
|
|
881
878
|
*,
|
|
882
879
|
name: str | None = "",
|
|
883
880
|
description: str | None = "",
|
|
@@ -888,16 +885,16 @@ def StringProperty(
|
|
|
888
885
|
override: set[bpy.stub_internal.rna_enums.PropertyOverrideFlagItems] = set(),
|
|
889
886
|
tags=set(),
|
|
890
887
|
subtype: bpy.stub_internal.rna_enums.PropertySubtypeStringItems = "NONE",
|
|
891
|
-
update: collections.abc.Callable[[
|
|
888
|
+
update: collections.abc.Callable[[_GenericType1, bpy.types.Context], None]
|
|
892
889
|
| None = None,
|
|
893
|
-
get: collections.abc.Callable[[
|
|
894
|
-
set: collections.abc.Callable[[
|
|
890
|
+
get: collections.abc.Callable[[_GenericType1], str] | None = None,
|
|
891
|
+
set: collections.abc.Callable[[_GenericType1, str], None] | None = None,
|
|
895
892
|
get_transform: collections.abc.Callable[[bpy.types.bpy_struct, str, bool], str]
|
|
896
893
|
| None = None,
|
|
897
894
|
set_transform: collections.abc.Callable[[bpy.types.bpy_struct, str, str, bool], str]
|
|
898
895
|
| None = None,
|
|
899
896
|
search: collections.abc.Callable[
|
|
900
|
-
[
|
|
897
|
+
[_GenericType1, bpy.types.Context, str],
|
|
901
898
|
collections.abc.Iterable[str | tuple[str, str]],
|
|
902
899
|
]
|
|
903
900
|
| None = None,
|
|
@@ -925,19 +922,19 @@ def StringProperty(
|
|
|
925
922
|
:param update: Function to be called when this value is modified,
|
|
926
923
|
This function must take 2 values (self, context) and return None.
|
|
927
924
|
Warning there are no safety checks to avoid infinite recursion.
|
|
928
|
-
:type update: collections.abc.Callable[[
|
|
925
|
+
:type update: collections.abc.Callable[[_GenericType1, bpy.types.Context], None] | None
|
|
929
926
|
:param get: Function to be called when this value is read, and the default,
|
|
930
927
|
system-defined storage is not used for this property.
|
|
931
928
|
This function must take 1 value (self) and return the value of the property.
|
|
932
929
|
|
|
933
930
|
Defining this callback without a matching set one will make the property read-only (even if READ_ONLY option is not set).
|
|
934
|
-
:type get: collections.abc.Callable[[
|
|
931
|
+
:type get: collections.abc.Callable[[_GenericType1], str] | None
|
|
935
932
|
:param set: Function to be called when this value is written, and the default,
|
|
936
933
|
system-defined storage is not used for this property.
|
|
937
934
|
This function must take 2 values (self, value) and return None.
|
|
938
935
|
|
|
939
936
|
Defining this callback without a matching get one is invalid.
|
|
940
|
-
:type set: collections.abc.Callable[[
|
|
937
|
+
:type set: collections.abc.Callable[[_GenericType1, str], None] | None
|
|
941
938
|
:param get_transform: Function to be called when this value is read,
|
|
942
939
|
if some additional processing must be performed on the stored value.
|
|
943
940
|
This function must take three arguments (self, the stored value,
|
|
@@ -963,7 +960,7 @@ def StringProperty(
|
|
|
963
960
|
|
|
964
961
|
A tuple-pair of strings, where the first is a candidate and the second
|
|
965
962
|
is additional information about the candidate.
|
|
966
|
-
:type search: collections.abc.Callable[[
|
|
963
|
+
:type search: collections.abc.Callable[[_GenericType1, bpy.types.Context, str], collections.abc.Iterable[str | tuple[str, str]]] | None
|
|
967
964
|
:param search_options: Set of strings in:
|
|
968
965
|
|
|
969
966
|
SORT sorts the resulting items.
|
|
@@ -108,7 +108,7 @@ bl_ui/__init__.pyi,sha256=bzjd8FHTafNzS5V6jK2sf7aIflWXIIAAOj2u3CG5Q8s,7004
|
|
|
108
108
|
bl_ui/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
109
109
|
bl_ui/anim/__init__.pyi,sha256=aUUQB5sqG7wizgoB77tVmFLfhOWMyuHcEUY06w1FW5k,938
|
|
110
110
|
bl_ui/asset_shelf/__init__.pyi,sha256=zy0z1qh-gQXQufHFrEggbXWlihKF9l2OihuhN-iS4NE,825
|
|
111
|
-
bl_ui/generic_ui_list/__init__.pyi,sha256=
|
|
111
|
+
bl_ui/generic_ui_list/__init__.pyi,sha256=wKDC1TOAxmPZ4kY86_96aBa-DTcNHrGXNucUNp1UzpY,4303
|
|
112
112
|
bl_ui/node_add_menu/__init__.pyi,sha256=lPXeqXuLmc_dFV2GWoxfbqY3DNpetsqkI1f3i7lHY-k,1812
|
|
113
113
|
bl_ui/node_add_menu_compositor/__init__.pyi,sha256=Hn5-YC2cCeK7hHi5QgR6OKzyxdHl8S3EiDJpqB4mMQo,10559
|
|
114
114
|
bl_ui/node_add_menu_geometry/__init__.pyi,sha256=fuv_3IdbsrXx4uXgrJLM9lIVEIhNVlDnEXWe5tYbbYg,33084
|
|
@@ -192,7 +192,7 @@ bmesh/__init__.pyi,sha256=nhi3aUMSLycSJTzr1Txhjt_NU0y_82NN0NBe8pZYTkE,1541
|
|
|
192
192
|
bmesh/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
193
193
|
bmesh/geometry/__init__.pyi,sha256=MZzpN0T12x1QweeZUui1LVTrnWyqyBgWsF6tPs1Pe9g,682
|
|
194
194
|
bmesh/ops/__init__.pyi,sha256=YEPcOajMh_dL5zFoV8hj7rVywdb1oO-rF2mjlqqE3Xs,76307
|
|
195
|
-
bmesh/types/__init__.pyi,sha256=
|
|
195
|
+
bmesh/types/__init__.pyi,sha256=OiOz0ufAQcm3t5rD0LpjN_ov32gFWeCIfjVlG5iqdsU,44328
|
|
196
196
|
bmesh/utils/__init__.pyi,sha256=N2mRD0u1ipJkw2nokIb-FCL858ikNQrOM_mqJPiCEXY,6285
|
|
197
197
|
bpy/__init__.pyi,sha256=2c24IZe013Q0UbFSvpU9JKRYusCUwGYTXbNDx17dK5g,490
|
|
198
198
|
bpy/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -281,7 +281,7 @@ bpy/ops/wm/__init__.pyi,sha256=1o58PXNIpKFQh_mzlZhgog191pDJB_10KHkBv2DWJtQ,21043
|
|
|
281
281
|
bpy/ops/workspace/__init__.pyi,sha256=Yfe-bzDigcZkkMulfyDa0wbwqzHBrfp5mn0u_sCN7wo,2418
|
|
282
282
|
bpy/ops/world/__init__.pyi,sha256=VTCqEUTLL6yJroZCNcMYQgEKVmjwkIwIy70vB78rdOM,673
|
|
283
283
|
bpy/path/__init__.pyi,sha256=Phd8a6fB3496L7_LUhdwPNwkh3qy_4O-MS5br9RMfO0,5536
|
|
284
|
-
bpy/props/__init__.pyi,sha256=
|
|
284
|
+
bpy/props/__init__.pyi,sha256=_gmJ54eKwSmNZHQyDK1CiQn9fSy_L9K3jfSeX9nhCK4,51038
|
|
285
285
|
bpy/stub_internal/__init__.pyi,sha256=h3K2LGZ8lcLY-Oo9ym-HEopjGScc4iTfpT1MU_6smTI,126
|
|
286
286
|
bpy/stub_internal/rna_enums/__init__.pyi,sha256=3Rf86PTxdaPkXJm3c0DewwdrYElayqXNfuh4qIzhMZQ,143521
|
|
287
287
|
bpy/types/__init__.pyi,sha256=YE8zEyHE9WcY_4d_rqnHxs1biZ8SNzQF8rpLy8nwzGI,5914273
|
|
@@ -347,7 +347,7 @@ keyingsets_utils/__init__.pyi,sha256=LYwQPxGFL9s9daviMo2DyVIUmjyNRFT1S9cvMGBZ6to
|
|
|
347
347
|
keyingsets_utils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
348
348
|
mathutils/__init__.pyi,sha256=QBvmsVe5brYs9KpGoF1DdHKze2iRn5i3pGapskxYzRU,91364
|
|
349
349
|
mathutils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
350
|
-
mathutils/bvhtree/__init__.pyi,sha256=
|
|
350
|
+
mathutils/bvhtree/__init__.pyi,sha256=rjuZMGm2Jxi0bnaU60v18BuJyO2JWdfRdr5Mp0bYUuk,5138
|
|
351
351
|
mathutils/geometry/__init__.pyi,sha256=N3LtfyhHPnBim_PgIa5likQdcVxOMDvUC-eTqv70ruY,23817
|
|
352
352
|
mathutils/interpolate/__init__.pyi,sha256=ndZoeTg3JKLj5Uskd-TU2BmCEAe8k_-MY-jGzzNj0O4,575
|
|
353
353
|
mathutils/kdtree/__init__.pyi,sha256=99pXd0pG1J4JBPexQBa87d-DAg-3KZ1lmDL3ZLiVA-Q,2309
|
|
@@ -364,7 +364,7 @@ rna_prop_ui/__init__.pyi,sha256=Gn7kc9WhI3qPObIz8QiFbjeVIP7GCeF6liywBzIEcnE,1402
|
|
|
364
364
|
rna_prop_ui/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
365
365
|
rna_xml/__init__.pyi,sha256=E0_ajcifhpiiQJVaNKnAa2ju-w5Tg9-lk7IqhsPjrw4,652
|
|
366
366
|
rna_xml/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
367
|
-
fake_bpy_module-
|
|
368
|
-
fake_bpy_module-
|
|
369
|
-
fake_bpy_module-
|
|
370
|
-
fake_bpy_module-
|
|
367
|
+
fake_bpy_module-20250915.dist-info/METADATA,sha256=HKGrjBmuVJZsw1y5WM_uf1bplZQTCTj86VgVQj-8FPs,7429
|
|
368
|
+
fake_bpy_module-20250915.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
369
|
+
fake_bpy_module-20250915.dist-info/top_level.txt,sha256=E_sehFLnpWSq252JjlyGL1A-1xsWTYcqyOIlHfuOh28,515
|
|
370
|
+
fake_bpy_module-20250915.dist-info/RECORD,,
|
mathutils/bvhtree/__init__.pyi
CHANGED
|
@@ -7,6 +7,7 @@ import typing
|
|
|
7
7
|
import collections.abc
|
|
8
8
|
import typing_extensions
|
|
9
9
|
import numpy.typing as npt
|
|
10
|
+
import _bpy_types
|
|
10
11
|
import bmesh.types
|
|
11
12
|
import bpy.types
|
|
12
13
|
import mathutils
|
|
@@ -25,7 +26,7 @@ class BVHTree:
|
|
|
25
26
|
@classmethod
|
|
26
27
|
def FromObject(
|
|
27
28
|
cls,
|
|
28
|
-
object:
|
|
29
|
+
object: _bpy_types.Object,
|
|
29
30
|
depsgraph: bpy.types.Depsgraph,
|
|
30
31
|
*,
|
|
31
32
|
deform: bool = True,
|
|
@@ -36,7 +37,7 @@ class BVHTree:
|
|
|
36
37
|
"""BVH tree based on `Object` data.
|
|
37
38
|
|
|
38
39
|
:param object: Object data.
|
|
39
|
-
:type object:
|
|
40
|
+
:type object: _bpy_types.Object
|
|
40
41
|
:param depsgraph: Depsgraph to use for evaluating the mesh.
|
|
41
42
|
:type depsgraph: bpy.types.Depsgraph
|
|
42
43
|
:param deform: Use mesh with deformations.
|
|
File without changes
|
|
File without changes
|