fake-bpy-module 20240210__py3-none-any.whl → 20240326__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.
- addon_utils/__init__.pyi +54 -11
- animsys_refactor/__init__.pyi +36 -7
- aud/__init__.pyi +307 -321
- bgl/__init__.pyi +2926 -865
- bl_app_override/__init__.pyi +14 -4
- bl_app_override/helpers/__init__.pyi +24 -3
- bl_app_template_utils/__init__.pyi +19 -5
- bl_console_utils/__init__.pyi +0 -1
- bl_console_utils/autocomplete/__init__.pyi +2 -3
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +24 -6
- bl_console_utils/autocomplete/complete_import/__init__.pyi +14 -4
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +24 -6
- bl_console_utils/autocomplete/intellisense/__init__.pyi +9 -3
- bl_i18n_utils/__init__.pyi +2 -3
- bl_i18n_utils/bl_extract_messages/__init__.pyi +74 -16
- bl_i18n_utils/merge_po/__init__.pyi +4 -2
- bl_i18n_utils/settings/__init__.pyi +53 -7
- bl_i18n_utils/utils/__init__.pyi +332 -45
- bl_i18n_utils/utils_cli/__init__.pyi +29 -7
- bl_i18n_utils/utils_languages_menu/__init__.pyi +4 -2
- bl_i18n_utils/utils_rtl/__init__.pyi +9 -3
- bl_keymap_utils/__init__.pyi +2 -3
- bl_keymap_utils/io/__init__.pyi +44 -10
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +4 -2
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +4 -2
- bl_keymap_utils/platform_helpers/__init__.pyi +9 -3
- bl_keymap_utils/versioning/__init__.pyi +4 -2
- bl_math/__init__.pyi +21 -22
- bl_operators/__init__.pyi +30 -24
- bl_operators/add_mesh_torus/__init__.pyi +171 -38
- bl_operators/anim/__init__.pyi +1065 -227
- bl_operators/assets/__init__.pyi +427 -93
- bl_operators/bmesh/__init__.pyi +0 -1
- bl_operators/bmesh/find_adjacent/__init__.pyi +44 -10
- bl_operators/clip/__init__.pyi +1342 -288
- bl_operators/console/__init__.pyi +647 -141
- bl_operators/constraint/__init__.pyi +524 -113
- bl_operators/file/__init__.pyi +396 -85
- bl_operators/freestyle/__init__.pyi +532 -114
- bl_operators/geometry_nodes/__init__.pyi +2412 -597
- bl_operators/image/__init__.pyi +380 -83
- bl_operators/mesh/__init__.pyi +401 -86
- bl_operators/node/__init__.pyi +1756 -385
- bl_operators/object/__init__.pyi +2022 -553
- bl_operators/object_align/__init__.pyi +145 -32
- bl_operators/object_quick_effects/__init__.pyi +555 -125
- bl_operators/object_randomize_transform/__init__.pyi +136 -33
- bl_operators/presets/__init__.pyi +3516 -709
- bl_operators/rigidbody/__init__.pyi +401 -86
- bl_operators/screen_play_rendered_anim/__init__.pyi +129 -30
- bl_operators/sequencer/__init__.pyi +731 -150
- bl_operators/spreadsheet/__init__.pyi +145 -31
- bl_operators/userpref/__init__.pyi +3416 -825
- bl_operators/uvcalc_follow_active/__init__.pyi +149 -33
- bl_operators/uvcalc_lightmap/__init__.pyi +187 -35
- bl_operators/uvcalc_transform/__init__.pyi +344 -74
- bl_operators/vertexpaint_dirt/__init__.pyi +140 -31
- bl_operators/view3d/__init__.pyi +697 -147
- bl_operators/wm/__init__.pyi +6287 -1534
- bl_previews_utils/__init__.pyi +0 -1
- bl_previews_utils/bl_previews_render/__init__.pyi +34 -8
- bl_rna_utils/__init__.pyi +0 -1
- bl_rna_utils/data_path/__init__.pyi +12 -3
- bl_text_utils/__init__.pyi +0 -1
- bl_text_utils/external_editor/__init__.pyi +4 -2
- bl_ui/__init__.pyi +567 -170
- bl_ui/anim/__init__.pyi +164 -34
- bl_ui/asset_shelf/__init__.pyi +146 -32
- bl_ui/generic_ui_list/__init__.pyi +471 -100
- bl_ui/node_add_menu/__init__.pyi +196 -41
- bl_ui/node_add_menu_compositor/__init__.pyi +3017 -622
- bl_ui/node_add_menu_geometry/__init__.pyi +8075 -1592
- bl_ui/node_add_menu_shader/__init__.pyi +1709 -349
- bl_ui/node_add_menu_texture/__init__.pyi +1502 -306
- bl_ui/properties_animviz/__init__.pyi +32 -3
- bl_ui/properties_collection/__init__.pyi +787 -180
- bl_ui/properties_constraint/__init__.pyi +28635 -5524
- bl_ui/properties_data_armature/__init__.pyi +1905 -449
- bl_ui/properties_data_bone/__init__.pyi +1560 -337
- bl_ui/properties_data_camera/__init__.pyi +2269 -495
- bl_ui/properties_data_curve/__init__.pyi +2362 -535
- bl_ui/properties_data_curves/__init__.pyi +951 -204
- bl_ui/properties_data_empty/__init__.pyi +317 -70
- bl_ui/properties_data_gpencil/__init__.pyi +2924 -735
- bl_ui/properties_data_grease_pencil/__init__.pyi +1631 -189
- bl_ui/properties_data_lattice/__init__.pyi +472 -105
- bl_ui/properties_data_light/__init__.pyi +1570 -338
- bl_ui/properties_data_lightprobe/__init__.pyi +938 -209
- bl_ui/properties_data_mesh/__init__.pyi +3205 -768
- bl_ui/properties_data_metaball/__init__.pyi +774 -171
- bl_ui/properties_data_modifier/__init__.pyi +1554 -329
- bl_ui/properties_data_pointcloud/__init__.pyi +821 -195
- bl_ui/properties_data_shaderfx/__init__.pyi +154 -35
- bl_ui/properties_data_speaker/__init__.pyi +782 -169
- bl_ui/properties_data_volume/__init__.pyi +1243 -282
- bl_ui/properties_freestyle/__init__.pyi +4071 -1031
- bl_ui/properties_grease_pencil_common/__init__.pyi +2399 -484
- bl_ui/properties_mask_common/__init__.pyi +1256 -250
- bl_ui/properties_material/__init__.pyi +2351 -543
- bl_ui/properties_material_gpencil/__init__.pyi +1590 -366
- bl_ui/properties_object/__init__.pyi +2179 -513
- bl_ui/properties_output/__init__.pyi +2956 -706
- bl_ui/properties_paint_common/__init__.pyi +947 -141
- bl_ui/properties_particle/__init__.pyi +8322 -1971
- bl_ui/properties_physics_cloth/__init__.pyi +2254 -509
- bl_ui/properties_physics_common/__init__.pyi +200 -45
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +4454 -966
- bl_ui/properties_physics_field/__init__.pyi +1695 -365
- bl_ui/properties_physics_fluid/__init__.pyi +6127 -1281
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +157 -33
- bl_ui/properties_physics_rigidbody/__init__.pyi +1254 -279
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2053 -484
- bl_ui/properties_physics_softbody/__init__.pyi +2394 -543
- bl_ui/properties_render/__init__.pyi +8312 -1934
- bl_ui/properties_scene/__init__.pyi +2211 -540
- bl_ui/properties_texture/__init__.pyi +4185 -1014
- bl_ui/properties_view_layer/__init__.pyi +2803 -665
- bl_ui/properties_workspace/__init__.pyi +626 -149
- bl_ui/properties_world/__init__.pyi +1092 -235
- bl_ui/space_clip/__init__.pyi +11475 -2806
- bl_ui/space_console/__init__.pyi +967 -203
- bl_ui/space_dopesheet/__init__.pyi +4260 -967
- bl_ui/space_filebrowser/__init__.pyi +4852 -1188
- bl_ui/space_graph/__init__.pyi +3251 -703
- bl_ui/space_image/__init__.pyi +12218 -2968
- bl_ui/space_info/__init__.pyi +964 -201
- bl_ui/space_nla/__init__.pyi +2756 -585
- bl_ui/space_node/__init__.pyi +5661 -1266
- bl_ui/space_outliner/__init__.pyi +2294 -479
- bl_ui/space_properties/__init__.pyi +417 -93
- bl_ui/space_sequencer/__init__.pyi +12436 -3010
- bl_ui/space_spreadsheet/__init__.pyi +184 -37
- bl_ui/space_statusbar/__init__.pyi +135 -31
- bl_ui/space_text/__init__.pyi +2556 -543
- bl_ui/space_time/__init__.pyi +1151 -244
- bl_ui/space_toolsystem_common/__init__.pyi +368 -67
- bl_ui/space_toolsystem_toolbar/__init__.pyi +1378 -229
- bl_ui/space_topbar/__init__.pyi +4214 -888
- bl_ui/space_userpref/__init__.pyi +13920 -3468
- bl_ui/space_view3d/__init__.pyi +42751 -9613
- bl_ui/space_view3d_toolbar/__init__.pyi +16379 -3860
- bl_ui/utils/__init__.pyi +42 -5
- bl_ui_utils/__init__.pyi +0 -1
- bl_ui_utils/bug_report_url/__init__.pyi +4 -2
- bl_ui_utils/layout/__init__.pyi +4 -2
- blend_render_info/__init__.pyi +13 -4
- blf/__init__.pyi +15 -18
- bmesh/__init__.pyi +18 -18
- bmesh/geometry/__init__.pyi +5 -6
- bmesh/ops/__init__.pyi +1337 -1158
- bmesh/types/__init__.pyi +464 -374
- bmesh/utils/__init__.pyi +64 -70
- bpy/__init__.pyi +6 -7
- bpy/app/__init__.pyi +36 -38
- bpy/app/handlers/__init__.pyi +37 -38
- bpy/app/icons/__init__.pyi +8 -11
- bpy/app/timers/__init__.pyi +18 -17
- bpy/app/translations/__init__.pyi +32 -30
- bpy/msgbus/__init__.pyi +25 -20
- bpy/ops/__init__.pyi +63 -64
- bpy/ops/action/__init__.pyi +408 -436
- bpy/ops/anim/__init__.pyi +459 -577
- bpy/ops/armature/__init__.pyi +396 -498
- bpy/ops/asset/__init__.pyi +187 -213
- bpy/ops/boid/__init__.pyi +50 -68
- bpy/ops/brush/__init__.pyi +72 -97
- bpy/ops/buttons/__init__.pyi +202 -193
- bpy/ops/cachefile/__init__.pyi +198 -188
- bpy/ops/camera/__init__.pyi +24 -31
- bpy/ops/clip/__init__.pyi +1021 -1082
- bpy/ops/cloth/__init__.pyi +11 -15
- bpy/ops/collection/__init__.pyi +36 -51
- bpy/ops/console/__init__.pyi +155 -209
- bpy/ops/constraint/__init__.pyi +286 -254
- bpy/ops/curve/__init__.pyi +597 -659
- bpy/ops/curves/__init__.pyi +191 -225
- bpy/ops/cycles/__init__.pyi +21 -30
- bpy/ops/dpaint/__init__.pyi +34 -47
- bpy/ops/ed/__init__.pyi +160 -176
- bpy/ops/export_anim/__init__.pyi +51 -34
- bpy/ops/export_mesh/__init__.pyi +47 -45
- bpy/ops/export_scene/__init__.pyi +659 -504
- bpy/ops/file/__init__.pyi +469 -474
- bpy/ops/fluid/__init__.pyi +89 -119
- bpy/ops/font/__init__.pyi +325 -361
- bpy/ops/geometry/__init__.pyi +86 -114
- bpy/ops/gizmogroup/__init__.pyi +22 -28
- bpy/ops/gpencil/__init__.pyi +1900 -1976
- bpy/ops/graph/__init__.pyi +875 -894
- bpy/ops/grease_pencil/__init__.pyi +572 -508
- bpy/ops/image/__init__.pyi +805 -855
- bpy/ops/import_anim/__init__.pyi +66 -46
- bpy/ops/import_curve/__init__.pyi +7 -11
- bpy/ops/import_mesh/__init__.pyi +19 -25
- bpy/ops/import_scene/__init__.pyi +164 -147
- bpy/ops/info/__init__.pyi +88 -85
- bpy/ops/lattice/__init__.pyi +86 -90
- bpy/ops/marker/__init__.pyi +135 -146
- bpy/ops/mask/__init__.pyi +372 -436
- bpy/ops/material/__init__.pyi +18 -25
- bpy/ops/mball/__init__.pyi +93 -99
- bpy/ops/mesh/__init__.pyi +2525 -2664
- bpy/ops/nla/__init__.pyi +398 -455
- bpy/ops/node/__init__.pyi +1015 -1207
- bpy/ops/object/__init__.pyi +3423 -3390
- bpy/ops/outliner/__init__.pyi +667 -685
- bpy/ops/paint/__init__.pyi +719 -672
- bpy/ops/paintcurve/__init__.pyi +64 -85
- bpy/ops/palette/__init__.pyi +48 -67
- bpy/ops/particle/__init__.pyi +323 -367
- bpy/ops/pose/__init__.pyi +569 -474
- bpy/ops/poselib/__init__.pyi +77 -100
- bpy/ops/preferences/__init__.pyi +460 -512
- bpy/ops/ptcache/__init__.pyi +46 -63
- bpy/ops/render/__init__.pyi +121 -155
- bpy/ops/rigidbody/__init__.pyi +148 -143
- bpy/ops/scene/__init__.pyi +336 -380
- bpy/ops/screen/__init__.pyi +454 -530
- bpy/ops/script/__init__.pyi +19 -28
- bpy/ops/sculpt/__init__.pyi +734 -587
- bpy/ops/sculpt_curves/__init__.pyi +51 -56
- bpy/ops/sequencer/__init__.pyi +1617 -1500
- bpy/ops/sound/__init__.pyi +392 -315
- bpy/ops/spreadsheet/__init__.pyi +31 -42
- bpy/ops/surface/__init__.pyi +198 -163
- bpy/ops/text/__init__.pyi +479 -545
- bpy/ops/text_editor/__init__.pyi +11 -15
- bpy/ops/texture/__init__.pyi +26 -36
- bpy/ops/transform/__init__.pyi +825 -941
- bpy/ops/ui/__init__.pyi +246 -295
- bpy/ops/uilist/__init__.pyi +34 -38
- bpy/ops/uv/__init__.pyi +912 -824
- bpy/ops/view2d/__init__.pyi +157 -197
- bpy/ops/view3d/__init__.pyi +777 -878
- bpy/ops/wm/__init__.pyi +4102 -3595
- bpy/ops/workspace/__init__.pyi +42 -58
- bpy/ops/world/__init__.pyi +6 -9
- bpy/path/__init__.pyi +166 -109
- bpy/props/__init__.pyi +478 -395
- bpy/types/__init__.pyi +87194 -81467
- bpy/utils/__init__.pyi +325 -169
- bpy/utils/previews/__init__.pyi +108 -21
- bpy/utils/units/__init__.pyi +37 -39
- bpy_extras/__init__.pyi +4 -9
- bpy_extras/anim_utils/__init__.pyi +25 -55
- bpy_extras/asset_utils/__init__.pyi +3 -13
- bpy_extras/id_map_utils/__init__.pyi +1 -4
- bpy_extras/image_utils/__init__.pyi +33 -23
- bpy_extras/io_utils/__init__.pyi +116 -66
- bpy_extras/keyconfig_utils/__init__.pyi +5 -3
- bpy_extras/mesh_utils/__init__.pyi +42 -34
- bpy_extras/node_utils/__init__.pyi +4 -4
- bpy_extras/object_utils/__init__.pyi +58 -43
- bpy_extras/view3d_utils/__init__.pyi +64 -63
- bpy_restrict_state/__init__.pyi +14 -2
- bpy_types/__init__.pyi +3873 -998
- console_python/__init__.pyi +41 -8
- console_shell/__init__.pyi +24 -6
- {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/METADATA +1 -1
- fake_bpy_module-20240326.dist-info/RECORD +343 -0
- {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/WHEEL +1 -1
- freestyle/__init__.pyi +4 -5
- freestyle/chainingiterators/__init__.pyi +229 -73
- freestyle/functions/__init__.pyi +624 -402
- freestyle/predicates/__init__.pyi +381 -169
- freestyle/shaders/__init__.pyi +424 -155
- freestyle/types/__init__.pyi +1572 -726
- freestyle/utils/ContextFunctions/__init__.pyi +54 -43
- freestyle/utils/__init__.pyi +67 -31
- gpu/__init__.pyi +3 -4
- gpu/capabilities/__init__.pyi +57 -37
- gpu/matrix/__init__.pyi +14 -17
- gpu/platform/__init__.pyi +5 -6
- gpu/select/__init__.pyi +2 -5
- gpu/shader/__init__.pyi +14 -12
- gpu/state/__init__.pyi +48 -62
- gpu/texture/__init__.pyi +7 -7
- gpu/types/__init__.pyi +670 -229
- gpu_extras/__init__.pyi +1 -2
- gpu_extras/batch/__init__.pyi +27 -6
- gpu_extras/presets/__init__.pyi +67 -27
- graphviz_export/__init__.pyi +9 -3
- idprop/__init__.pyi +0 -1
- idprop/types/__init__.pyi +42 -13
- imbuf/__init__.pyi +6 -10
- imbuf/types/__init__.pyi +8 -16
- keyingsets_builtins/__init__.pyi +3149 -702
- keyingsets_utils/__init__.pyi +69 -15
- mathutils/__init__.pyi +951 -876
- mathutils/bvhtree/__init__.pyi +47 -48
- mathutils/geometry/__init__.pyi +237 -242
- mathutils/interpolate/__init__.pyi +3 -6
- mathutils/kdtree/__init__.pyi +23 -26
- mathutils/noise/__init__.pyi +50 -51
- nodeitems_builtins/__init__.pyi +50 -11
- nodeitems_utils/__init__.pyi +58 -11
- rna_info/__init__.pyi +230 -27
- rna_keymap_ui/__init__.pyi +29 -7
- rna_prop_ui/__init__.pyi +69 -13
- rna_xml/__init__.pyi +29 -7
- sys_info/__init__.pyi +4 -2
- bpy_extras/bmesh_utils/__init__.pyi +0 -7
- bpy_extras/extensions/__init__.pyi +0 -5
- bpy_extras/extensions/junction_module/__init__.pyi +0 -13
- bpy_extras/node_shader_utils/__init__.pyi +0 -132
- bpy_extras/wm_utils/__init__.pyi +0 -5
- bpy_extras/wm_utils/progress_report/__init__.pyi +0 -30
- fake_bpy_module-20240210.dist-info/RECORD +0 -349
- {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/top_level.txt +0 -0
bpy/ops/ed/__init__.pyi
CHANGED
|
@@ -1,263 +1,249 @@
|
|
|
1
|
-
import sys
|
|
2
1
|
import typing
|
|
3
2
|
import bpy.types
|
|
4
3
|
|
|
5
4
|
GenericType = typing.TypeVar("GenericType")
|
|
6
5
|
|
|
7
6
|
def flush_edits(
|
|
8
|
-
override_context: typing.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
12
|
-
undo: typing.Optional[bool] = None,
|
|
7
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
+
execution_context: typing.Union[str, int] = None,
|
|
9
|
+
undo: bool = None,
|
|
13
10
|
):
|
|
14
11
|
"""Flush edit data from active editing modes
|
|
15
12
|
|
|
16
|
-
:type override_context: typing.
|
|
17
|
-
:type execution_context: typing.
|
|
18
|
-
:type undo:
|
|
13
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
14
|
+
:type execution_context: typing.Union[str, int]
|
|
15
|
+
:type undo: bool
|
|
19
16
|
"""
|
|
20
17
|
|
|
21
18
|
...
|
|
22
19
|
|
|
23
20
|
def lib_id_fake_user_toggle(
|
|
24
|
-
override_context: typing.
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
28
|
-
undo: typing.Optional[bool] = None,
|
|
21
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
22
|
+
execution_context: typing.Union[str, int] = None,
|
|
23
|
+
undo: bool = None,
|
|
29
24
|
):
|
|
30
25
|
"""Save this data-block even if it has no users
|
|
31
26
|
|
|
32
|
-
:type override_context: typing.
|
|
33
|
-
:type execution_context: typing.
|
|
34
|
-
:type undo:
|
|
27
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
28
|
+
:type execution_context: typing.Union[str, int]
|
|
29
|
+
:type undo: bool
|
|
35
30
|
"""
|
|
36
31
|
|
|
37
32
|
...
|
|
38
33
|
|
|
39
34
|
def lib_id_generate_preview(
|
|
40
|
-
override_context: typing.
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
44
|
-
undo: typing.Optional[bool] = None,
|
|
35
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
36
|
+
execution_context: typing.Union[str, int] = None,
|
|
37
|
+
undo: bool = None,
|
|
45
38
|
):
|
|
46
39
|
"""Create an automatic preview for the selected data-block
|
|
47
40
|
|
|
48
|
-
:type override_context: typing.
|
|
49
|
-
:type execution_context: typing.
|
|
50
|
-
:type undo:
|
|
41
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
42
|
+
:type execution_context: typing.Union[str, int]
|
|
43
|
+
:type undo: bool
|
|
51
44
|
"""
|
|
52
45
|
|
|
53
46
|
...
|
|
54
47
|
|
|
55
48
|
def lib_id_generate_preview_from_object(
|
|
56
|
-
override_context: typing.
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
60
|
-
undo: typing.Optional[bool] = None,
|
|
49
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
50
|
+
execution_context: typing.Union[str, int] = None,
|
|
51
|
+
undo: bool = None,
|
|
61
52
|
):
|
|
62
53
|
"""Create a preview for this asset by rendering the active object
|
|
63
54
|
|
|
64
|
-
:type override_context: typing.
|
|
65
|
-
:type execution_context: typing.
|
|
66
|
-
:type undo:
|
|
55
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
56
|
+
:type execution_context: typing.Union[str, int]
|
|
57
|
+
:type undo: bool
|
|
67
58
|
"""
|
|
68
59
|
|
|
69
60
|
...
|
|
70
61
|
|
|
71
62
|
def lib_id_load_custom_preview(
|
|
72
|
-
override_context: typing.
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
76
|
-
undo: typing.Optional[bool] = None,
|
|
77
|
-
*,
|
|
63
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
64
|
+
execution_context: typing.Union[str, int] = None,
|
|
65
|
+
undo: bool = None,
|
|
78
66
|
filepath: typing.Union[str, typing.Any] = "",
|
|
79
|
-
hide_props_region: typing.
|
|
80
|
-
check_existing: typing.
|
|
81
|
-
filter_blender: typing.
|
|
82
|
-
filter_backup: typing.
|
|
83
|
-
filter_image: typing.
|
|
84
|
-
filter_movie: typing.
|
|
85
|
-
filter_python: typing.
|
|
86
|
-
filter_font: typing.
|
|
87
|
-
filter_sound: typing.
|
|
88
|
-
filter_text: typing.
|
|
89
|
-
filter_archive: typing.
|
|
90
|
-
filter_btx: typing.
|
|
91
|
-
filter_collada: typing.
|
|
92
|
-
filter_alembic: typing.
|
|
93
|
-
filter_usd: typing.
|
|
94
|
-
filter_obj: typing.
|
|
95
|
-
filter_volume: typing.
|
|
96
|
-
filter_folder: typing.
|
|
97
|
-
filter_blenlib: typing.
|
|
98
|
-
filemode: typing.
|
|
99
|
-
show_multiview: typing.
|
|
100
|
-
use_multiview: typing.
|
|
101
|
-
display_type: typing.
|
|
102
|
-
sort_method: typing.
|
|
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] = "",
|
|
103
91
|
):
|
|
104
92
|
"""Choose an image to help identify the data-block visually
|
|
105
93
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
94
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
95
|
+
:type execution_context: typing.Union[str, int]
|
|
96
|
+
:type undo: bool
|
|
97
|
+
:param filepath: File Path, Path to file
|
|
98
|
+
:type filepath: typing.Union[str, typing.Any]
|
|
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]
|
|
101
|
+
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
102
|
+
:type check_existing: typing.Union[bool, typing.Any]
|
|
103
|
+
:param filter_blender: Filter .blend files
|
|
104
|
+
:type filter_blender: typing.Union[bool, typing.Any]
|
|
105
|
+
:param filter_backup: Filter .blend files
|
|
106
|
+
:type filter_backup: typing.Union[bool, typing.Any]
|
|
107
|
+
:param filter_image: Filter image files
|
|
108
|
+
:type filter_image: typing.Union[bool, typing.Any]
|
|
109
|
+
:param filter_movie: Filter movie files
|
|
110
|
+
:type filter_movie: typing.Union[bool, typing.Any]
|
|
111
|
+
:param filter_python: Filter Python files
|
|
112
|
+
:type filter_python: typing.Union[bool, typing.Any]
|
|
113
|
+
:param filter_font: Filter font files
|
|
114
|
+
:type filter_font: typing.Union[bool, typing.Any]
|
|
115
|
+
:param filter_sound: Filter sound files
|
|
116
|
+
:type filter_sound: typing.Union[bool, typing.Any]
|
|
117
|
+
:param filter_text: Filter text files
|
|
118
|
+
:type filter_text: typing.Union[bool, typing.Any]
|
|
119
|
+
:param filter_archive: Filter archive files
|
|
120
|
+
:type filter_archive: typing.Union[bool, typing.Any]
|
|
121
|
+
:param filter_btx: Filter btx files
|
|
122
|
+
:type filter_btx: typing.Union[bool, typing.Any]
|
|
123
|
+
:param filter_collada: Filter COLLADA files
|
|
124
|
+
:type filter_collada: typing.Union[bool, typing.Any]
|
|
125
|
+
:param filter_alembic: Filter Alembic files
|
|
126
|
+
:type filter_alembic: typing.Union[bool, typing.Any]
|
|
127
|
+
:param filter_usd: Filter USD files
|
|
128
|
+
:type filter_usd: typing.Union[bool, typing.Any]
|
|
129
|
+
:param filter_obj: Filter OBJ files
|
|
130
|
+
:type filter_obj: typing.Union[bool, typing.Any]
|
|
131
|
+
:param filter_volume: Filter OpenVDB volume files
|
|
132
|
+
:type filter_volume: typing.Union[bool, typing.Any]
|
|
133
|
+
:param filter_folder: Filter folders
|
|
134
|
+
:type filter_folder: typing.Union[bool, typing.Any]
|
|
135
|
+
:param filter_blenlib: Filter Blender IDs
|
|
136
|
+
:type filter_blenlib: typing.Union[bool, typing.Any]
|
|
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
|
|
139
|
+
:param show_multiview: Enable Multi-View
|
|
140
|
+
:type show_multiview: typing.Union[bool, typing.Any]
|
|
141
|
+
:param use_multiview: Use Multi-View
|
|
142
|
+
:type use_multiview: typing.Union[bool, typing.Any]
|
|
143
|
+
:param display_type: Display Type
|
|
144
|
+
|
|
145
|
+
DEFAULT
|
|
146
|
+
Default -- Automatically determine display type for files.
|
|
147
|
+
|
|
148
|
+
LIST_VERTICAL
|
|
149
|
+
Short List -- Display files as short list.
|
|
150
|
+
|
|
151
|
+
LIST_HORIZONTAL
|
|
152
|
+
Long List -- Display files as a detailed list.
|
|
153
|
+
|
|
154
|
+
THUMBNAIL
|
|
155
|
+
Thumbnails -- Display files as thumbnails.
|
|
156
|
+
:type display_type: typing.Any
|
|
157
|
+
:param sort_method: File sorting mode
|
|
158
|
+
:type sort_method: 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.
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
168
|
-
undo: typing.Optional[bool] = None,
|
|
164
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
165
|
+
execution_context: typing.Union[str, int] = None,
|
|
166
|
+
undo: bool = None,
|
|
169
167
|
):
|
|
170
168
|
"""Set if this library override data-block can be edited
|
|
171
169
|
|
|
172
|
-
:type override_context: typing.
|
|
173
|
-
:type execution_context: typing.
|
|
174
|
-
:type undo:
|
|
170
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
171
|
+
:type execution_context: typing.Union[str, int]
|
|
172
|
+
:type undo: bool
|
|
175
173
|
"""
|
|
176
174
|
|
|
177
175
|
...
|
|
178
176
|
|
|
179
177
|
def lib_id_unlink(
|
|
180
|
-
override_context: typing.
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
184
|
-
undo: typing.Optional[bool] = None,
|
|
178
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
179
|
+
execution_context: typing.Union[str, int] = None,
|
|
180
|
+
undo: bool = None,
|
|
185
181
|
):
|
|
186
182
|
"""Remove a usage of a data-block, clearing the assignment
|
|
187
183
|
|
|
188
|
-
:type override_context: typing.
|
|
189
|
-
:type execution_context: typing.
|
|
190
|
-
:type undo:
|
|
184
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
185
|
+
:type execution_context: typing.Union[str, int]
|
|
186
|
+
:type undo: bool
|
|
191
187
|
"""
|
|
192
188
|
|
|
193
189
|
...
|
|
194
190
|
|
|
195
191
|
def redo(
|
|
196
|
-
override_context: typing.
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
200
|
-
undo: typing.Optional[bool] = None,
|
|
192
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
193
|
+
execution_context: typing.Union[str, int] = None,
|
|
194
|
+
undo: bool = None,
|
|
201
195
|
):
|
|
202
196
|
"""Redo previous action
|
|
203
197
|
|
|
204
|
-
:type override_context: typing.
|
|
205
|
-
:type execution_context: typing.
|
|
206
|
-
:type undo:
|
|
198
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
199
|
+
:type execution_context: typing.Union[str, int]
|
|
200
|
+
:type undo: bool
|
|
207
201
|
"""
|
|
208
202
|
|
|
209
203
|
...
|
|
210
204
|
|
|
211
205
|
def undo(
|
|
212
|
-
override_context: typing.
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
216
|
-
undo: typing.Optional[bool] = None,
|
|
206
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
207
|
+
execution_context: typing.Union[str, int] = None,
|
|
208
|
+
undo: bool = None,
|
|
217
209
|
):
|
|
218
210
|
"""Undo previous action
|
|
219
211
|
|
|
220
|
-
:type override_context: typing.
|
|
221
|
-
:type execution_context: typing.
|
|
222
|
-
:type undo:
|
|
212
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
213
|
+
:type execution_context: typing.Union[str, int]
|
|
214
|
+
:type undo: bool
|
|
223
215
|
"""
|
|
224
216
|
|
|
225
217
|
...
|
|
226
218
|
|
|
227
219
|
def undo_history(
|
|
228
|
-
override_context: typing.
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
undo: typing.Optional[bool] = None,
|
|
233
|
-
*,
|
|
234
|
-
item: typing.Optional[typing.Any] = 0,
|
|
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,
|
|
235
224
|
):
|
|
236
225
|
"""Redo specific action in history
|
|
237
226
|
|
|
238
|
-
:type override_context: typing.
|
|
239
|
-
:type execution_context: typing.
|
|
240
|
-
:type undo:
|
|
227
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
228
|
+
:type execution_context: typing.Union[str, int]
|
|
229
|
+
:type undo: bool
|
|
241
230
|
:param item: Item
|
|
242
|
-
:type item: typing.
|
|
231
|
+
:type item: typing.Any
|
|
243
232
|
"""
|
|
244
233
|
|
|
245
234
|
...
|
|
246
235
|
|
|
247
236
|
def undo_push(
|
|
248
|
-
override_context: typing.
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
252
|
-
undo: typing.Optional[bool] = None,
|
|
253
|
-
*,
|
|
237
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
238
|
+
execution_context: typing.Union[str, int] = None,
|
|
239
|
+
undo: bool = None,
|
|
254
240
|
message: typing.Union[str, typing.Any] = "Add an undo step *function may be moved*",
|
|
255
241
|
):
|
|
256
242
|
"""Add an undo state (internal use only)
|
|
257
243
|
|
|
258
|
-
:type override_context: typing.
|
|
259
|
-
:type execution_context: typing.
|
|
260
|
-
:type undo:
|
|
244
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
245
|
+
:type execution_context: typing.Union[str, int]
|
|
246
|
+
:type undo: bool
|
|
261
247
|
:param message: Undo Message
|
|
262
248
|
:type message: typing.Union[str, typing.Any]
|
|
263
249
|
"""
|
|
@@ -265,17 +251,15 @@ def undo_push(
|
|
|
265
251
|
...
|
|
266
252
|
|
|
267
253
|
def undo_redo(
|
|
268
|
-
override_context: typing.
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
272
|
-
undo: typing.Optional[bool] = None,
|
|
254
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
255
|
+
execution_context: typing.Union[str, int] = None,
|
|
256
|
+
undo: bool = None,
|
|
273
257
|
):
|
|
274
258
|
"""Undo and redo previous action
|
|
275
259
|
|
|
276
|
-
:type override_context: typing.
|
|
277
|
-
:type execution_context: typing.
|
|
278
|
-
:type undo:
|
|
260
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
261
|
+
:type execution_context: typing.Union[str, int]
|
|
262
|
+
:type undo: bool
|
|
279
263
|
"""
|
|
280
264
|
|
|
281
265
|
...
|
bpy/ops/export_anim/__init__.pyi
CHANGED
|
@@ -1,46 +1,63 @@
|
|
|
1
|
-
import sys
|
|
2
1
|
import typing
|
|
3
2
|
import bpy.types
|
|
4
3
|
|
|
5
4
|
GenericType = typing.TypeVar("GenericType")
|
|
6
5
|
|
|
7
6
|
def bvh(
|
|
8
|
-
override_context: typing.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
12
|
-
undo: typing.Optional[bool] = None,
|
|
13
|
-
*,
|
|
7
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
+
execution_context: typing.Union[str, int] = None,
|
|
9
|
+
undo: bool = None,
|
|
14
10
|
filepath: typing.Union[str, typing.Any] = "",
|
|
15
|
-
check_existing: typing.
|
|
11
|
+
check_existing: typing.Union[bool, typing.Any] = True,
|
|
16
12
|
filter_glob: typing.Union[str, typing.Any] = "*.bvh",
|
|
17
|
-
global_scale: typing.
|
|
18
|
-
frame_start: typing.
|
|
19
|
-
frame_end: typing.
|
|
20
|
-
rotate_mode: typing.
|
|
21
|
-
root_transform_only: typing.
|
|
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,
|
|
22
18
|
):
|
|
23
|
-
"""Save a BVH motion capture file from an armature
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
19
|
+
"""Save a BVH motion capture file from an armature
|
|
20
|
+
|
|
21
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
22
|
+
:type execution_context: typing.Union[str, int]
|
|
23
|
+
:type undo: bool
|
|
24
|
+
:param filepath: File Path, Filepath used for exporting the file
|
|
25
|
+
:type filepath: typing.Union[str, typing.Any]
|
|
26
|
+
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
27
|
+
:type check_existing: typing.Union[bool, typing.Any]
|
|
28
|
+
:param filter_glob: filter_glob
|
|
29
|
+
:type filter_glob: typing.Union[str, typing.Any]
|
|
30
|
+
:param global_scale: Scale, Scale the BVH by this value
|
|
31
|
+
:type global_scale: typing.Any
|
|
32
|
+
:param frame_start: Start Frame, Starting frame to export
|
|
33
|
+
:type frame_start: typing.Any
|
|
34
|
+
:param frame_end: End Frame, End frame to export
|
|
35
|
+
:type frame_end: typing.Any
|
|
36
|
+
:param rotate_mode: Rotation, Rotation conversion
|
|
37
|
+
|
|
38
|
+
NATIVE
|
|
39
|
+
Euler (Native) -- Use the rotation order defined in the BVH file.
|
|
40
|
+
|
|
41
|
+
XYZ
|
|
42
|
+
Euler (XYZ) -- Convert rotations to euler XYZ.
|
|
43
|
+
|
|
44
|
+
XZY
|
|
45
|
+
Euler (XZY) -- Convert rotations to euler XZY.
|
|
46
|
+
|
|
47
|
+
YXZ
|
|
48
|
+
Euler (YXZ) -- Convert rotations to euler YXZ.
|
|
49
|
+
|
|
50
|
+
YZX
|
|
51
|
+
Euler (YZX) -- Convert rotations to euler YZX.
|
|
52
|
+
|
|
53
|
+
ZXY
|
|
54
|
+
Euler (ZXY) -- Convert rotations to euler ZXY.
|
|
55
|
+
|
|
56
|
+
ZYX
|
|
57
|
+
Euler (ZYX) -- Convert rotations to euler ZYX.
|
|
58
|
+
:type rotate_mode: typing.Any
|
|
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]
|
|
44
61
|
"""
|
|
45
62
|
|
|
46
63
|
...
|