fake-bpy-module 20250103__py3-none-any.whl → 20250108__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/node_add_menu_shader/__init__.pyi +0 -1
- bl_ui/properties_data_camera/__init__.pyi +0 -2
- bl_ui/space_node/__init__.pyi +0 -1
- bmesh/ops/__init__.pyi +1 -1
- bpy/__init__.pyi +0 -1
- bpy/_typing/__init__.pyi +4 -0
- bpy/{typing → _typing/rna_enums}/__init__.pyi +9 -9
- bpy/app/__init__.pyi +3 -3
- bpy/ops/action/__init__.pyi +13 -13
- bpy/ops/boid/__init__.pyi +3 -3
- bpy/ops/brush/__init__.pyi +3 -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 +19 -19
- bpy/ops/graph/__init__.pyi +17 -17
- bpy/ops/grease_pencil/__init__.pyi +9 -27
- bpy/ops/image/__init__.pyi +9 -9
- bpy/ops/lattice/__init__.pyi +3 -3
- bpy/ops/mesh/__init__.pyi +54 -43
- bpy/ops/nla/__init__.pyi +3 -3
- bpy/ops/node/__init__.pyi +3 -3
- bpy/ops/object/__init__.pyi +69 -69
- bpy/ops/outliner/__init__.pyi +5 -5
- bpy/ops/paint/__init__.pyi +7 -7
- bpy/ops/pose/__init__.pyi +13 -13
- bpy/ops/rigidbody/__init__.pyi +9 -9
- bpy/ops/scene/__init__.pyi +10 -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 +87 -73
- bpy/ops/uv/__init__.pyi +3 -3
- bpy/ops/wm/__init__.pyi +18 -15
- bpy/props/__init__.pyi +61 -63
- bpy/types/__init__.pyi +31646 -31532
- bpy/utils/__init__.pyi +3 -10
- {fake_bpy_module-20250103.dist-info → fake_bpy_module-20250108.dist-info}/METADATA +1 -1
- {fake_bpy_module-20250103.dist-info → fake_bpy_module-20250108.dist-info}/RECORD +44 -43
- {fake_bpy_module-20250103.dist-info → fake_bpy_module-20250108.dist-info}/WHEEL +1 -1
- freestyle/utils/__init__.pyi +1 -1
- gpu_extras/batch/__init__.pyi +3 -2
- {fake_bpy_module-20250103.dist-info → fake_bpy_module-20250108.dist-info}/top_level.txt +0 -0
bpy/ops/object/__init__.pyi
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
|
+
import bpy._typing.rna_enums
|
|
4
5
|
import bpy.ops.transform
|
|
5
6
|
import bpy.types
|
|
6
|
-
import bpy.typing
|
|
7
7
|
import mathutils
|
|
8
8
|
|
|
9
9
|
def add(
|
|
@@ -12,7 +12,7 @@ def add(
|
|
|
12
12
|
/,
|
|
13
13
|
*,
|
|
14
14
|
radius: float | None = 1.0,
|
|
15
|
-
type: bpy.
|
|
15
|
+
type: bpy._typing.rna_enums.ObjectTypeItems | None = "EMPTY",
|
|
16
16
|
enter_editmode: bool | None = False,
|
|
17
17
|
align: typing.Literal["WORLD", "VIEW", "CURSOR"] | None = "WORLD",
|
|
18
18
|
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
@@ -34,7 +34,7 @@ def add(
|
|
|
34
34
|
:param radius: Radius
|
|
35
35
|
:type radius: float | None
|
|
36
36
|
:param type: Type
|
|
37
|
-
:type type: bpy.
|
|
37
|
+
:type type: bpy._typing.rna_enums.ObjectTypeItems | None
|
|
38
38
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
39
39
|
:type enter_editmode: bool | None
|
|
40
40
|
:param align: Align, The alignment of the new object
|
|
@@ -217,23 +217,23 @@ def bake(
|
|
|
217
217
|
undo: bool | None = None,
|
|
218
218
|
/,
|
|
219
219
|
*,
|
|
220
|
-
type: bpy.
|
|
221
|
-
pass_filter: set[bpy.
|
|
220
|
+
type: bpy._typing.rna_enums.BakePassTypeItems | None = "COMBINED",
|
|
221
|
+
pass_filter: set[bpy._typing.rna_enums.BakePassFilterTypeItems] | None = {},
|
|
222
222
|
filepath: str = "",
|
|
223
223
|
width: int | None = 512,
|
|
224
224
|
height: int | None = 512,
|
|
225
225
|
margin: int | None = 16,
|
|
226
|
-
margin_type: bpy.
|
|
226
|
+
margin_type: bpy._typing.rna_enums.BakeMarginTypeItems | None = "EXTEND",
|
|
227
227
|
use_selected_to_active: bool | None = False,
|
|
228
228
|
max_ray_distance: float | None = 0.0,
|
|
229
229
|
cage_extrusion: float | None = 0.0,
|
|
230
230
|
cage_object: str = "",
|
|
231
|
-
normal_space: bpy.
|
|
232
|
-
normal_r: bpy.
|
|
233
|
-
normal_g: bpy.
|
|
234
|
-
normal_b: bpy.
|
|
235
|
-
target: bpy.
|
|
236
|
-
save_mode: bpy.
|
|
231
|
+
normal_space: bpy._typing.rna_enums.NormalSpaceItems | None = "TANGENT",
|
|
232
|
+
normal_r: bpy._typing.rna_enums.NormalSwizzleItems | None = "POS_X",
|
|
233
|
+
normal_g: bpy._typing.rna_enums.NormalSwizzleItems | None = "POS_Y",
|
|
234
|
+
normal_b: bpy._typing.rna_enums.NormalSwizzleItems | None = "POS_Z",
|
|
235
|
+
target: bpy._typing.rna_enums.BakeTargetItems | None = "IMAGE_TEXTURES",
|
|
236
|
+
save_mode: bpy._typing.rna_enums.BakeSaveModeItems | None = "INTERNAL",
|
|
237
237
|
use_clear: bool | None = False,
|
|
238
238
|
use_cage: bool | None = False,
|
|
239
239
|
use_split_materials: bool | None = False,
|
|
@@ -245,9 +245,9 @@ def bake(
|
|
|
245
245
|
:type execution_context: int | str | None
|
|
246
246
|
:type undo: bool | None
|
|
247
247
|
:param type: Type, Type of pass to bake, some of them may not be supported by the current render engine
|
|
248
|
-
:type type: bpy.
|
|
248
|
+
:type type: bpy._typing.rna_enums.BakePassTypeItems | None
|
|
249
249
|
:param pass_filter: Pass Filter, Filter to combined, diffuse, glossy, transmission and subsurface passes
|
|
250
|
-
:type pass_filter: set[bpy.
|
|
250
|
+
:type pass_filter: set[bpy._typing.rna_enums.BakePassFilterTypeItems] | None
|
|
251
251
|
:param filepath: File Path, Image filepath to use when saving externally
|
|
252
252
|
:type filepath: str
|
|
253
253
|
:param width: Width, Horizontal dimension of the baking map (external only)
|
|
@@ -257,7 +257,7 @@ def bake(
|
|
|
257
257
|
:param margin: Margin, Extends the baked result as a post process filter
|
|
258
258
|
:type margin: int | None
|
|
259
259
|
:param margin_type: Margin Type, Which algorithm to use to generate the margin
|
|
260
|
-
:type margin_type: bpy.
|
|
260
|
+
:type margin_type: bpy._typing.rna_enums.BakeMarginTypeItems | None
|
|
261
261
|
:param use_selected_to_active: Selected to Active, Bake shading on the surface of selected objects to the active object
|
|
262
262
|
:type use_selected_to_active: bool | None
|
|
263
263
|
: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
|
|
@@ -267,17 +267,17 @@ def bake(
|
|
|
267
267
|
:param cage_object: Cage Object, Object to use as cage, instead of calculating the cage from the active object with cage extrusion
|
|
268
268
|
:type cage_object: str
|
|
269
269
|
:param normal_space: Normal Space, Choose normal space for baking
|
|
270
|
-
:type normal_space: bpy.
|
|
270
|
+
:type normal_space: bpy._typing.rna_enums.NormalSpaceItems | None
|
|
271
271
|
:param normal_r: R, Axis to bake in red channel
|
|
272
|
-
:type normal_r: bpy.
|
|
272
|
+
:type normal_r: bpy._typing.rna_enums.NormalSwizzleItems | None
|
|
273
273
|
:param normal_g: G, Axis to bake in green channel
|
|
274
|
-
:type normal_g: bpy.
|
|
274
|
+
:type normal_g: bpy._typing.rna_enums.NormalSwizzleItems | None
|
|
275
275
|
:param normal_b: B, Axis to bake in blue channel
|
|
276
|
-
:type normal_b: bpy.
|
|
276
|
+
:type normal_b: bpy._typing.rna_enums.NormalSwizzleItems | None
|
|
277
277
|
:param target: Target, Where to output the baked map
|
|
278
|
-
:type target: bpy.
|
|
278
|
+
:type target: bpy._typing.rna_enums.BakeTargetItems | None
|
|
279
279
|
:param save_mode: Save Mode, Where to save baked image textures
|
|
280
|
-
:type save_mode: bpy.
|
|
280
|
+
:type save_mode: bpy._typing.rna_enums.BakeSaveModeItems | None
|
|
281
281
|
:param use_clear: Clear, Clear images before baking (only for internal saving)
|
|
282
282
|
:type use_clear: bool | None
|
|
283
283
|
:param use_cage: Cage, Cast rays to active object from a cage
|
|
@@ -717,7 +717,7 @@ def data_instance_add(
|
|
|
717
717
|
*,
|
|
718
718
|
name: str = "",
|
|
719
719
|
session_uid: int | None = 0,
|
|
720
|
-
type: bpy.
|
|
720
|
+
type: bpy._typing.rna_enums.IdTypeItems | None = "ACTION",
|
|
721
721
|
align: typing.Literal["WORLD", "VIEW", "CURSOR"] | None = "WORLD",
|
|
722
722
|
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
723
723
|
0.0,
|
|
@@ -742,7 +742,7 @@ def data_instance_add(
|
|
|
742
742
|
:param session_uid: Session UID, Session UID of the data-block to use by the operator
|
|
743
743
|
:type session_uid: int | None
|
|
744
744
|
:param type: Type
|
|
745
|
-
:type type: bpy.
|
|
745
|
+
:type type: bpy._typing.rna_enums.IdTypeItems | None
|
|
746
746
|
:param align: Align, The alignment of the new object
|
|
747
747
|
|
|
748
748
|
WORLD
|
|
@@ -790,19 +790,19 @@ def data_transfer(
|
|
|
790
790
|
]
|
|
791
791
|
| None = "",
|
|
792
792
|
use_create: bool | None = True,
|
|
793
|
-
vert_mapping: bpy.
|
|
794
|
-
edge_mapping: bpy.
|
|
795
|
-
loop_mapping: bpy.
|
|
796
|
-
poly_mapping: bpy.
|
|
793
|
+
vert_mapping: bpy._typing.rna_enums.DtMethodVertexItems | None = "NEAREST",
|
|
794
|
+
edge_mapping: bpy._typing.rna_enums.DtMethodEdgeItems | None = "NEAREST",
|
|
795
|
+
loop_mapping: bpy._typing.rna_enums.DtMethodLoopItems | None = "NEAREST_POLYNOR",
|
|
796
|
+
poly_mapping: bpy._typing.rna_enums.DtMethodPolyItems | None = "NEAREST",
|
|
797
797
|
use_auto_transform: bool | None = False,
|
|
798
798
|
use_object_transform: bool | None = True,
|
|
799
799
|
use_max_distance: bool | None = False,
|
|
800
800
|
max_distance: float | None = 1.0,
|
|
801
801
|
ray_radius: float | None = 0.0,
|
|
802
802
|
islands_precision: float | None = 0.1,
|
|
803
|
-
layers_select_src: bpy.
|
|
804
|
-
layers_select_dst: bpy.
|
|
805
|
-
mix_mode: bpy.
|
|
803
|
+
layers_select_src: bpy._typing.rna_enums.DtLayersSelectSrcItems | None = "ACTIVE",
|
|
804
|
+
layers_select_dst: bpy._typing.rna_enums.DtLayersSelectDstItems | None = "ACTIVE",
|
|
805
|
+
mix_mode: bpy._typing.rna_enums.DtMixModeItems | None = "REPLACE",
|
|
806
806
|
mix_factor: float | None = 1.0,
|
|
807
807
|
):
|
|
808
808
|
"""Transfer data layer(s) (weights, edge sharp, etc.) from active to selected meshes
|
|
@@ -857,13 +857,13 @@ def data_transfer(
|
|
|
857
857
|
:param use_create: Create Data, Add data layers on destination meshes if needed
|
|
858
858
|
:type use_create: bool | None
|
|
859
859
|
:param vert_mapping: Vertex Mapping, Method used to map source vertices to destination ones
|
|
860
|
-
:type vert_mapping: bpy.
|
|
860
|
+
:type vert_mapping: bpy._typing.rna_enums.DtMethodVertexItems | None
|
|
861
861
|
:param edge_mapping: Edge Mapping, Method used to map source edges to destination ones
|
|
862
|
-
:type edge_mapping: bpy.
|
|
862
|
+
:type edge_mapping: bpy._typing.rna_enums.DtMethodEdgeItems | None
|
|
863
863
|
:param loop_mapping: Face Corner Mapping, Method used to map source faces' corners to destination ones
|
|
864
|
-
:type loop_mapping: bpy.
|
|
864
|
+
:type loop_mapping: bpy._typing.rna_enums.DtMethodLoopItems | None
|
|
865
865
|
:param poly_mapping: Face Mapping, Method used to map source faces to destination ones
|
|
866
|
-
:type poly_mapping: bpy.
|
|
866
|
+
:type poly_mapping: bpy._typing.rna_enums.DtMethodPolyItems | None
|
|
867
867
|
: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
|
|
868
868
|
:type use_auto_transform: bool | None
|
|
869
869
|
:param use_object_transform: Object Transform, Evaluate source and destination meshes in global space
|
|
@@ -877,11 +877,11 @@ def data_transfer(
|
|
|
877
877
|
:param islands_precision: Islands Precision, Factor controlling precision of islands handling (the higher, the better the results)
|
|
878
878
|
:type islands_precision: float | None
|
|
879
879
|
:param layers_select_src: Source Layers Selection, Which layers to transfer, in case of multi-layers types
|
|
880
|
-
:type layers_select_src: bpy.
|
|
880
|
+
:type layers_select_src: bpy._typing.rna_enums.DtLayersSelectSrcItems | None
|
|
881
881
|
:param layers_select_dst: Destination Layers Matching, How to match source and destination layers
|
|
882
|
-
:type layers_select_dst: bpy.
|
|
882
|
+
:type layers_select_dst: bpy._typing.rna_enums.DtLayersSelectDstItems | None
|
|
883
883
|
:param mix_mode: Mix Mode, How to affect destination elements with source values
|
|
884
|
-
:type mix_mode: bpy.
|
|
884
|
+
:type mix_mode: bpy._typing.rna_enums.DtMixModeItems | None
|
|
885
885
|
:param mix_factor: Mix Factor, Factor to use when applying data to destination (exact behavior depends on mix mode)
|
|
886
886
|
:type mix_factor: float | None
|
|
887
887
|
"""
|
|
@@ -909,8 +909,8 @@ def datalayout_transfer(
|
|
|
909
909
|
]
|
|
910
910
|
| None = "",
|
|
911
911
|
use_delete: bool | None = False,
|
|
912
|
-
layers_select_src: bpy.
|
|
913
|
-
layers_select_dst: bpy.
|
|
912
|
+
layers_select_src: bpy._typing.rna_enums.DtLayersSelectSrcItems | None = "ACTIVE",
|
|
913
|
+
layers_select_dst: bpy._typing.rna_enums.DtLayersSelectDstItems | None = "ACTIVE",
|
|
914
914
|
):
|
|
915
915
|
"""Transfer layout of data layer(s) from active to selected meshes
|
|
916
916
|
|
|
@@ -962,9 +962,9 @@ def datalayout_transfer(
|
|
|
962
962
|
:param use_delete: Exact Match, Also delete some data layers from destination if necessary, so that it matches exactly source
|
|
963
963
|
:type use_delete: bool | None
|
|
964
964
|
:param layers_select_src: Source Layers Selection, Which layers to transfer, in case of multi-layers types
|
|
965
|
-
:type layers_select_src: bpy.
|
|
965
|
+
:type layers_select_src: bpy._typing.rna_enums.DtLayersSelectSrcItems | None
|
|
966
966
|
:param layers_select_dst: Destination Layers Matching, How to match source and destination layers
|
|
967
|
-
:type layers_select_dst: bpy.
|
|
967
|
+
:type layers_select_dst: bpy._typing.rna_enums.DtLayersSelectDstItems | None
|
|
968
968
|
"""
|
|
969
969
|
|
|
970
970
|
def delete(
|
|
@@ -1027,7 +1027,7 @@ def duplicate(
|
|
|
1027
1027
|
/,
|
|
1028
1028
|
*,
|
|
1029
1029
|
linked: bool | None = False,
|
|
1030
|
-
mode: bpy.
|
|
1030
|
+
mode: bpy._typing.rna_enums.TransformModeTypeItems | None = "TRANSLATION",
|
|
1031
1031
|
):
|
|
1032
1032
|
"""Duplicate selected objects
|
|
1033
1033
|
|
|
@@ -1036,7 +1036,7 @@ def duplicate(
|
|
|
1036
1036
|
:param linked: Linked, Duplicate object but not object data, linking to the original data
|
|
1037
1037
|
:type linked: bool | None
|
|
1038
1038
|
:param mode: Mode
|
|
1039
|
-
:type mode: bpy.
|
|
1039
|
+
:type mode: bpy._typing.rna_enums.TransformModeTypeItems | None
|
|
1040
1040
|
"""
|
|
1041
1041
|
|
|
1042
1042
|
def duplicate_move(
|
|
@@ -1172,7 +1172,7 @@ def empty_add(
|
|
|
1172
1172
|
undo: bool | None = None,
|
|
1173
1173
|
/,
|
|
1174
1174
|
*,
|
|
1175
|
-
type: bpy.
|
|
1175
|
+
type: bpy._typing.rna_enums.ObjectEmptyDrawtypeItems | None = "PLAIN_AXES",
|
|
1176
1176
|
radius: float | None = 1.0,
|
|
1177
1177
|
align: typing.Literal["WORLD", "VIEW", "CURSOR"] | None = "WORLD",
|
|
1178
1178
|
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
@@ -1192,7 +1192,7 @@ def empty_add(
|
|
|
1192
1192
|
:type execution_context: int | str | None
|
|
1193
1193
|
:type undo: bool | None
|
|
1194
1194
|
:param type: Type
|
|
1195
|
-
:type type: bpy.
|
|
1195
|
+
:type type: bpy._typing.rna_enums.ObjectEmptyDrawtypeItems | None
|
|
1196
1196
|
:param radius: Radius
|
|
1197
1197
|
:type radius: float | None
|
|
1198
1198
|
:param align: Align, The alignment of the new object
|
|
@@ -1542,7 +1542,7 @@ def grease_pencil_add(
|
|
|
1542
1542
|
undo: bool | None = None,
|
|
1543
1543
|
/,
|
|
1544
1544
|
*,
|
|
1545
|
-
type: bpy.
|
|
1545
|
+
type: bpy._typing.rna_enums.ObjectGpencilTypeItems | None = "EMPTY",
|
|
1546
1546
|
use_in_front: bool | None = True,
|
|
1547
1547
|
stroke_depth_offset: float | None = 0.05,
|
|
1548
1548
|
use_lights: bool | None = False,
|
|
@@ -1566,7 +1566,7 @@ def grease_pencil_add(
|
|
|
1566
1566
|
:type execution_context: int | str | None
|
|
1567
1567
|
:type undo: bool | None
|
|
1568
1568
|
:param type: Type
|
|
1569
|
-
:type type: bpy.
|
|
1569
|
+
:type type: bpy._typing.rna_enums.ObjectGpencilTypeItems | None
|
|
1570
1570
|
:param use_in_front: Show In Front, Show Line Art Grease Pencil in front of everything
|
|
1571
1571
|
:type use_in_front: bool | None
|
|
1572
1572
|
:param stroke_depth_offset: Stroke Offset, Stroke offset for the Line Art modifier
|
|
@@ -1940,7 +1940,7 @@ def light_add(
|
|
|
1940
1940
|
undo: bool | None = None,
|
|
1941
1941
|
/,
|
|
1942
1942
|
*,
|
|
1943
|
-
type: bpy.
|
|
1943
|
+
type: bpy._typing.rna_enums.LightTypeItems | None = "POINT",
|
|
1944
1944
|
radius: float | None = 1.0,
|
|
1945
1945
|
align: typing.Literal["WORLD", "VIEW", "CURSOR"] | None = "WORLD",
|
|
1946
1946
|
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
@@ -1960,7 +1960,7 @@ def light_add(
|
|
|
1960
1960
|
:type execution_context: int | str | None
|
|
1961
1961
|
:type undo: bool | None
|
|
1962
1962
|
:param type: Type
|
|
1963
|
-
:type type: bpy.
|
|
1963
|
+
:type type: bpy._typing.rna_enums.LightTypeItems | None
|
|
1964
1964
|
:param radius: Radius
|
|
1965
1965
|
:type radius: float | None
|
|
1966
1966
|
:param align: Align, The alignment of the new object
|
|
@@ -2476,7 +2476,7 @@ def metaball_add(
|
|
|
2476
2476
|
undo: bool | None = None,
|
|
2477
2477
|
/,
|
|
2478
2478
|
*,
|
|
2479
|
-
type: bpy.
|
|
2479
|
+
type: bpy._typing.rna_enums.MetaelemTypeItems | None = "BALL",
|
|
2480
2480
|
radius: float | None = 2.0,
|
|
2481
2481
|
enter_editmode: bool | None = False,
|
|
2482
2482
|
align: typing.Literal["WORLD", "VIEW", "CURSOR"] | None = "WORLD",
|
|
@@ -2497,7 +2497,7 @@ def metaball_add(
|
|
|
2497
2497
|
:type execution_context: int | str | None
|
|
2498
2498
|
:type undo: bool | None
|
|
2499
2499
|
:param type: Primitive
|
|
2500
|
-
:type type: bpy.
|
|
2500
|
+
:type type: bpy._typing.rna_enums.MetaelemTypeItems | None
|
|
2501
2501
|
:param radius: Radius
|
|
2502
2502
|
:type radius: float | None
|
|
2503
2503
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
@@ -2526,7 +2526,7 @@ def mode_set(
|
|
|
2526
2526
|
undo: bool | None = None,
|
|
2527
2527
|
/,
|
|
2528
2528
|
*,
|
|
2529
|
-
mode: bpy.
|
|
2529
|
+
mode: bpy._typing.rna_enums.ObjectModeItems | None = "OBJECT",
|
|
2530
2530
|
toggle: bool | None = False,
|
|
2531
2531
|
):
|
|
2532
2532
|
"""Sets the object interaction mode
|
|
@@ -2534,7 +2534,7 @@ def mode_set(
|
|
|
2534
2534
|
:type execution_context: int | str | None
|
|
2535
2535
|
:type undo: bool | None
|
|
2536
2536
|
:param mode: Mode
|
|
2537
|
-
:type mode: bpy.
|
|
2537
|
+
:type mode: bpy._typing.rna_enums.ObjectModeItems | None
|
|
2538
2538
|
:param toggle: Toggle
|
|
2539
2539
|
:type toggle: bool | None
|
|
2540
2540
|
"""
|
|
@@ -2544,20 +2544,20 @@ def mode_set_with_submode(
|
|
|
2544
2544
|
undo: bool | None = None,
|
|
2545
2545
|
/,
|
|
2546
2546
|
*,
|
|
2547
|
-
mode: bpy.
|
|
2547
|
+
mode: bpy._typing.rna_enums.ObjectModeItems | None = "OBJECT",
|
|
2548
2548
|
toggle: bool | None = False,
|
|
2549
|
-
mesh_select_mode: set[bpy.
|
|
2549
|
+
mesh_select_mode: set[bpy._typing.rna_enums.MeshSelectModeItems] | None = {},
|
|
2550
2550
|
):
|
|
2551
2551
|
"""Sets the object interaction mode
|
|
2552
2552
|
|
|
2553
2553
|
:type execution_context: int | str | None
|
|
2554
2554
|
:type undo: bool | None
|
|
2555
2555
|
:param mode: Mode
|
|
2556
|
-
:type mode: bpy.
|
|
2556
|
+
:type mode: bpy._typing.rna_enums.ObjectModeItems | None
|
|
2557
2557
|
:param toggle: Toggle
|
|
2558
2558
|
:type toggle: bool | None
|
|
2559
2559
|
:param mesh_select_mode: Mesh Mode
|
|
2560
|
-
:type mesh_select_mode: set[bpy.
|
|
2560
|
+
:type mesh_select_mode: set[bpy._typing.rna_enums.MeshSelectModeItems] | None
|
|
2561
2561
|
"""
|
|
2562
2562
|
|
|
2563
2563
|
def modifier_add(
|
|
@@ -2565,7 +2565,7 @@ def modifier_add(
|
|
|
2565
2565
|
undo: bool | None = None,
|
|
2566
2566
|
/,
|
|
2567
2567
|
*,
|
|
2568
|
-
type: bpy.
|
|
2568
|
+
type: bpy._typing.rna_enums.ObjectModifierTypeItems | None = "SUBSURF",
|
|
2569
2569
|
use_selected_objects: bool | None = False,
|
|
2570
2570
|
):
|
|
2571
2571
|
"""Add a procedural operation/effect to the active object
|
|
@@ -2573,7 +2573,7 @@ def modifier_add(
|
|
|
2573
2573
|
:type execution_context: int | str | None
|
|
2574
2574
|
:type undo: bool | None
|
|
2575
2575
|
:param type: Type
|
|
2576
|
-
:type type: bpy.
|
|
2576
|
+
:type type: bpy._typing.rna_enums.ObjectModifierTypeItems | None
|
|
2577
2577
|
:param use_selected_objects: Selected Objects, Affect all selected objects instead of just the active object
|
|
2578
2578
|
:type use_selected_objects: bool | None
|
|
2579
2579
|
"""
|
|
@@ -2583,7 +2583,7 @@ def modifier_add_node_group(
|
|
|
2583
2583
|
undo: bool | None = None,
|
|
2584
2584
|
/,
|
|
2585
2585
|
*,
|
|
2586
|
-
asset_library_type: bpy.
|
|
2586
|
+
asset_library_type: bpy._typing.rna_enums.AssetLibraryTypeItems | None = "LOCAL",
|
|
2587
2587
|
asset_library_identifier: str = "",
|
|
2588
2588
|
relative_asset_identifier: str = "",
|
|
2589
2589
|
session_uid: int | None = 0,
|
|
@@ -2594,7 +2594,7 @@ def modifier_add_node_group(
|
|
|
2594
2594
|
:type execution_context: int | str | None
|
|
2595
2595
|
:type undo: bool | None
|
|
2596
2596
|
:param asset_library_type: Asset Library Type
|
|
2597
|
-
:type asset_library_type: bpy.
|
|
2597
|
+
:type asset_library_type: bpy._typing.rna_enums.AssetLibraryTypeItems | None
|
|
2598
2598
|
:param asset_library_identifier: Asset Library Identifier
|
|
2599
2599
|
:type asset_library_identifier: str
|
|
2600
2600
|
:param relative_asset_identifier: Relative Asset Identifier
|
|
@@ -3219,17 +3219,17 @@ def paths_calculate(
|
|
|
3219
3219
|
undo: bool | None = None,
|
|
3220
3220
|
/,
|
|
3221
3221
|
*,
|
|
3222
|
-
display_type: bpy.
|
|
3223
|
-
range: bpy.
|
|
3222
|
+
display_type: bpy._typing.rna_enums.MotionpathDisplayTypeItems | None = "RANGE",
|
|
3223
|
+
range: bpy._typing.rna_enums.MotionpathRangeItems | None = "SCENE",
|
|
3224
3224
|
):
|
|
3225
3225
|
"""Generate motion paths for the selected objects
|
|
3226
3226
|
|
|
3227
3227
|
:type execution_context: int | str | None
|
|
3228
3228
|
:type undo: bool | None
|
|
3229
3229
|
:param display_type: Display type
|
|
3230
|
-
:type display_type: bpy.
|
|
3230
|
+
:type display_type: bpy._typing.rna_enums.MotionpathDisplayTypeItems | None
|
|
3231
3231
|
:param range: Computation Range
|
|
3232
|
-
:type range: bpy.
|
|
3232
|
+
:type range: bpy._typing.rna_enums.MotionpathRangeItems | None
|
|
3233
3233
|
"""
|
|
3234
3234
|
|
|
3235
3235
|
def paths_clear(
|
|
@@ -3577,7 +3577,7 @@ def select_by_type(
|
|
|
3577
3577
|
/,
|
|
3578
3578
|
*,
|
|
3579
3579
|
extend: bool | None = False,
|
|
3580
|
-
type: bpy.
|
|
3580
|
+
type: bpy._typing.rna_enums.ObjectTypeItems | None = "MESH",
|
|
3581
3581
|
):
|
|
3582
3582
|
"""Select all visible objects that are of a type
|
|
3583
3583
|
|
|
@@ -3586,7 +3586,7 @@ def select_by_type(
|
|
|
3586
3586
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
3587
3587
|
:type extend: bool | None
|
|
3588
3588
|
:param type: Type
|
|
3589
|
-
:type type: bpy.
|
|
3589
|
+
:type type: bpy._typing.rna_enums.ObjectTypeItems | None
|
|
3590
3590
|
"""
|
|
3591
3591
|
|
|
3592
3592
|
def select_camera(
|
|
@@ -3870,14 +3870,14 @@ def shaderfx_add(
|
|
|
3870
3870
|
undo: bool | None = None,
|
|
3871
3871
|
/,
|
|
3872
3872
|
*,
|
|
3873
|
-
type: bpy.
|
|
3873
|
+
type: bpy._typing.rna_enums.ObjectShaderfxTypeItems | None = "FX_BLUR",
|
|
3874
3874
|
):
|
|
3875
3875
|
"""Add a visual effect to the active object
|
|
3876
3876
|
|
|
3877
3877
|
:type execution_context: int | str | None
|
|
3878
3878
|
:type undo: bool | None
|
|
3879
3879
|
:param type: Type
|
|
3880
|
-
:type type: bpy.
|
|
3880
|
+
:type type: bpy._typing.rna_enums.ObjectShaderfxTypeItems | None
|
|
3881
3881
|
"""
|
|
3882
3882
|
|
|
3883
3883
|
def shaderfx_copy(
|
bpy/ops/outliner/__init__.pyi
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
|
-
import bpy.
|
|
4
|
+
import bpy._typing.rna_enums
|
|
5
5
|
|
|
6
6
|
def action_set(
|
|
7
7
|
execution_context: int | str | None = None,
|
|
@@ -63,14 +63,14 @@ def collection_color_tag_set(
|
|
|
63
63
|
undo: bool | None = None,
|
|
64
64
|
/,
|
|
65
65
|
*,
|
|
66
|
-
color: bpy.
|
|
66
|
+
color: bpy._typing.rna_enums.CollectionColorItems | None = "NONE",
|
|
67
67
|
):
|
|
68
68
|
"""Set a color tag for the selected collections
|
|
69
69
|
|
|
70
70
|
:type execution_context: int | str | None
|
|
71
71
|
:type undo: bool | None
|
|
72
72
|
:param color: Color Tag
|
|
73
|
-
:type color: bpy.
|
|
73
|
+
:type color: bpy._typing.rna_enums.CollectionColorItems | None
|
|
74
74
|
"""
|
|
75
75
|
|
|
76
76
|
def collection_disable(
|
|
@@ -485,7 +485,7 @@ def id_remap(
|
|
|
485
485
|
undo: bool | None = None,
|
|
486
486
|
/,
|
|
487
487
|
*,
|
|
488
|
-
id_type: bpy.
|
|
488
|
+
id_type: bpy._typing.rna_enums.IdTypeItems | None = "OBJECT",
|
|
489
489
|
old_id: str | None = "",
|
|
490
490
|
new_id: str | None = "",
|
|
491
491
|
):
|
|
@@ -494,7 +494,7 @@ def id_remap(
|
|
|
494
494
|
:type execution_context: int | str | None
|
|
495
495
|
:type undo: bool | None
|
|
496
496
|
:param id_type: ID Type
|
|
497
|
-
:type id_type: bpy.
|
|
497
|
+
:type id_type: bpy._typing.rna_enums.IdTypeItems | None
|
|
498
498
|
:param old_id: Old ID, Old ID to replace
|
|
499
499
|
:type old_id: str | None
|
|
500
500
|
:param new_id: New ID, New ID to remap all selected IDs' users to
|
bpy/ops/paint/__init__.pyi
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
|
+
import bpy._typing.rna_enums
|
|
4
5
|
import bpy.types
|
|
5
|
-
import bpy.typing
|
|
6
6
|
import mathutils
|
|
7
7
|
|
|
8
8
|
def add_simple_uvs(
|
|
@@ -35,10 +35,10 @@ def add_texture_paint_slot(
|
|
|
35
35
|
width: int | None = 1024,
|
|
36
36
|
height: int | None = 1024,
|
|
37
37
|
alpha: bool | None = True,
|
|
38
|
-
generated_type: bpy.
|
|
38
|
+
generated_type: bpy._typing.rna_enums.ImageGeneratedTypeItems | None = "BLANK",
|
|
39
39
|
float: bool | None = False,
|
|
40
|
-
domain: bpy.
|
|
41
|
-
data_type: bpy.
|
|
40
|
+
domain: bpy._typing.rna_enums.ColorAttributeDomainItems | None = "POINT",
|
|
41
|
+
data_type: bpy._typing.rna_enums.ColorAttributeTypeItems | None = "FLOAT_COLOR",
|
|
42
42
|
):
|
|
43
43
|
"""Add a paint slot
|
|
44
44
|
|
|
@@ -59,13 +59,13 @@ def add_texture_paint_slot(
|
|
|
59
59
|
:param alpha: Alpha, Create an image with an alpha channel
|
|
60
60
|
:type alpha: bool | None
|
|
61
61
|
:param generated_type: Generated Type, Fill the image with a grid for UV map testing
|
|
62
|
-
:type generated_type: bpy.
|
|
62
|
+
:type generated_type: bpy._typing.rna_enums.ImageGeneratedTypeItems | None
|
|
63
63
|
:param float: 32-bit Float, Create image with 32-bit floating-point bit depth
|
|
64
64
|
:type float: bool | None
|
|
65
65
|
:param domain: Domain, Type of element that attribute is stored on
|
|
66
|
-
:type domain: bpy.
|
|
66
|
+
:type domain: bpy._typing.rna_enums.ColorAttributeDomainItems | None
|
|
67
67
|
:param data_type: Data Type, Type of data stored in attribute
|
|
68
|
-
:type data_type: bpy.
|
|
68
|
+
:type data_type: bpy._typing.rna_enums.ColorAttributeTypeItems | None
|
|
69
69
|
"""
|
|
70
70
|
|
|
71
71
|
def brush_colors_flip(
|
bpy/ops/pose/__init__.pyi
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
|
-
import bpy.
|
|
4
|
+
import bpy._typing.rna_enums
|
|
5
5
|
|
|
6
6
|
def armature_apply(
|
|
7
7
|
execution_context: int | str | None = None,
|
|
@@ -221,14 +221,14 @@ def constraint_add(
|
|
|
221
221
|
undo: bool | None = None,
|
|
222
222
|
/,
|
|
223
223
|
*,
|
|
224
|
-
type: bpy.
|
|
224
|
+
type: bpy._typing.rna_enums.ConstraintTypeItems | None = "",
|
|
225
225
|
):
|
|
226
226
|
"""Add a constraint to the active bone
|
|
227
227
|
|
|
228
228
|
:type execution_context: int | str | None
|
|
229
229
|
:type undo: bool | None
|
|
230
230
|
:param type: Type
|
|
231
|
-
:type type: bpy.
|
|
231
|
+
:type type: bpy._typing.rna_enums.ConstraintTypeItems | None
|
|
232
232
|
"""
|
|
233
233
|
|
|
234
234
|
def constraint_add_with_targets(
|
|
@@ -236,14 +236,14 @@ def constraint_add_with_targets(
|
|
|
236
236
|
undo: bool | None = None,
|
|
237
237
|
/,
|
|
238
238
|
*,
|
|
239
|
-
type: bpy.
|
|
239
|
+
type: bpy._typing.rna_enums.ConstraintTypeItems | None = "",
|
|
240
240
|
):
|
|
241
241
|
"""Add a constraint to the active bone, with target (where applicable) set to the selected Objects/Bones
|
|
242
242
|
|
|
243
243
|
:type execution_context: int | str | None
|
|
244
244
|
:type undo: bool | None
|
|
245
245
|
:param type: Type
|
|
246
|
-
:type type: bpy.
|
|
246
|
+
:type type: bpy._typing.rna_enums.ConstraintTypeItems | None
|
|
247
247
|
"""
|
|
248
248
|
|
|
249
249
|
def constraints_clear(
|
|
@@ -353,20 +353,20 @@ def paths_calculate(
|
|
|
353
353
|
undo: bool | None = None,
|
|
354
354
|
/,
|
|
355
355
|
*,
|
|
356
|
-
display_type: bpy.
|
|
357
|
-
range: bpy.
|
|
358
|
-
bake_location: bpy.
|
|
356
|
+
display_type: bpy._typing.rna_enums.MotionpathDisplayTypeItems | None = "RANGE",
|
|
357
|
+
range: bpy._typing.rna_enums.MotionpathRangeItems | None = "SCENE",
|
|
358
|
+
bake_location: bpy._typing.rna_enums.MotionpathBakeLocationItems | None = "HEADS",
|
|
359
359
|
):
|
|
360
360
|
"""Calculate paths for the selected bones
|
|
361
361
|
|
|
362
362
|
:type execution_context: int | str | None
|
|
363
363
|
:type undo: bool | None
|
|
364
364
|
:param display_type: Display type
|
|
365
|
-
:type display_type: bpy.
|
|
365
|
+
:type display_type: bpy._typing.rna_enums.MotionpathDisplayTypeItems | None
|
|
366
366
|
:param range: Computation Range
|
|
367
|
-
:type range: bpy.
|
|
367
|
+
:type range: bpy._typing.rna_enums.MotionpathRangeItems | None
|
|
368
368
|
:param bake_location: Bake Location, Which point on the bones is used when calculating paths
|
|
369
|
-
:type bake_location: bpy.
|
|
369
|
+
:type bake_location: bpy._typing.rna_enums.MotionpathBakeLocationItems | None
|
|
370
370
|
"""
|
|
371
371
|
|
|
372
372
|
def paths_clear(
|
|
@@ -596,14 +596,14 @@ def rotation_mode_set(
|
|
|
596
596
|
undo: bool | None = None,
|
|
597
597
|
/,
|
|
598
598
|
*,
|
|
599
|
-
type: bpy.
|
|
599
|
+
type: bpy._typing.rna_enums.ObjectRotationModeItems | None = "QUATERNION",
|
|
600
600
|
):
|
|
601
601
|
"""Set the rotation representation used by selected bones
|
|
602
602
|
|
|
603
603
|
:type execution_context: int | str | None
|
|
604
604
|
:type undo: bool | None
|
|
605
605
|
:param type: Rotation Mode
|
|
606
|
-
:type type: bpy.
|
|
606
|
+
:type type: bpy._typing.rna_enums.ObjectRotationModeItems | None
|
|
607
607
|
"""
|
|
608
608
|
|
|
609
609
|
def scale_clear(execution_context: int | str | None = None, undo: bool | None = None):
|