fake-bpy-module 20240620__py3-none-any.whl → 20240622__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fake-bpy-module might be problematic. Click here for more details.
- bl_ui/space_userpref/__init__.pyi +225 -0
- bpy/ops/action/__init__.pyi +50 -50
- bpy/ops/anim/__init__.pyi +94 -94
- bpy/ops/armature/__init__.pyi +54 -54
- bpy/ops/asset/__init__.pyi +50 -50
- bpy/ops/brush/__init__.pyi +10 -10
- bpy/ops/buttons/__init__.pyi +88 -88
- bpy/ops/cachefile/__init__.pyi +88 -88
- bpy/ops/camera/__init__.pyi +14 -14
- bpy/ops/clip/__init__.pyi +175 -174
- bpy/ops/cloth/__init__.pyi +6 -6
- bpy/ops/collection/__init__.pyi +8 -8
- bpy/ops/console/__init__.pyi +26 -26
- bpy/ops/constraint/__init__.pyi +42 -42
- bpy/ops/curve/__init__.pyi +167 -122
- bpy/ops/curves/__init__.pyi +75 -58
- bpy/ops/cycles/__init__.pyi +10 -10
- bpy/ops/ed/__init__.pyi +50 -50
- bpy/ops/export_anim/__init__.pyi +14 -14
- bpy/ops/export_scene/__init__.pyi +250 -250
- bpy/ops/extensions/__init__.pyi +73 -73
- bpy/ops/file/__init__.pyi +94 -94
- bpy/ops/fluid/__init__.pyi +6 -6
- bpy/ops/font/__init__.pyi +100 -100
- bpy/ops/geometry/__init__.pyi +20 -20
- bpy/ops/gizmogroup/__init__.pyi +10 -10
- bpy/ops/gpencil/__init__.pyi +411 -410
- bpy/ops/graph/__init__.pyi +194 -194
- bpy/ops/grease_pencil/__init__.pyi +100 -100
- bpy/ops/image/__init__.pyi +399 -390
- bpy/ops/import_anim/__init__.pyi +16 -16
- bpy/ops/import_curve/__init__.pyi +4 -4
- bpy/ops/import_scene/__init__.pyi +56 -56
- bpy/ops/info/__init__.pyi +14 -14
- bpy/ops/lattice/__init__.pyi +8 -8
- bpy/ops/marker/__init__.pyi +34 -34
- bpy/ops/mask/__init__.pyi +63 -62
- bpy/ops/mball/__init__.pyi +12 -12
- bpy/ops/mesh/__init__.pyi +893 -790
- bpy/ops/nla/__init__.pyi +70 -70
- bpy/ops/node/__init__.pyi +192 -192
- bpy/ops/object/__init__.pyi +1013 -840
- bpy/ops/outliner/__init__.pyi +44 -44
- bpy/ops/paint/__init__.pyi +169 -168
- bpy/ops/paintcurve/__init__.pyi +12 -12
- bpy/ops/palette/__init__.pyi +4 -4
- bpy/ops/particle/__init__.pyi +34 -34
- bpy/ops/pose/__init__.pyi +60 -60
- bpy/ops/poselib/__init__.pyi +18 -18
- bpy/ops/preferences/__init__.pyi +150 -150
- bpy/ops/ptcache/__init__.pyi +4 -4
- bpy/ops/render/__init__.pyi +56 -56
- bpy/ops/rigidbody/__init__.pyi +8 -8
- bpy/ops/scene/__init__.pyi +20 -20
- bpy/ops/screen/__init__.pyi +128 -128
- bpy/ops/script/__init__.pyi +6 -6
- bpy/ops/sculpt/__init__.pyi +207 -202
- bpy/ops/sculpt_curves/__init__.pyi +12 -12
- bpy/ops/sequencer/__init__.pyi +465 -464
- bpy/ops/sound/__init__.pyi +154 -154
- bpy/ops/spreadsheet/__init__.pyi +6 -6
- bpy/ops/surface/__init__.pyi +109 -60
- bpy/ops/text/__init__.pyi +110 -110
- bpy/ops/text_editor/__init__.pyi +6 -6
- bpy/ops/transform/__init__.pyi +628 -566
- bpy/ops/ui/__init__.pyi +25 -24
- bpy/ops/uilist/__init__.pyi +12 -12
- bpy/ops/uv/__init__.pyi +235 -234
- bpy/ops/view2d/__init__.pyi +72 -72
- bpy/ops/view3d/__init__.pyi +144 -144
- bpy/ops/wm/__init__.pyi +1813 -1806
- bpy/ops/workspace/__init__.pyi +4 -4
- bpy/types/__init__.pyi +1614 -1805
- {fake_bpy_module-20240620.dist-info → fake_bpy_module-20240622.dist-info}/METADATA +3 -5
- {fake_bpy_module-20240620.dist-info → fake_bpy_module-20240622.dist-info}/RECORD +77 -77
- {fake_bpy_module-20240620.dist-info → fake_bpy_module-20240622.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240620.dist-info → fake_bpy_module-20240622.dist-info}/top_level.txt +0 -0
|
@@ -10,18 +10,18 @@ def fbx(
|
|
|
10
10
|
execution_context: int | str | None = None,
|
|
11
11
|
undo: bool | None = None,
|
|
12
12
|
*,
|
|
13
|
-
filepath: str
|
|
14
|
-
check_existing: bool |
|
|
15
|
-
filter_glob: str
|
|
16
|
-
use_selection: bool |
|
|
17
|
-
use_visible: bool |
|
|
18
|
-
use_active_collection: bool |
|
|
19
|
-
collection: str
|
|
20
|
-
global_scale:
|
|
21
|
-
apply_unit_scale: bool |
|
|
13
|
+
filepath: str = "",
|
|
14
|
+
check_existing: bool | None = True,
|
|
15
|
+
filter_glob: str = "*.fbx",
|
|
16
|
+
use_selection: bool | None = False,
|
|
17
|
+
use_visible: bool | None = False,
|
|
18
|
+
use_active_collection: bool | None = False,
|
|
19
|
+
collection: str = "",
|
|
20
|
+
global_scale: float | None = 1.0,
|
|
21
|
+
apply_unit_scale: bool | None = True,
|
|
22
22
|
apply_scale_options: str | None = "FBX_SCALE_NONE",
|
|
23
|
-
use_space_transform: bool |
|
|
24
|
-
bake_space_transform: bool |
|
|
23
|
+
use_space_transform: bool | None = True,
|
|
24
|
+
bake_space_transform: bool | None = False,
|
|
25
25
|
object_types: set[str] | None = {
|
|
26
26
|
"ARMATURE",
|
|
27
27
|
"CAMERA",
|
|
@@ -30,33 +30,33 @@ def fbx(
|
|
|
30
30
|
"MESH",
|
|
31
31
|
"OTHER",
|
|
32
32
|
},
|
|
33
|
-
use_mesh_modifiers: bool |
|
|
34
|
-
use_mesh_modifiers_render: bool |
|
|
33
|
+
use_mesh_modifiers: bool | None = True,
|
|
34
|
+
use_mesh_modifiers_render: bool | None = True,
|
|
35
35
|
mesh_smooth_type: str | None = "OFF",
|
|
36
36
|
colors_type: str | None = "SRGB",
|
|
37
|
-
prioritize_active_color: bool |
|
|
38
|
-
use_subsurf: bool |
|
|
39
|
-
use_mesh_edges: bool |
|
|
40
|
-
use_tspace: bool |
|
|
41
|
-
use_triangles: bool |
|
|
42
|
-
use_custom_props: bool |
|
|
43
|
-
add_leaf_bones: bool |
|
|
37
|
+
prioritize_active_color: bool | None = False,
|
|
38
|
+
use_subsurf: bool | None = False,
|
|
39
|
+
use_mesh_edges: bool | None = False,
|
|
40
|
+
use_tspace: bool | None = False,
|
|
41
|
+
use_triangles: bool | None = False,
|
|
42
|
+
use_custom_props: bool | None = False,
|
|
43
|
+
add_leaf_bones: bool | None = True,
|
|
44
44
|
primary_bone_axis: str | None = "Y",
|
|
45
45
|
secondary_bone_axis: str | None = "X",
|
|
46
|
-
use_armature_deform_only: bool |
|
|
46
|
+
use_armature_deform_only: bool | None = False,
|
|
47
47
|
armature_nodetype: str | None = "NULL",
|
|
48
|
-
bake_anim: bool |
|
|
49
|
-
bake_anim_use_all_bones: bool |
|
|
50
|
-
bake_anim_use_nla_strips: bool |
|
|
51
|
-
bake_anim_use_all_actions: bool |
|
|
52
|
-
bake_anim_force_startend_keying: bool |
|
|
53
|
-
bake_anim_step:
|
|
54
|
-
bake_anim_simplify_factor:
|
|
48
|
+
bake_anim: bool | None = True,
|
|
49
|
+
bake_anim_use_all_bones: bool | None = True,
|
|
50
|
+
bake_anim_use_nla_strips: bool | None = True,
|
|
51
|
+
bake_anim_use_all_actions: bool | None = True,
|
|
52
|
+
bake_anim_force_startend_keying: bool | None = True,
|
|
53
|
+
bake_anim_step: float | None = 1.0,
|
|
54
|
+
bake_anim_simplify_factor: float | None = 1.0,
|
|
55
55
|
path_mode: str | None = "AUTO",
|
|
56
|
-
embed_textures: bool |
|
|
56
|
+
embed_textures: bool | None = False,
|
|
57
57
|
batch_mode: str | None = "OFF",
|
|
58
|
-
use_batch_own_dir: bool |
|
|
59
|
-
use_metadata: bool |
|
|
58
|
+
use_batch_own_dir: bool | None = True,
|
|
59
|
+
use_metadata: bool | None = True,
|
|
60
60
|
axis_forward: str | None = "-Z",
|
|
61
61
|
axis_up: str | None = "Y",
|
|
62
62
|
):
|
|
@@ -66,23 +66,23 @@ def fbx(
|
|
|
66
66
|
:type execution_context: int | str | None
|
|
67
67
|
:type undo: bool | None
|
|
68
68
|
:param filepath: File Path, Filepath used for exporting the file
|
|
69
|
-
:type filepath: str
|
|
69
|
+
:type filepath: str
|
|
70
70
|
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
71
|
-
:type check_existing: bool |
|
|
71
|
+
:type check_existing: bool | None
|
|
72
72
|
:param filter_glob: filter_glob
|
|
73
|
-
:type filter_glob: str
|
|
73
|
+
:type filter_glob: str
|
|
74
74
|
:param use_selection: Selected Objects, Export selected and visible objects only
|
|
75
|
-
:type use_selection: bool |
|
|
75
|
+
:type use_selection: bool | None
|
|
76
76
|
:param use_visible: Visible Objects, Export visible objects only
|
|
77
|
-
:type use_visible: bool |
|
|
77
|
+
:type use_visible: bool | None
|
|
78
78
|
:param use_active_collection: Active Collection, Export only objects from the active collection (and its children)
|
|
79
|
-
:type use_active_collection: bool |
|
|
79
|
+
:type use_active_collection: bool | None
|
|
80
80
|
:param collection: Source Collection, Export only objects from this collection (and its children)
|
|
81
|
-
:type collection: str
|
|
81
|
+
:type collection: str
|
|
82
82
|
:param global_scale: Scale, Scale all data (Some importers do not support scaled armatures!)
|
|
83
|
-
:type global_scale:
|
|
83
|
+
:type global_scale: float | None
|
|
84
84
|
:param apply_unit_scale: Apply Unit, Take into account current Blender units settings (if unset, raw Blender Units values are used as-is)
|
|
85
|
-
:type apply_unit_scale: bool |
|
|
85
|
+
:type apply_unit_scale: bool | None
|
|
86
86
|
: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)
|
|
87
87
|
|
|
88
88
|
FBX_SCALE_NONE
|
|
@@ -98,9 +98,9 @@ def fbx(
|
|
|
98
98
|
FBX All -- Apply custom scaling and units scaling to FBX scale.
|
|
99
99
|
:type apply_scale_options: str | None
|
|
100
100
|
: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
|
|
101
|
-
:type use_space_transform: bool |
|
|
101
|
+
:type use_space_transform: bool | None
|
|
102
102
|
: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)
|
|
103
|
-
:type bake_space_transform: bool |
|
|
103
|
+
:type bake_space_transform: bool | None
|
|
104
104
|
:param object_types: Object Types, Which kind of object to export
|
|
105
105
|
|
|
106
106
|
EMPTY
|
|
@@ -122,9 +122,9 @@ def fbx(
|
|
|
122
122
|
Other -- Other geometry types, like curve, metaball, etc. (converted to meshes).
|
|
123
123
|
:type object_types: set[str] | None
|
|
124
124
|
:param use_mesh_modifiers: Apply Modifiers, Apply modifiers to mesh objects (except Armature ones) - WARNING: prevents exporting shape keys
|
|
125
|
-
:type use_mesh_modifiers: bool |
|
|
125
|
+
:type use_mesh_modifiers: bool | None
|
|
126
126
|
:param use_mesh_modifiers_render: Use Modifiers Render Setting, Use render settings when applying modifiers to mesh objects (DISABLED in Blender 2.8)
|
|
127
|
-
:type use_mesh_modifiers_render: bool |
|
|
127
|
+
:type use_mesh_modifiers_render: bool | None
|
|
128
128
|
:param mesh_smooth_type: Smoothing, Export smoothing information (prefer 'Normals Only' option if your target importer understand split normals)
|
|
129
129
|
|
|
130
130
|
OFF
|
|
@@ -148,25 +148,25 @@ def fbx(
|
|
|
148
148
|
Linear -- Export colors in linear color space.
|
|
149
149
|
:type colors_type: str | None
|
|
150
150
|
: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
|
|
151
|
-
:type prioritize_active_color: bool |
|
|
151
|
+
:type prioritize_active_color: bool | None
|
|
152
152
|
: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)
|
|
153
|
-
:type use_subsurf: bool |
|
|
153
|
+
:type use_subsurf: bool | None
|
|
154
154
|
:param use_mesh_edges: Loose Edges, Export loose edges (as two-vertices polygons)
|
|
155
|
-
:type use_mesh_edges: bool |
|
|
155
|
+
:type use_mesh_edges: bool | None
|
|
156
156
|
: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!)
|
|
157
|
-
:type use_tspace: bool |
|
|
157
|
+
:type use_tspace: bool | None
|
|
158
158
|
:param use_triangles: Triangulate Faces, Convert all faces to triangles
|
|
159
|
-
:type use_triangles: bool |
|
|
159
|
+
:type use_triangles: bool | None
|
|
160
160
|
:param use_custom_props: Custom Properties, Export custom properties
|
|
161
|
-
:type use_custom_props: bool |
|
|
161
|
+
:type use_custom_props: bool | None
|
|
162
162
|
: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)
|
|
163
|
-
:type add_leaf_bones: bool |
|
|
163
|
+
:type add_leaf_bones: bool | None
|
|
164
164
|
:param primary_bone_axis: Primary Bone Axis
|
|
165
165
|
:type primary_bone_axis: str | None
|
|
166
166
|
:param secondary_bone_axis: Secondary Bone Axis
|
|
167
167
|
:type secondary_bone_axis: str | None
|
|
168
168
|
:param use_armature_deform_only: Only Deform Bones, Only write deforming bones (and non-deforming ones when they have deforming children)
|
|
169
|
-
:type use_armature_deform_only: bool |
|
|
169
|
+
:type use_armature_deform_only: bool | None
|
|
170
170
|
: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...)
|
|
171
171
|
|
|
172
172
|
NULL
|
|
@@ -179,19 +179,19 @@ def fbx(
|
|
|
179
179
|
LimbNode -- 'LimbNode' FBX node, a regular joint between two bones....
|
|
180
180
|
:type armature_nodetype: str | None
|
|
181
181
|
:param bake_anim: Baked Animation, Export baked keyframe animation
|
|
182
|
-
:type bake_anim: bool |
|
|
182
|
+
:type bake_anim: bool | None
|
|
183
183
|
: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)
|
|
184
|
-
:type bake_anim_use_all_bones: bool |
|
|
184
|
+
:type bake_anim_use_all_bones: bool | None
|
|
185
185
|
: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
|
|
186
|
-
:type bake_anim_use_nla_strips: bool |
|
|
186
|
+
:type bake_anim_use_nla_strips: bool | None
|
|
187
187
|
: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)
|
|
188
|
-
:type bake_anim_use_all_actions: bool |
|
|
188
|
+
:type bake_anim_use_all_actions: bool | None
|
|
189
189
|
:param bake_anim_force_startend_keying: Force Start/End Keying, Always add a keyframe at start and end of actions for animated channels
|
|
190
|
-
:type bake_anim_force_startend_keying: bool |
|
|
190
|
+
:type bake_anim_force_startend_keying: bool | None
|
|
191
191
|
:param bake_anim_step: Sampling Rate, How often to evaluate animated values (in frames)
|
|
192
|
-
:type bake_anim_step:
|
|
192
|
+
:type bake_anim_step: float | None
|
|
193
193
|
:param bake_anim_simplify_factor: Simplify, How much to simplify baked values (0.0 to disable, the higher the more simplified)
|
|
194
|
-
:type bake_anim_simplify_factor:
|
|
194
|
+
:type bake_anim_simplify_factor: float | None
|
|
195
195
|
:param path_mode: Path Mode, Method used to reference paths
|
|
196
196
|
|
|
197
197
|
AUTO
|
|
@@ -213,7 +213,7 @@ def fbx(
|
|
|
213
213
|
Copy -- Copy the file to the destination path (or subdirectory).
|
|
214
214
|
:type path_mode: str | None
|
|
215
215
|
:param embed_textures: Embed Textures, Embed textures in FBX binary file (only for "Copy" path mode!)
|
|
216
|
-
:type embed_textures: bool |
|
|
216
|
+
:type embed_textures: bool | None
|
|
217
217
|
:param batch_mode: Batch Mode
|
|
218
218
|
|
|
219
219
|
OFF
|
|
@@ -232,9 +232,9 @@ def fbx(
|
|
|
232
232
|
Active Scene Collections -- Each collection (including master, non-data-block one) of the active scene as a file, including content from children collections.
|
|
233
233
|
:type batch_mode: str | None
|
|
234
234
|
:param use_batch_own_dir: Batch Own Dir, Create a dir for each exported file
|
|
235
|
-
:type use_batch_own_dir: bool |
|
|
235
|
+
:type use_batch_own_dir: bool | None
|
|
236
236
|
:param use_metadata: Use Metadata
|
|
237
|
-
:type use_metadata: bool |
|
|
237
|
+
:type use_metadata: bool | None
|
|
238
238
|
:param axis_forward: Forward
|
|
239
239
|
:type axis_forward: str | None
|
|
240
240
|
:param axis_up: Up
|
|
@@ -248,109 +248,109 @@ def gltf(
|
|
|
248
248
|
execution_context: int | str | None = None,
|
|
249
249
|
undo: bool | None = None,
|
|
250
250
|
*,
|
|
251
|
-
filepath: str
|
|
252
|
-
check_existing: bool |
|
|
251
|
+
filepath: str = "",
|
|
252
|
+
check_existing: bool | None = True,
|
|
253
253
|
export_import_convert_lighting_mode: str | None = "SPEC",
|
|
254
|
-
gltf_export_id: str
|
|
255
|
-
export_use_gltfpack: bool |
|
|
256
|
-
export_gltfpack_tc: bool |
|
|
257
|
-
export_gltfpack_tq:
|
|
258
|
-
export_gltfpack_si:
|
|
259
|
-
export_gltfpack_sa: bool |
|
|
260
|
-
export_gltfpack_slb: bool |
|
|
261
|
-
export_gltfpack_vp:
|
|
262
|
-
export_gltfpack_vt:
|
|
263
|
-
export_gltfpack_vn:
|
|
264
|
-
export_gltfpack_vc:
|
|
254
|
+
gltf_export_id: str = "",
|
|
255
|
+
export_use_gltfpack: bool | None = False,
|
|
256
|
+
export_gltfpack_tc: bool | None = True,
|
|
257
|
+
export_gltfpack_tq: int | None = 8,
|
|
258
|
+
export_gltfpack_si: float | None = 1.0,
|
|
259
|
+
export_gltfpack_sa: bool | None = False,
|
|
260
|
+
export_gltfpack_slb: bool | None = False,
|
|
261
|
+
export_gltfpack_vp: int | None = 14,
|
|
262
|
+
export_gltfpack_vt: int | None = 12,
|
|
263
|
+
export_gltfpack_vn: int | None = 8,
|
|
264
|
+
export_gltfpack_vc: int | None = 8,
|
|
265
265
|
export_gltfpack_vpi: str | None = "Integer",
|
|
266
|
-
export_gltfpack_noq: bool |
|
|
266
|
+
export_gltfpack_noq: bool | None = True,
|
|
267
267
|
export_format: str | None = "",
|
|
268
268
|
ui_tab: str | None = "GENERAL",
|
|
269
|
-
export_copyright: str
|
|
269
|
+
export_copyright: str = "",
|
|
270
270
|
export_image_format: str | None = "AUTO",
|
|
271
|
-
export_image_add_webp: bool |
|
|
272
|
-
export_image_webp_fallback: bool |
|
|
273
|
-
export_texture_dir: str
|
|
274
|
-
export_jpeg_quality:
|
|
275
|
-
export_image_quality:
|
|
276
|
-
export_keep_originals: bool |
|
|
277
|
-
export_texcoords: bool |
|
|
278
|
-
export_normals: bool |
|
|
279
|
-
export_gn_mesh: bool |
|
|
280
|
-
export_draco_mesh_compression_enable: bool |
|
|
281
|
-
export_draco_mesh_compression_level:
|
|
282
|
-
export_draco_position_quantization:
|
|
283
|
-
export_draco_normal_quantization:
|
|
284
|
-
export_draco_texcoord_quantization:
|
|
285
|
-
export_draco_color_quantization:
|
|
286
|
-
export_draco_generic_quantization:
|
|
287
|
-
export_tangents: bool |
|
|
271
|
+
export_image_add_webp: bool | None = False,
|
|
272
|
+
export_image_webp_fallback: bool | None = False,
|
|
273
|
+
export_texture_dir: str = "",
|
|
274
|
+
export_jpeg_quality: int | None = 75,
|
|
275
|
+
export_image_quality: int | None = 75,
|
|
276
|
+
export_keep_originals: bool | None = False,
|
|
277
|
+
export_texcoords: bool | None = True,
|
|
278
|
+
export_normals: bool | None = True,
|
|
279
|
+
export_gn_mesh: bool | None = False,
|
|
280
|
+
export_draco_mesh_compression_enable: bool | None = False,
|
|
281
|
+
export_draco_mesh_compression_level: int | None = 6,
|
|
282
|
+
export_draco_position_quantization: int | None = 14,
|
|
283
|
+
export_draco_normal_quantization: int | None = 10,
|
|
284
|
+
export_draco_texcoord_quantization: int | None = 12,
|
|
285
|
+
export_draco_color_quantization: int | None = 10,
|
|
286
|
+
export_draco_generic_quantization: int | None = 12,
|
|
287
|
+
export_tangents: bool | None = False,
|
|
288
288
|
export_materials: str | None = "EXPORT",
|
|
289
|
-
export_unused_images: bool |
|
|
290
|
-
export_unused_textures: bool |
|
|
289
|
+
export_unused_images: bool | None = False,
|
|
290
|
+
export_unused_textures: bool | None = False,
|
|
291
291
|
export_vertex_color: str | None = "MATERIAL",
|
|
292
|
-
export_all_vertex_colors: bool |
|
|
293
|
-
export_active_vertex_color_when_no_material: bool |
|
|
294
|
-
export_attributes: bool |
|
|
295
|
-
use_mesh_edges: bool |
|
|
296
|
-
use_mesh_vertices: bool |
|
|
297
|
-
export_cameras: bool |
|
|
298
|
-
use_selection: bool |
|
|
299
|
-
use_visible: bool |
|
|
300
|
-
use_renderable: bool |
|
|
301
|
-
use_active_collection_with_nested: bool |
|
|
302
|
-
use_active_collection: bool |
|
|
303
|
-
use_active_scene: bool |
|
|
304
|
-
collection: str
|
|
305
|
-
at_collection_center: bool |
|
|
306
|
-
export_extras: bool |
|
|
307
|
-
export_yup: bool |
|
|
308
|
-
export_apply: bool |
|
|
309
|
-
export_shared_accessors: bool |
|
|
310
|
-
export_animations: bool |
|
|
311
|
-
export_frame_range: bool |
|
|
312
|
-
export_frame_step:
|
|
313
|
-
export_force_sampling: bool |
|
|
314
|
-
export_pointer_animation: bool |
|
|
292
|
+
export_all_vertex_colors: bool | None = True,
|
|
293
|
+
export_active_vertex_color_when_no_material: bool | None = True,
|
|
294
|
+
export_attributes: bool | None = False,
|
|
295
|
+
use_mesh_edges: bool | None = False,
|
|
296
|
+
use_mesh_vertices: bool | None = False,
|
|
297
|
+
export_cameras: bool | None = False,
|
|
298
|
+
use_selection: bool | None = False,
|
|
299
|
+
use_visible: bool | None = False,
|
|
300
|
+
use_renderable: bool | None = False,
|
|
301
|
+
use_active_collection_with_nested: bool | None = True,
|
|
302
|
+
use_active_collection: bool | None = False,
|
|
303
|
+
use_active_scene: bool | None = False,
|
|
304
|
+
collection: str = "",
|
|
305
|
+
at_collection_center: bool | None = False,
|
|
306
|
+
export_extras: bool | None = False,
|
|
307
|
+
export_yup: bool | None = True,
|
|
308
|
+
export_apply: bool | None = False,
|
|
309
|
+
export_shared_accessors: bool | None = False,
|
|
310
|
+
export_animations: bool | None = True,
|
|
311
|
+
export_frame_range: bool | None = False,
|
|
312
|
+
export_frame_step: int | None = 1,
|
|
313
|
+
export_force_sampling: bool | None = True,
|
|
314
|
+
export_pointer_animation: bool | None = False,
|
|
315
315
|
export_animation_mode: str | None = "ACTIONS",
|
|
316
|
-
export_nla_strips_merged_animation_name: str
|
|
317
|
-
export_def_bones: bool |
|
|
318
|
-
export_hierarchy_flatten_bones: bool |
|
|
319
|
-
export_hierarchy_flatten_objs: bool |
|
|
320
|
-
export_armature_object_remove: bool |
|
|
321
|
-
export_leaf_bone: bool |
|
|
322
|
-
export_optimize_animation_size: bool |
|
|
323
|
-
export_optimize_animation_keep_anim_armature: bool |
|
|
324
|
-
export_optimize_animation_keep_anim_object: bool |
|
|
325
|
-
export_optimize_disable_viewport: bool |
|
|
316
|
+
export_nla_strips_merged_animation_name: str = "Animation",
|
|
317
|
+
export_def_bones: bool | None = False,
|
|
318
|
+
export_hierarchy_flatten_bones: bool | None = False,
|
|
319
|
+
export_hierarchy_flatten_objs: bool | None = False,
|
|
320
|
+
export_armature_object_remove: bool | None = False,
|
|
321
|
+
export_leaf_bone: bool | None = False,
|
|
322
|
+
export_optimize_animation_size: bool | None = True,
|
|
323
|
+
export_optimize_animation_keep_anim_armature: bool | None = True,
|
|
324
|
+
export_optimize_animation_keep_anim_object: bool | None = False,
|
|
325
|
+
export_optimize_disable_viewport: bool | None = False,
|
|
326
326
|
export_negative_frame: str | None = "SLIDE",
|
|
327
|
-
export_anim_slide_to_zero: bool |
|
|
328
|
-
export_bake_animation: bool |
|
|
329
|
-
export_anim_single_armature: bool |
|
|
330
|
-
export_reset_pose_bones: bool |
|
|
331
|
-
export_current_frame: bool |
|
|
332
|
-
export_rest_position_armature: bool |
|
|
333
|
-
export_anim_scene_split_object: bool |
|
|
334
|
-
export_skins: bool |
|
|
335
|
-
export_influence_nb:
|
|
336
|
-
export_all_influences: bool |
|
|
337
|
-
export_morph: bool |
|
|
338
|
-
export_morph_normal: bool |
|
|
339
|
-
export_morph_tangent: bool |
|
|
340
|
-
export_morph_animation: bool |
|
|
341
|
-
export_morph_reset_sk_data: bool |
|
|
342
|
-
export_lights: bool |
|
|
343
|
-
export_try_sparse_sk: bool |
|
|
344
|
-
export_try_omit_sparse_sk: bool |
|
|
345
|
-
export_gpu_instances: bool |
|
|
346
|
-
export_action_filter: bool |
|
|
347
|
-
export_convert_animation_pointer: bool |
|
|
348
|
-
export_nla_strips: bool |
|
|
349
|
-
export_original_specular: bool |
|
|
350
|
-
will_save_settings: bool |
|
|
351
|
-
export_hierarchy_full_collections: bool |
|
|
352
|
-
export_extra_animations: bool |
|
|
353
|
-
filter_glob: str
|
|
327
|
+
export_anim_slide_to_zero: bool | None = False,
|
|
328
|
+
export_bake_animation: bool | None = False,
|
|
329
|
+
export_anim_single_armature: bool | None = True,
|
|
330
|
+
export_reset_pose_bones: bool | None = True,
|
|
331
|
+
export_current_frame: bool | None = False,
|
|
332
|
+
export_rest_position_armature: bool | None = True,
|
|
333
|
+
export_anim_scene_split_object: bool | None = True,
|
|
334
|
+
export_skins: bool | None = True,
|
|
335
|
+
export_influence_nb: int | None = 4,
|
|
336
|
+
export_all_influences: bool | None = False,
|
|
337
|
+
export_morph: bool | None = True,
|
|
338
|
+
export_morph_normal: bool | None = True,
|
|
339
|
+
export_morph_tangent: bool | None = False,
|
|
340
|
+
export_morph_animation: bool | None = True,
|
|
341
|
+
export_morph_reset_sk_data: bool | None = True,
|
|
342
|
+
export_lights: bool | None = False,
|
|
343
|
+
export_try_sparse_sk: bool | None = True,
|
|
344
|
+
export_try_omit_sparse_sk: bool | None = False,
|
|
345
|
+
export_gpu_instances: bool | None = False,
|
|
346
|
+
export_action_filter: bool | None = False,
|
|
347
|
+
export_convert_animation_pointer: bool | None = False,
|
|
348
|
+
export_nla_strips: bool | None = True,
|
|
349
|
+
export_original_specular: bool | None = False,
|
|
350
|
+
will_save_settings: bool | None = False,
|
|
351
|
+
export_hierarchy_full_collections: bool | None = False,
|
|
352
|
+
export_extra_animations: bool | None = False,
|
|
353
|
+
filter_glob: str = "*.glb",
|
|
354
354
|
):
|
|
355
355
|
"""Export scene as glTF 2.0 file
|
|
356
356
|
|
|
@@ -358,9 +358,9 @@ def gltf(
|
|
|
358
358
|
:type execution_context: int | str | None
|
|
359
359
|
:type undo: bool | None
|
|
360
360
|
:param filepath: File Path, Filepath used for exporting the file
|
|
361
|
-
:type filepath: str
|
|
361
|
+
:type filepath: str
|
|
362
362
|
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
363
|
-
:type check_existing: bool |
|
|
363
|
+
:type check_existing: bool | None
|
|
364
364
|
:param export_import_convert_lighting_mode: Lighting Mode, Optional backwards compatibility for non-standard render engines. Applies to lights
|
|
365
365
|
|
|
366
366
|
SPEC
|
|
@@ -373,27 +373,27 @@ def gltf(
|
|
|
373
373
|
Raw (Deprecated) -- Blender lighting strengths with no conversion.
|
|
374
374
|
:type export_import_convert_lighting_mode: str | None
|
|
375
375
|
: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
|
|
376
|
-
:type gltf_export_id: str
|
|
376
|
+
:type gltf_export_id: str
|
|
377
377
|
:param export_use_gltfpack: Use Gltfpack, Use gltfpack to simplify the mesh and/or compress its textures
|
|
378
|
-
:type export_use_gltfpack: bool |
|
|
378
|
+
:type export_use_gltfpack: bool | None
|
|
379
379
|
:param export_gltfpack_tc: KTX2 Compression, Convert all textures to KTX2 with BasisU supercompression
|
|
380
|
-
:type export_gltfpack_tc: bool |
|
|
380
|
+
:type export_gltfpack_tc: bool | None
|
|
381
381
|
:param export_gltfpack_tq: Texture Encoding Quality, Texture encoding quality
|
|
382
|
-
:type export_gltfpack_tq:
|
|
382
|
+
:type export_gltfpack_tq: int | None
|
|
383
383
|
:param export_gltfpack_si: Mesh Simplification Ratio, Simplify meshes targeting triangle count ratio
|
|
384
|
-
:type export_gltfpack_si:
|
|
384
|
+
:type export_gltfpack_si: float | None
|
|
385
385
|
:param export_gltfpack_sa: Aggressive Mesh Simplification, Aggressively simplify to the target ratio disregarding quality
|
|
386
|
-
:type export_gltfpack_sa: bool |
|
|
386
|
+
:type export_gltfpack_sa: bool | None
|
|
387
387
|
:param export_gltfpack_slb: Lock Mesh Border Vertices, Lock border vertices during simplification to avoid gaps on connected meshes
|
|
388
|
-
:type export_gltfpack_slb: bool |
|
|
388
|
+
:type export_gltfpack_slb: bool | None
|
|
389
389
|
:param export_gltfpack_vp: Position Quantization, Use N-bit quantization for positions
|
|
390
|
-
:type export_gltfpack_vp:
|
|
390
|
+
:type export_gltfpack_vp: int | None
|
|
391
391
|
:param export_gltfpack_vt: Texture Coordinate Quantization, Use N-bit quantization for texture coordinates
|
|
392
|
-
:type export_gltfpack_vt:
|
|
392
|
+
:type export_gltfpack_vt: int | None
|
|
393
393
|
:param export_gltfpack_vn: Normal/Tangent Quantization, Use N-bit quantization for normals and tangents
|
|
394
|
-
:type export_gltfpack_vn:
|
|
394
|
+
:type export_gltfpack_vn: int | None
|
|
395
395
|
:param export_gltfpack_vc: Vertex Color Quantization, Use N-bit quantization for colors
|
|
396
|
-
:type export_gltfpack_vc:
|
|
396
|
+
:type export_gltfpack_vc: int | None
|
|
397
397
|
:param export_gltfpack_vpi: Vertex Position Attributes, Type to use for vertex position attributes
|
|
398
398
|
|
|
399
399
|
Integer
|
|
@@ -406,7 +406,7 @@ def gltf(
|
|
|
406
406
|
Floating-point -- Use floating-point attributes for positions.
|
|
407
407
|
:type export_gltfpack_vpi: str | None
|
|
408
408
|
:param export_gltfpack_noq: Disable Quantization, Disable quantization; produces much larger glTF files with no extensions
|
|
409
|
-
:type export_gltfpack_noq: bool |
|
|
409
|
+
:type export_gltfpack_noq: bool | None
|
|
410
410
|
:param export_format: Format, Output format. Binary is most efficient, but JSON may be easier to edit later
|
|
411
411
|
:type export_format: str | None
|
|
412
412
|
:param ui_tab: ui_tab, Export setting categories
|
|
@@ -424,7 +424,7 @@ def gltf(
|
|
|
424
424
|
Animation -- Animation settings.
|
|
425
425
|
:type ui_tab: str | None
|
|
426
426
|
:param export_copyright: Copyright, Legal rights and conditions for the model
|
|
427
|
-
:type export_copyright: str
|
|
427
|
+
:type export_copyright: str
|
|
428
428
|
: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
|
|
429
429
|
|
|
430
430
|
AUTO
|
|
@@ -440,39 +440,39 @@ def gltf(
|
|
|
440
440
|
None -- Don't export images.
|
|
441
441
|
:type export_image_format: str | None
|
|
442
442
|
:param export_image_add_webp: Create WebP, Creates WebP textures for every texture. For already WebP textures, nothing happens
|
|
443
|
-
:type export_image_add_webp: bool |
|
|
443
|
+
:type export_image_add_webp: bool | None
|
|
444
444
|
:param export_image_webp_fallback: WebP fallback, For all WebP textures, create a PNG fallback texture
|
|
445
|
-
:type export_image_webp_fallback: bool |
|
|
445
|
+
:type export_image_webp_fallback: bool | None
|
|
446
446
|
:param export_texture_dir: Textures, Folder to place texture files in. Relative to the .gltf file
|
|
447
|
-
:type export_texture_dir: str
|
|
447
|
+
:type export_texture_dir: str
|
|
448
448
|
:param export_jpeg_quality: JPEG quality, Quality of JPEG export
|
|
449
|
-
:type export_jpeg_quality:
|
|
449
|
+
:type export_jpeg_quality: int | None
|
|
450
450
|
:param export_image_quality: Image quality, Quality of image export
|
|
451
|
-
:type export_image_quality:
|
|
451
|
+
:type export_image_quality: int | None
|
|
452
452
|
: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
|
|
453
|
-
:type export_keep_originals: bool |
|
|
453
|
+
:type export_keep_originals: bool | None
|
|
454
454
|
:param export_texcoords: UVs, Export UVs (texture coordinates) with meshes
|
|
455
|
-
:type export_texcoords: bool |
|
|
455
|
+
:type export_texcoords: bool | None
|
|
456
456
|
:param export_normals: Normals, Export vertex normals with meshes
|
|
457
|
-
:type export_normals: bool |
|
|
457
|
+
:type export_normals: bool | None
|
|
458
458
|
:param export_gn_mesh: Geometry Nodes Instances (Experimental), Export Geometry nodes instance meshes
|
|
459
|
-
:type export_gn_mesh: bool |
|
|
459
|
+
:type export_gn_mesh: bool | None
|
|
460
460
|
:param export_draco_mesh_compression_enable: Draco mesh compression, Compress mesh using Draco
|
|
461
|
-
:type export_draco_mesh_compression_enable: bool |
|
|
461
|
+
:type export_draco_mesh_compression_enable: bool | None
|
|
462
462
|
:param export_draco_mesh_compression_level: Compression level, Compression level (0 = most speed, 6 = most compression, higher values currently not supported)
|
|
463
|
-
:type export_draco_mesh_compression_level:
|
|
463
|
+
:type export_draco_mesh_compression_level: int | None
|
|
464
464
|
:param export_draco_position_quantization: Position quantization bits, Quantization bits for position values (0 = no quantization)
|
|
465
|
-
:type export_draco_position_quantization:
|
|
465
|
+
:type export_draco_position_quantization: int | None
|
|
466
466
|
:param export_draco_normal_quantization: Normal quantization bits, Quantization bits for normal values (0 = no quantization)
|
|
467
|
-
:type export_draco_normal_quantization:
|
|
467
|
+
:type export_draco_normal_quantization: int | None
|
|
468
468
|
:param export_draco_texcoord_quantization: Texcoord quantization bits, Quantization bits for texture coordinate values (0 = no quantization)
|
|
469
|
-
:type export_draco_texcoord_quantization:
|
|
469
|
+
:type export_draco_texcoord_quantization: int | None
|
|
470
470
|
:param export_draco_color_quantization: Color quantization bits, Quantization bits for color values (0 = no quantization)
|
|
471
|
-
:type export_draco_color_quantization:
|
|
471
|
+
:type export_draco_color_quantization: int | None
|
|
472
472
|
:param export_draco_generic_quantization: Generic quantization bits, Quantization bits for generic values like weights or joints (0 = no quantization)
|
|
473
|
-
:type export_draco_generic_quantization:
|
|
473
|
+
:type export_draco_generic_quantization: int | None
|
|
474
474
|
:param export_tangents: Tangents, Export vertex tangents with meshes
|
|
475
|
-
:type export_tangents: bool |
|
|
475
|
+
:type export_tangents: bool | None
|
|
476
476
|
:param export_materials: Materials, Export materials
|
|
477
477
|
|
|
478
478
|
EXPORT
|
|
@@ -485,9 +485,9 @@ def gltf(
|
|
|
485
485
|
No export -- Do not export materials, and combine mesh primitive groups, losing material slot information.
|
|
486
486
|
:type export_materials: str | None
|
|
487
487
|
:param export_unused_images: Unused images, Export images not assigned to any material
|
|
488
|
-
:type export_unused_images: bool |
|
|
488
|
+
:type export_unused_images: bool | None
|
|
489
489
|
: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
|
|
490
|
-
:type export_unused_textures: bool |
|
|
490
|
+
:type export_unused_textures: bool | None
|
|
491
491
|
:param export_vertex_color: Use Vertex Color, How to export vertex color
|
|
492
492
|
|
|
493
493
|
MATERIAL
|
|
@@ -500,51 +500,51 @@ def gltf(
|
|
|
500
500
|
None -- Do not export vertex color.
|
|
501
501
|
:type export_vertex_color: str | None
|
|
502
502
|
:param export_all_vertex_colors: Export all vertex colors, Export all vertex colors, even if not used by any material. If no Vertex Color is used in the mesh materials, a fake COLOR_0 will be created, in order to keep material unchanged
|
|
503
|
-
:type export_all_vertex_colors: bool |
|
|
503
|
+
:type export_all_vertex_colors: bool | None
|
|
504
504
|
:param export_active_vertex_color_when_no_material: Export active vertex color when no material, When there is no material on object, export active vertex color
|
|
505
|
-
:type export_active_vertex_color_when_no_material: bool |
|
|
505
|
+
:type export_active_vertex_color_when_no_material: bool | None
|
|
506
506
|
:param export_attributes: Attributes, Export Attributes (when starting with underscore)
|
|
507
|
-
:type export_attributes: bool |
|
|
507
|
+
:type export_attributes: bool | None
|
|
508
508
|
:param use_mesh_edges: Loose Edges, Export loose edges as lines, using the material from the first material slot
|
|
509
|
-
:type use_mesh_edges: bool |
|
|
509
|
+
:type use_mesh_edges: bool | None
|
|
510
510
|
:param use_mesh_vertices: Loose Points, Export loose points as glTF points, using the material from the first material slot
|
|
511
|
-
:type use_mesh_vertices: bool |
|
|
511
|
+
:type use_mesh_vertices: bool | None
|
|
512
512
|
:param export_cameras: Cameras, Export cameras
|
|
513
|
-
:type export_cameras: bool |
|
|
513
|
+
:type export_cameras: bool | None
|
|
514
514
|
:param use_selection: Selected Objects, Export selected objects only
|
|
515
|
-
:type use_selection: bool |
|
|
515
|
+
:type use_selection: bool | None
|
|
516
516
|
:param use_visible: Visible Objects, Export visible objects only
|
|
517
|
-
:type use_visible: bool |
|
|
517
|
+
:type use_visible: bool | None
|
|
518
518
|
:param use_renderable: Renderable Objects, Export renderable objects only
|
|
519
|
-
:type use_renderable: bool |
|
|
519
|
+
:type use_renderable: bool | None
|
|
520
520
|
:param use_active_collection_with_nested: Include Nested Collections, Include active collection and nested collections
|
|
521
|
-
:type use_active_collection_with_nested: bool |
|
|
521
|
+
:type use_active_collection_with_nested: bool | None
|
|
522
522
|
:param use_active_collection: Active Collection, Export objects in the active collection only
|
|
523
|
-
:type use_active_collection: bool |
|
|
523
|
+
:type use_active_collection: bool | None
|
|
524
524
|
:param use_active_scene: Active Scene, Export active scene only
|
|
525
|
-
:type use_active_scene: bool |
|
|
525
|
+
:type use_active_scene: bool | None
|
|
526
526
|
:param collection: Source Collection, Export only objects from this collection (and its children)
|
|
527
|
-
:type collection: str
|
|
527
|
+
:type collection: str
|
|
528
528
|
:param at_collection_center: Export at Collection Center, Export at Collection center of mass of root objects of the collection
|
|
529
|
-
:type at_collection_center: bool |
|
|
529
|
+
:type at_collection_center: bool | None
|
|
530
530
|
:param export_extras: Custom Properties, Export custom properties as glTF extras
|
|
531
|
-
:type export_extras: bool |
|
|
531
|
+
:type export_extras: bool | None
|
|
532
532
|
:param export_yup: +Y Up, Export using glTF convention, +Y up
|
|
533
|
-
:type export_yup: bool |
|
|
533
|
+
:type export_yup: bool | None
|
|
534
534
|
:param export_apply: Apply Modifiers, Apply modifiers (excluding Armatures) to mesh objects -WARNING: prevents exporting shape keys
|
|
535
|
-
:type export_apply: bool |
|
|
535
|
+
:type export_apply: bool | None
|
|
536
536
|
:param export_shared_accessors: Shared Accessors, Export Primitives using shared accessors for attributes
|
|
537
|
-
:type export_shared_accessors: bool |
|
|
537
|
+
:type export_shared_accessors: bool | None
|
|
538
538
|
:param export_animations: Animations, Exports active actions and NLA tracks as glTF animations
|
|
539
|
-
:type export_animations: bool |
|
|
539
|
+
:type export_animations: bool | None
|
|
540
540
|
:param export_frame_range: Limit to Playback Range, Clips animations to selected playback range
|
|
541
|
-
:type export_frame_range: bool |
|
|
541
|
+
:type export_frame_range: bool | None
|
|
542
542
|
:param export_frame_step: Sampling Rate, How often to evaluate animated values (in frames)
|
|
543
|
-
:type export_frame_step:
|
|
543
|
+
:type export_frame_step: int | None
|
|
544
544
|
:param export_force_sampling: Always Sample Animations, Apply sampling to all animations
|
|
545
|
-
:type export_force_sampling: bool |
|
|
545
|
+
:type export_force_sampling: bool | None
|
|
546
546
|
:param export_pointer_animation: Export Animation Pointer (Experimental), Export material, Light & Camera animation as Animation Pointer
|
|
547
|
-
:type export_pointer_animation: bool |
|
|
547
|
+
:type export_pointer_animation: bool | None
|
|
548
548
|
:param export_animation_mode: Animation mode, Export Animation mode
|
|
549
549
|
|
|
550
550
|
ACTIONS
|
|
@@ -563,25 +563,25 @@ def gltf(
|
|
|
563
563
|
Scene -- Export baked scene as a single animation.
|
|
564
564
|
:type export_animation_mode: str | None
|
|
565
565
|
:param export_nla_strips_merged_animation_name: Merged Animation Name, Name of single glTF animation to be exported
|
|
566
|
-
:type export_nla_strips_merged_animation_name: str
|
|
566
|
+
:type export_nla_strips_merged_animation_name: str
|
|
567
567
|
:param export_def_bones: Export Deformation Bones Only, Export Deformation bones only
|
|
568
|
-
:type export_def_bones: bool |
|
|
568
|
+
:type export_def_bones: bool | None
|
|
569
569
|
:param export_hierarchy_flatten_bones: Flatten Bone Hierarchy, Flatten Bone Hierarchy. Useful in case of non decomposable transformation matrix
|
|
570
|
-
:type export_hierarchy_flatten_bones: bool |
|
|
570
|
+
:type export_hierarchy_flatten_bones: bool | None
|
|
571
571
|
:param export_hierarchy_flatten_objs: Flatten Object Hierarchy, Flatten Object Hierarchy. Useful in case of non decomposable transformation matrix
|
|
572
|
-
:type export_hierarchy_flatten_objs: bool |
|
|
572
|
+
:type export_hierarchy_flatten_objs: bool | None
|
|
573
573
|
:param export_armature_object_remove: Remove Armature Object, Remove Armature object if possible. If Armature has multiple root bones, object will not be removed
|
|
574
|
-
:type export_armature_object_remove: bool |
|
|
574
|
+
:type export_armature_object_remove: bool | None
|
|
575
575
|
: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)
|
|
576
|
-
:type export_leaf_bone: bool |
|
|
576
|
+
:type export_leaf_bone: bool | None
|
|
577
577
|
:param export_optimize_animation_size: Optimize Animation Size, Reduce exported file size by removing duplicate keyframes
|
|
578
|
-
:type export_optimize_animation_size: bool |
|
|
578
|
+
:type export_optimize_animation_size: bool | None
|
|
579
579
|
: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)
|
|
580
|
-
:type export_optimize_animation_keep_anim_armature: bool |
|
|
580
|
+
:type export_optimize_animation_keep_anim_armature: bool | None
|
|
581
581
|
: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
|
|
582
|
-
:type export_optimize_animation_keep_anim_object: bool |
|
|
582
|
+
:type export_optimize_animation_keep_anim_object: bool | None
|
|
583
583
|
:param export_optimize_disable_viewport: Disable viewport for other objects, When exporting animations, disable viewport for other objects, for performance
|
|
584
|
-
:type export_optimize_disable_viewport: bool |
|
|
584
|
+
:type export_optimize_disable_viewport: bool | None
|
|
585
585
|
:param export_negative_frame: Negative Frames, Negative Frames are slid or cropped
|
|
586
586
|
|
|
587
587
|
SLIDE
|
|
@@ -591,59 +591,59 @@ def gltf(
|
|
|
591
591
|
Crop -- Keep only frames above frame 0.
|
|
592
592
|
:type export_negative_frame: str | None
|
|
593
593
|
: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
|
|
594
|
-
:type export_anim_slide_to_zero: bool |
|
|
594
|
+
:type export_anim_slide_to_zero: bool | None
|
|
595
595
|
: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
|
|
596
|
-
:type export_bake_animation: bool |
|
|
596
|
+
:type export_bake_animation: bool | None
|
|
597
597
|
: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
|
|
598
|
-
:type export_anim_single_armature: bool |
|
|
598
|
+
:type export_anim_single_armature: bool | None
|
|
599
599
|
: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
|
|
600
|
-
:type export_reset_pose_bones: bool |
|
|
600
|
+
:type export_reset_pose_bones: bool | None
|
|
601
601
|
: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
|
|
602
|
-
:type export_current_frame: bool |
|
|
602
|
+
:type export_current_frame: bool | None
|
|
603
603
|
: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
|
|
604
|
-
:type export_rest_position_armature: bool |
|
|
604
|
+
:type export_rest_position_armature: bool | None
|
|
605
605
|
:param export_anim_scene_split_object: Split Animation by Object, Export Scene as seen in Viewport, But split animation by Object
|
|
606
|
-
:type export_anim_scene_split_object: bool |
|
|
606
|
+
:type export_anim_scene_split_object: bool | None
|
|
607
607
|
:param export_skins: Skinning, Export skinning (armature) data
|
|
608
|
-
:type export_skins: bool |
|
|
608
|
+
:type export_skins: bool | None
|
|
609
609
|
:param export_influence_nb: Bone Influences, Choose how many Bone influences to export
|
|
610
|
-
:type export_influence_nb:
|
|
610
|
+
:type export_influence_nb: int | None
|
|
611
611
|
:param export_all_influences: Include All Bone Influences, Allow export of all joint vertex influences. Models may appear incorrectly in many viewers
|
|
612
|
-
:type export_all_influences: bool |
|
|
612
|
+
:type export_all_influences: bool | None
|
|
613
613
|
:param export_morph: Shape Keys, Export shape keys (morph targets)
|
|
614
|
-
:type export_morph: bool |
|
|
614
|
+
:type export_morph: bool | None
|
|
615
615
|
:param export_morph_normal: Shape Key Normals, Export vertex normals with shape keys (morph targets)
|
|
616
|
-
:type export_morph_normal: bool |
|
|
616
|
+
:type export_morph_normal: bool | None
|
|
617
617
|
:param export_morph_tangent: Shape Key Tangents, Export vertex tangents with shape keys (morph targets)
|
|
618
|
-
:type export_morph_tangent: bool |
|
|
618
|
+
:type export_morph_tangent: bool | None
|
|
619
619
|
:param export_morph_animation: Shape Key Animations, Export shape keys animations (morph targets)
|
|
620
|
-
:type export_morph_animation: bool |
|
|
620
|
+
:type export_morph_animation: bool | None
|
|
621
621
|
: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
|
|
622
|
-
:type export_morph_reset_sk_data: bool |
|
|
622
|
+
:type export_morph_reset_sk_data: bool | None
|
|
623
623
|
:param export_lights: Punctual Lights, Export directional, point, and spot lights. Uses "KHR_lights_punctual" glTF extension
|
|
624
|
-
:type export_lights: bool |
|
|
624
|
+
:type export_lights: bool | None
|
|
625
625
|
:param export_try_sparse_sk: Use Sparse Accessor if better, Try using Sparse Accessor if it saves space
|
|
626
|
-
:type export_try_sparse_sk: bool |
|
|
626
|
+
:type export_try_sparse_sk: bool | None
|
|
627
627
|
:param export_try_omit_sparse_sk: Omitting Sparse Accessor if data is empty, Omitting Sparse Accessor if data is empty
|
|
628
|
-
:type export_try_omit_sparse_sk: bool |
|
|
628
|
+
:type export_try_omit_sparse_sk: bool | None
|
|
629
629
|
:param export_gpu_instances: GPU Instances, Export using EXT_mesh_gpu_instancing. Limited to children of a given Empty. Multiple materials might be omitted
|
|
630
|
-
:type export_gpu_instances: bool |
|
|
630
|
+
:type export_gpu_instances: bool | None
|
|
631
631
|
:param export_action_filter: Filter Actions, Filter Actions to be exported
|
|
632
|
-
:type export_action_filter: bool |
|
|
632
|
+
:type export_action_filter: bool | None
|
|
633
633
|
:param export_convert_animation_pointer: Convert TRS/weights to Animation Pointer, Export TRS and weights as Animation Pointer. Using KHR_animation_pointer extension
|
|
634
|
-
:type export_convert_animation_pointer: bool |
|
|
634
|
+
:type export_convert_animation_pointer: bool | None
|
|
635
635
|
: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
|
|
636
|
-
:type export_nla_strips: bool |
|
|
636
|
+
:type export_nla_strips: bool | None
|
|
637
637
|
:param export_original_specular: Export original PBR Specular, Export original glTF PBR Specular, instead of Blender Principled Shader Specular
|
|
638
|
-
:type export_original_specular: bool |
|
|
638
|
+
:type export_original_specular: bool | None
|
|
639
639
|
:param will_save_settings: Remember Export Settings, Store glTF export settings in the Blender project
|
|
640
|
-
:type will_save_settings: bool |
|
|
640
|
+
:type will_save_settings: bool | None
|
|
641
641
|
:param export_hierarchy_full_collections: Full Collection Hierarchy, Export full hierarchy, including intermediate collections
|
|
642
|
-
:type export_hierarchy_full_collections: bool |
|
|
642
|
+
:type export_hierarchy_full_collections: bool | None
|
|
643
643
|
: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
|
|
644
|
-
:type export_extra_animations: bool |
|
|
644
|
+
:type export_extra_animations: bool | None
|
|
645
645
|
:param filter_glob: filter_glob
|
|
646
|
-
:type filter_glob: str
|
|
646
|
+
:type filter_glob: str
|
|
647
647
|
"""
|
|
648
648
|
|
|
649
649
|
...
|