fake-bpy-module 20240421__py3-none-any.whl → 20240423__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_operators/add_mesh_torus/__init__.pyi +2 -1
- bl_operators/assets/__init__.pyi +12 -12
- bl_operators/geometry_nodes/__init__.pyi +256 -238
- bl_operators/node/__init__.pyi +262 -260
- bl_operators/object_quick_effects/__init__.pyi +19 -19
- bl_operators/presets/__init__.pyi +371 -368
- bl_operators/wm/__init__.pyi +4 -4
- bl_ui/__init__.pyi +3 -3
- bl_ui/anim/__init__.pyi +1 -1
- bl_ui/asset_shelf/__init__.pyi +1 -1
- bl_ui/generic_ui_list/__init__.pyi +3 -3
- bl_ui/node_add_menu/__init__.pyi +1 -1
- bl_ui/node_add_menu_compositor/__init__.pyi +18 -18
- bl_ui/node_add_menu_geometry/__init__.pyi +50 -48
- bl_ui/node_add_menu_shader/__init__.pyi +10 -10
- bl_ui/node_add_menu_texture/__init__.pyi +9 -9
- bl_ui/properties_collection/__init__.pyi +39 -25
- bl_ui/properties_constraint/__init__.pyi +1257 -1041
- bl_ui/properties_data_armature/__init__.pyi +120 -96
- bl_ui/properties_data_bone/__init__.pyi +36 -29
- bl_ui/properties_data_camera/__init__.pyi +32 -14
- bl_ui/properties_data_curve/__init__.pyi +143 -116
- bl_ui/properties_data_curves/__init__.pyi +30 -25
- bl_ui/properties_data_empty/__init__.pyi +21 -21
- bl_ui/properties_data_gpencil/__init__.pyi +297 -260
- bl_ui/properties_data_grease_pencil/__init__.pyi +228 -205
- bl_ui/properties_data_lattice/__init__.pyi +25 -22
- bl_ui/properties_data_light/__init__.pyi +44 -31
- bl_ui/properties_data_lightprobe/__init__.pyi +54 -32
- bl_ui/properties_data_mesh/__init__.pyi +579 -570
- bl_ui/properties_data_metaball/__init__.pyi +29 -24
- bl_ui/properties_data_modifier/__init__.pyi +55 -43
- bl_ui/properties_data_pointcloud/__init__.pyi +146 -139
- bl_ui/properties_data_shaderfx/__init__.pyi +13 -13
- bl_ui/properties_data_speaker/__init__.pyi +27 -24
- bl_ui/properties_data_volume/__init__.pyi +75 -68
- bl_ui/properties_freestyle/__init__.pyi +407 -284
- bl_ui/properties_grease_pencil_common/__init__.pyi +13 -13
- bl_ui/properties_mask_common/__init__.pyi +7 -7
- bl_ui/properties_material/__init__.pyi +186 -162
- bl_ui/properties_material_gpencil/__init__.pyi +111 -87
- bl_ui/properties_object/__init__.pyi +102 -84
- bl_ui/properties_output/__init__.pyi +255 -228
- bl_ui/properties_paint_common/__init__.pyi +9 -9
- bl_ui/properties_particle/__init__.pyi +341 -254
- bl_ui/properties_physics_cloth/__init__.pyi +54 -33
- bl_ui/properties_physics_common/__init__.pyi +20 -20
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +231 -193
- bl_ui/properties_physics_field/__init__.pyi +52 -36
- bl_ui/properties_physics_fluid/__init__.pyi +119 -96
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +1 -1
- bl_ui/properties_physics_rigidbody/__init__.pyi +36 -20
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +51 -25
- bl_ui/properties_physics_softbody/__init__.pyi +62 -34
- bl_ui/properties_render/__init__.pyi +275 -187
- bl_ui/properties_scene/__init__.pyi +173 -154
- bl_ui/properties_texture/__init__.pyi +251 -205
- bl_ui/properties_view_layer/__init__.pyi +126 -93
- bl_ui/properties_workspace/__init__.pyi +82 -76
- bl_ui/properties_world/__init__.pyi +31 -26
- bl_ui/space_clip/__init__.pyi +495 -433
- bl_ui/space_console/__init__.pyi +6 -6
- bl_ui/space_dopesheet/__init__.pyi +209 -174
- bl_ui/space_filebrowser/__init__.pyi +691 -679
- bl_ui/space_graph/__init__.pyi +25 -20
- bl_ui/space_image/__init__.pyi +959 -845
- bl_ui/space_info/__init__.pyi +6 -6
- bl_ui/space_nla/__init__.pyi +26 -17
- bl_ui/space_node/__init__.pyi +49 -36
- bl_ui/space_outliner/__init__.pyi +14 -14
- bl_ui/space_properties/__init__.pyi +3 -3
- bl_ui/space_sequencer/__init__.pyi +510 -444
- bl_ui/space_spreadsheet/__init__.pyi +1 -1
- bl_ui/space_statusbar/__init__.pyi +1 -1
- bl_ui/space_text/__init__.pyi +16 -16
- bl_ui/space_time/__init__.pyi +27 -23
- bl_ui/space_toolsystem_common/__init__.pyi +1 -1
- bl_ui/space_toolsystem_toolbar/__init__.pyi +52 -4
- bl_ui/space_topbar/__init__.pyi +26 -26
- bl_ui/space_userpref/__init__.pyi +795 -658
- bl_ui/space_view3d/__init__.pyi +1460 -1428
- bl_ui/space_view3d_toolbar/__init__.pyi +2968 -2657
- bl_ui/temp_anim_layers/__init__.pyi +1 -1
- bmesh/types/__init__.pyi +13 -6
- bpy/app/__init__.pyi +4 -4
- bpy/app/icons/__init__.pyi +8 -6
- bpy/app/timers/__init__.pyi +10 -8
- bpy/app/translations/__init__.pyi +22 -20
- bpy/msgbus/__init__.pyi +4 -2
- bpy/ops/action/__init__.pyi +319 -316
- bpy/ops/anim/__init__.pyi +428 -428
- bpy/ops/armature/__init__.pyi +359 -358
- bpy/ops/asset/__init__.pyi +146 -146
- bpy/ops/boid/__init__.pyi +50 -50
- bpy/ops/brush/__init__.pyi +72 -72
- bpy/ops/buttons/__init__.pyi +128 -128
- bpy/ops/cachefile/__init__.pyi +124 -124
- bpy/ops/camera/__init__.pyi +22 -22
- bpy/ops/clip/__init__.pyi +773 -768
- bpy/ops/cloth/__init__.pyi +10 -10
- bpy/ops/collection/__init__.pyi +64 -64
- bpy/ops/console/__init__.pyi +150 -150
- bpy/ops/constraint/__init__.pyi +150 -150
- bpy/ops/curve/__init__.pyi +475 -472
- bpy/ops/curves/__init__.pyi +247 -244
- bpy/ops/cycles/__init__.pyi +18 -18
- bpy/ops/dpaint/__init__.pyi +34 -34
- bpy/ops/ed/__init__.pyi +122 -122
- bpy/ops/export_anim/__init__.pyi +18 -18
- bpy/ops/export_mesh/__init__.pyi +26 -26
- bpy/ops/export_scene/__init__.pyi +333 -307
- bpy/ops/file/__init__.pyi +340 -340
- bpy/ops/fluid/__init__.pyi +88 -88
- bpy/ops/font/__init__.pyi +252 -252
- bpy/ops/geometry/__init__.pyi +86 -86
- bpy/ops/gizmogroup/__init__.pyi +22 -22
- bpy/ops/gpencil/__init__.pyi +1459 -1444
- bpy/ops/graph/__init__.pyi +645 -642
- bpy/ops/grease_pencil/__init__.pyi +580 -436
- bpy/ops/image/__init__.pyi +614 -612
- bpy/ops/import_anim/__init__.pyi +26 -26
- bpy/ops/import_curve/__init__.pyi +6 -6
- bpy/ops/import_mesh/__init__.pyi +20 -18
- bpy/ops/import_scene/__init__.pyi +92 -86
- bpy/ops/info/__init__.pyi +60 -60
- bpy/ops/lattice/__init__.pyi +64 -64
- bpy/ops/marker/__init__.pyi +106 -106
- bpy/ops/mask/__init__.pyi +321 -318
- bpy/ops/material/__init__.pyi +18 -18
- bpy/ops/mball/__init__.pyi +71 -70
- bpy/ops/mesh/__init__.pyi +1997 -1990
- bpy/ops/nla/__init__.pyi +331 -330
- bpy/ops/node/__init__.pyi +867 -852
- bpy/ops/object/__init__.pyi +2433 -2430
- bpy/ops/outliner/__init__.pyi +498 -498
- bpy/ops/paint/__init__.pyi +554 -544
- bpy/ops/paintcurve/__init__.pyi +64 -64
- bpy/ops/palette/__init__.pyi +48 -48
- bpy/ops/particle/__init__.pyi +266 -264
- bpy/ops/pose/__init__.pyi +336 -336
- bpy/ops/poselib/__init__.pyi +70 -70
- bpy/ops/preferences/__init__.pyi +338 -336
- bpy/ops/ptcache/__init__.pyi +46 -46
- bpy/ops/render/__init__.pyi +114 -114
- bpy/ops/rigidbody/__init__.pyi +102 -102
- bpy/ops/scene/__init__.pyi +270 -270
- bpy/ops/screen/__init__.pyi +378 -378
- bpy/ops/script/__init__.pyi +18 -18
- bpy/ops/sculpt/__init__.pyi +411 -405
- bpy/ops/sculpt_curves/__init__.pyi +42 -40
- bpy/ops/sequencer/__init__.pyi +1053 -1040
- bpy/ops/sound/__init__.pyi +208 -208
- bpy/ops/spreadsheet/__init__.pyi +30 -30
- bpy/ops/surface/__init__.pyi +108 -108
- bpy/ops/text/__init__.pyi +382 -382
- bpy/ops/text_editor/__init__.pyi +10 -10
- bpy/ops/texture/__init__.pyi +26 -26
- bpy/ops/transform/__init__.pyi +826 -790
- bpy/ops/ui/__init__.pyi +216 -216
- bpy/ops/uilist/__init__.pyi +20 -20
- bpy/ops/uv/__init__.pyi +605 -600
- bpy/ops/view2d/__init__.pyi +156 -156
- bpy/ops/view3d/__init__.pyi +578 -576
- bpy/ops/wm/__init__.pyi +2418 -2376
- bpy/ops/workspace/__init__.pyi +42 -42
- bpy/ops/world/__init__.pyi +6 -6
- bpy/path/__init__.pyi +48 -33
- bpy/props/__init__.pyi +263 -261
- bpy/types/__init__.pyi +105733 -102298
- bpy/utils/__init__.pyi +87 -52
- bpy/utils/previews/__init__.pyi +2 -2
- bpy/utils/units/__init__.pyi +21 -18
- bpy_extras/anim_utils/__init__.pyi +9 -2
- bpy_extras/io_utils/__init__.pyi +2 -1
- bpy_extras/view3d_utils/__init__.pyi +2 -1
- bpy_types/__init__.pyi +236 -236
- {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240423.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240423.dist-info}/RECORD +187 -187
- freestyle/chainingiterators/__init__.pyi +7 -2
- freestyle/types/__init__.pyi +8 -3
- gpu_extras/presets/__init__.pyi +14 -2
- keyingsets_builtins/__init__.pyi +92 -92
- mathutils/__init__.pyi +9 -5
- mathutils/geometry/__init__.pyi +8 -4
- nodeitems_builtins/__init__.pyi +7 -7
- {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240423.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240423.dist-info}/top_level.txt +0 -0
bpy/ops/cycles/__init__.pyi
CHANGED
|
@@ -4,17 +4,17 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def denoise_animation(
|
|
7
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
-
execution_context: typing.Union[str, int] = None,
|
|
9
|
-
undo: bool = None,
|
|
7
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
8
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
9
|
+
undo: typing.Optional[bool] = None,
|
|
10
10
|
input_filepath: typing.Union[str, typing.Any] = "",
|
|
11
11
|
output_filepath: typing.Union[str, typing.Any] = "",
|
|
12
12
|
):
|
|
13
13
|
"""Denoise rendered animation sequence using current scene and view layer settings. Requires denoising data passes and output to OpenEXR multilayer files
|
|
14
14
|
|
|
15
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
16
|
-
:type execution_context: typing.Union[str, int]
|
|
17
|
-
:type undo: bool
|
|
15
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
16
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
17
|
+
:type undo: typing.Optional[bool]
|
|
18
18
|
:param input_filepath: Input Filepath, File path for image to denoise. If not specified, uses the render file path and frame range from the scene
|
|
19
19
|
:type input_filepath: typing.Union[str, typing.Any]
|
|
20
20
|
:param output_filepath: Output Filepath, If not specified, renders will be denoised in-place
|
|
@@ -24,18 +24,18 @@ def denoise_animation(
|
|
|
24
24
|
...
|
|
25
25
|
|
|
26
26
|
def merge_images(
|
|
27
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
28
|
-
execution_context: typing.Union[str, int] = None,
|
|
29
|
-
undo: bool = None,
|
|
27
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
28
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
29
|
+
undo: typing.Optional[bool] = None,
|
|
30
30
|
input_filepath1: typing.Union[str, typing.Any] = "",
|
|
31
31
|
input_filepath2: typing.Union[str, typing.Any] = "",
|
|
32
32
|
output_filepath: typing.Union[str, typing.Any] = "",
|
|
33
33
|
):
|
|
34
34
|
"""Combine OpenEXR multi-layer images rendered with different sample ranges into one image with reduced noise
|
|
35
35
|
|
|
36
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
37
|
-
:type execution_context: typing.Union[str, int]
|
|
38
|
-
:type undo: bool
|
|
36
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
37
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
38
|
+
:type undo: typing.Optional[bool]
|
|
39
39
|
:param input_filepath1: Input Filepath, File path for image to merge
|
|
40
40
|
:type input_filepath1: typing.Union[str, typing.Any]
|
|
41
41
|
:param input_filepath2: Input Filepath, File path for image to merge
|
|
@@ -47,15 +47,15 @@ def merge_images(
|
|
|
47
47
|
...
|
|
48
48
|
|
|
49
49
|
def use_shading_nodes(
|
|
50
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
51
|
-
execution_context: typing.Union[str, int] = None,
|
|
52
|
-
undo: bool = None,
|
|
50
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
51
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
52
|
+
undo: typing.Optional[bool] = None,
|
|
53
53
|
):
|
|
54
54
|
"""Enable nodes on a material, world or light
|
|
55
55
|
|
|
56
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
57
|
-
:type execution_context: typing.Union[str, int]
|
|
58
|
-
:type undo: bool
|
|
56
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
57
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
58
|
+
:type undo: typing.Optional[bool]
|
|
59
59
|
"""
|
|
60
60
|
|
|
61
61
|
...
|
bpy/ops/dpaint/__init__.pyi
CHANGED
|
@@ -4,77 +4,77 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def bake(
|
|
7
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
-
execution_context: typing.Union[str, int] = None,
|
|
9
|
-
undo: bool = None,
|
|
7
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
8
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
9
|
+
undo: typing.Optional[bool] = None,
|
|
10
10
|
):
|
|
11
11
|
"""Bake dynamic paint image sequence surface
|
|
12
12
|
|
|
13
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
14
|
-
:type execution_context: typing.Union[str, int]
|
|
15
|
-
:type undo: bool
|
|
13
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
14
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
15
|
+
:type undo: typing.Optional[bool]
|
|
16
16
|
"""
|
|
17
17
|
|
|
18
18
|
...
|
|
19
19
|
|
|
20
20
|
def output_toggle(
|
|
21
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
22
|
-
execution_context: typing.Union[str, int] = None,
|
|
23
|
-
undo: bool = None,
|
|
24
|
-
output: typing.Any = "A",
|
|
21
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
22
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
23
|
+
undo: typing.Optional[bool] = None,
|
|
24
|
+
output: typing.Optional[typing.Any] = "A",
|
|
25
25
|
):
|
|
26
26
|
"""Add or remove Dynamic Paint output data layer
|
|
27
27
|
|
|
28
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
29
|
-
:type execution_context: typing.Union[str, int]
|
|
30
|
-
:type undo: bool
|
|
28
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
29
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
30
|
+
:type undo: typing.Optional[bool]
|
|
31
31
|
:param output: Output Toggle
|
|
32
|
-
:type output: typing.Any
|
|
32
|
+
:type output: typing.Optional[typing.Any]
|
|
33
33
|
"""
|
|
34
34
|
|
|
35
35
|
...
|
|
36
36
|
|
|
37
37
|
def surface_slot_add(
|
|
38
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
39
|
-
execution_context: typing.Union[str, int] = None,
|
|
40
|
-
undo: bool = None,
|
|
38
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
39
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
40
|
+
undo: typing.Optional[bool] = None,
|
|
41
41
|
):
|
|
42
42
|
"""Add a new Dynamic Paint surface slot
|
|
43
43
|
|
|
44
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
45
|
-
:type execution_context: typing.Union[str, int]
|
|
46
|
-
:type undo: bool
|
|
44
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
45
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
46
|
+
:type undo: typing.Optional[bool]
|
|
47
47
|
"""
|
|
48
48
|
|
|
49
49
|
...
|
|
50
50
|
|
|
51
51
|
def surface_slot_remove(
|
|
52
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
53
|
-
execution_context: typing.Union[str, int] = None,
|
|
54
|
-
undo: bool = None,
|
|
52
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
53
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
54
|
+
undo: typing.Optional[bool] = None,
|
|
55
55
|
):
|
|
56
56
|
"""Remove the selected surface slot
|
|
57
57
|
|
|
58
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
59
|
-
:type execution_context: typing.Union[str, int]
|
|
60
|
-
:type undo: bool
|
|
58
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
59
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
60
|
+
:type undo: typing.Optional[bool]
|
|
61
61
|
"""
|
|
62
62
|
|
|
63
63
|
...
|
|
64
64
|
|
|
65
65
|
def type_toggle(
|
|
66
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
67
|
-
execution_context: typing.Union[str, int] = None,
|
|
68
|
-
undo: bool = None,
|
|
69
|
-
type: typing.Union[str, int] = "CANVAS",
|
|
66
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
67
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
68
|
+
undo: typing.Optional[bool] = None,
|
|
69
|
+
type: typing.Optional[typing.Union[str, int]] = "CANVAS",
|
|
70
70
|
):
|
|
71
71
|
"""Toggle whether given type is active or not
|
|
72
72
|
|
|
73
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
74
|
-
:type execution_context: typing.Union[str, int]
|
|
75
|
-
:type undo: bool
|
|
73
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
74
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
75
|
+
:type undo: typing.Optional[bool]
|
|
76
76
|
:param type: Type
|
|
77
|
-
:type type: typing.Union[str, int]
|
|
77
|
+
:type type: typing.Optional[typing.Union[str, int]]
|
|
78
78
|
"""
|
|
79
79
|
|
|
80
80
|
...
|
bpy/ops/ed/__init__.pyi
CHANGED
|
@@ -4,142 +4,142 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def flush_edits(
|
|
7
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
-
execution_context: typing.Union[str, int] = None,
|
|
9
|
-
undo: bool = None,
|
|
7
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
8
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
9
|
+
undo: typing.Optional[bool] = None,
|
|
10
10
|
):
|
|
11
11
|
"""Flush edit data from active editing modes
|
|
12
12
|
|
|
13
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
14
|
-
:type execution_context: typing.Union[str, int]
|
|
15
|
-
:type undo: bool
|
|
13
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
14
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
15
|
+
:type undo: typing.Optional[bool]
|
|
16
16
|
"""
|
|
17
17
|
|
|
18
18
|
...
|
|
19
19
|
|
|
20
20
|
def lib_id_fake_user_toggle(
|
|
21
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
22
|
-
execution_context: typing.Union[str, int] = None,
|
|
23
|
-
undo: bool = None,
|
|
21
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
22
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
23
|
+
undo: typing.Optional[bool] = None,
|
|
24
24
|
):
|
|
25
25
|
"""Save this data-block even if it has no users
|
|
26
26
|
|
|
27
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
28
|
-
:type execution_context: typing.Union[str, int]
|
|
29
|
-
:type undo: bool
|
|
27
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
28
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
29
|
+
:type undo: typing.Optional[bool]
|
|
30
30
|
"""
|
|
31
31
|
|
|
32
32
|
...
|
|
33
33
|
|
|
34
34
|
def lib_id_generate_preview(
|
|
35
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
36
|
-
execution_context: typing.Union[str, int] = None,
|
|
37
|
-
undo: bool = None,
|
|
35
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
36
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
37
|
+
undo: typing.Optional[bool] = None,
|
|
38
38
|
):
|
|
39
39
|
"""Create an automatic preview for the selected data-block
|
|
40
40
|
|
|
41
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
42
|
-
:type execution_context: typing.Union[str, int]
|
|
43
|
-
:type undo: bool
|
|
41
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
42
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
43
|
+
:type undo: typing.Optional[bool]
|
|
44
44
|
"""
|
|
45
45
|
|
|
46
46
|
...
|
|
47
47
|
|
|
48
48
|
def lib_id_generate_preview_from_object(
|
|
49
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
50
|
-
execution_context: typing.Union[str, int] = None,
|
|
51
|
-
undo: bool = None,
|
|
49
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
50
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
51
|
+
undo: typing.Optional[bool] = None,
|
|
52
52
|
):
|
|
53
53
|
"""Create a preview for this asset by rendering the active object
|
|
54
54
|
|
|
55
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
56
|
-
:type execution_context: typing.Union[str, int]
|
|
57
|
-
:type undo: bool
|
|
55
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
56
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
57
|
+
:type undo: typing.Optional[bool]
|
|
58
58
|
"""
|
|
59
59
|
|
|
60
60
|
...
|
|
61
61
|
|
|
62
62
|
def lib_id_load_custom_preview(
|
|
63
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
64
|
-
execution_context: typing.Union[str, int] = None,
|
|
65
|
-
undo: bool = None,
|
|
63
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
64
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
65
|
+
undo: typing.Optional[bool] = None,
|
|
66
66
|
filepath: typing.Union[str, typing.Any] = "",
|
|
67
|
-
hide_props_region: typing.Union[bool, typing.Any] = True,
|
|
68
|
-
check_existing: typing.Union[bool, typing.Any] = False,
|
|
69
|
-
filter_blender: typing.Union[bool, typing.Any] = False,
|
|
70
|
-
filter_backup: typing.Union[bool, typing.Any] = False,
|
|
71
|
-
filter_image: typing.Union[bool, typing.Any] = True,
|
|
72
|
-
filter_movie: typing.Union[bool, typing.Any] = False,
|
|
73
|
-
filter_python: typing.Union[bool, typing.Any] = False,
|
|
74
|
-
filter_font: typing.Union[bool, typing.Any] = False,
|
|
75
|
-
filter_sound: typing.Union[bool, typing.Any] = False,
|
|
76
|
-
filter_text: typing.Union[bool, typing.Any] = False,
|
|
77
|
-
filter_archive: typing.Union[bool, typing.Any] = False,
|
|
78
|
-
filter_btx: typing.Union[bool, typing.Any] = False,
|
|
79
|
-
filter_collada: typing.Union[bool, typing.Any] = False,
|
|
80
|
-
filter_alembic: typing.Union[bool, typing.Any] = False,
|
|
81
|
-
filter_usd: typing.Union[bool, typing.Any] = False,
|
|
82
|
-
filter_obj: typing.Union[bool, typing.Any] = False,
|
|
83
|
-
filter_volume: typing.Union[bool, typing.Any] = False,
|
|
84
|
-
filter_folder: typing.Union[bool, typing.Any] = True,
|
|
85
|
-
filter_blenlib: typing.Union[bool, typing.Any] = False,
|
|
86
|
-
filemode: typing.Any = 9,
|
|
87
|
-
show_multiview: typing.Union[bool, typing.Any] = False,
|
|
88
|
-
use_multiview: typing.Union[bool, typing.Any] = False,
|
|
89
|
-
display_type: typing.Any = "DEFAULT",
|
|
90
|
-
sort_method: typing.Union[str, int, typing.Any] = "",
|
|
67
|
+
hide_props_region: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
68
|
+
check_existing: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
69
|
+
filter_blender: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
70
|
+
filter_backup: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
71
|
+
filter_image: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
72
|
+
filter_movie: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
73
|
+
filter_python: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
74
|
+
filter_font: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
75
|
+
filter_sound: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
76
|
+
filter_text: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
77
|
+
filter_archive: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
78
|
+
filter_btx: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
79
|
+
filter_collada: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
80
|
+
filter_alembic: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
81
|
+
filter_usd: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
82
|
+
filter_obj: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
83
|
+
filter_volume: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
84
|
+
filter_folder: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
85
|
+
filter_blenlib: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
86
|
+
filemode: typing.Optional[typing.Any] = 9,
|
|
87
|
+
show_multiview: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
88
|
+
use_multiview: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
89
|
+
display_type: typing.Optional[typing.Any] = "DEFAULT",
|
|
90
|
+
sort_method: typing.Optional[typing.Union[str, int, typing.Any]] = "",
|
|
91
91
|
):
|
|
92
92
|
"""Choose an image to help identify the data-block visually
|
|
93
93
|
|
|
94
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
95
|
-
:type execution_context: typing.Union[str, int]
|
|
96
|
-
:type undo: bool
|
|
94
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
95
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
96
|
+
:type undo: typing.Optional[bool]
|
|
97
97
|
:param filepath: File Path, Path to file
|
|
98
98
|
:type filepath: typing.Union[str, typing.Any]
|
|
99
99
|
:param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings
|
|
100
|
-
:type hide_props_region: typing.Union[bool, typing.Any]
|
|
100
|
+
:type hide_props_region: typing.Optional[typing.Union[bool, typing.Any]]
|
|
101
101
|
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
102
|
-
:type check_existing: typing.Union[bool, typing.Any]
|
|
102
|
+
:type check_existing: typing.Optional[typing.Union[bool, typing.Any]]
|
|
103
103
|
:param filter_blender: Filter .blend files
|
|
104
|
-
:type filter_blender: typing.Union[bool, typing.Any]
|
|
104
|
+
:type filter_blender: typing.Optional[typing.Union[bool, typing.Any]]
|
|
105
105
|
:param filter_backup: Filter .blend files
|
|
106
|
-
:type filter_backup: typing.Union[bool, typing.Any]
|
|
106
|
+
:type filter_backup: typing.Optional[typing.Union[bool, typing.Any]]
|
|
107
107
|
:param filter_image: Filter image files
|
|
108
|
-
:type filter_image: typing.Union[bool, typing.Any]
|
|
108
|
+
:type filter_image: typing.Optional[typing.Union[bool, typing.Any]]
|
|
109
109
|
:param filter_movie: Filter movie files
|
|
110
|
-
:type filter_movie: typing.Union[bool, typing.Any]
|
|
110
|
+
:type filter_movie: typing.Optional[typing.Union[bool, typing.Any]]
|
|
111
111
|
:param filter_python: Filter Python files
|
|
112
|
-
:type filter_python: typing.Union[bool, typing.Any]
|
|
112
|
+
:type filter_python: typing.Optional[typing.Union[bool, typing.Any]]
|
|
113
113
|
:param filter_font: Filter font files
|
|
114
|
-
:type filter_font: typing.Union[bool, typing.Any]
|
|
114
|
+
:type filter_font: typing.Optional[typing.Union[bool, typing.Any]]
|
|
115
115
|
:param filter_sound: Filter sound files
|
|
116
|
-
:type filter_sound: typing.Union[bool, typing.Any]
|
|
116
|
+
:type filter_sound: typing.Optional[typing.Union[bool, typing.Any]]
|
|
117
117
|
:param filter_text: Filter text files
|
|
118
|
-
:type filter_text: typing.Union[bool, typing.Any]
|
|
118
|
+
:type filter_text: typing.Optional[typing.Union[bool, typing.Any]]
|
|
119
119
|
:param filter_archive: Filter archive files
|
|
120
|
-
:type filter_archive: typing.Union[bool, typing.Any]
|
|
120
|
+
:type filter_archive: typing.Optional[typing.Union[bool, typing.Any]]
|
|
121
121
|
:param filter_btx: Filter btx files
|
|
122
|
-
:type filter_btx: typing.Union[bool, typing.Any]
|
|
122
|
+
:type filter_btx: typing.Optional[typing.Union[bool, typing.Any]]
|
|
123
123
|
:param filter_collada: Filter COLLADA files
|
|
124
|
-
:type filter_collada: typing.Union[bool, typing.Any]
|
|
124
|
+
:type filter_collada: typing.Optional[typing.Union[bool, typing.Any]]
|
|
125
125
|
:param filter_alembic: Filter Alembic files
|
|
126
|
-
:type filter_alembic: typing.Union[bool, typing.Any]
|
|
126
|
+
:type filter_alembic: typing.Optional[typing.Union[bool, typing.Any]]
|
|
127
127
|
:param filter_usd: Filter USD files
|
|
128
|
-
:type filter_usd: typing.Union[bool, typing.Any]
|
|
128
|
+
:type filter_usd: typing.Optional[typing.Union[bool, typing.Any]]
|
|
129
129
|
:param filter_obj: Filter OBJ files
|
|
130
|
-
:type filter_obj: typing.Union[bool, typing.Any]
|
|
130
|
+
:type filter_obj: typing.Optional[typing.Union[bool, typing.Any]]
|
|
131
131
|
:param filter_volume: Filter OpenVDB volume files
|
|
132
|
-
:type filter_volume: typing.Union[bool, typing.Any]
|
|
132
|
+
:type filter_volume: typing.Optional[typing.Union[bool, typing.Any]]
|
|
133
133
|
:param filter_folder: Filter folders
|
|
134
|
-
:type filter_folder: typing.Union[bool, typing.Any]
|
|
134
|
+
:type filter_folder: typing.Optional[typing.Union[bool, typing.Any]]
|
|
135
135
|
:param filter_blenlib: Filter Blender IDs
|
|
136
|
-
:type filter_blenlib: typing.Union[bool, typing.Any]
|
|
136
|
+
:type filter_blenlib: typing.Optional[typing.Union[bool, typing.Any]]
|
|
137
137
|
:param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
|
|
138
|
-
:type filemode: typing.Any
|
|
138
|
+
:type filemode: typing.Optional[typing.Any]
|
|
139
139
|
:param show_multiview: Enable Multi-View
|
|
140
|
-
:type show_multiview: typing.Union[bool, typing.Any]
|
|
140
|
+
:type show_multiview: typing.Optional[typing.Union[bool, typing.Any]]
|
|
141
141
|
:param use_multiview: Use Multi-View
|
|
142
|
-
:type use_multiview: typing.Union[bool, typing.Any]
|
|
142
|
+
:type use_multiview: typing.Optional[typing.Union[bool, typing.Any]]
|
|
143
143
|
:param display_type: Display Type
|
|
144
144
|
|
|
145
145
|
DEFAULT
|
|
@@ -153,97 +153,97 @@ def lib_id_load_custom_preview(
|
|
|
153
153
|
|
|
154
154
|
THUMBNAIL
|
|
155
155
|
Thumbnails -- Display files as thumbnails.
|
|
156
|
-
:type display_type: typing.Any
|
|
156
|
+
:type display_type: typing.Optional[typing.Any]
|
|
157
157
|
:param sort_method: File sorting mode
|
|
158
|
-
:type sort_method: typing.Union[str, int, typing.Any]
|
|
158
|
+
:type sort_method: typing.Optional[typing.Union[str, int, typing.Any]]
|
|
159
159
|
"""
|
|
160
160
|
|
|
161
161
|
...
|
|
162
162
|
|
|
163
163
|
def lib_id_override_editable_toggle(
|
|
164
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
165
|
-
execution_context: typing.Union[str, int] = None,
|
|
166
|
-
undo: bool = None,
|
|
164
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
165
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
166
|
+
undo: typing.Optional[bool] = None,
|
|
167
167
|
):
|
|
168
168
|
"""Set if this library override data-block can be edited
|
|
169
169
|
|
|
170
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
171
|
-
:type execution_context: typing.Union[str, int]
|
|
172
|
-
:type undo: bool
|
|
170
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
171
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
172
|
+
:type undo: typing.Optional[bool]
|
|
173
173
|
"""
|
|
174
174
|
|
|
175
175
|
...
|
|
176
176
|
|
|
177
177
|
def lib_id_unlink(
|
|
178
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
179
|
-
execution_context: typing.Union[str, int] = None,
|
|
180
|
-
undo: bool = None,
|
|
178
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
179
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
180
|
+
undo: typing.Optional[bool] = None,
|
|
181
181
|
):
|
|
182
182
|
"""Remove a usage of a data-block, clearing the assignment
|
|
183
183
|
|
|
184
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
185
|
-
:type execution_context: typing.Union[str, int]
|
|
186
|
-
:type undo: bool
|
|
184
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
185
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
186
|
+
:type undo: typing.Optional[bool]
|
|
187
187
|
"""
|
|
188
188
|
|
|
189
189
|
...
|
|
190
190
|
|
|
191
191
|
def redo(
|
|
192
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
193
|
-
execution_context: typing.Union[str, int] = None,
|
|
194
|
-
undo: bool = None,
|
|
192
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
193
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
194
|
+
undo: typing.Optional[bool] = None,
|
|
195
195
|
):
|
|
196
196
|
"""Redo previous action
|
|
197
197
|
|
|
198
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
199
|
-
:type execution_context: typing.Union[str, int]
|
|
200
|
-
:type undo: bool
|
|
198
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
199
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
200
|
+
:type undo: typing.Optional[bool]
|
|
201
201
|
"""
|
|
202
202
|
|
|
203
203
|
...
|
|
204
204
|
|
|
205
205
|
def undo(
|
|
206
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
207
|
-
execution_context: typing.Union[str, int] = None,
|
|
208
|
-
undo: bool = None,
|
|
206
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
207
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
208
|
+
undo: typing.Optional[bool] = None,
|
|
209
209
|
):
|
|
210
210
|
"""Undo previous action
|
|
211
211
|
|
|
212
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
213
|
-
:type execution_context: typing.Union[str, int]
|
|
214
|
-
:type undo: bool
|
|
212
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
213
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
214
|
+
:type undo: typing.Optional[bool]
|
|
215
215
|
"""
|
|
216
216
|
|
|
217
217
|
...
|
|
218
218
|
|
|
219
219
|
def undo_history(
|
|
220
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
221
|
-
execution_context: typing.Union[str, int] = None,
|
|
222
|
-
undo: bool = None,
|
|
223
|
-
item: typing.Any = 0,
|
|
220
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
221
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
222
|
+
undo: typing.Optional[bool] = None,
|
|
223
|
+
item: typing.Optional[typing.Any] = 0,
|
|
224
224
|
):
|
|
225
225
|
"""Redo specific action in history
|
|
226
226
|
|
|
227
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
228
|
-
:type execution_context: typing.Union[str, int]
|
|
229
|
-
:type undo: bool
|
|
227
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
228
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
229
|
+
:type undo: typing.Optional[bool]
|
|
230
230
|
:param item: Item
|
|
231
|
-
:type item: typing.Any
|
|
231
|
+
:type item: typing.Optional[typing.Any]
|
|
232
232
|
"""
|
|
233
233
|
|
|
234
234
|
...
|
|
235
235
|
|
|
236
236
|
def undo_push(
|
|
237
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
238
|
-
execution_context: typing.Union[str, int] = None,
|
|
239
|
-
undo: bool = None,
|
|
237
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
238
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
239
|
+
undo: typing.Optional[bool] = None,
|
|
240
240
|
message: typing.Union[str, typing.Any] = "Add an undo step *function may be moved*",
|
|
241
241
|
):
|
|
242
242
|
"""Add an undo state (internal use only)
|
|
243
243
|
|
|
244
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
245
|
-
:type execution_context: typing.Union[str, int]
|
|
246
|
-
:type undo: bool
|
|
244
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
245
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
246
|
+
:type undo: typing.Optional[bool]
|
|
247
247
|
:param message: Undo Message
|
|
248
248
|
:type message: typing.Union[str, typing.Any]
|
|
249
249
|
"""
|
|
@@ -251,15 +251,15 @@ def undo_push(
|
|
|
251
251
|
...
|
|
252
252
|
|
|
253
253
|
def undo_redo(
|
|
254
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
255
|
-
execution_context: typing.Union[str, int] = None,
|
|
256
|
-
undo: bool = None,
|
|
254
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
255
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
256
|
+
undo: typing.Optional[bool] = None,
|
|
257
257
|
):
|
|
258
258
|
"""Undo and redo previous action
|
|
259
259
|
|
|
260
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
261
|
-
:type execution_context: typing.Union[str, int]
|
|
262
|
-
:type undo: bool
|
|
260
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
261
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
262
|
+
:type undo: typing.Optional[bool]
|
|
263
263
|
"""
|
|
264
264
|
|
|
265
265
|
...
|
bpy/ops/export_anim/__init__.pyi
CHANGED
|
@@ -4,35 +4,35 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def bvh(
|
|
7
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
-
execution_context: typing.Union[str, int] = None,
|
|
9
|
-
undo: bool = None,
|
|
7
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
8
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
9
|
+
undo: typing.Optional[bool] = None,
|
|
10
10
|
filepath: typing.Union[str, typing.Any] = "",
|
|
11
|
-
check_existing: typing.Union[bool, typing.Any] = True,
|
|
11
|
+
check_existing: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
12
12
|
filter_glob: typing.Union[str, typing.Any] = "*.bvh",
|
|
13
|
-
global_scale: typing.Any = 1.0,
|
|
14
|
-
frame_start: typing.Any = 0,
|
|
15
|
-
frame_end: typing.Any = 0,
|
|
16
|
-
rotate_mode: typing.Any = "NATIVE",
|
|
17
|
-
root_transform_only: typing.Union[bool, typing.Any] = False,
|
|
13
|
+
global_scale: typing.Optional[typing.Any] = 1.0,
|
|
14
|
+
frame_start: typing.Optional[typing.Any] = 0,
|
|
15
|
+
frame_end: typing.Optional[typing.Any] = 0,
|
|
16
|
+
rotate_mode: typing.Optional[typing.Any] = "NATIVE",
|
|
17
|
+
root_transform_only: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
18
18
|
):
|
|
19
19
|
"""Save a BVH motion capture file from an armature
|
|
20
20
|
|
|
21
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
22
|
-
:type execution_context: typing.Union[str, int]
|
|
23
|
-
:type undo: bool
|
|
21
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
22
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
23
|
+
:type undo: typing.Optional[bool]
|
|
24
24
|
:param filepath: File Path, Filepath used for exporting the file
|
|
25
25
|
:type filepath: typing.Union[str, typing.Any]
|
|
26
26
|
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
27
|
-
:type check_existing: typing.Union[bool, typing.Any]
|
|
27
|
+
:type check_existing: typing.Optional[typing.Union[bool, typing.Any]]
|
|
28
28
|
:param filter_glob: filter_glob
|
|
29
29
|
:type filter_glob: typing.Union[str, typing.Any]
|
|
30
30
|
:param global_scale: Scale, Scale the BVH by this value
|
|
31
|
-
:type global_scale: typing.Any
|
|
31
|
+
:type global_scale: typing.Optional[typing.Any]
|
|
32
32
|
:param frame_start: Start Frame, Starting frame to export
|
|
33
|
-
:type frame_start: typing.Any
|
|
33
|
+
:type frame_start: typing.Optional[typing.Any]
|
|
34
34
|
:param frame_end: End Frame, End frame to export
|
|
35
|
-
:type frame_end: typing.Any
|
|
35
|
+
:type frame_end: typing.Optional[typing.Any]
|
|
36
36
|
:param rotate_mode: Rotation, Rotation conversion
|
|
37
37
|
|
|
38
38
|
NATIVE
|
|
@@ -55,9 +55,9 @@ def bvh(
|
|
|
55
55
|
|
|
56
56
|
ZYX
|
|
57
57
|
Euler (ZYX) -- Convert rotations to euler ZYX.
|
|
58
|
-
:type rotate_mode: typing.Any
|
|
58
|
+
:type rotate_mode: typing.Optional[typing.Any]
|
|
59
59
|
:param root_transform_only: Root Translation Only, Only write out translation channels for the root bone
|
|
60
|
-
:type root_transform_only: typing.Union[bool, typing.Any]
|
|
60
|
+
:type root_transform_only: typing.Optional[typing.Union[bool, typing.Any]]
|
|
61
61
|
"""
|
|
62
62
|
|
|
63
63
|
...
|