fake-bpy-module 20240210__py3-none-any.whl → 20240326__py3-none-any.whl

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