fake-bpy-module 20240224__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 -10
- animsys_refactor/__init__.pyi +36 -6
- aud/__init__.pyi +132 -125
- bgl/__init__.pyi +2545 -546
- bl_app_override/__init__.pyi +14 -3
- bl_app_override/helpers/__init__.pyi +24 -2
- bl_app_template_utils/__init__.pyi +19 -4
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +24 -5
- bl_console_utils/autocomplete/complete_import/__init__.pyi +14 -3
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +24 -5
- bl_console_utils/autocomplete/intellisense/__init__.pyi +9 -2
- bl_i18n_utils/bl_extract_messages/__init__.pyi +74 -15
- bl_i18n_utils/merge_po/__init__.pyi +4 -1
- bl_i18n_utils/settings/__init__.pyi +53 -6
- bl_i18n_utils/utils/__init__.pyi +332 -44
- bl_i18n_utils/utils_cli/__init__.pyi +29 -6
- bl_i18n_utils/utils_languages_menu/__init__.pyi +4 -1
- bl_i18n_utils/utils_rtl/__init__.pyi +9 -2
- bl_keymap_utils/io/__init__.pyi +44 -9
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +4 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +4 -1
- bl_keymap_utils/platform_helpers/__init__.pyi +9 -2
- bl_keymap_utils/versioning/__init__.pyi +4 -1
- bl_math/__init__.pyi +3 -3
- bl_operators/__init__.pyi +9 -2
- bl_operators/add_mesh_torus/__init__.pyi +171 -37
- bl_operators/anim/__init__.pyi +1065 -226
- bl_operators/assets/__init__.pyi +427 -92
- bl_operators/bmesh/find_adjacent/__init__.pyi +44 -9
- bl_operators/clip/__init__.pyi +1342 -287
- bl_operators/console/__init__.pyi +647 -140
- bl_operators/constraint/__init__.pyi +524 -112
- bl_operators/file/__init__.pyi +396 -84
- bl_operators/freestyle/__init__.pyi +532 -113
- bl_operators/geometry_nodes/__init__.pyi +2412 -596
- bl_operators/image/__init__.pyi +380 -82
- bl_operators/mesh/__init__.pyi +401 -85
- bl_operators/node/__init__.pyi +1756 -384
- bl_operators/object/__init__.pyi +2022 -552
- bl_operators/object_align/__init__.pyi +145 -31
- bl_operators/object_quick_effects/__init__.pyi +555 -124
- bl_operators/object_randomize_transform/__init__.pyi +136 -32
- bl_operators/presets/__init__.pyi +3516 -708
- bl_operators/rigidbody/__init__.pyi +401 -85
- bl_operators/screen_play_rendered_anim/__init__.pyi +129 -29
- bl_operators/sequencer/__init__.pyi +731 -149
- bl_operators/spreadsheet/__init__.pyi +145 -30
- bl_operators/userpref/__init__.pyi +3416 -824
- bl_operators/uvcalc_follow_active/__init__.pyi +149 -32
- bl_operators/uvcalc_lightmap/__init__.pyi +187 -34
- bl_operators/uvcalc_transform/__init__.pyi +344 -73
- bl_operators/vertexpaint_dirt/__init__.pyi +140 -30
- bl_operators/view3d/__init__.pyi +697 -146
- bl_operators/wm/__init__.pyi +6287 -1533
- bl_previews_utils/bl_previews_render/__init__.pyi +34 -7
- bl_rna_utils/data_path/__init__.pyi +12 -2
- bl_text_utils/external_editor/__init__.pyi +4 -1
- bl_ui/__init__.pyi +504 -106
- bl_ui/anim/__init__.pyi +164 -33
- bl_ui/asset_shelf/__init__.pyi +146 -31
- bl_ui/generic_ui_list/__init__.pyi +471 -99
- bl_ui/node_add_menu/__init__.pyi +196 -40
- bl_ui/node_add_menu_compositor/__init__.pyi +3017 -621
- bl_ui/node_add_menu_geometry/__init__.pyi +8060 -1625
- bl_ui/node_add_menu_shader/__init__.pyi +1709 -348
- bl_ui/node_add_menu_texture/__init__.pyi +1502 -305
- bl_ui/properties_animviz/__init__.pyi +32 -2
- bl_ui/properties_collection/__init__.pyi +787 -179
- bl_ui/properties_constraint/__init__.pyi +28635 -5523
- bl_ui/properties_data_armature/__init__.pyi +1905 -448
- bl_ui/properties_data_bone/__init__.pyi +1560 -336
- bl_ui/properties_data_camera/__init__.pyi +2269 -494
- bl_ui/properties_data_curve/__init__.pyi +2362 -534
- bl_ui/properties_data_curves/__init__.pyi +951 -203
- bl_ui/properties_data_empty/__init__.pyi +317 -69
- bl_ui/properties_data_gpencil/__init__.pyi +2924 -734
- bl_ui/properties_data_grease_pencil/__init__.pyi +1631 -188
- bl_ui/properties_data_lattice/__init__.pyi +472 -104
- bl_ui/properties_data_light/__init__.pyi +1570 -337
- bl_ui/properties_data_lightprobe/__init__.pyi +938 -208
- bl_ui/properties_data_mesh/__init__.pyi +3205 -767
- bl_ui/properties_data_metaball/__init__.pyi +774 -170
- bl_ui/properties_data_modifier/__init__.pyi +1554 -328
- bl_ui/properties_data_pointcloud/__init__.pyi +821 -194
- bl_ui/properties_data_shaderfx/__init__.pyi +154 -34
- bl_ui/properties_data_speaker/__init__.pyi +782 -168
- bl_ui/properties_data_volume/__init__.pyi +1243 -281
- bl_ui/properties_freestyle/__init__.pyi +4071 -1030
- bl_ui/properties_grease_pencil_common/__init__.pyi +2399 -483
- bl_ui/properties_mask_common/__init__.pyi +1256 -249
- bl_ui/properties_material/__init__.pyi +2351 -542
- bl_ui/properties_material_gpencil/__init__.pyi +1590 -365
- bl_ui/properties_object/__init__.pyi +2179 -512
- bl_ui/properties_output/__init__.pyi +2956 -705
- bl_ui/properties_paint_common/__init__.pyi +947 -140
- bl_ui/properties_particle/__init__.pyi +8322 -1970
- bl_ui/properties_physics_cloth/__init__.pyi +2254 -508
- bl_ui/properties_physics_common/__init__.pyi +200 -44
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +4454 -965
- bl_ui/properties_physics_field/__init__.pyi +1695 -364
- bl_ui/properties_physics_fluid/__init__.pyi +6127 -1280
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +157 -32
- bl_ui/properties_physics_rigidbody/__init__.pyi +1254 -278
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2053 -483
- bl_ui/properties_physics_softbody/__init__.pyi +2394 -542
- bl_ui/properties_render/__init__.pyi +8312 -1933
- bl_ui/properties_scene/__init__.pyi +2211 -539
- bl_ui/properties_texture/__init__.pyi +4185 -1013
- bl_ui/properties_view_layer/__init__.pyi +2803 -664
- bl_ui/properties_workspace/__init__.pyi +626 -148
- bl_ui/properties_world/__init__.pyi +1092 -234
- bl_ui/space_clip/__init__.pyi +11475 -2805
- bl_ui/space_console/__init__.pyi +967 -202
- bl_ui/space_dopesheet/__init__.pyi +4260 -966
- bl_ui/space_filebrowser/__init__.pyi +4852 -1187
- bl_ui/space_graph/__init__.pyi +3251 -702
- bl_ui/space_image/__init__.pyi +12219 -2968
- bl_ui/space_info/__init__.pyi +964 -200
- bl_ui/space_nla/__init__.pyi +2756 -584
- bl_ui/space_node/__init__.pyi +5661 -1265
- bl_ui/space_outliner/__init__.pyi +2294 -478
- bl_ui/space_properties/__init__.pyi +417 -92
- bl_ui/space_sequencer/__init__.pyi +12436 -3009
- bl_ui/space_spreadsheet/__init__.pyi +184 -36
- bl_ui/space_statusbar/__init__.pyi +135 -30
- bl_ui/space_text/__init__.pyi +2556 -542
- bl_ui/space_time/__init__.pyi +1151 -243
- bl_ui/space_toolsystem_common/__init__.pyi +368 -66
- bl_ui/space_toolsystem_toolbar/__init__.pyi +1378 -228
- bl_ui/space_topbar/__init__.pyi +4214 -887
- bl_ui/space_userpref/__init__.pyi +13920 -3468
- bl_ui/space_view3d/__init__.pyi +43701 -10599
- bl_ui/space_view3d_toolbar/__init__.pyi +16380 -3860
- bl_ui/utils/__init__.pyi +42 -4
- bl_ui_utils/bug_report_url/__init__.pyi +4 -1
- bl_ui_utils/layout/__init__.pyi +4 -1
- blend_render_info/__init__.pyi +13 -3
- blf/__init__.pyi +5 -7
- bmesh/__init__.pyi +7 -7
- bmesh/geometry/__init__.pyi +5 -5
- bmesh/ops/__init__.pyi +490 -504
- bmesh/types/__init__.pyi +268 -262
- bmesh/utils/__init__.pyi +55 -55
- bpy/__init__.pyi +2 -2
- bpy/app/__init__.pyi +4 -5
- bpy/app/handlers/__init__.pyi +36 -36
- bpy/app/icons/__init__.pyi +8 -10
- bpy/app/timers/__init__.pyi +9 -11
- bpy/app/translations/__init__.pyi +20 -22
- bpy/msgbus/__init__.pyi +3 -12
- bpy/ops/action/__init__.pyi +350 -305
- bpy/ops/anim/__init__.pyi +464 -426
- bpy/ops/armature/__init__.pyi +392 -360
- bpy/ops/asset/__init__.pyi +166 -129
- bpy/ops/boid/__init__.pyi +64 -37
- bpy/ops/brush/__init__.pyi +78 -72
- bpy/ops/buttons/__init__.pyi +136 -122
- bpy/ops/cachefile/__init__.pyi +128 -123
- bpy/ops/camera/__init__.pyi +22 -24
- bpy/ops/clip/__init__.pyi +844 -735
- bpy/ops/cloth/__init__.pyi +10 -11
- bpy/ops/collection/__init__.pyi +38 -38
- bpy/ops/console/__init__.pyi +170 -141
- bpy/ops/constraint/__init__.pyi +156 -159
- bpy/ops/curve/__init__.pyi +518 -461
- bpy/ops/curves/__init__.pyi +188 -159
- bpy/ops/cycles/__init__.pyi +20 -18
- bpy/ops/dpaint/__init__.pyi +40 -30
- bpy/ops/ed/__init__.pyi +136 -107
- bpy/ops/export_anim/__init__.pyi +18 -19
- bpy/ops/export_mesh/__init__.pyi +26 -27
- bpy/ops/export_scene/__init__.pyi +313 -334
- bpy/ops/file/__init__.pyi +394 -304
- bpy/ops/fluid/__init__.pyi +114 -63
- bpy/ops/font/__init__.pyi +272 -245
- bpy/ops/geometry/__init__.pyi +92 -87
- bpy/ops/gizmogroup/__init__.pyi +24 -21
- bpy/ops/gpencil/__init__.pyi +1530 -1476
- bpy/ops/graph/__init__.pyi +680 -659
- bpy/ops/grease_pencil/__init__.pyi +510 -390
- bpy/ops/image/__init__.pyi +650 -603
- bpy/ops/import_anim/__init__.pyi +26 -27
- bpy/ops/import_curve/__init__.pyi +6 -7
- bpy/ops/import_mesh/__init__.pyi +18 -21
- bpy/ops/import_scene/__init__.pyi +86 -95
- bpy/ops/info/__init__.pyi +68 -55
- bpy/ops/lattice/__init__.pyi +70 -63
- bpy/ops/marker/__init__.pyi +110 -111
- bpy/ops/mask/__init__.pyi +352 -308
- bpy/ops/material/__init__.pyi +24 -12
- bpy/ops/mball/__init__.pyi +72 -75
- bpy/ops/mesh/__init__.pyi +2052 -2088
- bpy/ops/nla/__init__.pyi +369 -313
- bpy/ops/node/__init__.pyi +944 -805
- bpy/ops/object/__init__.pyi +2662 -2461
- bpy/ops/outliner/__init__.pyi +582 -431
- bpy/ops/paint/__init__.pyi +605 -516
- bpy/ops/paintcurve/__init__.pyi +72 -60
- bpy/ops/palette/__init__.pyi +54 -46
- bpy/ops/particle/__init__.pyi +302 -245
- bpy/ops/pose/__init__.pyi +366 -330
- bpy/ops/poselib/__init__.pyi +78 -64
- bpy/ops/preferences/__init__.pyi +361 -341
- bpy/ops/ptcache/__init__.pyi +56 -38
- bpy/ops/render/__init__.pyi +120 -117
- bpy/ops/rigidbody/__init__.pyi +114 -97
- bpy/ops/scene/__init__.pyi +302 -240
- bpy/ops/screen/__init__.pyi +414 -363
- bpy/ops/script/__init__.pyi +20 -18
- bpy/ops/sculpt/__init__.pyi +414 -452
- bpy/ops/sculpt_curves/__init__.pyi +42 -43
- bpy/ops/sequencer/__init__.pyi +1094 -1053
- bpy/ops/sound/__init__.pyi +214 -206
- bpy/ops/spreadsheet/__init__.pyi +34 -28
- bpy/ops/surface/__init__.pyi +108 -114
- bpy/ops/text/__init__.pyi +432 -350
- bpy/ops/text_editor/__init__.pyi +10 -11
- bpy/ops/texture/__init__.pyi +32 -21
- bpy/ops/transform/__init__.pyi +801 -854
- bpy/ops/ui/__init__.pyi +254 -185
- bpy/ops/uilist/__init__.pyi +20 -23
- bpy/ops/uv/__init__.pyi +618 -626
- bpy/ops/view2d/__init__.pyi +162 -161
- bpy/ops/view3d/__init__.pyi +669 -658
- bpy/ops/wm/__init__.pyi +2433 -2415
- bpy/ops/workspace/__init__.pyi +54 -31
- bpy/ops/world/__init__.pyi +8 -4
- bpy/path/__init__.pyi +111 -68
- bpy/props/__init__.pyi +263 -267
- bpy/types/__init__.pyi +86789 -85719
- bpy/utils/__init__.pyi +265 -123
- bpy/utils/previews/__init__.pyi +103 -17
- bpy/utils/units/__init__.pyi +19 -22
- bpy_extras/__init__.pyi +0 -4
- bpy_extras/anim_utils/__init__.pyi +11 -46
- bpy_extras/asset_utils/__init__.pyi +3 -12
- bpy_extras/id_map_utils/__init__.pyi +0 -2
- bpy_extras/image_utils/__init__.pyi +2 -2
- bpy_extras/io_utils/__init__.pyi +30 -27
- bpy_extras/keyconfig_utils/__init__.pyi +4 -1
- bpy_extras/mesh_utils/__init__.pyi +18 -18
- bpy_extras/node_utils/__init__.pyi +4 -3
- bpy_extras/object_utils/__init__.pyi +25 -26
- bpy_extras/view3d_utils/__init__.pyi +33 -38
- bpy_restrict_state/__init__.pyi +14 -1
- bpy_types/__init__.pyi +3873 -997
- console_python/__init__.pyi +41 -7
- console_shell/__init__.pyi +24 -5
- {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/METADATA +1 -1
- fake_bpy_module-20240326.dist-info/RECORD +343 -0
- {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/WHEEL +1 -1
- freestyle/chainingiterators/__init__.pyi +50 -52
- freestyle/functions/__init__.pyi +303 -207
- freestyle/predicates/__init__.pyi +299 -115
- freestyle/shaders/__init__.pyi +49 -80
- freestyle/types/__init__.pyi +465 -472
- freestyle/utils/ContextFunctions/__init__.pyi +9 -9
- freestyle/utils/__init__.pyi +28 -18
- gpu/capabilities/__init__.pyi +27 -19
- gpu/matrix/__init__.pyi +14 -16
- gpu/platform/__init__.pyi +5 -5
- gpu/shader/__init__.pyi +2 -5
- gpu/state/__init__.pyi +1 -1
- gpu/texture/__init__.pyi +3 -3
- gpu/types/__init__.pyi +54 -85
- gpu_extras/batch/__init__.pyi +27 -5
- gpu_extras/presets/__init__.pyi +52 -14
- graphviz_export/__init__.pyi +9 -2
- idprop/types/__init__.pyi +36 -12
- imbuf/__init__.pyi +8 -9
- imbuf/types/__init__.pyi +8 -15
- keyingsets_builtins/__init__.pyi +3149 -701
- keyingsets_utils/__init__.pyi +69 -14
- mathutils/__init__.pyi +502 -427
- mathutils/bvhtree/__init__.pyi +28 -32
- mathutils/geometry/__init__.pyi +177 -186
- mathutils/kdtree/__init__.pyi +16 -18
- mathutils/noise/__init__.pyi +47 -48
- nodeitems_builtins/__init__.pyi +50 -10
- nodeitems_utils/__init__.pyi +58 -10
- rna_info/__init__.pyi +230 -26
- rna_keymap_ui/__init__.pyi +29 -6
- rna_prop_ui/__init__.pyi +69 -12
- rna_xml/__init__.pyi +29 -6
- sys_info/__init__.pyi +4 -1
- bpy_extras/bmesh_utils/__init__.pyi +0 -6
- bpy_extras/extensions/__init__.pyi +0 -4
- bpy_extras/extensions/junction_module/__init__.pyi +0 -12
- bpy_extras/node_shader_utils/__init__.pyi +0 -131
- bpy_extras/wm_utils/__init__.pyi +0 -4
- bpy_extras/wm_utils/progress_report/__init__.pyi +0 -29
- fake_bpy_module-20240224.dist-info/RECORD +0 -349
- {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/top_level.txt +0 -0
|
@@ -4,82 +4,79 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def fbx(
|
|
7
|
-
override_context=None,
|
|
8
|
-
execution_context=None,
|
|
9
|
-
undo=None,
|
|
10
|
-
*,
|
|
7
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
+
execution_context: typing.Union[str, int] = None,
|
|
9
|
+
undo: bool = None,
|
|
11
10
|
filepath: typing.Union[str, typing.Any] = "",
|
|
12
|
-
check_existing: typing.
|
|
11
|
+
check_existing: typing.Union[bool, typing.Any] = True,
|
|
13
12
|
filter_glob: typing.Union[str, typing.Any] = "*.fbx",
|
|
14
|
-
use_selection: typing.
|
|
15
|
-
use_visible: typing.
|
|
16
|
-
use_active_collection: typing.
|
|
17
|
-
global_scale: typing.
|
|
18
|
-
apply_unit_scale: typing.
|
|
19
|
-
apply_scale_options: typing.
|
|
20
|
-
use_space_transform: typing.
|
|
21
|
-
bake_space_transform: typing.
|
|
22
|
-
object_types: typing.
|
|
23
|
-
'"OTHER"',
|
|
24
|
-
'"ARMATURE"',
|
|
25
|
-
'"MESH"',
|
|
13
|
+
use_selection: typing.Union[bool, typing.Any] = False,
|
|
14
|
+
use_visible: typing.Union[bool, typing.Any] = False,
|
|
15
|
+
use_active_collection: typing.Union[bool, typing.Any] = False,
|
|
16
|
+
global_scale: typing.Any = 1.0,
|
|
17
|
+
apply_unit_scale: typing.Union[bool, typing.Any] = True,
|
|
18
|
+
apply_scale_options: typing.Any = "FBX_SCALE_NONE",
|
|
19
|
+
use_space_transform: typing.Union[bool, typing.Any] = True,
|
|
20
|
+
bake_space_transform: typing.Union[bool, typing.Any] = False,
|
|
21
|
+
object_types: typing.Any = {
|
|
26
22
|
'"CAMERA"',
|
|
27
23
|
'"EMPTY"',
|
|
24
|
+
'"ARMATURE"',
|
|
25
|
+
'"OTHER"',
|
|
26
|
+
'"MESH"',
|
|
28
27
|
'"LIGHT"',
|
|
29
28
|
},
|
|
30
|
-
use_mesh_modifiers: typing.
|
|
31
|
-
use_mesh_modifiers_render: typing.
|
|
32
|
-
mesh_smooth_type: typing.
|
|
33
|
-
colors_type: typing.
|
|
34
|
-
prioritize_active_color: typing.
|
|
35
|
-
use_subsurf: typing.
|
|
36
|
-
use_mesh_edges: typing.
|
|
37
|
-
use_tspace: typing.
|
|
38
|
-
use_triangles: typing.
|
|
39
|
-
use_custom_props: typing.
|
|
40
|
-
add_leaf_bones: typing.
|
|
41
|
-
primary_bone_axis: typing.
|
|
42
|
-
secondary_bone_axis: typing.
|
|
43
|
-
use_armature_deform_only: typing.
|
|
44
|
-
armature_nodetype: typing.
|
|
45
|
-
bake_anim: typing.
|
|
46
|
-
bake_anim_use_all_bones: typing.
|
|
47
|
-
bake_anim_use_nla_strips: typing.
|
|
48
|
-
bake_anim_use_all_actions: typing.
|
|
49
|
-
bake_anim_force_startend_keying: typing.
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
axis_forward: typing.Optional[typing.Any] = "-Z",
|
|
60
|
-
axis_up: typing.Optional[typing.Any] = "Y",
|
|
29
|
+
use_mesh_modifiers: typing.Union[bool, typing.Any] = True,
|
|
30
|
+
use_mesh_modifiers_render: typing.Union[bool, typing.Any] = True,
|
|
31
|
+
mesh_smooth_type: typing.Any = "OFF",
|
|
32
|
+
colors_type: typing.Any = "SRGB",
|
|
33
|
+
prioritize_active_color: typing.Union[bool, typing.Any] = False,
|
|
34
|
+
use_subsurf: typing.Union[bool, typing.Any] = False,
|
|
35
|
+
use_mesh_edges: typing.Union[bool, typing.Any] = False,
|
|
36
|
+
use_tspace: typing.Union[bool, typing.Any] = False,
|
|
37
|
+
use_triangles: typing.Union[bool, typing.Any] = False,
|
|
38
|
+
use_custom_props: typing.Union[bool, typing.Any] = False,
|
|
39
|
+
add_leaf_bones: typing.Union[bool, typing.Any] = True,
|
|
40
|
+
primary_bone_axis: typing.Any = "Y",
|
|
41
|
+
secondary_bone_axis: typing.Any = "X",
|
|
42
|
+
use_armature_deform_only: typing.Union[bool, typing.Any] = False,
|
|
43
|
+
armature_nodetype: typing.Any = "NULL",
|
|
44
|
+
bake_anim: typing.Union[bool, typing.Any] = True,
|
|
45
|
+
bake_anim_use_all_bones: typing.Union[bool, typing.Any] = True,
|
|
46
|
+
bake_anim_use_nla_strips: typing.Union[bool, typing.Any] = True,
|
|
47
|
+
bake_anim_use_all_actions: typing.Union[bool, typing.Any] = True,
|
|
48
|
+
bake_anim_force_startend_keying: typing.Union[bool, typing.Any] = True,
|
|
49
|
+
bake_anim_step: typing.Any = 1.0,
|
|
50
|
+
bake_anim_simplify_factor: typing.Any = 1.0,
|
|
51
|
+
path_mode: typing.Any = "AUTO",
|
|
52
|
+
embed_textures: typing.Union[bool, typing.Any] = False,
|
|
53
|
+
batch_mode: typing.Any = "OFF",
|
|
54
|
+
use_batch_own_dir: typing.Union[bool, typing.Any] = True,
|
|
55
|
+
use_metadata: typing.Union[bool, typing.Any] = True,
|
|
56
|
+
axis_forward: typing.Any = "-Z",
|
|
57
|
+
axis_up: typing.Any = "Y",
|
|
61
58
|
):
|
|
62
59
|
"""Write a FBX file
|
|
63
60
|
|
|
64
|
-
:type override_context: typing.
|
|
65
|
-
:type execution_context: typing.
|
|
66
|
-
:type undo:
|
|
61
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
62
|
+
:type execution_context: typing.Union[str, int]
|
|
63
|
+
:type undo: bool
|
|
67
64
|
:param filepath: File Path, Filepath used for exporting the file
|
|
68
65
|
:type filepath: typing.Union[str, typing.Any]
|
|
69
66
|
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
70
|
-
:type check_existing: typing.
|
|
67
|
+
:type check_existing: typing.Union[bool, typing.Any]
|
|
71
68
|
:param filter_glob: filter_glob
|
|
72
69
|
:type filter_glob: typing.Union[str, typing.Any]
|
|
73
70
|
:param use_selection: Selected Objects, Export selected and visible objects only
|
|
74
|
-
:type use_selection: typing.
|
|
71
|
+
:type use_selection: typing.Union[bool, typing.Any]
|
|
75
72
|
:param use_visible: Visible Objects, Export visible objects only
|
|
76
|
-
:type use_visible: typing.
|
|
73
|
+
:type use_visible: typing.Union[bool, typing.Any]
|
|
77
74
|
:param use_active_collection: Active Collection, Export only objects from the active collection (and its children)
|
|
78
|
-
:type use_active_collection: typing.
|
|
75
|
+
:type use_active_collection: typing.Union[bool, typing.Any]
|
|
79
76
|
:param global_scale: Scale, Scale all data (Some importers do not support scaled armatures!)
|
|
80
|
-
:type global_scale: typing.
|
|
77
|
+
:type global_scale: typing.Any
|
|
81
78
|
:param apply_unit_scale: Apply Unit, Take into account current Blender units settings (if unset, raw Blender Units values are used as-is)
|
|
82
|
-
:type apply_unit_scale: typing.
|
|
79
|
+
:type apply_unit_scale: typing.Union[bool, typing.Any]
|
|
83
80
|
:param apply_scale_options: Apply Scalings, How to apply custom and units scalings in generated FBX file (Blender uses FBX scale to detect units on import, but many other applications do not handle the same way)
|
|
84
81
|
|
|
85
82
|
FBX_SCALE_NONE
|
|
@@ -93,11 +90,11 @@ def fbx(
|
|
|
93
90
|
|
|
94
91
|
FBX_SCALE_ALL
|
|
95
92
|
FBX All -- Apply custom scaling and units scaling to FBX scale.
|
|
96
|
-
:type apply_scale_options: typing.
|
|
93
|
+
:type apply_scale_options: typing.Any
|
|
97
94
|
:param use_space_transform: Use Space Transform, Apply global space transform to the object rotations. When disabled only the axis space is written to the file and all object transforms are left as-is
|
|
98
|
-
:type use_space_transform: typing.
|
|
95
|
+
:type use_space_transform: typing.Union[bool, typing.Any]
|
|
99
96
|
:param bake_space_transform: Apply Transform, Bake space transform into object data, avoids getting unwanted rotations to objects when target space is not aligned with Blender's space (WARNING! experimental option, use at own risk, known to be broken with armatures/animations)
|
|
100
|
-
:type bake_space_transform: typing.
|
|
97
|
+
:type bake_space_transform: typing.Union[bool, typing.Any]
|
|
101
98
|
:param object_types: Object Types, Which kind of object to export
|
|
102
99
|
|
|
103
100
|
EMPTY
|
|
@@ -117,11 +114,11 @@ def fbx(
|
|
|
117
114
|
|
|
118
115
|
OTHER
|
|
119
116
|
Other -- Other geometry types, like curve, metaball, etc. (converted to meshes).
|
|
120
|
-
:type object_types: typing.
|
|
117
|
+
:type object_types: typing.Any
|
|
121
118
|
:param use_mesh_modifiers: Apply Modifiers, Apply modifiers to mesh objects (except Armature ones) - WARNING: prevents exporting shape keys
|
|
122
|
-
:type use_mesh_modifiers: typing.
|
|
119
|
+
:type use_mesh_modifiers: typing.Union[bool, typing.Any]
|
|
123
120
|
:param use_mesh_modifiers_render: Use Modifiers Render Setting, Use render settings when applying modifiers to mesh objects (DISABLED in Blender 2.8)
|
|
124
|
-
:type use_mesh_modifiers_render: typing.
|
|
121
|
+
:type use_mesh_modifiers_render: typing.Union[bool, typing.Any]
|
|
125
122
|
:param mesh_smooth_type: Smoothing, Export smoothing information (prefer 'Normals Only' option if your target importer understand split normals)
|
|
126
123
|
|
|
127
124
|
OFF
|
|
@@ -132,7 +129,7 @@ def fbx(
|
|
|
132
129
|
|
|
133
130
|
EDGE
|
|
134
131
|
Edge -- Write edge smoothing.
|
|
135
|
-
:type mesh_smooth_type: typing.
|
|
132
|
+
:type mesh_smooth_type: typing.Any
|
|
136
133
|
:param colors_type: Vertex Colors, Export vertex color attributes
|
|
137
134
|
|
|
138
135
|
NONE
|
|
@@ -143,27 +140,27 @@ def fbx(
|
|
|
143
140
|
|
|
144
141
|
LINEAR
|
|
145
142
|
Linear -- Export colors in linear color space.
|
|
146
|
-
:type colors_type: typing.
|
|
143
|
+
:type colors_type: typing.Any
|
|
147
144
|
:param prioritize_active_color: Prioritize Active Color, Make sure active color will be exported first. Could be important since some other software can discard other color attributes besides the first one
|
|
148
|
-
:type prioritize_active_color: typing.
|
|
145
|
+
:type prioritize_active_color: typing.Union[bool, typing.Any]
|
|
149
146
|
:param use_subsurf: Export Subdivision Surface, Export the last Catmull-Rom subdivision modifier as FBX subdivision (does not apply the modifier even if 'Apply Modifiers' is enabled)
|
|
150
|
-
:type use_subsurf: typing.
|
|
147
|
+
:type use_subsurf: typing.Union[bool, typing.Any]
|
|
151
148
|
:param use_mesh_edges: Loose Edges, Export loose edges (as two-vertices polygons)
|
|
152
|
-
:type use_mesh_edges: typing.
|
|
149
|
+
:type use_mesh_edges: typing.Union[bool, typing.Any]
|
|
153
150
|
:param use_tspace: Tangent Space, Add binormal and tangent vectors, together with normal they form the tangent space (will only work correctly with tris/quads only meshes!)
|
|
154
|
-
:type use_tspace: typing.
|
|
151
|
+
:type use_tspace: typing.Union[bool, typing.Any]
|
|
155
152
|
:param use_triangles: Triangulate Faces, Convert all faces to triangles
|
|
156
|
-
:type use_triangles: typing.
|
|
153
|
+
:type use_triangles: typing.Union[bool, typing.Any]
|
|
157
154
|
:param use_custom_props: Custom Properties, Export custom properties
|
|
158
|
-
:type use_custom_props: typing.
|
|
155
|
+
:type use_custom_props: typing.Union[bool, typing.Any]
|
|
159
156
|
:param add_leaf_bones: Add Leaf Bones, Append a final bone to the end of each chain to specify last bone length (use this when you intend to edit the armature from exported data)
|
|
160
|
-
:type add_leaf_bones: typing.
|
|
157
|
+
:type add_leaf_bones: typing.Union[bool, typing.Any]
|
|
161
158
|
:param primary_bone_axis: Primary Bone Axis
|
|
162
|
-
:type primary_bone_axis: typing.
|
|
159
|
+
:type primary_bone_axis: typing.Any
|
|
163
160
|
:param secondary_bone_axis: Secondary Bone Axis
|
|
164
|
-
:type secondary_bone_axis: typing.
|
|
161
|
+
:type secondary_bone_axis: typing.Any
|
|
165
162
|
:param use_armature_deform_only: Only Deform Bones, Only write deforming bones (and non-deforming ones when they have deforming children)
|
|
166
|
-
:type use_armature_deform_only: typing.
|
|
163
|
+
:type use_armature_deform_only: typing.Union[bool, typing.Any]
|
|
167
164
|
:param armature_nodetype: Armature FBXNode Type, FBX type of node (object) used to represent Blender's armatures (use the Null type unless you experience issues with the other app, as other choices may not import back perfectly into Blender...)
|
|
168
165
|
|
|
169
166
|
NULL
|
|
@@ -174,21 +171,21 @@ def fbx(
|
|
|
174
171
|
|
|
175
172
|
LIMBNODE
|
|
176
173
|
LimbNode -- 'LimbNode' FBX node, a regular joint between two bones....
|
|
177
|
-
:type armature_nodetype: typing.
|
|
174
|
+
:type armature_nodetype: typing.Any
|
|
178
175
|
:param bake_anim: Baked Animation, Export baked keyframe animation
|
|
179
|
-
:type bake_anim: typing.
|
|
176
|
+
:type bake_anim: typing.Union[bool, typing.Any]
|
|
180
177
|
:param bake_anim_use_all_bones: Key All Bones, Force exporting at least one key of animation for all bones (needed with some target applications, like UE4)
|
|
181
|
-
:type bake_anim_use_all_bones: typing.
|
|
178
|
+
:type bake_anim_use_all_bones: typing.Union[bool, typing.Any]
|
|
182
179
|
:param bake_anim_use_nla_strips: NLA Strips, Export each non-muted NLA strip as a separated FBX's AnimStack, if any, instead of global scene animation
|
|
183
|
-
:type bake_anim_use_nla_strips: typing.
|
|
180
|
+
:type bake_anim_use_nla_strips: typing.Union[bool, typing.Any]
|
|
184
181
|
:param bake_anim_use_all_actions: All Actions, Export each action as a separated FBX's AnimStack, instead of global scene animation (note that animated objects will get all actions compatible with them, others will get no animation at all)
|
|
185
|
-
:type bake_anim_use_all_actions: typing.
|
|
182
|
+
:type bake_anim_use_all_actions: typing.Union[bool, typing.Any]
|
|
186
183
|
:param bake_anim_force_startend_keying: Force Start/End Keying, Always add a keyframe at start and end of actions for animated channels
|
|
187
|
-
:type bake_anim_force_startend_keying: typing.
|
|
184
|
+
:type bake_anim_force_startend_keying: typing.Union[bool, typing.Any]
|
|
188
185
|
:param bake_anim_step: Sampling Rate, How often to evaluate animated values (in frames)
|
|
189
|
-
:type bake_anim_step: typing.
|
|
186
|
+
:type bake_anim_step: typing.Any
|
|
190
187
|
:param bake_anim_simplify_factor: Simplify, How much to simplify baked values (0.0 to disable, the higher the more simplified)
|
|
191
|
-
:type bake_anim_simplify_factor: typing.
|
|
188
|
+
:type bake_anim_simplify_factor: typing.Any
|
|
192
189
|
:param path_mode: Path Mode, Method used to reference paths
|
|
193
190
|
|
|
194
191
|
AUTO
|
|
@@ -208,9 +205,9 @@ def fbx(
|
|
|
208
205
|
|
|
209
206
|
COPY
|
|
210
207
|
Copy -- Copy the file to the destination path (or subdirectory).
|
|
211
|
-
:type path_mode: typing.
|
|
208
|
+
:type path_mode: typing.Any
|
|
212
209
|
:param embed_textures: Embed Textures, Embed textures in FBX binary file (only for "Copy" path mode!)
|
|
213
|
-
:type embed_textures: typing.
|
|
210
|
+
:type embed_textures: typing.Union[bool, typing.Any]
|
|
214
211
|
:param batch_mode: Batch Mode
|
|
215
212
|
|
|
216
213
|
OFF
|
|
@@ -227,152 +224,132 @@ def fbx(
|
|
|
227
224
|
|
|
228
225
|
ACTIVE_SCENE_COLLECTION
|
|
229
226
|
Active Scene Collections -- Each collection (including master, non-data-block one) of the active scene as a file, including content from children collections.
|
|
230
|
-
:type batch_mode: typing.
|
|
227
|
+
:type batch_mode: typing.Any
|
|
231
228
|
:param use_batch_own_dir: Batch Own Dir, Create a dir for each exported file
|
|
232
|
-
:type use_batch_own_dir: typing.
|
|
229
|
+
:type use_batch_own_dir: typing.Union[bool, typing.Any]
|
|
233
230
|
:param use_metadata: Use Metadata
|
|
234
|
-
:type use_metadata: typing.
|
|
231
|
+
:type use_metadata: typing.Union[bool, typing.Any]
|
|
235
232
|
:param axis_forward: Forward
|
|
236
|
-
:type axis_forward: typing.
|
|
233
|
+
:type axis_forward: typing.Any
|
|
237
234
|
:param axis_up: Up
|
|
238
|
-
:type axis_up: typing.
|
|
235
|
+
:type axis_up: typing.Any
|
|
239
236
|
"""
|
|
240
237
|
|
|
241
238
|
...
|
|
242
239
|
|
|
243
240
|
def gltf(
|
|
244
|
-
override_context=None,
|
|
245
|
-
execution_context=None,
|
|
246
|
-
undo=None,
|
|
247
|
-
*,
|
|
241
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
242
|
+
execution_context: typing.Union[str, int] = None,
|
|
243
|
+
undo: bool = None,
|
|
248
244
|
filepath: typing.Union[str, typing.Any] = "",
|
|
249
|
-
check_existing: typing.
|
|
250
|
-
export_import_convert_lighting_mode: typing.
|
|
245
|
+
check_existing: typing.Union[bool, typing.Any] = True,
|
|
246
|
+
export_import_convert_lighting_mode: typing.Any = "SPEC",
|
|
251
247
|
gltf_export_id: typing.Union[str, typing.Any] = "",
|
|
252
|
-
export_use_gltfpack: typing.
|
|
253
|
-
export_gltfpack_tc: typing.
|
|
254
|
-
export_gltfpack_tq: typing.
|
|
255
|
-
export_gltfpack_si: typing.
|
|
256
|
-
export_gltfpack_sa: typing.
|
|
257
|
-
export_gltfpack_slb: typing.
|
|
258
|
-
export_gltfpack_vp: typing.
|
|
259
|
-
export_gltfpack_vt: typing.
|
|
260
|
-
export_gltfpack_vn: typing.
|
|
261
|
-
export_gltfpack_vc: typing.
|
|
262
|
-
export_gltfpack_vpi: typing.
|
|
263
|
-
export_gltfpack_noq: typing.
|
|
264
|
-
export_format: typing.
|
|
265
|
-
ui_tab: typing.
|
|
248
|
+
export_use_gltfpack: typing.Union[bool, typing.Any] = False,
|
|
249
|
+
export_gltfpack_tc: typing.Union[bool, typing.Any] = True,
|
|
250
|
+
export_gltfpack_tq: typing.Any = 8,
|
|
251
|
+
export_gltfpack_si: typing.Any = 1.0,
|
|
252
|
+
export_gltfpack_sa: typing.Union[bool, typing.Any] = False,
|
|
253
|
+
export_gltfpack_slb: typing.Union[bool, typing.Any] = False,
|
|
254
|
+
export_gltfpack_vp: typing.Any = 14,
|
|
255
|
+
export_gltfpack_vt: typing.Any = 12,
|
|
256
|
+
export_gltfpack_vn: typing.Any = 8,
|
|
257
|
+
export_gltfpack_vc: typing.Any = 8,
|
|
258
|
+
export_gltfpack_vpi: typing.Any = "Integer",
|
|
259
|
+
export_gltfpack_noq: typing.Union[bool, typing.Any] = True,
|
|
260
|
+
export_format: typing.Union[str, int, typing.Any] = "",
|
|
261
|
+
ui_tab: typing.Any = "GENERAL",
|
|
266
262
|
export_copyright: typing.Union[str, typing.Any] = "",
|
|
267
|
-
export_image_format: typing.
|
|
268
|
-
export_image_add_webp: typing.
|
|
269
|
-
export_image_webp_fallback: typing.
|
|
263
|
+
export_image_format: typing.Any = "AUTO",
|
|
264
|
+
export_image_add_webp: typing.Union[bool, typing.Any] = False,
|
|
265
|
+
export_image_webp_fallback: typing.Union[bool, typing.Any] = False,
|
|
270
266
|
export_texture_dir: typing.Union[str, typing.Any] = "",
|
|
271
|
-
export_jpeg_quality: typing.
|
|
272
|
-
export_image_quality: typing.
|
|
273
|
-
export_keep_originals: typing.
|
|
274
|
-
export_texcoords: typing.
|
|
275
|
-
export_normals: typing.
|
|
276
|
-
export_gn_mesh: typing.
|
|
277
|
-
export_draco_mesh_compression_enable: typing.
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
] = True,
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
export_frame_range: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
309
|
-
export_frame_step: typing.Optional[typing.Any] = 1,
|
|
310
|
-
export_force_sampling: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
311
|
-
export_animation_mode: typing.Optional[typing.Any] = "ACTIONS",
|
|
267
|
+
export_jpeg_quality: typing.Any = 75,
|
|
268
|
+
export_image_quality: typing.Any = 75,
|
|
269
|
+
export_keep_originals: typing.Union[bool, typing.Any] = False,
|
|
270
|
+
export_texcoords: typing.Union[bool, typing.Any] = True,
|
|
271
|
+
export_normals: typing.Union[bool, typing.Any] = True,
|
|
272
|
+
export_gn_mesh: typing.Union[bool, typing.Any] = False,
|
|
273
|
+
export_draco_mesh_compression_enable: typing.Union[bool, typing.Any] = False,
|
|
274
|
+
export_draco_mesh_compression_level: typing.Any = 6,
|
|
275
|
+
export_draco_position_quantization: typing.Any = 14,
|
|
276
|
+
export_draco_normal_quantization: typing.Any = 10,
|
|
277
|
+
export_draco_texcoord_quantization: typing.Any = 12,
|
|
278
|
+
export_draco_color_quantization: typing.Any = 10,
|
|
279
|
+
export_draco_generic_quantization: typing.Any = 12,
|
|
280
|
+
export_tangents: typing.Union[bool, typing.Any] = False,
|
|
281
|
+
export_materials: typing.Any = "EXPORT",
|
|
282
|
+
export_unused_images: typing.Union[bool, typing.Any] = False,
|
|
283
|
+
export_unused_textures: typing.Union[bool, typing.Any] = False,
|
|
284
|
+
export_colors: typing.Union[bool, typing.Any] = True,
|
|
285
|
+
export_attributes: typing.Union[bool, typing.Any] = False,
|
|
286
|
+
use_mesh_edges: typing.Union[bool, typing.Any] = False,
|
|
287
|
+
use_mesh_vertices: typing.Union[bool, typing.Any] = False,
|
|
288
|
+
export_cameras: typing.Union[bool, typing.Any] = False,
|
|
289
|
+
use_selection: typing.Union[bool, typing.Any] = False,
|
|
290
|
+
use_visible: typing.Union[bool, typing.Any] = False,
|
|
291
|
+
use_renderable: typing.Union[bool, typing.Any] = False,
|
|
292
|
+
use_active_collection_with_nested: typing.Union[bool, typing.Any] = True,
|
|
293
|
+
use_active_collection: typing.Union[bool, typing.Any] = False,
|
|
294
|
+
use_active_scene: typing.Union[bool, typing.Any] = False,
|
|
295
|
+
export_extras: typing.Union[bool, typing.Any] = False,
|
|
296
|
+
export_yup: typing.Union[bool, typing.Any] = True,
|
|
297
|
+
export_apply: typing.Union[bool, typing.Any] = False,
|
|
298
|
+
export_shared_accessors: typing.Union[bool, typing.Any] = False,
|
|
299
|
+
export_animations: typing.Union[bool, typing.Any] = True,
|
|
300
|
+
export_frame_range: typing.Union[bool, typing.Any] = False,
|
|
301
|
+
export_frame_step: typing.Any = 1,
|
|
302
|
+
export_force_sampling: typing.Union[bool, typing.Any] = True,
|
|
303
|
+
export_animation_mode: typing.Any = "ACTIONS",
|
|
312
304
|
export_nla_strips_merged_animation_name: typing.Union[
|
|
313
305
|
str, typing.Any
|
|
314
306
|
] = "Animation",
|
|
315
|
-
export_def_bones: typing.
|
|
316
|
-
export_hierarchy_flatten_bones: typing.
|
|
317
|
-
|
|
318
|
-
] = False,
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
] =
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
] = True,
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
] = True,
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
] =
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
] = True,
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
export_morph_normal: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
351
|
-
export_morph_tangent: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
352
|
-
export_morph_animation: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
353
|
-
export_morph_reset_sk_data: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
354
|
-
export_lights: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
355
|
-
export_try_sparse_sk: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
356
|
-
export_try_omit_sparse_sk: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
357
|
-
export_gpu_instances: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
358
|
-
export_action_filter: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
359
|
-
export_nla_strips: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
360
|
-
export_original_specular: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
361
|
-
will_save_settings: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
362
|
-
export_hierarchy_full_collections: typing.Optional[
|
|
363
|
-
typing.Union[bool, typing.Any]
|
|
364
|
-
] = False,
|
|
307
|
+
export_def_bones: typing.Union[bool, typing.Any] = False,
|
|
308
|
+
export_hierarchy_flatten_bones: typing.Union[bool, typing.Any] = False,
|
|
309
|
+
export_hierarchy_flatten_objs: typing.Union[bool, typing.Any] = False,
|
|
310
|
+
export_armature_object_remove: typing.Union[bool, typing.Any] = False,
|
|
311
|
+
export_leaf_bone: typing.Union[bool, typing.Any] = False,
|
|
312
|
+
export_optimize_animation_size: typing.Union[bool, typing.Any] = True,
|
|
313
|
+
export_optimize_animation_keep_anim_armature: typing.Union[bool, typing.Any] = True,
|
|
314
|
+
export_optimize_animation_keep_anim_object: typing.Union[bool, typing.Any] = False,
|
|
315
|
+
export_optimize_armature_disable_viewport: typing.Union[bool, typing.Any] = False,
|
|
316
|
+
export_negative_frame: typing.Any = "SLIDE",
|
|
317
|
+
export_anim_slide_to_zero: typing.Union[bool, typing.Any] = False,
|
|
318
|
+
export_bake_animation: typing.Union[bool, typing.Any] = False,
|
|
319
|
+
export_anim_single_armature: typing.Union[bool, typing.Any] = True,
|
|
320
|
+
export_reset_pose_bones: typing.Union[bool, typing.Any] = True,
|
|
321
|
+
export_current_frame: typing.Union[bool, typing.Any] = False,
|
|
322
|
+
export_rest_position_armature: typing.Union[bool, typing.Any] = True,
|
|
323
|
+
export_anim_scene_split_object: typing.Union[bool, typing.Any] = True,
|
|
324
|
+
export_skins: typing.Union[bool, typing.Any] = True,
|
|
325
|
+
export_influence_nb: typing.Any = 4,
|
|
326
|
+
export_all_influences: typing.Union[bool, typing.Any] = False,
|
|
327
|
+
export_morph: typing.Union[bool, typing.Any] = True,
|
|
328
|
+
export_morph_normal: typing.Union[bool, typing.Any] = True,
|
|
329
|
+
export_morph_tangent: typing.Union[bool, typing.Any] = False,
|
|
330
|
+
export_morph_animation: typing.Union[bool, typing.Any] = True,
|
|
331
|
+
export_morph_reset_sk_data: typing.Union[bool, typing.Any] = True,
|
|
332
|
+
export_lights: typing.Union[bool, typing.Any] = False,
|
|
333
|
+
export_try_sparse_sk: typing.Union[bool, typing.Any] = True,
|
|
334
|
+
export_try_omit_sparse_sk: typing.Union[bool, typing.Any] = False,
|
|
335
|
+
export_gpu_instances: typing.Union[bool, typing.Any] = False,
|
|
336
|
+
export_action_filter: typing.Union[bool, typing.Any] = False,
|
|
337
|
+
export_nla_strips: typing.Union[bool, typing.Any] = True,
|
|
338
|
+
export_original_specular: typing.Union[bool, typing.Any] = False,
|
|
339
|
+
will_save_settings: typing.Union[bool, typing.Any] = False,
|
|
340
|
+
export_hierarchy_full_collections: typing.Union[bool, typing.Any] = False,
|
|
341
|
+
export_extra_animations: typing.Union[bool, typing.Any] = False,
|
|
365
342
|
filter_glob: typing.Union[str, typing.Any] = "*.glb",
|
|
366
343
|
):
|
|
367
344
|
"""Export scene as glTF 2.0 file
|
|
368
345
|
|
|
369
|
-
:type override_context: typing.
|
|
370
|
-
:type execution_context: typing.
|
|
371
|
-
:type undo:
|
|
346
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
347
|
+
:type execution_context: typing.Union[str, int]
|
|
348
|
+
:type undo: bool
|
|
372
349
|
:param filepath: File Path, Filepath used for exporting the file
|
|
373
350
|
:type filepath: typing.Union[str, typing.Any]
|
|
374
351
|
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
375
|
-
:type check_existing: typing.
|
|
352
|
+
:type check_existing: typing.Union[bool, typing.Any]
|
|
376
353
|
:param export_import_convert_lighting_mode: Lighting Mode, Optional backwards compatibility for non-standard render engines. Applies to lights
|
|
377
354
|
|
|
378
355
|
SPEC
|
|
@@ -383,29 +360,29 @@ def gltf(
|
|
|
383
360
|
|
|
384
361
|
RAW
|
|
385
362
|
Raw (Deprecated) -- Blender lighting strengths with no conversion.
|
|
386
|
-
:type export_import_convert_lighting_mode: typing.
|
|
363
|
+
:type export_import_convert_lighting_mode: typing.Any
|
|
387
364
|
:param gltf_export_id: Identifier, Identifier of caller (in case of add-on calling this exporter). Can be useful in case of Extension added by other add-ons
|
|
388
365
|
:type gltf_export_id: typing.Union[str, typing.Any]
|
|
389
366
|
:param export_use_gltfpack: Use Gltfpack, Use gltfpack to simplify the mesh and/or compress its textures
|
|
390
|
-
:type export_use_gltfpack: typing.
|
|
367
|
+
:type export_use_gltfpack: typing.Union[bool, typing.Any]
|
|
391
368
|
:param export_gltfpack_tc: KTX2 Compression, Convert all textures to KTX2 with BasisU supercompression
|
|
392
|
-
:type export_gltfpack_tc: typing.
|
|
369
|
+
:type export_gltfpack_tc: typing.Union[bool, typing.Any]
|
|
393
370
|
:param export_gltfpack_tq: Texture Encoding Quality, Texture encoding quality
|
|
394
|
-
:type export_gltfpack_tq: typing.
|
|
371
|
+
:type export_gltfpack_tq: typing.Any
|
|
395
372
|
:param export_gltfpack_si: Mesh Simplification Ratio, Simplify meshes targeting triangle count ratio
|
|
396
|
-
:type export_gltfpack_si: typing.
|
|
373
|
+
:type export_gltfpack_si: typing.Any
|
|
397
374
|
:param export_gltfpack_sa: Aggressive Mesh Simplification, Aggressively simplify to the target ratio disregarding quality
|
|
398
|
-
:type export_gltfpack_sa: typing.
|
|
375
|
+
:type export_gltfpack_sa: typing.Union[bool, typing.Any]
|
|
399
376
|
:param export_gltfpack_slb: Lock Mesh Border Vertices, Lock border vertices during simplification to avoid gaps on connected meshes
|
|
400
|
-
:type export_gltfpack_slb: typing.
|
|
377
|
+
:type export_gltfpack_slb: typing.Union[bool, typing.Any]
|
|
401
378
|
:param export_gltfpack_vp: Position Quantization, Use N-bit quantization for positions
|
|
402
|
-
:type export_gltfpack_vp: typing.
|
|
379
|
+
:type export_gltfpack_vp: typing.Any
|
|
403
380
|
:param export_gltfpack_vt: Texture Coordinate Quantization, Use N-bit quantization for texture coordinates
|
|
404
|
-
:type export_gltfpack_vt: typing.
|
|
381
|
+
:type export_gltfpack_vt: typing.Any
|
|
405
382
|
:param export_gltfpack_vn: Normal/Tangent Quantization, Use N-bit quantization for normals and tangents
|
|
406
|
-
:type export_gltfpack_vn: typing.
|
|
383
|
+
:type export_gltfpack_vn: typing.Any
|
|
407
384
|
:param export_gltfpack_vc: Vertex Color Quantization, Use N-bit quantization for colors
|
|
408
|
-
:type export_gltfpack_vc: typing.
|
|
385
|
+
:type export_gltfpack_vc: typing.Any
|
|
409
386
|
:param export_gltfpack_vpi: Vertex Position Attributes, Type to use for vertex position attributes
|
|
410
387
|
|
|
411
388
|
Integer
|
|
@@ -416,17 +393,11 @@ def gltf(
|
|
|
416
393
|
|
|
417
394
|
Floating-point
|
|
418
395
|
Floating-point -- Use floating-point attributes for positions.
|
|
419
|
-
:type export_gltfpack_vpi: typing.
|
|
396
|
+
:type export_gltfpack_vpi: typing.Any
|
|
420
397
|
:param export_gltfpack_noq: Disable Quantization, Disable quantization; produces much larger glTF files with no extensions
|
|
421
|
-
:type export_gltfpack_noq: typing.
|
|
398
|
+
:type export_gltfpack_noq: typing.Union[bool, typing.Any]
|
|
422
399
|
:param export_format: Format, Output format. Binary is most efficient, but JSON may be easier to edit later
|
|
423
|
-
|
|
424
|
-
GLB
|
|
425
|
-
glTF Binary (.glb) -- Exports a single file, with all data packed in binary form. Most efficient and portable, but more difficult to edit later.
|
|
426
|
-
|
|
427
|
-
GLTF_SEPARATE
|
|
428
|
-
glTF Separate (.gltf + .bin + textures) -- Exports multiple files, with separate JSON, binary and texture data. Easiest to edit later.
|
|
429
|
-
:type export_format: typing.Optional[typing.Any]
|
|
400
|
+
:type export_format: typing.Union[str, int, typing.Any]
|
|
430
401
|
:param ui_tab: ui_tab, Export setting categories
|
|
431
402
|
|
|
432
403
|
GENERAL
|
|
@@ -440,7 +411,7 @@ def gltf(
|
|
|
440
411
|
|
|
441
412
|
ANIMATION
|
|
442
413
|
Animation -- Animation settings.
|
|
443
|
-
:type ui_tab: typing.
|
|
414
|
+
:type ui_tab: typing.Any
|
|
444
415
|
:param export_copyright: Copyright, Legal rights and conditions for the model
|
|
445
416
|
:type export_copyright: typing.Union[str, typing.Any]
|
|
446
417
|
:param export_image_format: Images, Output format for images. PNG is lossless and generally preferred, but JPEG might be preferable for web applications due to the smaller file size. Alternatively they can be omitted if they are not needed
|
|
@@ -456,41 +427,41 @@ def gltf(
|
|
|
456
427
|
|
|
457
428
|
NONE
|
|
458
429
|
None -- Don't export images.
|
|
459
|
-
:type export_image_format: typing.
|
|
430
|
+
:type export_image_format: typing.Any
|
|
460
431
|
:param export_image_add_webp: Create WebP, Creates WebP textures for every texture. For already WebP textures, nothing happens
|
|
461
|
-
:type export_image_add_webp: typing.
|
|
432
|
+
:type export_image_add_webp: typing.Union[bool, typing.Any]
|
|
462
433
|
:param export_image_webp_fallback: WebP fallback, For all WebP textures, create a PNG fallback texture
|
|
463
|
-
:type export_image_webp_fallback: typing.
|
|
434
|
+
:type export_image_webp_fallback: typing.Union[bool, typing.Any]
|
|
464
435
|
:param export_texture_dir: Textures, Folder to place texture files in. Relative to the .gltf file
|
|
465
436
|
:type export_texture_dir: typing.Union[str, typing.Any]
|
|
466
437
|
:param export_jpeg_quality: JPEG quality, Quality of JPEG export
|
|
467
|
-
:type export_jpeg_quality: typing.
|
|
438
|
+
:type export_jpeg_quality: typing.Any
|
|
468
439
|
:param export_image_quality: Image quality, Quality of image export
|
|
469
|
-
:type export_image_quality: typing.
|
|
440
|
+
:type export_image_quality: typing.Any
|
|
470
441
|
:param export_keep_originals: Keep original, Keep original textures files if possible. WARNING: if you use more than one texture, where pbr standard requires only one, only one texture will be used. This can lead to unexpected results
|
|
471
|
-
:type export_keep_originals: typing.
|
|
442
|
+
:type export_keep_originals: typing.Union[bool, typing.Any]
|
|
472
443
|
:param export_texcoords: UVs, Export UVs (texture coordinates) with meshes
|
|
473
|
-
:type export_texcoords: typing.
|
|
444
|
+
:type export_texcoords: typing.Union[bool, typing.Any]
|
|
474
445
|
:param export_normals: Normals, Export vertex normals with meshes
|
|
475
|
-
:type export_normals: typing.
|
|
446
|
+
:type export_normals: typing.Union[bool, typing.Any]
|
|
476
447
|
:param export_gn_mesh: Geometry Nodes Instances (Experimental), Export Geometry nodes instance meshes
|
|
477
|
-
:type export_gn_mesh: typing.
|
|
448
|
+
:type export_gn_mesh: typing.Union[bool, typing.Any]
|
|
478
449
|
:param export_draco_mesh_compression_enable: Draco mesh compression, Compress mesh using Draco
|
|
479
|
-
:type export_draco_mesh_compression_enable: typing.
|
|
450
|
+
:type export_draco_mesh_compression_enable: typing.Union[bool, typing.Any]
|
|
480
451
|
:param export_draco_mesh_compression_level: Compression level, Compression level (0 = most speed, 6 = most compression, higher values currently not supported)
|
|
481
|
-
:type export_draco_mesh_compression_level: typing.
|
|
452
|
+
:type export_draco_mesh_compression_level: typing.Any
|
|
482
453
|
:param export_draco_position_quantization: Position quantization bits, Quantization bits for position values (0 = no quantization)
|
|
483
|
-
:type export_draco_position_quantization: typing.
|
|
454
|
+
:type export_draco_position_quantization: typing.Any
|
|
484
455
|
:param export_draco_normal_quantization: Normal quantization bits, Quantization bits for normal values (0 = no quantization)
|
|
485
|
-
:type export_draco_normal_quantization: typing.
|
|
456
|
+
:type export_draco_normal_quantization: typing.Any
|
|
486
457
|
:param export_draco_texcoord_quantization: Texcoord quantization bits, Quantization bits for texture coordinate values (0 = no quantization)
|
|
487
|
-
:type export_draco_texcoord_quantization: typing.
|
|
458
|
+
:type export_draco_texcoord_quantization: typing.Any
|
|
488
459
|
:param export_draco_color_quantization: Color quantization bits, Quantization bits for color values (0 = no quantization)
|
|
489
|
-
:type export_draco_color_quantization: typing.
|
|
460
|
+
:type export_draco_color_quantization: typing.Any
|
|
490
461
|
:param export_draco_generic_quantization: Generic quantization bits, Quantization bits for generic values like weights or joints (0 = no quantization)
|
|
491
|
-
:type export_draco_generic_quantization: typing.
|
|
462
|
+
:type export_draco_generic_quantization: typing.Any
|
|
492
463
|
:param export_tangents: Tangents, Export vertex tangents with meshes
|
|
493
|
-
:type export_tangents: typing.
|
|
464
|
+
:type export_tangents: typing.Union[bool, typing.Any]
|
|
494
465
|
:param export_materials: Materials, Export materials
|
|
495
466
|
|
|
496
467
|
EXPORT
|
|
@@ -501,49 +472,49 @@ def gltf(
|
|
|
501
472
|
|
|
502
473
|
NONE
|
|
503
474
|
No export -- Do not export materials, and combine mesh primitive groups, losing material slot information.
|
|
504
|
-
:type export_materials: typing.
|
|
475
|
+
:type export_materials: typing.Any
|
|
505
476
|
:param export_unused_images: Unused images, Export images not assigned to any material
|
|
506
|
-
:type export_unused_images: typing.
|
|
477
|
+
:type export_unused_images: typing.Union[bool, typing.Any]
|
|
507
478
|
:param export_unused_textures: Prepare Unused textures, Export image texture nodes not assigned to any material. This feature is not standard and needs an external extension to be included in the glTF file
|
|
508
|
-
:type export_unused_textures: typing.
|
|
479
|
+
:type export_unused_textures: typing.Union[bool, typing.Any]
|
|
509
480
|
:param export_colors: Dummy, Keep for compatibility only
|
|
510
|
-
:type export_colors: typing.
|
|
481
|
+
:type export_colors: typing.Union[bool, typing.Any]
|
|
511
482
|
:param export_attributes: Attributes, Export Attributes (when starting with underscore)
|
|
512
|
-
:type export_attributes: typing.
|
|
483
|
+
:type export_attributes: typing.Union[bool, typing.Any]
|
|
513
484
|
:param use_mesh_edges: Loose Edges, Export loose edges as lines, using the material from the first material slot
|
|
514
|
-
:type use_mesh_edges: typing.
|
|
485
|
+
:type use_mesh_edges: typing.Union[bool, typing.Any]
|
|
515
486
|
:param use_mesh_vertices: Loose Points, Export loose points as glTF points, using the material from the first material slot
|
|
516
|
-
:type use_mesh_vertices: typing.
|
|
487
|
+
:type use_mesh_vertices: typing.Union[bool, typing.Any]
|
|
517
488
|
:param export_cameras: Cameras, Export cameras
|
|
518
|
-
:type export_cameras: typing.
|
|
489
|
+
:type export_cameras: typing.Union[bool, typing.Any]
|
|
519
490
|
:param use_selection: Selected Objects, Export selected objects only
|
|
520
|
-
:type use_selection: typing.
|
|
491
|
+
:type use_selection: typing.Union[bool, typing.Any]
|
|
521
492
|
:param use_visible: Visible Objects, Export visible objects only
|
|
522
|
-
:type use_visible: typing.
|
|
493
|
+
:type use_visible: typing.Union[bool, typing.Any]
|
|
523
494
|
:param use_renderable: Renderable Objects, Export renderable objects only
|
|
524
|
-
:type use_renderable: typing.
|
|
495
|
+
:type use_renderable: typing.Union[bool, typing.Any]
|
|
525
496
|
:param use_active_collection_with_nested: Include Nested Collections, Include active collection and nested collections
|
|
526
|
-
:type use_active_collection_with_nested: typing.
|
|
497
|
+
:type use_active_collection_with_nested: typing.Union[bool, typing.Any]
|
|
527
498
|
:param use_active_collection: Active Collection, Export objects in the active collection only
|
|
528
|
-
:type use_active_collection: typing.
|
|
499
|
+
:type use_active_collection: typing.Union[bool, typing.Any]
|
|
529
500
|
:param use_active_scene: Active Scene, Export active scene only
|
|
530
|
-
:type use_active_scene: typing.
|
|
501
|
+
:type use_active_scene: typing.Union[bool, typing.Any]
|
|
531
502
|
:param export_extras: Custom Properties, Export custom properties as glTF extras
|
|
532
|
-
:type export_extras: typing.
|
|
503
|
+
:type export_extras: typing.Union[bool, typing.Any]
|
|
533
504
|
:param export_yup: +Y Up, Export using glTF convention, +Y up
|
|
534
|
-
:type export_yup: typing.
|
|
505
|
+
:type export_yup: typing.Union[bool, typing.Any]
|
|
535
506
|
:param export_apply: Apply Modifiers, Apply modifiers (excluding Armatures) to mesh objects -WARNING: prevents exporting shape keys
|
|
536
|
-
:type export_apply: typing.
|
|
507
|
+
:type export_apply: typing.Union[bool, typing.Any]
|
|
537
508
|
:param export_shared_accessors: Shared Accessors, Export Primitives using shared accessors for attributes
|
|
538
|
-
:type export_shared_accessors: typing.
|
|
509
|
+
:type export_shared_accessors: typing.Union[bool, typing.Any]
|
|
539
510
|
:param export_animations: Animations, Exports active actions and NLA tracks as glTF animations
|
|
540
|
-
:type export_animations: typing.
|
|
511
|
+
:type export_animations: typing.Union[bool, typing.Any]
|
|
541
512
|
:param export_frame_range: Limit to Playback Range, Clips animations to selected playback range
|
|
542
|
-
:type export_frame_range: typing.
|
|
513
|
+
:type export_frame_range: typing.Union[bool, typing.Any]
|
|
543
514
|
:param export_frame_step: Sampling Rate, How often to evaluate animated values (in frames)
|
|
544
|
-
:type export_frame_step: typing.
|
|
515
|
+
:type export_frame_step: typing.Any
|
|
545
516
|
:param export_force_sampling: Always Sample Animations, Apply sampling to all animations
|
|
546
|
-
:type export_force_sampling: typing.
|
|
517
|
+
:type export_force_sampling: typing.Union[bool, typing.Any]
|
|
547
518
|
:param export_animation_mode: Animation mode, Export Animation mode
|
|
548
519
|
|
|
549
520
|
ACTIONS
|
|
@@ -552,28 +523,35 @@ def gltf(
|
|
|
552
523
|
ACTIVE_ACTIONS
|
|
553
524
|
Active actions merged -- All the currently assigned actions become one glTF animation.
|
|
554
525
|
|
|
526
|
+
BROADCAST
|
|
527
|
+
Broadcast actions -- Broadcast all compatible actions to all objects. Animated objects will get all actions compatible with them, others will get no animation at all.
|
|
528
|
+
|
|
555
529
|
NLA_TRACKS
|
|
556
530
|
NLA Tracks -- Export individual NLA Tracks as separate animation.
|
|
557
531
|
|
|
558
532
|
SCENE
|
|
559
533
|
Scene -- Export baked scene as a single animation.
|
|
560
|
-
:type export_animation_mode: typing.
|
|
534
|
+
:type export_animation_mode: typing.Any
|
|
561
535
|
:param export_nla_strips_merged_animation_name: Merged Animation Name, Name of single glTF animation to be exported
|
|
562
536
|
:type export_nla_strips_merged_animation_name: typing.Union[str, typing.Any]
|
|
563
537
|
:param export_def_bones: Export Deformation Bones Only, Export Deformation bones only
|
|
564
|
-
:type export_def_bones: typing.
|
|
538
|
+
:type export_def_bones: typing.Union[bool, typing.Any]
|
|
565
539
|
:param export_hierarchy_flatten_bones: Flatten Bone Hierarchy, Flatten Bone Hierarchy. Useful in case of non decomposable transformation matrix
|
|
566
|
-
:type export_hierarchy_flatten_bones: typing.
|
|
540
|
+
:type export_hierarchy_flatten_bones: typing.Union[bool, typing.Any]
|
|
567
541
|
:param export_hierarchy_flatten_objs: Flatten Object Hierarchy, Flatten Object Hierarchy. Useful in case of non decomposable transformation matrix
|
|
568
|
-
:type export_hierarchy_flatten_objs: typing.
|
|
542
|
+
:type export_hierarchy_flatten_objs: typing.Union[bool, typing.Any]
|
|
569
543
|
:param export_armature_object_remove: Remove Armature Object, Remove Armature object if possible. If Armature has multiple root bones, object will not be removed
|
|
570
|
-
:type export_armature_object_remove: typing.
|
|
544
|
+
:type export_armature_object_remove: typing.Union[bool, typing.Any]
|
|
545
|
+
:param export_leaf_bone: Add Leaf Bones, Append a final bone to the end of each chain to specify last bone length (use this when you intend to edit the armature from exported data)
|
|
546
|
+
:type export_leaf_bone: typing.Union[bool, typing.Any]
|
|
571
547
|
:param export_optimize_animation_size: Optimize Animation Size, Reduce exported file size by removing duplicate keyframes
|
|
572
|
-
:type export_optimize_animation_size: typing.
|
|
548
|
+
:type export_optimize_animation_size: typing.Union[bool, typing.Any]
|
|
573
549
|
:param export_optimize_animation_keep_anim_armature: Force keeping channels for bones, If all keyframes are identical in a rig, force keeping the minimal animation. When off, all possible channels for the bones will be exported, even if empty (minimal animation, 2 keyframes)
|
|
574
|
-
:type export_optimize_animation_keep_anim_armature: typing.
|
|
550
|
+
:type export_optimize_animation_keep_anim_armature: typing.Union[bool, typing.Any]
|
|
575
551
|
:param export_optimize_animation_keep_anim_object: Force keeping channel for objects, If all keyframes are identical for object transformations, force keeping the minimal animation
|
|
576
|
-
:type export_optimize_animation_keep_anim_object: typing.
|
|
552
|
+
:type export_optimize_animation_keep_anim_object: typing.Union[bool, typing.Any]
|
|
553
|
+
:param export_optimize_armature_disable_viewport: Disable viewport if possible, When exporting armature, disable viewport for other objects, for performance. Drivers on shape keys for skined meshes prevent this optimization for now
|
|
554
|
+
:type export_optimize_armature_disable_viewport: typing.Union[bool, typing.Any]
|
|
577
555
|
:param export_negative_frame: Negative Frames, Negative Frames are slid or cropped
|
|
578
556
|
|
|
579
557
|
SLIDE
|
|
@@ -581,55 +559,57 @@ def gltf(
|
|
|
581
559
|
|
|
582
560
|
CROP
|
|
583
561
|
Crop -- Keep only frames above frame 0.
|
|
584
|
-
:type export_negative_frame: typing.
|
|
562
|
+
:type export_negative_frame: typing.Any
|
|
585
563
|
:param export_anim_slide_to_zero: Set all glTF Animation starting at 0, Set all glTF animation starting at 0.0s. Can be useful for looping animations
|
|
586
|
-
:type export_anim_slide_to_zero: typing.
|
|
564
|
+
:type export_anim_slide_to_zero: typing.Union[bool, typing.Any]
|
|
587
565
|
:param export_bake_animation: Bake All Objects Animations, Force exporting animation on every object. Can be useful when using constraints or driver. Also useful when exporting only selection
|
|
588
|
-
:type export_bake_animation: typing.
|
|
566
|
+
:type export_bake_animation: typing.Union[bool, typing.Any]
|
|
589
567
|
:param export_anim_single_armature: Export all Armature Actions, Export all actions, bound to a single armature. WARNING: Option does not support exports including multiple armatures
|
|
590
|
-
:type export_anim_single_armature: typing.
|
|
568
|
+
:type export_anim_single_armature: typing.Union[bool, typing.Any]
|
|
591
569
|
:param export_reset_pose_bones: Reset pose bones between actions, Reset pose bones between each action exported. This is needed when some bones are not keyed on some animations
|
|
592
|
-
:type export_reset_pose_bones: typing.
|
|
570
|
+
:type export_reset_pose_bones: typing.Union[bool, typing.Any]
|
|
593
571
|
:param export_current_frame: Use Current Frame as Object Rest Transformations, Export the scene in the current animation frame. When off, frame 0 is used as rest transformations for objects
|
|
594
|
-
:type export_current_frame: typing.
|
|
572
|
+
:type export_current_frame: typing.Union[bool, typing.Any]
|
|
595
573
|
:param export_rest_position_armature: Use Rest Position Armature, Export armatures using rest position as joints' rest pose. When off, current frame pose is used as rest pose
|
|
596
|
-
:type export_rest_position_armature: typing.
|
|
574
|
+
:type export_rest_position_armature: typing.Union[bool, typing.Any]
|
|
597
575
|
:param export_anim_scene_split_object: Split Animation by Object, Export Scene as seen in Viewport, But split animation by Object
|
|
598
|
-
:type export_anim_scene_split_object: typing.
|
|
576
|
+
:type export_anim_scene_split_object: typing.Union[bool, typing.Any]
|
|
599
577
|
:param export_skins: Skinning, Export skinning (armature) data
|
|
600
|
-
:type export_skins: typing.
|
|
578
|
+
:type export_skins: typing.Union[bool, typing.Any]
|
|
601
579
|
:param export_influence_nb: Bone Influences, Choose how many Bone influences to export
|
|
602
|
-
:type export_influence_nb: typing.
|
|
580
|
+
:type export_influence_nb: typing.Any
|
|
603
581
|
:param export_all_influences: Include All Bone Influences, Allow export of all joint vertex influences. Models may appear incorrectly in many viewers
|
|
604
|
-
:type export_all_influences: typing.
|
|
582
|
+
:type export_all_influences: typing.Union[bool, typing.Any]
|
|
605
583
|
:param export_morph: Shape Keys, Export shape keys (morph targets)
|
|
606
|
-
:type export_morph: typing.
|
|
584
|
+
:type export_morph: typing.Union[bool, typing.Any]
|
|
607
585
|
:param export_morph_normal: Shape Key Normals, Export vertex normals with shape keys (morph targets)
|
|
608
|
-
:type export_morph_normal: typing.
|
|
586
|
+
:type export_morph_normal: typing.Union[bool, typing.Any]
|
|
609
587
|
:param export_morph_tangent: Shape Key Tangents, Export vertex tangents with shape keys (morph targets)
|
|
610
|
-
:type export_morph_tangent: typing.
|
|
588
|
+
:type export_morph_tangent: typing.Union[bool, typing.Any]
|
|
611
589
|
:param export_morph_animation: Shape Key Animations, Export shape keys animations (morph targets)
|
|
612
|
-
:type export_morph_animation: typing.
|
|
590
|
+
:type export_morph_animation: typing.Union[bool, typing.Any]
|
|
613
591
|
:param export_morph_reset_sk_data: Reset shape keys between actions, Reset shape keys between each action exported. This is needed when some SK channels are not keyed on some animations
|
|
614
|
-
:type export_morph_reset_sk_data: typing.
|
|
592
|
+
:type export_morph_reset_sk_data: typing.Union[bool, typing.Any]
|
|
615
593
|
:param export_lights: Punctual Lights, Export directional, point, and spot lights. Uses "KHR_lights_punctual" glTF extension
|
|
616
|
-
:type export_lights: typing.
|
|
594
|
+
:type export_lights: typing.Union[bool, typing.Any]
|
|
617
595
|
:param export_try_sparse_sk: Use Sparse Accessor if better, Try using Sparse Accessor if it saves space
|
|
618
|
-
:type export_try_sparse_sk: typing.
|
|
596
|
+
:type export_try_sparse_sk: typing.Union[bool, typing.Any]
|
|
619
597
|
:param export_try_omit_sparse_sk: Omitting Sparse Accessor if data is empty, Omitting Sparse Accessor if data is empty
|
|
620
|
-
:type export_try_omit_sparse_sk: typing.
|
|
598
|
+
:type export_try_omit_sparse_sk: typing.Union[bool, typing.Any]
|
|
621
599
|
:param export_gpu_instances: GPU Instances, Export using EXT_mesh_gpu_instancing. Limited to children of a given Empty. Multiple materials might be omitted
|
|
622
|
-
:type export_gpu_instances: typing.
|
|
600
|
+
:type export_gpu_instances: typing.Union[bool, typing.Any]
|
|
623
601
|
:param export_action_filter: Filter Actions, Filter Actions to be exported
|
|
624
|
-
:type export_action_filter: typing.
|
|
602
|
+
:type export_action_filter: typing.Union[bool, typing.Any]
|
|
625
603
|
:param export_nla_strips: Group by NLA Track, When on, multiple actions become part of the same glTF animation if they're pushed onto NLA tracks with the same name. When off, all the currently assigned actions become one glTF animation
|
|
626
|
-
:type export_nla_strips: typing.
|
|
604
|
+
:type export_nla_strips: typing.Union[bool, typing.Any]
|
|
627
605
|
:param export_original_specular: Export original PBR Specular, Export original glTF PBR Specular, instead of Blender Principled Shader Specular
|
|
628
|
-
:type export_original_specular: typing.
|
|
606
|
+
:type export_original_specular: typing.Union[bool, typing.Any]
|
|
629
607
|
:param will_save_settings: Remember Export Settings, Store glTF export settings in the Blender project
|
|
630
|
-
:type will_save_settings: typing.
|
|
608
|
+
:type will_save_settings: typing.Union[bool, typing.Any]
|
|
631
609
|
:param export_hierarchy_full_collections: Full Collection Hierarchy, Export full hierarchy, including intermediate collections
|
|
632
|
-
:type export_hierarchy_full_collections: typing.
|
|
610
|
+
:type export_hierarchy_full_collections: typing.Union[bool, typing.Any]
|
|
611
|
+
:param export_extra_animations: Prepare extra animations, Export additional animationsThis feature is not standard and needs an external extension to be included in the glTF file
|
|
612
|
+
:type export_extra_animations: typing.Union[bool, typing.Any]
|
|
633
613
|
:param filter_glob: filter_glob
|
|
634
614
|
:type filter_glob: typing.Union[str, typing.Any]
|
|
635
615
|
"""
|
|
@@ -637,55 +617,54 @@ def gltf(
|
|
|
637
617
|
...
|
|
638
618
|
|
|
639
619
|
def x3d(
|
|
640
|
-
override_context=None,
|
|
641
|
-
execution_context=None,
|
|
642
|
-
undo=None,
|
|
643
|
-
*,
|
|
620
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
621
|
+
execution_context: typing.Union[str, int] = None,
|
|
622
|
+
undo: bool = None,
|
|
644
623
|
filepath: typing.Union[str, typing.Any] = "",
|
|
645
|
-
check_existing: typing.
|
|
624
|
+
check_existing: typing.Union[bool, typing.Any] = True,
|
|
646
625
|
filter_glob: typing.Union[str, typing.Any] = "*.x3d",
|
|
647
|
-
use_selection: typing.
|
|
648
|
-
use_mesh_modifiers: typing.
|
|
649
|
-
use_triangulate: typing.
|
|
650
|
-
use_normals: typing.
|
|
651
|
-
use_compress: typing.
|
|
652
|
-
use_hierarchy: typing.
|
|
653
|
-
name_decorations: typing.
|
|
654
|
-
use_h3d: typing.
|
|
655
|
-
global_scale: typing.
|
|
656
|
-
path_mode: typing.
|
|
657
|
-
axis_forward: typing.
|
|
658
|
-
axis_up: typing.
|
|
626
|
+
use_selection: typing.Union[bool, typing.Any] = False,
|
|
627
|
+
use_mesh_modifiers: typing.Union[bool, typing.Any] = True,
|
|
628
|
+
use_triangulate: typing.Union[bool, typing.Any] = False,
|
|
629
|
+
use_normals: typing.Union[bool, typing.Any] = False,
|
|
630
|
+
use_compress: typing.Union[bool, typing.Any] = False,
|
|
631
|
+
use_hierarchy: typing.Union[bool, typing.Any] = True,
|
|
632
|
+
name_decorations: typing.Union[bool, typing.Any] = True,
|
|
633
|
+
use_h3d: typing.Union[bool, typing.Any] = False,
|
|
634
|
+
global_scale: typing.Any = 1.0,
|
|
635
|
+
path_mode: typing.Any = "AUTO",
|
|
636
|
+
axis_forward: typing.Any = "Z",
|
|
637
|
+
axis_up: typing.Any = "Y",
|
|
659
638
|
):
|
|
660
639
|
"""Export selection to Extensible 3D file (.x3d)
|
|
661
640
|
|
|
662
|
-
:type override_context: typing.
|
|
663
|
-
:type execution_context: typing.
|
|
664
|
-
:type undo:
|
|
641
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
642
|
+
:type execution_context: typing.Union[str, int]
|
|
643
|
+
:type undo: bool
|
|
665
644
|
:param filepath: File Path, Filepath used for exporting the file
|
|
666
645
|
:type filepath: typing.Union[str, typing.Any]
|
|
667
646
|
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
668
|
-
:type check_existing: typing.
|
|
647
|
+
:type check_existing: typing.Union[bool, typing.Any]
|
|
669
648
|
:param filter_glob: filter_glob
|
|
670
649
|
:type filter_glob: typing.Union[str, typing.Any]
|
|
671
650
|
:param use_selection: Selection Only, Export selected objects only
|
|
672
|
-
:type use_selection: typing.
|
|
651
|
+
:type use_selection: typing.Union[bool, typing.Any]
|
|
673
652
|
:param use_mesh_modifiers: Apply Modifiers, Use transformed mesh data from each object
|
|
674
|
-
:type use_mesh_modifiers: typing.
|
|
653
|
+
:type use_mesh_modifiers: typing.Union[bool, typing.Any]
|
|
675
654
|
:param use_triangulate: Triangulate, Write quads into 'IndexedTriangleSet'
|
|
676
|
-
:type use_triangulate: typing.
|
|
655
|
+
:type use_triangulate: typing.Union[bool, typing.Any]
|
|
677
656
|
:param use_normals: Normals, Write normals with geometry
|
|
678
|
-
:type use_normals: typing.
|
|
657
|
+
:type use_normals: typing.Union[bool, typing.Any]
|
|
679
658
|
:param use_compress: Compress, Compress the exported file
|
|
680
|
-
:type use_compress: typing.
|
|
659
|
+
:type use_compress: typing.Union[bool, typing.Any]
|
|
681
660
|
:param use_hierarchy: Hierarchy, Export parent child relationships
|
|
682
|
-
:type use_hierarchy: typing.
|
|
661
|
+
:type use_hierarchy: typing.Union[bool, typing.Any]
|
|
683
662
|
:param name_decorations: Name decorations, Add prefixes to the names of exported nodes to indicate their type
|
|
684
|
-
:type name_decorations: typing.
|
|
663
|
+
:type name_decorations: typing.Union[bool, typing.Any]
|
|
685
664
|
:param use_h3d: H3D Extensions, Export shaders for H3D
|
|
686
|
-
:type use_h3d: typing.
|
|
665
|
+
:type use_h3d: typing.Union[bool, typing.Any]
|
|
687
666
|
:param global_scale: Scale
|
|
688
|
-
:type global_scale: typing.
|
|
667
|
+
:type global_scale: typing.Any
|
|
689
668
|
:param path_mode: Path Mode, Method used to reference paths
|
|
690
669
|
|
|
691
670
|
AUTO
|
|
@@ -705,11 +684,11 @@ def x3d(
|
|
|
705
684
|
|
|
706
685
|
COPY
|
|
707
686
|
Copy -- Copy the file to the destination path (or subdirectory).
|
|
708
|
-
:type path_mode: typing.
|
|
687
|
+
:type path_mode: typing.Any
|
|
709
688
|
:param axis_forward: Forward
|
|
710
|
-
:type axis_forward: typing.
|
|
689
|
+
:type axis_forward: typing.Any
|
|
711
690
|
:param axis_up: Up
|
|
712
|
-
:type axis_up: typing.
|
|
691
|
+
:type axis_up: typing.Any
|
|
713
692
|
"""
|
|
714
693
|
|
|
715
694
|
...
|