fake-bpy-module 20250602__py3-none-any.whl → 20250603__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/properties_paint_common/__init__.pyi +1 -0
- bl_ui/space_dopesheet/__init__.pyi +2 -2
- bl_ui/space_graph/__init__.pyi +2 -4
- bl_ui/space_nla/__init__.pyi +2 -4
- bl_ui/space_node/__init__.pyi +28 -0
- bl_ui/space_sequencer/__init__.pyi +2 -1
- bl_ui/space_toolsystem_common/__init__.pyi +0 -17
- bl_ui/space_view3d_toolbar/__init__.pyi +41 -0
- bl_ui/utils/__init__.pyi +17 -0
- bpy/app/__init__.pyi +3 -3
- bpy/ops/action/__init__.pyi +14 -13
- bpy/ops/boid/__init__.pyi +3 -3
- bpy/ops/brush/__init__.pyi +4 -3
- bpy/ops/clip/__init__.pyi +3 -3
- bpy/ops/curve/__init__.pyi +5 -5
- bpy/ops/curves/__init__.pyi +9 -9
- bpy/ops/dpaint/__init__.pyi +3 -3
- bpy/ops/geometry/__init__.pyi +22 -19
- bpy/ops/graph/__init__.pyi +19 -17
- bpy/ops/grease_pencil/__init__.pyi +50 -9
- bpy/ops/image/__init__.pyi +12 -9
- bpy/ops/lattice/__init__.pyi +3 -3
- bpy/ops/mesh/__init__.pyi +45 -43
- bpy/ops/nla/__init__.pyi +3 -3
- bpy/ops/node/__init__.pyi +4 -3
- bpy/ops/object/__init__.pyi +76 -69
- bpy/ops/outliner/__init__.pyi +5 -5
- bpy/ops/paint/__init__.pyi +9 -7
- bpy/ops/pose/__init__.pyi +15 -13
- bpy/ops/rigidbody/__init__.pyi +9 -9
- bpy/ops/scene/__init__.pyi +12 -9
- bpy/ops/screen/__init__.pyi +7 -7
- bpy/ops/sequencer/__init__.pyi +3 -3
- bpy/ops/sound/__init__.pyi +3 -3
- bpy/ops/transform/__init__.pyi +89 -73
- bpy/ops/uv/__init__.pyi +3 -3
- bpy/ops/wm/__init__.pyi +33 -20
- bpy/props/__init__.pyi +61 -59
- bpy/{_typing → stub_internal}/rna_enums/__init__.pyi +2 -0
- bpy/types/__init__.pyi +1370 -966
- {fake_bpy_module-20250602.dist-info → fake_bpy_module-20250603.dist-info}/METADATA +1 -1
- {fake_bpy_module-20250602.dist-info → fake_bpy_module-20250603.dist-info}/RECORD +46 -46
- mathutils/__init__.pyi +4 -6
- /bpy/{_typing → stub_internal}/__init__.pyi +0 -0
- {fake_bpy_module-20250602.dist-info → fake_bpy_module-20250603.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20250602.dist-info → fake_bpy_module-20250603.dist-info}/top_level.txt +0 -0
bpy/ops/wm/__init__.pyi
CHANGED
|
@@ -3,7 +3,7 @@ import collections.abc
|
|
|
3
3
|
import typing_extensions
|
|
4
4
|
import numpy.typing as npt
|
|
5
5
|
import bl_operators.wm
|
|
6
|
-
import bpy.
|
|
6
|
+
import bpy.stub_internal.rna_enums
|
|
7
7
|
import bpy.types
|
|
8
8
|
import mathutils
|
|
9
9
|
|
|
@@ -60,9 +60,9 @@ def alembic_export(
|
|
|
60
60
|
use_instancing: bool | None = True,
|
|
61
61
|
global_scale: float | None = 1.0,
|
|
62
62
|
triangulate: bool | None = False,
|
|
63
|
-
quad_method: bpy.
|
|
63
|
+
quad_method: bpy.stub_internal.rna_enums.ModifierTriangulateQuadMethodItems
|
|
64
64
|
| None = "SHORTEST_DIAGONAL",
|
|
65
|
-
ngon_method: bpy.
|
|
65
|
+
ngon_method: bpy.stub_internal.rna_enums.ModifierTriangulateNgonMethodItems
|
|
66
66
|
| None = "BEAUTY",
|
|
67
67
|
export_hair: bool | None = True,
|
|
68
68
|
export_particles: bool | None = True,
|
|
@@ -177,9 +177,9 @@ def alembic_export(
|
|
|
177
177
|
:param triangulate: Triangulate, Export polygons (quads and n-gons) as triangles
|
|
178
178
|
:type triangulate: bool | None
|
|
179
179
|
:param quad_method: Quad Method, Method for splitting the quads into triangles
|
|
180
|
-
:type quad_method: bpy.
|
|
180
|
+
:type quad_method: bpy.stub_internal.rna_enums.ModifierTriangulateQuadMethodItems | None
|
|
181
181
|
:param ngon_method: N-gon Method, Method for splitting the n-gons into triangles
|
|
182
|
-
:type ngon_method: bpy.
|
|
182
|
+
:type ngon_method: bpy.stub_internal.rna_enums.ModifierTriangulateNgonMethodItems | None
|
|
183
183
|
:param export_hair: Export Hair, Exports hair particle systems as animated curves
|
|
184
184
|
:type export_hair: bool | None
|
|
185
185
|
:param export_particles: Export Particles, Exports non-hair particle systems
|
|
@@ -1597,9 +1597,9 @@ def grease_pencil_export_pdf(
|
|
|
1597
1597
|
use_fill: bool | None = True,
|
|
1598
1598
|
selected_object_type: typing.Literal["ACTIVE", "SELECTED", "VISIBLE"]
|
|
1599
1599
|
| None = "ACTIVE",
|
|
1600
|
+
frame_mode: typing.Literal["ACTIVE", "SELECTED", "SCENE"] | None = "ACTIVE",
|
|
1600
1601
|
stroke_sample: float | None = 0.0,
|
|
1601
1602
|
use_uniform_width: bool | None = False,
|
|
1602
|
-
frame_mode: typing.Literal["ACTIVE", "SELECTED", "SCENE"] | None = "ACTIVE",
|
|
1603
1603
|
):
|
|
1604
1604
|
"""Export Grease Pencil to PDF
|
|
1605
1605
|
|
|
@@ -1674,10 +1674,6 @@ def grease_pencil_export_pdf(
|
|
|
1674
1674
|
VISIBLE
|
|
1675
1675
|
Visible -- Include all visible objects.
|
|
1676
1676
|
:type selected_object_type: typing.Literal['ACTIVE','SELECTED','VISIBLE'] | None
|
|
1677
|
-
:param stroke_sample: Sampling, Precision of stroke sampling. Low values mean a more precise result, and zero disables sampling
|
|
1678
|
-
:type stroke_sample: float | None
|
|
1679
|
-
:param use_uniform_width: Uniform Width, Export strokes with uniform width
|
|
1680
|
-
:type use_uniform_width: bool | None
|
|
1681
1677
|
:param frame_mode: Frames, Which frames to include in the export
|
|
1682
1678
|
|
|
1683
1679
|
ACTIVE
|
|
@@ -1689,6 +1685,10 @@ def grease_pencil_export_pdf(
|
|
|
1689
1685
|
SCENE
|
|
1690
1686
|
Scene -- Include all scene frames.
|
|
1691
1687
|
:type frame_mode: typing.Literal['ACTIVE','SELECTED','SCENE'] | None
|
|
1688
|
+
:param stroke_sample: Sampling, Precision of stroke sampling. Low values mean a more precise result, and zero disables sampling
|
|
1689
|
+
:type stroke_sample: float | None
|
|
1690
|
+
:param use_uniform_width: Uniform Width, Export strokes with uniform width
|
|
1691
|
+
:type use_uniform_width: bool | None
|
|
1692
1692
|
"""
|
|
1693
1693
|
|
|
1694
1694
|
def grease_pencil_export_svg(
|
|
@@ -1724,6 +1724,7 @@ def grease_pencil_export_svg(
|
|
|
1724
1724
|
use_fill: bool | None = True,
|
|
1725
1725
|
selected_object_type: typing.Literal["ACTIVE", "SELECTED", "VISIBLE"]
|
|
1726
1726
|
| None = "ACTIVE",
|
|
1727
|
+
frame_mode: typing.Literal["ACTIVE", "SELECTED", "SCENE"] | None = "ACTIVE",
|
|
1727
1728
|
stroke_sample: float | None = 0.0,
|
|
1728
1729
|
use_uniform_width: bool | None = False,
|
|
1729
1730
|
use_clip_camera: bool | None = False,
|
|
@@ -1801,6 +1802,17 @@ def grease_pencil_export_svg(
|
|
|
1801
1802
|
VISIBLE
|
|
1802
1803
|
Visible -- Include all visible objects.
|
|
1803
1804
|
:type selected_object_type: typing.Literal['ACTIVE','SELECTED','VISIBLE'] | None
|
|
1805
|
+
:param frame_mode: Frames, Which frames to include in the export
|
|
1806
|
+
|
|
1807
|
+
ACTIVE
|
|
1808
|
+
Active -- Include only active frame.
|
|
1809
|
+
|
|
1810
|
+
SELECTED
|
|
1811
|
+
Selected -- Include selected frames.
|
|
1812
|
+
|
|
1813
|
+
SCENE
|
|
1814
|
+
Scene -- Include all scene frames.
|
|
1815
|
+
:type frame_mode: typing.Literal['ACTIVE','SELECTED','SCENE'] | None
|
|
1804
1816
|
:param stroke_sample: Sampling, Precision of stroke sampling. Low values mean a more precise result, and zero disables sampling
|
|
1805
1817
|
:type stroke_sample: float | None
|
|
1806
1818
|
:param use_uniform_width: Uniform Width, Export strokes with uniform width
|
|
@@ -4572,9 +4584,10 @@ def set_stereo_3d(
|
|
|
4572
4584
|
undo: bool | None = None,
|
|
4573
4585
|
/,
|
|
4574
4586
|
*,
|
|
4575
|
-
display_mode: bpy.
|
|
4576
|
-
anaglyph_type: bpy.
|
|
4577
|
-
|
|
4587
|
+
display_mode: bpy.stub_internal.rna_enums.Stereo3DDisplayItems | None = "ANAGLYPH",
|
|
4588
|
+
anaglyph_type: bpy.stub_internal.rna_enums.Stereo3DAnaglyphTypeItems
|
|
4589
|
+
| None = "RED_CYAN",
|
|
4590
|
+
interlace_type: bpy.stub_internal.rna_enums.Stereo3DInterlaceTypeItems
|
|
4578
4591
|
| None = "ROW_INTERLEAVED",
|
|
4579
4592
|
use_interlace_swap: bool | None = False,
|
|
4580
4593
|
use_sidebyside_crosseyed: bool | None = False,
|
|
@@ -4584,11 +4597,11 @@ def set_stereo_3d(
|
|
|
4584
4597
|
:type execution_context: int | str | None
|
|
4585
4598
|
:type undo: bool | None
|
|
4586
4599
|
:param display_mode: Display Mode
|
|
4587
|
-
:type display_mode: bpy.
|
|
4600
|
+
:type display_mode: bpy.stub_internal.rna_enums.Stereo3DDisplayItems | None
|
|
4588
4601
|
:param anaglyph_type: Anaglyph Type
|
|
4589
|
-
:type anaglyph_type: bpy.
|
|
4602
|
+
:type anaglyph_type: bpy.stub_internal.rna_enums.Stereo3DAnaglyphTypeItems | None
|
|
4590
4603
|
:param interlace_type: Interlace Type
|
|
4591
|
-
:type interlace_type: bpy.
|
|
4604
|
+
:type interlace_type: bpy.stub_internal.rna_enums.Stereo3DInterlaceTypeItems | None
|
|
4592
4605
|
:param use_interlace_swap: Swap Left/Right, Swap left and right stereo channels
|
|
4593
4606
|
:type use_interlace_swap: bool | None
|
|
4594
4607
|
:param use_sidebyside_crosseyed: Cross-Eyed, Right eye should see left image and vice versa
|
|
@@ -5212,9 +5225,9 @@ def usd_export(
|
|
|
5212
5225
|
export_points: bool | None = True,
|
|
5213
5226
|
export_volumes: bool | None = True,
|
|
5214
5227
|
triangulate_meshes: bool | None = False,
|
|
5215
|
-
quad_method: bpy.
|
|
5228
|
+
quad_method: bpy.stub_internal.rna_enums.ModifierTriangulateQuadMethodItems
|
|
5216
5229
|
| None = "SHORTEST_DIAGONAL",
|
|
5217
|
-
ngon_method: bpy.
|
|
5230
|
+
ngon_method: bpy.stub_internal.rna_enums.ModifierTriangulateNgonMethodItems
|
|
5218
5231
|
| None = "BEAUTY",
|
|
5219
5232
|
usdz_downscale_size: typing.Literal[
|
|
5220
5233
|
"KEEP", "256", "512", "1024", "2048", "4096", "CUSTOM"
|
|
@@ -5445,9 +5458,9 @@ def usd_export(
|
|
|
5445
5458
|
:param triangulate_meshes: Triangulate Meshes, Triangulate meshes during export
|
|
5446
5459
|
:type triangulate_meshes: bool | None
|
|
5447
5460
|
:param quad_method: Quad Method, Method for splitting the quads into triangles
|
|
5448
|
-
:type quad_method: bpy.
|
|
5461
|
+
:type quad_method: bpy.stub_internal.rna_enums.ModifierTriangulateQuadMethodItems | None
|
|
5449
5462
|
:param ngon_method: N-gon Method, Method for splitting the n-gons into triangles
|
|
5450
|
-
:type ngon_method: bpy.
|
|
5463
|
+
:type ngon_method: bpy.stub_internal.rna_enums.ModifierTriangulateNgonMethodItems | None
|
|
5451
5464
|
:param usdz_downscale_size: USDZ Texture Downsampling, Choose a maximum size for all exported textures
|
|
5452
5465
|
|
|
5453
5466
|
KEEP
|
bpy/props/__init__.pyi
CHANGED
|
@@ -99,7 +99,7 @@ import typing
|
|
|
99
99
|
import collections.abc
|
|
100
100
|
import typing_extensions
|
|
101
101
|
import numpy.typing as npt
|
|
102
|
-
import bpy.
|
|
102
|
+
import bpy.stub_internal.rna_enums
|
|
103
103
|
import bpy.types
|
|
104
104
|
|
|
105
105
|
def BoolProperty(
|
|
@@ -108,10 +108,10 @@ def BoolProperty(
|
|
|
108
108
|
description: str | None = "",
|
|
109
109
|
translation_context: str | None = "*",
|
|
110
110
|
default=False,
|
|
111
|
-
options: set[bpy.
|
|
112
|
-
override: set[bpy.
|
|
111
|
+
options: set[bpy.stub_internal.rna_enums.PropertyFlagItems] = {"ANIMATABLE"},
|
|
112
|
+
override: set[bpy.stub_internal.rna_enums.PropertyOverrideFlagItems] = set(),
|
|
113
113
|
tags=set(),
|
|
114
|
-
subtype: bpy.
|
|
114
|
+
subtype: bpy.stub_internal.rna_enums.PropertySubtypeNumberItems = "NONE",
|
|
115
115
|
update: collections.abc.Callable[[bpy.types.bpy_struct, bpy.types.Context], None]
|
|
116
116
|
| None = None,
|
|
117
117
|
get: collections.abc.Callable[[bpy.types.bpy_struct], bool] | None = None,
|
|
@@ -126,12 +126,12 @@ def BoolProperty(
|
|
|
126
126
|
:param translation_context: Text used as context to disambiguate translations.
|
|
127
127
|
:type translation_context: str | None
|
|
128
128
|
:param options: Enumerator in `rna_enum_property_flag_items`.
|
|
129
|
-
:type options: set[bpy.
|
|
129
|
+
:type options: set[bpy.stub_internal.rna_enums.PropertyFlagItems]
|
|
130
130
|
:param override: Enumerator in `rna_enum_property_override_flag_items`.
|
|
131
|
-
:type override: set[bpy.
|
|
131
|
+
:type override: set[bpy.stub_internal.rna_enums.PropertyOverrideFlagItems]
|
|
132
132
|
:param tags: Enumerator of tags that are defined by parent class.
|
|
133
133
|
:param subtype: Enumerator in `rna_enum_property_subtype_number_items`.
|
|
134
|
-
:type subtype: bpy.
|
|
134
|
+
:type subtype: bpy.stub_internal.rna_enums.PropertySubtypeNumberItems
|
|
135
135
|
:param update: Function to be called when this value is modified,
|
|
136
136
|
This function must take 2 values (self, context) and return None.
|
|
137
137
|
Warning there are no safety checks to avoid infinite recursion.
|
|
@@ -150,10 +150,10 @@ def BoolVectorProperty(
|
|
|
150
150
|
description: str | None = "",
|
|
151
151
|
translation_context: str | None = "*",
|
|
152
152
|
default: collections.abc.Sequence[bool] | None = (False, False, False),
|
|
153
|
-
options: set[bpy.
|
|
154
|
-
override: set[bpy.
|
|
153
|
+
options: set[bpy.stub_internal.rna_enums.PropertyFlagItems] = {"ANIMATABLE"},
|
|
154
|
+
override: set[bpy.stub_internal.rna_enums.PropertyOverrideFlagItems] = set(),
|
|
155
155
|
tags=set(),
|
|
156
|
-
subtype: bpy.
|
|
156
|
+
subtype: bpy.stub_internal.rna_enums.PropertySubtypeNumberArrayItems = "NONE",
|
|
157
157
|
size: collections.abc.Sequence[int] | int | None = 3,
|
|
158
158
|
update: collections.abc.Callable[[bpy.types.bpy_struct, bpy.types.Context], None]
|
|
159
159
|
| None = None,
|
|
@@ -175,12 +175,12 @@ def BoolVectorProperty(
|
|
|
175
175
|
:param default: sequence of booleans the length of size.
|
|
176
176
|
:type default: collections.abc.Sequence[bool] | None
|
|
177
177
|
:param options: Enumerator in `rna_enum_property_flag_items`.
|
|
178
|
-
:type options: set[bpy.
|
|
178
|
+
:type options: set[bpy.stub_internal.rna_enums.PropertyFlagItems]
|
|
179
179
|
:param override: Enumerator in `rna_enum_property_override_flag_items`.
|
|
180
|
-
:type override: set[bpy.
|
|
180
|
+
:type override: set[bpy.stub_internal.rna_enums.PropertyOverrideFlagItems]
|
|
181
181
|
:param tags: Enumerator of tags that are defined by parent class.
|
|
182
182
|
:param subtype: Enumerator in `rna_enum_property_subtype_number_array_items`.
|
|
183
|
-
:type subtype: bpy.
|
|
183
|
+
:type subtype: bpy.stub_internal.rna_enums.PropertySubtypeNumberArrayItems
|
|
184
184
|
:param size: Vector dimensions in [1, 32]. An int sequence can be used to define multi-dimension arrays.
|
|
185
185
|
:type size: collections.abc.Sequence[int] | int | None
|
|
186
186
|
:param update: Function to be called when this value is modified,
|
|
@@ -201,8 +201,10 @@ def CollectionProperty(
|
|
|
201
201
|
name: str | None = "",
|
|
202
202
|
description: str | None = "",
|
|
203
203
|
translation_context: str | None = "*",
|
|
204
|
-
options: set[bpy.
|
|
205
|
-
override: set[
|
|
204
|
+
options: set[bpy.stub_internal.rna_enums.PropertyFlagItems] = {"ANIMATABLE"},
|
|
205
|
+
override: set[
|
|
206
|
+
bpy.stub_internal.rna_enums.PropertyOverrideFlagCollectionItems
|
|
207
|
+
] = set(),
|
|
206
208
|
tags=set(),
|
|
207
209
|
):
|
|
208
210
|
"""Returns a new collection property definition.
|
|
@@ -216,9 +218,9 @@ def CollectionProperty(
|
|
|
216
218
|
:param translation_context: Text used as context to disambiguate translations.
|
|
217
219
|
:type translation_context: str | None
|
|
218
220
|
:param options: Enumerator in `rna_enum_property_flag_items`.
|
|
219
|
-
:type options: set[bpy.
|
|
221
|
+
:type options: set[bpy.stub_internal.rna_enums.PropertyFlagItems]
|
|
220
222
|
:param override: Enumerator in `rna_enum_property_override_flag_collection_items`.
|
|
221
|
-
:type override: set[bpy.
|
|
223
|
+
:type override: set[bpy.stub_internal.rna_enums.PropertyOverrideFlagCollectionItems]
|
|
222
224
|
:param tags: Enumerator of tags that are defined by parent class.
|
|
223
225
|
"""
|
|
224
226
|
|
|
@@ -243,8 +245,8 @@ def EnumProperty(
|
|
|
243
245
|
description: str | None = "",
|
|
244
246
|
translation_context: str | None = "*",
|
|
245
247
|
default: int | str | None = None,
|
|
246
|
-
options: set[bpy.
|
|
247
|
-
override: set[bpy.
|
|
248
|
+
options: set[bpy.stub_internal.rna_enums.PropertyFlagEnumItems] = {"ANIMATABLE"},
|
|
249
|
+
override: set[bpy.stub_internal.rna_enums.PropertyOverrideFlagItems] = set(),
|
|
248
250
|
tags=set(),
|
|
249
251
|
update: collections.abc.Callable[[bpy.types.bpy_struct, bpy.types.Context], None]
|
|
250
252
|
| None = None,
|
|
@@ -307,9 +309,9 @@ def EnumProperty(
|
|
|
307
309
|
(i.e. if a callback function is given as items parameter).
|
|
308
310
|
:type default: int | str | None
|
|
309
311
|
:param options: Enumerator in `rna_enum_property_flag_enum_items`.
|
|
310
|
-
:type options: set[bpy.
|
|
312
|
+
:type options: set[bpy.stub_internal.rna_enums.PropertyFlagEnumItems]
|
|
311
313
|
:param override: Enumerator in `rna_enum_property_override_flag_items`.
|
|
312
|
-
:type override: set[bpy.
|
|
314
|
+
:type override: set[bpy.stub_internal.rna_enums.PropertyOverrideFlagItems]
|
|
313
315
|
:param tags: Enumerator of tags that are defined by parent class.
|
|
314
316
|
:param update: Function to be called when this value is modified,
|
|
315
317
|
This function must take 2 values (self, context) and return None.
|
|
@@ -335,11 +337,11 @@ def FloatProperty(
|
|
|
335
337
|
soft_max: float | None = 3.402823e38,
|
|
336
338
|
step: int | None = 3,
|
|
337
339
|
precision: int | None = 2,
|
|
338
|
-
options: set[bpy.
|
|
339
|
-
override: set[bpy.
|
|
340
|
+
options: set[bpy.stub_internal.rna_enums.PropertyFlagItems] = {"ANIMATABLE"},
|
|
341
|
+
override: set[bpy.stub_internal.rna_enums.PropertyOverrideFlagItems] = set(),
|
|
340
342
|
tags=set(),
|
|
341
|
-
subtype: bpy.
|
|
342
|
-
unit: bpy.
|
|
343
|
+
subtype: bpy.stub_internal.rna_enums.PropertySubtypeNumberItems = "NONE",
|
|
344
|
+
unit: bpy.stub_internal.rna_enums.PropertyUnitItems = "NONE",
|
|
343
345
|
update: collections.abc.Callable[[bpy.types.bpy_struct, bpy.types.Context], None]
|
|
344
346
|
| None = None,
|
|
345
347
|
get: collections.abc.Callable[[bpy.types.bpy_struct], float] | None = None,
|
|
@@ -366,14 +368,14 @@ def FloatProperty(
|
|
|
366
368
|
: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.
|
|
367
369
|
:type precision: int | None
|
|
368
370
|
:param options: Enumerator in `rna_enum_property_flag_items`.
|
|
369
|
-
:type options: set[bpy.
|
|
371
|
+
:type options: set[bpy.stub_internal.rna_enums.PropertyFlagItems]
|
|
370
372
|
:param override: Enumerator in `rna_enum_property_override_flag_items`.
|
|
371
|
-
:type override: set[bpy.
|
|
373
|
+
:type override: set[bpy.stub_internal.rna_enums.PropertyOverrideFlagItems]
|
|
372
374
|
:param tags: Enumerator of tags that are defined by parent class.
|
|
373
375
|
:param subtype: Enumerator in `rna_enum_property_subtype_number_items`.
|
|
374
|
-
:type subtype: bpy.
|
|
376
|
+
:type subtype: bpy.stub_internal.rna_enums.PropertySubtypeNumberItems
|
|
375
377
|
:param unit: Enumerator in `rna_enum_property_unit_items`.
|
|
376
|
-
:type unit: bpy.
|
|
378
|
+
:type unit: bpy.stub_internal.rna_enums.PropertyUnitItems
|
|
377
379
|
:param update: Function to be called when this value is modified,
|
|
378
380
|
This function must take 2 values (self, context) and return None.
|
|
379
381
|
Warning there are no safety checks to avoid infinite recursion.
|
|
@@ -398,11 +400,11 @@ def FloatVectorProperty(
|
|
|
398
400
|
soft_max: float | None = sys.float_info.max,
|
|
399
401
|
step: int | None = 3,
|
|
400
402
|
precision: int | None = 2,
|
|
401
|
-
options: set[bpy.
|
|
402
|
-
override: set[bpy.
|
|
403
|
+
options: set[bpy.stub_internal.rna_enums.PropertyFlagItems] = {"ANIMATABLE"},
|
|
404
|
+
override: set[bpy.stub_internal.rna_enums.PropertyOverrideFlagItems] = set(),
|
|
403
405
|
tags=set(),
|
|
404
|
-
subtype: bpy.
|
|
405
|
-
unit: bpy.
|
|
406
|
+
subtype: bpy.stub_internal.rna_enums.PropertySubtypeNumberArrayItems = "NONE",
|
|
407
|
+
unit: bpy.stub_internal.rna_enums.PropertyUnitItems = "NONE",
|
|
406
408
|
size: collections.abc.Sequence[int] | int | None = 3,
|
|
407
409
|
update: collections.abc.Callable[[bpy.types.bpy_struct, bpy.types.Context], None]
|
|
408
410
|
| None = None,
|
|
@@ -436,14 +438,14 @@ def FloatVectorProperty(
|
|
|
436
438
|
: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.
|
|
437
439
|
:type precision: int | None
|
|
438
440
|
:param options: Enumerator in `rna_enum_property_flag_items`.
|
|
439
|
-
:type options: set[bpy.
|
|
441
|
+
:type options: set[bpy.stub_internal.rna_enums.PropertyFlagItems]
|
|
440
442
|
:param override: Enumerator in `rna_enum_property_override_flag_items`.
|
|
441
|
-
:type override: set[bpy.
|
|
443
|
+
:type override: set[bpy.stub_internal.rna_enums.PropertyOverrideFlagItems]
|
|
442
444
|
:param tags: Enumerator of tags that are defined by parent class.
|
|
443
445
|
:param subtype: Enumerator in `rna_enum_property_subtype_number_array_items`.
|
|
444
|
-
:type subtype: bpy.
|
|
446
|
+
:type subtype: bpy.stub_internal.rna_enums.PropertySubtypeNumberArrayItems
|
|
445
447
|
:param unit: Enumerator in `rna_enum_property_unit_items`.
|
|
446
|
-
:type unit: bpy.
|
|
448
|
+
:type unit: bpy.stub_internal.rna_enums.PropertyUnitItems
|
|
447
449
|
:param size: Vector dimensions in [1, 32]. An int sequence can be used to define multi-dimension arrays.
|
|
448
450
|
:type size: collections.abc.Sequence[int] | int | None
|
|
449
451
|
:param update: Function to be called when this value is modified,
|
|
@@ -469,10 +471,10 @@ def IntProperty(
|
|
|
469
471
|
soft_min: int | None = None,
|
|
470
472
|
soft_max: int | None = None,
|
|
471
473
|
step: int | None = 1,
|
|
472
|
-
options: set[bpy.
|
|
473
|
-
override: set[bpy.
|
|
474
|
+
options: set[bpy.stub_internal.rna_enums.PropertyFlagItems] = {"ANIMATABLE"},
|
|
475
|
+
override: set[bpy.stub_internal.rna_enums.PropertyOverrideFlagItems] = set(),
|
|
474
476
|
tags=set(),
|
|
475
|
-
subtype: bpy.
|
|
477
|
+
subtype: bpy.stub_internal.rna_enums.PropertySubtypeNumberItems = "NONE",
|
|
476
478
|
update: collections.abc.Callable[[bpy.types.bpy_struct, bpy.types.Context], None]
|
|
477
479
|
| None = None,
|
|
478
480
|
get: collections.abc.Callable[[bpy.types.bpy_struct], int] | None = None,
|
|
@@ -497,12 +499,12 @@ def IntProperty(
|
|
|
497
499
|
:param step: Step of increment/decrement in UI, in [1, 100], defaults to 1 (WARNING: unused currently!).
|
|
498
500
|
:type step: int | None
|
|
499
501
|
:param options: Enumerator in `rna_enum_property_flag_items`.
|
|
500
|
-
:type options: set[bpy.
|
|
502
|
+
:type options: set[bpy.stub_internal.rna_enums.PropertyFlagItems]
|
|
501
503
|
:param override: Enumerator in `rna_enum_property_override_flag_items`.
|
|
502
|
-
:type override: set[bpy.
|
|
504
|
+
:type override: set[bpy.stub_internal.rna_enums.PropertyOverrideFlagItems]
|
|
503
505
|
:param tags: Enumerator of tags that are defined by parent class.
|
|
504
506
|
:param subtype: Enumerator in `rna_enum_property_subtype_number_items`.
|
|
505
|
-
:type subtype: bpy.
|
|
507
|
+
:type subtype: bpy.stub_internal.rna_enums.PropertySubtypeNumberItems
|
|
506
508
|
:param update: Function to be called when this value is modified,
|
|
507
509
|
This function must take 2 values (self, context) and return None.
|
|
508
510
|
Warning there are no safety checks to avoid infinite recursion.
|
|
@@ -526,10 +528,10 @@ def IntVectorProperty(
|
|
|
526
528
|
soft_min: int | None = None,
|
|
527
529
|
soft_max: int | None = None,
|
|
528
530
|
step: int | None = 1,
|
|
529
|
-
options: set[bpy.
|
|
530
|
-
override: set[bpy.
|
|
531
|
+
options: set[bpy.stub_internal.rna_enums.PropertyFlagItems] = {"ANIMATABLE"},
|
|
532
|
+
override: set[bpy.stub_internal.rna_enums.PropertyOverrideFlagItems] = set(),
|
|
531
533
|
tags=set(),
|
|
532
|
-
subtype: bpy.
|
|
534
|
+
subtype: bpy.stub_internal.rna_enums.PropertySubtypeNumberArrayItems = "NONE",
|
|
533
535
|
size: collections.abc.Sequence[int] | int | None = 3,
|
|
534
536
|
update: collections.abc.Callable[[bpy.types.bpy_struct, bpy.types.Context], None]
|
|
535
537
|
| None = None,
|
|
@@ -559,12 +561,12 @@ def IntVectorProperty(
|
|
|
559
561
|
:param step: Step of increment/decrement in UI, in [1, 100], defaults to 1 (WARNING: unused currently!).
|
|
560
562
|
:type step: int | None
|
|
561
563
|
:param options: Enumerator in `rna_enum_property_flag_items`.
|
|
562
|
-
:type options: set[bpy.
|
|
564
|
+
:type options: set[bpy.stub_internal.rna_enums.PropertyFlagItems]
|
|
563
565
|
:param override: Enumerator in `rna_enum_property_override_flag_items`.
|
|
564
|
-
:type override: set[bpy.
|
|
566
|
+
:type override: set[bpy.stub_internal.rna_enums.PropertyOverrideFlagItems]
|
|
565
567
|
:param tags: Enumerator of tags that are defined by parent class.
|
|
566
568
|
:param subtype: Enumerator in `rna_enum_property_subtype_number_array_items`.
|
|
567
|
-
:type subtype: bpy.
|
|
569
|
+
:type subtype: bpy.stub_internal.rna_enums.PropertySubtypeNumberArrayItems
|
|
568
570
|
:param size: Vector dimensions in [1, 32]. An int sequence can be used to define multi-dimension arrays.
|
|
569
571
|
:type size: collections.abc.Sequence[int] | int | None
|
|
570
572
|
:param update: Function to be called when this value is modified,
|
|
@@ -585,8 +587,8 @@ def PointerProperty(
|
|
|
585
587
|
name: str | None = "",
|
|
586
588
|
description: str | None = "",
|
|
587
589
|
translation_context: str | None = "*",
|
|
588
|
-
options: set[bpy.
|
|
589
|
-
override: set[bpy.
|
|
590
|
+
options: set[bpy.stub_internal.rna_enums.PropertyFlagItems] = {"ANIMATABLE"},
|
|
591
|
+
override: set[bpy.stub_internal.rna_enums.PropertyOverrideFlagItems] = set(),
|
|
590
592
|
tags=set(),
|
|
591
593
|
poll: collections.abc.Callable[[bpy.types.bpy_struct, bpy.types.ID], bool]
|
|
592
594
|
| None = None,
|
|
@@ -604,9 +606,9 @@ def PointerProperty(
|
|
|
604
606
|
:param translation_context: Text used as context to disambiguate translations.
|
|
605
607
|
:type translation_context: str | None
|
|
606
608
|
:param options: Enumerator in `rna_enum_property_flag_items`.
|
|
607
|
-
:type options: set[bpy.
|
|
609
|
+
:type options: set[bpy.stub_internal.rna_enums.PropertyFlagItems]
|
|
608
610
|
:param override: Enumerator in `rna_enum_property_override_flag_items`.
|
|
609
|
-
:type override: set[bpy.
|
|
611
|
+
:type override: set[bpy.stub_internal.rna_enums.PropertyOverrideFlagItems]
|
|
610
612
|
:param tags: Enumerator of tags that are defined by parent class.
|
|
611
613
|
:param poll: Function that determines whether an item is valid for this property.
|
|
612
614
|
The function must take 2 values (self, object) and return a boolean.
|
|
@@ -635,10 +637,10 @@ def StringProperty(
|
|
|
635
637
|
translation_context: str | None = "*",
|
|
636
638
|
default: str | None = "",
|
|
637
639
|
maxlen: int | None = 0,
|
|
638
|
-
options: set[bpy.
|
|
639
|
-
override: set[bpy.
|
|
640
|
+
options: set[bpy.stub_internal.rna_enums.PropertyFlagItems] = {"ANIMATABLE"},
|
|
641
|
+
override: set[bpy.stub_internal.rna_enums.PropertyOverrideFlagItems] = set(),
|
|
640
642
|
tags=set(),
|
|
641
|
-
subtype: bpy.
|
|
643
|
+
subtype: bpy.stub_internal.rna_enums.PropertySubtypeStringItems = "NONE",
|
|
642
644
|
update: collections.abc.Callable[[bpy.types.bpy_struct, bpy.types.Context], None]
|
|
643
645
|
| None = None,
|
|
644
646
|
get: collections.abc.Callable[[bpy.types.bpy_struct], str] | None = None,
|
|
@@ -660,12 +662,12 @@ def StringProperty(
|
|
|
660
662
|
:param maxlen: maximum length of the string.
|
|
661
663
|
:type maxlen: int | None
|
|
662
664
|
:param options: Enumerator in `rna_enum_property_flag_items`.
|
|
663
|
-
:type options: set[bpy.
|
|
665
|
+
:type options: set[bpy.stub_internal.rna_enums.PropertyFlagItems]
|
|
664
666
|
:param override: Enumerator in `rna_enum_property_override_flag_items`.
|
|
665
|
-
:type override: set[bpy.
|
|
667
|
+
:type override: set[bpy.stub_internal.rna_enums.PropertyOverrideFlagItems]
|
|
666
668
|
:param tags: Enumerator of tags that are defined by parent class.
|
|
667
669
|
:param subtype: Enumerator in `rna_enum_property_subtype_string_items`.
|
|
668
|
-
:type subtype: bpy.
|
|
670
|
+
:type subtype: bpy.stub_internal.rna_enums.PropertySubtypeStringItems
|
|
669
671
|
:param update: Function to be called when this value is modified,
|
|
670
672
|
This function must take 2 values (self, context) and return None.
|
|
671
673
|
Warning there are no safety checks to avoid infinite recursion.
|
|
@@ -2239,6 +2239,8 @@ type NodeVecMathItems = typing.Literal[
|
|
|
2239
2239
|
"SCALE", # Scale.A multiplied by Scale.
|
|
2240
2240
|
"NORMALIZE", # Normalize.Normalize A.
|
|
2241
2241
|
"ABSOLUTE", # Absolute.Entry-wise absolute.
|
|
2242
|
+
"POWER", # Power.Entry-wise power.
|
|
2243
|
+
"SIGN", # Sign.Entry-wise sign.
|
|
2242
2244
|
"MINIMUM", # Minimum.Entry-wise minimum.
|
|
2243
2245
|
"MAXIMUM", # Maximum.Entry-wise maximum.
|
|
2244
2246
|
"FLOOR", # Floor.Entry-wise floor.
|