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/object/__init__.pyi
CHANGED
|
@@ -2,8 +2,8 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
import numpy.typing as npt
|
|
5
|
-
import bpy._typing.rna_enums
|
|
6
5
|
import bpy.ops.transform
|
|
6
|
+
import bpy.stub_internal.rna_enums
|
|
7
7
|
import bpy.types
|
|
8
8
|
import mathutils
|
|
9
9
|
|
|
@@ -13,7 +13,7 @@ def add(
|
|
|
13
13
|
/,
|
|
14
14
|
*,
|
|
15
15
|
radius: float | None = 1.0,
|
|
16
|
-
type: bpy.
|
|
16
|
+
type: bpy.stub_internal.rna_enums.ObjectTypeItems | None = "EMPTY",
|
|
17
17
|
enter_editmode: bool | None = False,
|
|
18
18
|
align: typing.Literal["WORLD", "VIEW", "CURSOR"] | None = "WORLD",
|
|
19
19
|
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
@@ -35,7 +35,7 @@ def add(
|
|
|
35
35
|
:param radius: Radius
|
|
36
36
|
:type radius: float | None
|
|
37
37
|
:param type: Type
|
|
38
|
-
:type type: bpy.
|
|
38
|
+
:type type: bpy.stub_internal.rna_enums.ObjectTypeItems | None
|
|
39
39
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
40
40
|
:type enter_editmode: bool | None
|
|
41
41
|
:param align: Align, The alignment of the new object
|
|
@@ -218,23 +218,23 @@ def bake(
|
|
|
218
218
|
undo: bool | None = None,
|
|
219
219
|
/,
|
|
220
220
|
*,
|
|
221
|
-
type: bpy.
|
|
222
|
-
pass_filter: set[bpy.
|
|
221
|
+
type: bpy.stub_internal.rna_enums.BakePassTypeItems | None = "COMBINED",
|
|
222
|
+
pass_filter: set[bpy.stub_internal.rna_enums.BakePassFilterTypeItems] | None = {},
|
|
223
223
|
filepath: str = "",
|
|
224
224
|
width: int | None = 512,
|
|
225
225
|
height: int | None = 512,
|
|
226
226
|
margin: int | None = 16,
|
|
227
|
-
margin_type: bpy.
|
|
227
|
+
margin_type: bpy.stub_internal.rna_enums.BakeMarginTypeItems | None = "EXTEND",
|
|
228
228
|
use_selected_to_active: bool | None = False,
|
|
229
229
|
max_ray_distance: float | None = 0.0,
|
|
230
230
|
cage_extrusion: float | None = 0.0,
|
|
231
231
|
cage_object: str = "",
|
|
232
|
-
normal_space: bpy.
|
|
233
|
-
normal_r: bpy.
|
|
234
|
-
normal_g: bpy.
|
|
235
|
-
normal_b: bpy.
|
|
236
|
-
target: bpy.
|
|
237
|
-
save_mode: bpy.
|
|
232
|
+
normal_space: bpy.stub_internal.rna_enums.NormalSpaceItems | None = "TANGENT",
|
|
233
|
+
normal_r: bpy.stub_internal.rna_enums.NormalSwizzleItems | None = "POS_X",
|
|
234
|
+
normal_g: bpy.stub_internal.rna_enums.NormalSwizzleItems | None = "POS_Y",
|
|
235
|
+
normal_b: bpy.stub_internal.rna_enums.NormalSwizzleItems | None = "POS_Z",
|
|
236
|
+
target: bpy.stub_internal.rna_enums.BakeTargetItems | None = "IMAGE_TEXTURES",
|
|
237
|
+
save_mode: bpy.stub_internal.rna_enums.BakeSaveModeItems | None = "INTERNAL",
|
|
238
238
|
use_clear: bool | None = False,
|
|
239
239
|
use_cage: bool | None = False,
|
|
240
240
|
use_split_materials: bool | None = False,
|
|
@@ -246,9 +246,9 @@ def bake(
|
|
|
246
246
|
:type execution_context: int | str | None
|
|
247
247
|
:type undo: bool | None
|
|
248
248
|
:param type: Type, Type of pass to bake, some of them may not be supported by the current render engine
|
|
249
|
-
:type type: bpy.
|
|
249
|
+
:type type: bpy.stub_internal.rna_enums.BakePassTypeItems | None
|
|
250
250
|
:param pass_filter: Pass Filter, Filter to combined, diffuse, glossy, transmission and subsurface passes
|
|
251
|
-
:type pass_filter: set[bpy.
|
|
251
|
+
:type pass_filter: set[bpy.stub_internal.rna_enums.BakePassFilterTypeItems] | None
|
|
252
252
|
:param filepath: File Path, Image filepath to use when saving externally
|
|
253
253
|
:type filepath: str
|
|
254
254
|
:param width: Width, Horizontal dimension of the baking map (external only)
|
|
@@ -258,7 +258,7 @@ def bake(
|
|
|
258
258
|
:param margin: Margin, Extends the baked result as a post process filter
|
|
259
259
|
:type margin: int | None
|
|
260
260
|
:param margin_type: Margin Type, Which algorithm to use to generate the margin
|
|
261
|
-
:type margin_type: bpy.
|
|
261
|
+
:type margin_type: bpy.stub_internal.rna_enums.BakeMarginTypeItems | None
|
|
262
262
|
:param use_selected_to_active: Selected to Active, Bake shading on the surface of selected objects to the active object
|
|
263
263
|
:type use_selected_to_active: bool | None
|
|
264
264
|
:param max_ray_distance: Max Ray Distance, The maximum ray distance for matching points between the active and selected objects. If zero, there is no limit
|
|
@@ -268,17 +268,17 @@ def bake(
|
|
|
268
268
|
:param cage_object: Cage Object, Object to use as cage, instead of calculating the cage from the active object with cage extrusion
|
|
269
269
|
:type cage_object: str
|
|
270
270
|
:param normal_space: Normal Space, Choose normal space for baking
|
|
271
|
-
:type normal_space: bpy.
|
|
271
|
+
:type normal_space: bpy.stub_internal.rna_enums.NormalSpaceItems | None
|
|
272
272
|
:param normal_r: R, Axis to bake in red channel
|
|
273
|
-
:type normal_r: bpy.
|
|
273
|
+
:type normal_r: bpy.stub_internal.rna_enums.NormalSwizzleItems | None
|
|
274
274
|
:param normal_g: G, Axis to bake in green channel
|
|
275
|
-
:type normal_g: bpy.
|
|
275
|
+
:type normal_g: bpy.stub_internal.rna_enums.NormalSwizzleItems | None
|
|
276
276
|
:param normal_b: B, Axis to bake in blue channel
|
|
277
|
-
:type normal_b: bpy.
|
|
277
|
+
:type normal_b: bpy.stub_internal.rna_enums.NormalSwizzleItems | None
|
|
278
278
|
:param target: Target, Where to output the baked map
|
|
279
|
-
:type target: bpy.
|
|
279
|
+
:type target: bpy.stub_internal.rna_enums.BakeTargetItems | None
|
|
280
280
|
:param save_mode: Save Mode, Where to save baked image textures
|
|
281
|
-
:type save_mode: bpy.
|
|
281
|
+
:type save_mode: bpy.stub_internal.rna_enums.BakeSaveModeItems | None
|
|
282
282
|
:param use_clear: Clear, Clear images before baking (only for internal saving)
|
|
283
283
|
:type use_clear: bool | None
|
|
284
284
|
:param use_cage: Cage, Cast rays to active object from a cage
|
|
@@ -721,7 +721,7 @@ def data_instance_add(
|
|
|
721
721
|
*,
|
|
722
722
|
name: str = "",
|
|
723
723
|
session_uid: int | None = 0,
|
|
724
|
-
type: bpy.
|
|
724
|
+
type: bpy.stub_internal.rna_enums.IdTypeItems | None = "ACTION",
|
|
725
725
|
align: typing.Literal["WORLD", "VIEW", "CURSOR"] | None = "WORLD",
|
|
726
726
|
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
727
727
|
0.0,
|
|
@@ -746,7 +746,7 @@ def data_instance_add(
|
|
|
746
746
|
:param session_uid: Session UID, Session UID of the data-block to use by the operator
|
|
747
747
|
:type session_uid: int | None
|
|
748
748
|
:param type: Type
|
|
749
|
-
:type type: bpy.
|
|
749
|
+
:type type: bpy.stub_internal.rna_enums.IdTypeItems | None
|
|
750
750
|
:param align: Align, The alignment of the new object
|
|
751
751
|
|
|
752
752
|
WORLD
|
|
@@ -794,19 +794,22 @@ def data_transfer(
|
|
|
794
794
|
]
|
|
795
795
|
| None = "",
|
|
796
796
|
use_create: bool | None = True,
|
|
797
|
-
vert_mapping: bpy.
|
|
798
|
-
edge_mapping: bpy.
|
|
799
|
-
loop_mapping: bpy.
|
|
800
|
-
|
|
797
|
+
vert_mapping: bpy.stub_internal.rna_enums.DtMethodVertexItems | None = "NEAREST",
|
|
798
|
+
edge_mapping: bpy.stub_internal.rna_enums.DtMethodEdgeItems | None = "NEAREST",
|
|
799
|
+
loop_mapping: bpy.stub_internal.rna_enums.DtMethodLoopItems
|
|
800
|
+
| None = "NEAREST_POLYNOR",
|
|
801
|
+
poly_mapping: bpy.stub_internal.rna_enums.DtMethodPolyItems | None = "NEAREST",
|
|
801
802
|
use_auto_transform: bool | None = False,
|
|
802
803
|
use_object_transform: bool | None = True,
|
|
803
804
|
use_max_distance: bool | None = False,
|
|
804
805
|
max_distance: float | None = 1.0,
|
|
805
806
|
ray_radius: float | None = 0.0,
|
|
806
807
|
islands_precision: float | None = 0.1,
|
|
807
|
-
layers_select_src: bpy.
|
|
808
|
-
|
|
809
|
-
|
|
808
|
+
layers_select_src: bpy.stub_internal.rna_enums.DtLayersSelectSrcItems
|
|
809
|
+
| None = "ACTIVE",
|
|
810
|
+
layers_select_dst: bpy.stub_internal.rna_enums.DtLayersSelectDstItems
|
|
811
|
+
| None = "ACTIVE",
|
|
812
|
+
mix_mode: bpy.stub_internal.rna_enums.DtMixModeItems | None = "REPLACE",
|
|
810
813
|
mix_factor: float | None = 1.0,
|
|
811
814
|
):
|
|
812
815
|
"""Transfer data layer(s) (weights, edge sharp, etc.) from active to selected meshes
|
|
@@ -861,13 +864,13 @@ def data_transfer(
|
|
|
861
864
|
:param use_create: Create Data, Add data layers on destination meshes if needed
|
|
862
865
|
:type use_create: bool | None
|
|
863
866
|
:param vert_mapping: Vertex Mapping, Method used to map source vertices to destination ones
|
|
864
|
-
:type vert_mapping: bpy.
|
|
867
|
+
:type vert_mapping: bpy.stub_internal.rna_enums.DtMethodVertexItems | None
|
|
865
868
|
:param edge_mapping: Edge Mapping, Method used to map source edges to destination ones
|
|
866
|
-
:type edge_mapping: bpy.
|
|
869
|
+
:type edge_mapping: bpy.stub_internal.rna_enums.DtMethodEdgeItems | None
|
|
867
870
|
:param loop_mapping: Face Corner Mapping, Method used to map source faces' corners to destination ones
|
|
868
|
-
:type loop_mapping: bpy.
|
|
871
|
+
:type loop_mapping: bpy.stub_internal.rna_enums.DtMethodLoopItems | None
|
|
869
872
|
:param poly_mapping: Face Mapping, Method used to map source faces to destination ones
|
|
870
|
-
:type poly_mapping: bpy.
|
|
873
|
+
:type poly_mapping: bpy.stub_internal.rna_enums.DtMethodPolyItems | None
|
|
871
874
|
:param use_auto_transform: Auto Transform, Automatically compute transformation to get the best possible match between source and destination meshes.Warning: Results will never be as good as manual matching of objects
|
|
872
875
|
:type use_auto_transform: bool | None
|
|
873
876
|
:param use_object_transform: Object Transform, Evaluate source and destination meshes in global space
|
|
@@ -881,11 +884,11 @@ def data_transfer(
|
|
|
881
884
|
:param islands_precision: Islands Precision, Factor controlling precision of islands handling (the higher, the better the results)
|
|
882
885
|
:type islands_precision: float | None
|
|
883
886
|
:param layers_select_src: Source Layers Selection, Which layers to transfer, in case of multi-layers types
|
|
884
|
-
:type layers_select_src: bpy.
|
|
887
|
+
:type layers_select_src: bpy.stub_internal.rna_enums.DtLayersSelectSrcItems | None
|
|
885
888
|
:param layers_select_dst: Destination Layers Matching, How to match source and destination layers
|
|
886
|
-
:type layers_select_dst: bpy.
|
|
889
|
+
:type layers_select_dst: bpy.stub_internal.rna_enums.DtLayersSelectDstItems | None
|
|
887
890
|
:param mix_mode: Mix Mode, How to affect destination elements with source values
|
|
888
|
-
:type mix_mode: bpy.
|
|
891
|
+
:type mix_mode: bpy.stub_internal.rna_enums.DtMixModeItems | None
|
|
889
892
|
:param mix_factor: Mix Factor, Factor to use when applying data to destination (exact behavior depends on mix mode)
|
|
890
893
|
:type mix_factor: float | None
|
|
891
894
|
"""
|
|
@@ -913,8 +916,10 @@ def datalayout_transfer(
|
|
|
913
916
|
]
|
|
914
917
|
| None = "",
|
|
915
918
|
use_delete: bool | None = False,
|
|
916
|
-
layers_select_src: bpy.
|
|
917
|
-
|
|
919
|
+
layers_select_src: bpy.stub_internal.rna_enums.DtLayersSelectSrcItems
|
|
920
|
+
| None = "ACTIVE",
|
|
921
|
+
layers_select_dst: bpy.stub_internal.rna_enums.DtLayersSelectDstItems
|
|
922
|
+
| None = "ACTIVE",
|
|
918
923
|
):
|
|
919
924
|
"""Transfer layout of data layer(s) from active to selected meshes
|
|
920
925
|
|
|
@@ -966,9 +971,9 @@ def datalayout_transfer(
|
|
|
966
971
|
:param use_delete: Exact Match, Also delete some data layers from destination if necessary, so that it matches exactly source
|
|
967
972
|
:type use_delete: bool | None
|
|
968
973
|
:param layers_select_src: Source Layers Selection, Which layers to transfer, in case of multi-layers types
|
|
969
|
-
:type layers_select_src: bpy.
|
|
974
|
+
:type layers_select_src: bpy.stub_internal.rna_enums.DtLayersSelectSrcItems | None
|
|
970
975
|
:param layers_select_dst: Destination Layers Matching, How to match source and destination layers
|
|
971
|
-
:type layers_select_dst: bpy.
|
|
976
|
+
:type layers_select_dst: bpy.stub_internal.rna_enums.DtLayersSelectDstItems | None
|
|
972
977
|
"""
|
|
973
978
|
|
|
974
979
|
def delete(
|
|
@@ -1031,7 +1036,7 @@ def duplicate(
|
|
|
1031
1036
|
/,
|
|
1032
1037
|
*,
|
|
1033
1038
|
linked: bool | None = False,
|
|
1034
|
-
mode: bpy.
|
|
1039
|
+
mode: bpy.stub_internal.rna_enums.TransformModeTypeItems | None = "TRANSLATION",
|
|
1035
1040
|
):
|
|
1036
1041
|
"""Duplicate selected objects
|
|
1037
1042
|
|
|
@@ -1040,7 +1045,7 @@ def duplicate(
|
|
|
1040
1045
|
:param linked: Linked, Duplicate object but not object data, linking to the original data
|
|
1041
1046
|
:type linked: bool | None
|
|
1042
1047
|
:param mode: Mode
|
|
1043
|
-
:type mode: bpy.
|
|
1048
|
+
:type mode: bpy.stub_internal.rna_enums.TransformModeTypeItems | None
|
|
1044
1049
|
"""
|
|
1045
1050
|
|
|
1046
1051
|
def duplicate_move(
|
|
@@ -1176,7 +1181,7 @@ def empty_add(
|
|
|
1176
1181
|
undo: bool | None = None,
|
|
1177
1182
|
/,
|
|
1178
1183
|
*,
|
|
1179
|
-
type: bpy.
|
|
1184
|
+
type: bpy.stub_internal.rna_enums.ObjectEmptyDrawtypeItems | None = "PLAIN_AXES",
|
|
1180
1185
|
radius: float | None = 1.0,
|
|
1181
1186
|
align: typing.Literal["WORLD", "VIEW", "CURSOR"] | None = "WORLD",
|
|
1182
1187
|
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
@@ -1196,7 +1201,7 @@ def empty_add(
|
|
|
1196
1201
|
:type execution_context: int | str | None
|
|
1197
1202
|
:type undo: bool | None
|
|
1198
1203
|
:param type: Type
|
|
1199
|
-
:type type: bpy.
|
|
1204
|
+
:type type: bpy.stub_internal.rna_enums.ObjectEmptyDrawtypeItems | None
|
|
1200
1205
|
:param radius: Radius
|
|
1201
1206
|
:type radius: float | None
|
|
1202
1207
|
:param align: Align, The alignment of the new object
|
|
@@ -1546,7 +1551,7 @@ def grease_pencil_add(
|
|
|
1546
1551
|
undo: bool | None = None,
|
|
1547
1552
|
/,
|
|
1548
1553
|
*,
|
|
1549
|
-
type: bpy.
|
|
1554
|
+
type: bpy.stub_internal.rna_enums.ObjectGpencilTypeItems | None = "EMPTY",
|
|
1550
1555
|
use_in_front: bool | None = True,
|
|
1551
1556
|
stroke_depth_offset: float | None = 0.05,
|
|
1552
1557
|
use_lights: bool | None = False,
|
|
@@ -1570,7 +1575,7 @@ def grease_pencil_add(
|
|
|
1570
1575
|
:type execution_context: int | str | None
|
|
1571
1576
|
:type undo: bool | None
|
|
1572
1577
|
:param type: Type
|
|
1573
|
-
:type type: bpy.
|
|
1578
|
+
:type type: bpy.stub_internal.rna_enums.ObjectGpencilTypeItems | None
|
|
1574
1579
|
:param use_in_front: Show In Front, Show Line Art Grease Pencil in front of everything
|
|
1575
1580
|
:type use_in_front: bool | None
|
|
1576
1581
|
:param stroke_depth_offset: Stroke Offset, Stroke offset for the Line Art modifier
|
|
@@ -1944,7 +1949,7 @@ def light_add(
|
|
|
1944
1949
|
undo: bool | None = None,
|
|
1945
1950
|
/,
|
|
1946
1951
|
*,
|
|
1947
|
-
type: bpy.
|
|
1952
|
+
type: bpy.stub_internal.rna_enums.LightTypeItems | None = "POINT",
|
|
1948
1953
|
radius: float | None = 1.0,
|
|
1949
1954
|
align: typing.Literal["WORLD", "VIEW", "CURSOR"] | None = "WORLD",
|
|
1950
1955
|
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
@@ -1964,7 +1969,7 @@ def light_add(
|
|
|
1964
1969
|
:type execution_context: int | str | None
|
|
1965
1970
|
:type undo: bool | None
|
|
1966
1971
|
:param type: Type
|
|
1967
|
-
:type type: bpy.
|
|
1972
|
+
:type type: bpy.stub_internal.rna_enums.LightTypeItems | None
|
|
1968
1973
|
:param radius: Radius
|
|
1969
1974
|
:type radius: float | None
|
|
1970
1975
|
:param align: Align, The alignment of the new object
|
|
@@ -2489,7 +2494,7 @@ def metaball_add(
|
|
|
2489
2494
|
undo: bool | None = None,
|
|
2490
2495
|
/,
|
|
2491
2496
|
*,
|
|
2492
|
-
type: bpy.
|
|
2497
|
+
type: bpy.stub_internal.rna_enums.MetaelemTypeItems | None = "BALL",
|
|
2493
2498
|
radius: float | None = 2.0,
|
|
2494
2499
|
enter_editmode: bool | None = False,
|
|
2495
2500
|
align: typing.Literal["WORLD", "VIEW", "CURSOR"] | None = "WORLD",
|
|
@@ -2510,7 +2515,7 @@ def metaball_add(
|
|
|
2510
2515
|
:type execution_context: int | str | None
|
|
2511
2516
|
:type undo: bool | None
|
|
2512
2517
|
:param type: Primitive
|
|
2513
|
-
:type type: bpy.
|
|
2518
|
+
:type type: bpy.stub_internal.rna_enums.MetaelemTypeItems | None
|
|
2514
2519
|
:param radius: Radius
|
|
2515
2520
|
:type radius: float | None
|
|
2516
2521
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
@@ -2539,7 +2544,7 @@ def mode_set(
|
|
|
2539
2544
|
undo: bool | None = None,
|
|
2540
2545
|
/,
|
|
2541
2546
|
*,
|
|
2542
|
-
mode: bpy.
|
|
2547
|
+
mode: bpy.stub_internal.rna_enums.ObjectModeItems | None = "OBJECT",
|
|
2543
2548
|
toggle: bool | None = False,
|
|
2544
2549
|
):
|
|
2545
2550
|
"""Sets the object interaction mode
|
|
@@ -2547,7 +2552,7 @@ def mode_set(
|
|
|
2547
2552
|
:type execution_context: int | str | None
|
|
2548
2553
|
:type undo: bool | None
|
|
2549
2554
|
:param mode: Mode
|
|
2550
|
-
:type mode: bpy.
|
|
2555
|
+
:type mode: bpy.stub_internal.rna_enums.ObjectModeItems | None
|
|
2551
2556
|
:param toggle: Toggle
|
|
2552
2557
|
:type toggle: bool | None
|
|
2553
2558
|
"""
|
|
@@ -2557,20 +2562,20 @@ def mode_set_with_submode(
|
|
|
2557
2562
|
undo: bool | None = None,
|
|
2558
2563
|
/,
|
|
2559
2564
|
*,
|
|
2560
|
-
mode: bpy.
|
|
2565
|
+
mode: bpy.stub_internal.rna_enums.ObjectModeItems | None = "OBJECT",
|
|
2561
2566
|
toggle: bool | None = False,
|
|
2562
|
-
mesh_select_mode: set[bpy.
|
|
2567
|
+
mesh_select_mode: set[bpy.stub_internal.rna_enums.MeshSelectModeItems] | None = {},
|
|
2563
2568
|
):
|
|
2564
2569
|
"""Sets the object interaction mode
|
|
2565
2570
|
|
|
2566
2571
|
:type execution_context: int | str | None
|
|
2567
2572
|
:type undo: bool | None
|
|
2568
2573
|
:param mode: Mode
|
|
2569
|
-
:type mode: bpy.
|
|
2574
|
+
:type mode: bpy.stub_internal.rna_enums.ObjectModeItems | None
|
|
2570
2575
|
:param toggle: Toggle
|
|
2571
2576
|
:type toggle: bool | None
|
|
2572
2577
|
:param mesh_select_mode: Mesh Mode
|
|
2573
|
-
:type mesh_select_mode: set[bpy.
|
|
2578
|
+
:type mesh_select_mode: set[bpy.stub_internal.rna_enums.MeshSelectModeItems] | None
|
|
2574
2579
|
"""
|
|
2575
2580
|
|
|
2576
2581
|
def modifier_add(
|
|
@@ -2578,7 +2583,7 @@ def modifier_add(
|
|
|
2578
2583
|
undo: bool | None = None,
|
|
2579
2584
|
/,
|
|
2580
2585
|
*,
|
|
2581
|
-
type: bpy.
|
|
2586
|
+
type: bpy.stub_internal.rna_enums.ObjectModifierTypeItems | None = "SUBSURF",
|
|
2582
2587
|
use_selected_objects: bool | None = False,
|
|
2583
2588
|
):
|
|
2584
2589
|
"""Add a procedural operation/effect to the active object
|
|
@@ -2586,7 +2591,7 @@ def modifier_add(
|
|
|
2586
2591
|
:type execution_context: int | str | None
|
|
2587
2592
|
:type undo: bool | None
|
|
2588
2593
|
:param type: Type
|
|
2589
|
-
:type type: bpy.
|
|
2594
|
+
:type type: bpy.stub_internal.rna_enums.ObjectModifierTypeItems | None
|
|
2590
2595
|
:param use_selected_objects: Selected Objects, Affect all selected objects instead of just the active object
|
|
2591
2596
|
:type use_selected_objects: bool | None
|
|
2592
2597
|
"""
|
|
@@ -2596,7 +2601,8 @@ def modifier_add_node_group(
|
|
|
2596
2601
|
undo: bool | None = None,
|
|
2597
2602
|
/,
|
|
2598
2603
|
*,
|
|
2599
|
-
asset_library_type: bpy.
|
|
2604
|
+
asset_library_type: bpy.stub_internal.rna_enums.AssetLibraryTypeItems
|
|
2605
|
+
| None = "LOCAL",
|
|
2600
2606
|
asset_library_identifier: str = "",
|
|
2601
2607
|
relative_asset_identifier: str = "",
|
|
2602
2608
|
session_uid: int | None = 0,
|
|
@@ -2607,7 +2613,7 @@ def modifier_add_node_group(
|
|
|
2607
2613
|
:type execution_context: int | str | None
|
|
2608
2614
|
:type undo: bool | None
|
|
2609
2615
|
:param asset_library_type: Asset Library Type
|
|
2610
|
-
:type asset_library_type: bpy.
|
|
2616
|
+
:type asset_library_type: bpy.stub_internal.rna_enums.AssetLibraryTypeItems | None
|
|
2611
2617
|
:param asset_library_identifier: Asset Library Identifier
|
|
2612
2618
|
:type asset_library_identifier: str
|
|
2613
2619
|
:param relative_asset_identifier: Relative Asset Identifier
|
|
@@ -3232,17 +3238,18 @@ def paths_calculate(
|
|
|
3232
3238
|
undo: bool | None = None,
|
|
3233
3239
|
/,
|
|
3234
3240
|
*,
|
|
3235
|
-
display_type: bpy.
|
|
3236
|
-
|
|
3241
|
+
display_type: bpy.stub_internal.rna_enums.MotionpathDisplayTypeItems
|
|
3242
|
+
| None = "RANGE",
|
|
3243
|
+
range: bpy.stub_internal.rna_enums.MotionpathRangeItems | None = "SCENE",
|
|
3237
3244
|
):
|
|
3238
3245
|
"""Generate motion paths for the selected objects
|
|
3239
3246
|
|
|
3240
3247
|
:type execution_context: int | str | None
|
|
3241
3248
|
:type undo: bool | None
|
|
3242
3249
|
:param display_type: Display type
|
|
3243
|
-
:type display_type: bpy.
|
|
3250
|
+
:type display_type: bpy.stub_internal.rna_enums.MotionpathDisplayTypeItems | None
|
|
3244
3251
|
:param range: Computation Range
|
|
3245
|
-
:type range: bpy.
|
|
3252
|
+
:type range: bpy.stub_internal.rna_enums.MotionpathRangeItems | None
|
|
3246
3253
|
"""
|
|
3247
3254
|
|
|
3248
3255
|
def paths_clear(
|
|
@@ -3590,7 +3597,7 @@ def select_by_type(
|
|
|
3590
3597
|
/,
|
|
3591
3598
|
*,
|
|
3592
3599
|
extend: bool | None = False,
|
|
3593
|
-
type: bpy.
|
|
3600
|
+
type: bpy.stub_internal.rna_enums.ObjectTypeItems | None = "MESH",
|
|
3594
3601
|
):
|
|
3595
3602
|
"""Select all visible objects that are of a type
|
|
3596
3603
|
|
|
@@ -3599,7 +3606,7 @@ def select_by_type(
|
|
|
3599
3606
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
3600
3607
|
:type extend: bool | None
|
|
3601
3608
|
:param type: Type
|
|
3602
|
-
:type type: bpy.
|
|
3609
|
+
:type type: bpy.stub_internal.rna_enums.ObjectTypeItems | None
|
|
3603
3610
|
"""
|
|
3604
3611
|
|
|
3605
3612
|
def select_camera(
|
|
@@ -3883,14 +3890,14 @@ def shaderfx_add(
|
|
|
3883
3890
|
undo: bool | None = None,
|
|
3884
3891
|
/,
|
|
3885
3892
|
*,
|
|
3886
|
-
type: bpy.
|
|
3893
|
+
type: bpy.stub_internal.rna_enums.ObjectShaderfxTypeItems | None = "FX_BLUR",
|
|
3887
3894
|
):
|
|
3888
3895
|
"""Add a visual effect to the active object
|
|
3889
3896
|
|
|
3890
3897
|
:type execution_context: int | str | None
|
|
3891
3898
|
:type undo: bool | None
|
|
3892
3899
|
:param type: Type
|
|
3893
|
-
:type type: bpy.
|
|
3900
|
+
:type type: bpy.stub_internal.rna_enums.ObjectShaderfxTypeItems | None
|
|
3894
3901
|
"""
|
|
3895
3902
|
|
|
3896
3903
|
def shaderfx_copy(
|
bpy/ops/outliner/__init__.pyi
CHANGED
|
@@ -2,7 +2,7 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
import numpy.typing as npt
|
|
5
|
-
import bpy.
|
|
5
|
+
import bpy.stub_internal.rna_enums
|
|
6
6
|
|
|
7
7
|
def action_set(
|
|
8
8
|
execution_context: int | str | None = None,
|
|
@@ -64,14 +64,14 @@ def collection_color_tag_set(
|
|
|
64
64
|
undo: bool | None = None,
|
|
65
65
|
/,
|
|
66
66
|
*,
|
|
67
|
-
color: bpy.
|
|
67
|
+
color: bpy.stub_internal.rna_enums.CollectionColorItems | None = "NONE",
|
|
68
68
|
):
|
|
69
69
|
"""Set a color tag for the selected collections
|
|
70
70
|
|
|
71
71
|
:type execution_context: int | str | None
|
|
72
72
|
:type undo: bool | None
|
|
73
73
|
:param color: Color Tag
|
|
74
|
-
:type color: bpy.
|
|
74
|
+
:type color: bpy.stub_internal.rna_enums.CollectionColorItems | None
|
|
75
75
|
"""
|
|
76
76
|
|
|
77
77
|
def collection_disable(
|
|
@@ -495,7 +495,7 @@ def id_remap(
|
|
|
495
495
|
undo: bool | None = None,
|
|
496
496
|
/,
|
|
497
497
|
*,
|
|
498
|
-
id_type: bpy.
|
|
498
|
+
id_type: bpy.stub_internal.rna_enums.IdTypeItems | None = "OBJECT",
|
|
499
499
|
old_id: str | None = "",
|
|
500
500
|
new_id: str | None = "",
|
|
501
501
|
):
|
|
@@ -504,7 +504,7 @@ def id_remap(
|
|
|
504
504
|
:type execution_context: int | str | None
|
|
505
505
|
:type undo: bool | None
|
|
506
506
|
:param id_type: ID Type
|
|
507
|
-
:type id_type: bpy.
|
|
507
|
+
:type id_type: bpy.stub_internal.rna_enums.IdTypeItems | None
|
|
508
508
|
:param old_id: Old ID, Old ID to replace
|
|
509
509
|
:type old_id: str | None
|
|
510
510
|
:param new_id: New ID, New ID to remap all selected IDs' users to
|
bpy/ops/paint/__init__.pyi
CHANGED
|
@@ -2,7 +2,7 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
import numpy.typing as npt
|
|
5
|
-
import bpy.
|
|
5
|
+
import bpy.stub_internal.rna_enums
|
|
6
6
|
import bpy.types
|
|
7
7
|
import mathutils
|
|
8
8
|
|
|
@@ -36,10 +36,12 @@ def add_texture_paint_slot(
|
|
|
36
36
|
width: int | None = 1024,
|
|
37
37
|
height: int | None = 1024,
|
|
38
38
|
alpha: bool | None = True,
|
|
39
|
-
generated_type: bpy.
|
|
39
|
+
generated_type: bpy.stub_internal.rna_enums.ImageGeneratedTypeItems
|
|
40
|
+
| None = "BLANK",
|
|
40
41
|
float: bool | None = False,
|
|
41
|
-
domain: bpy.
|
|
42
|
-
data_type: bpy.
|
|
42
|
+
domain: bpy.stub_internal.rna_enums.ColorAttributeDomainItems | None = "POINT",
|
|
43
|
+
data_type: bpy.stub_internal.rna_enums.ColorAttributeTypeItems
|
|
44
|
+
| None = "FLOAT_COLOR",
|
|
43
45
|
):
|
|
44
46
|
"""Add a paint slot
|
|
45
47
|
|
|
@@ -60,13 +62,13 @@ def add_texture_paint_slot(
|
|
|
60
62
|
:param alpha: Alpha, Create an image with an alpha channel
|
|
61
63
|
:type alpha: bool | None
|
|
62
64
|
:param generated_type: Generated Type, Fill the image with a grid for UV map testing
|
|
63
|
-
:type generated_type: bpy.
|
|
65
|
+
:type generated_type: bpy.stub_internal.rna_enums.ImageGeneratedTypeItems | None
|
|
64
66
|
:param float: 32-bit Float, Create image with 32-bit floating-point bit depth
|
|
65
67
|
:type float: bool | None
|
|
66
68
|
:param domain: Domain, Type of element that attribute is stored on
|
|
67
|
-
:type domain: bpy.
|
|
69
|
+
:type domain: bpy.stub_internal.rna_enums.ColorAttributeDomainItems | None
|
|
68
70
|
:param data_type: Data Type, Type of data stored in attribute
|
|
69
|
-
:type data_type: bpy.
|
|
71
|
+
:type data_type: bpy.stub_internal.rna_enums.ColorAttributeTypeItems | None
|
|
70
72
|
"""
|
|
71
73
|
|
|
72
74
|
def brush_colors_flip(
|
bpy/ops/pose/__init__.pyi
CHANGED
|
@@ -2,7 +2,7 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
import numpy.typing as npt
|
|
5
|
-
import bpy.
|
|
5
|
+
import bpy.stub_internal.rna_enums
|
|
6
6
|
|
|
7
7
|
def armature_apply(
|
|
8
8
|
execution_context: int | str | None = None,
|
|
@@ -222,14 +222,14 @@ def constraint_add(
|
|
|
222
222
|
undo: bool | None = None,
|
|
223
223
|
/,
|
|
224
224
|
*,
|
|
225
|
-
type: bpy.
|
|
225
|
+
type: bpy.stub_internal.rna_enums.ConstraintTypeItems | None = "",
|
|
226
226
|
):
|
|
227
227
|
"""Add a constraint to the active bone
|
|
228
228
|
|
|
229
229
|
:type execution_context: int | str | None
|
|
230
230
|
:type undo: bool | None
|
|
231
231
|
:param type: Type
|
|
232
|
-
:type type: bpy.
|
|
232
|
+
:type type: bpy.stub_internal.rna_enums.ConstraintTypeItems | None
|
|
233
233
|
"""
|
|
234
234
|
|
|
235
235
|
def constraint_add_with_targets(
|
|
@@ -237,14 +237,14 @@ def constraint_add_with_targets(
|
|
|
237
237
|
undo: bool | None = None,
|
|
238
238
|
/,
|
|
239
239
|
*,
|
|
240
|
-
type: bpy.
|
|
240
|
+
type: bpy.stub_internal.rna_enums.ConstraintTypeItems | None = "",
|
|
241
241
|
):
|
|
242
242
|
"""Add a constraint to the active bone, with target (where applicable) set to the selected Objects/Bones
|
|
243
243
|
|
|
244
244
|
:type execution_context: int | str | None
|
|
245
245
|
:type undo: bool | None
|
|
246
246
|
:param type: Type
|
|
247
|
-
:type type: bpy.
|
|
247
|
+
:type type: bpy.stub_internal.rna_enums.ConstraintTypeItems | None
|
|
248
248
|
"""
|
|
249
249
|
|
|
250
250
|
def constraints_clear(
|
|
@@ -354,20 +354,22 @@ def paths_calculate(
|
|
|
354
354
|
undo: bool | None = None,
|
|
355
355
|
/,
|
|
356
356
|
*,
|
|
357
|
-
display_type: bpy.
|
|
358
|
-
|
|
359
|
-
|
|
357
|
+
display_type: bpy.stub_internal.rna_enums.MotionpathDisplayTypeItems
|
|
358
|
+
| None = "RANGE",
|
|
359
|
+
range: bpy.stub_internal.rna_enums.MotionpathRangeItems | None = "SCENE",
|
|
360
|
+
bake_location: bpy.stub_internal.rna_enums.MotionpathBakeLocationItems
|
|
361
|
+
| None = "HEADS",
|
|
360
362
|
):
|
|
361
363
|
"""Calculate paths for the selected bones
|
|
362
364
|
|
|
363
365
|
:type execution_context: int | str | None
|
|
364
366
|
:type undo: bool | None
|
|
365
367
|
:param display_type: Display type
|
|
366
|
-
:type display_type: bpy.
|
|
368
|
+
:type display_type: bpy.stub_internal.rna_enums.MotionpathDisplayTypeItems | None
|
|
367
369
|
:param range: Computation Range
|
|
368
|
-
:type range: bpy.
|
|
370
|
+
:type range: bpy.stub_internal.rna_enums.MotionpathRangeItems | None
|
|
369
371
|
:param bake_location: Bake Location, Which point on the bones is used when calculating paths
|
|
370
|
-
:type bake_location: bpy.
|
|
372
|
+
:type bake_location: bpy.stub_internal.rna_enums.MotionpathBakeLocationItems | None
|
|
371
373
|
"""
|
|
372
374
|
|
|
373
375
|
def paths_clear(
|
|
@@ -597,14 +599,14 @@ def rotation_mode_set(
|
|
|
597
599
|
undo: bool | None = None,
|
|
598
600
|
/,
|
|
599
601
|
*,
|
|
600
|
-
type: bpy.
|
|
602
|
+
type: bpy.stub_internal.rna_enums.ObjectRotationModeItems | None = "QUATERNION",
|
|
601
603
|
):
|
|
602
604
|
"""Set the rotation representation used by selected bones
|
|
603
605
|
|
|
604
606
|
:type execution_context: int | str | None
|
|
605
607
|
:type undo: bool | None
|
|
606
608
|
:param type: Rotation Mode
|
|
607
|
-
:type type: bpy.
|
|
609
|
+
:type type: bpy.stub_internal.rna_enums.ObjectRotationModeItems | None
|
|
608
610
|
"""
|
|
609
611
|
|
|
610
612
|
def scale_clear(execution_context: int | str | None = None, undo: bool | None = None):
|