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,58 +1,78 @@
1
- import sys
2
1
  import typing
3
2
  import bpy.types
4
3
 
5
4
  GenericType = typing.TypeVar("GenericType")
6
5
 
7
6
  def bvh(
8
- override_context: typing.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
11
  filter_glob: typing.Union[str, typing.Any] = "*.bvh",
16
- target: typing.Optional[typing.Any] = "ARMATURE",
17
- global_scale: typing.Optional[typing.Any] = 1.0,
18
- frame_start: typing.Optional[typing.Any] = 1,
19
- use_fps_scale: typing.Optional[typing.Union[bool, typing.Any]] = False,
20
- update_scene_fps: typing.Optional[typing.Union[bool, typing.Any]] = False,
21
- update_scene_duration: typing.Optional[typing.Union[bool, typing.Any]] = False,
22
- use_cyclic: typing.Optional[typing.Union[bool, typing.Any]] = False,
23
- rotate_mode: typing.Optional[typing.Any] = "NATIVE",
24
- axis_forward: typing.Optional[typing.Any] = "-Z",
25
- axis_up: typing.Optional[typing.Any] = "Y",
12
+ target: typing.Any = "ARMATURE",
13
+ global_scale: typing.Any = 1.0,
14
+ frame_start: typing.Any = 1,
15
+ use_fps_scale: typing.Union[bool, typing.Any] = False,
16
+ update_scene_fps: typing.Union[bool, typing.Any] = False,
17
+ update_scene_duration: typing.Union[bool, typing.Any] = False,
18
+ use_cyclic: typing.Union[bool, typing.Any] = False,
19
+ rotate_mode: typing.Any = "NATIVE",
20
+ axis_forward: typing.Any = "-Z",
21
+ axis_up: typing.Any = "Y",
26
22
  ):
27
- """Load a BVH motion capture file :File: `addons/io_anim_bvh/__init__.py\:116 <https://projects.blender.org/blender/blender-addons/addons/io_anim_bvh/__init__.py#L116>`__
28
-
29
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
30
- :type execution_context: typing.Optional[typing.Union[str, int]]
31
- :type undo: typing.Optional[bool]
32
- :param filepath: File Path, Filepath used for importing the file
33
- :type filepath: typing.Union[str, typing.Any]
34
- :param filter_glob: filter_glob
35
- :type filter_glob: typing.Union[str, typing.Any]
36
- :param target: Target, Import target type
37
- :type target: typing.Optional[typing.Any]
38
- :param global_scale: Scale, Scale the BVH by this value
39
- :type global_scale: typing.Optional[typing.Any]
40
- :param frame_start: Start Frame, Starting frame for the animation
41
- :type frame_start: typing.Optional[typing.Any]
42
- :param use_fps_scale: Scale FPS, Scale the framerate from the BVH to the current scenes, otherwise each BVH frame maps directly to a Blender frame
43
- :type use_fps_scale: typing.Optional[typing.Union[bool, typing.Any]]
44
- :param update_scene_fps: 1)
45
- :type update_scene_fps: typing.Optional[typing.Union[bool, typing.Any]]
46
- :param update_scene_duration: Update Scene Duration, Extend the scene's duration to the BVH duration (never shortens the scene)
47
- :type update_scene_duration: typing.Optional[typing.Union[bool, typing.Any]]
48
- :param use_cyclic: Loop, Loop the animation playback
49
- :type use_cyclic: typing.Optional[typing.Union[bool, typing.Any]]
50
- :param rotate_mode: Rotation, Rotation conversion * ``QUATERNION`` Quaternion -- Convert rotations to quaternions. * ``NATIVE`` Euler (Native) -- Use the rotation order defined in the BVH file. * ``XYZ`` Euler (XYZ) -- Convert rotations to euler XYZ. * ``XZY`` Euler (XZY) -- Convert rotations to euler XZY. * ``YXZ`` Euler (YXZ) -- Convert rotations to euler YXZ. * ``YZX`` Euler (YZX) -- Convert rotations to euler YZX. * ``ZXY`` Euler (ZXY) -- Convert rotations to euler ZXY. * ``ZYX`` Euler (ZYX) -- Convert rotations to euler ZYX.
51
- :type rotate_mode: typing.Optional[typing.Any]
52
- :param axis_forward: Forward
53
- :type axis_forward: typing.Optional[typing.Any]
54
- :param axis_up: Up
55
- :type axis_up: typing.Optional[typing.Any]
23
+ """Load a BVH motion capture file
24
+
25
+ :type override_context: typing.Union[dict, bpy.types.Context]
26
+ :type execution_context: typing.Union[str, int]
27
+ :type undo: bool
28
+ :param filepath: File Path, Filepath used for importing the file
29
+ :type filepath: typing.Union[str, typing.Any]
30
+ :param filter_glob: filter_glob
31
+ :type filter_glob: typing.Union[str, typing.Any]
32
+ :param target: Target, Import target type
33
+ :type target: typing.Any
34
+ :param global_scale: Scale, Scale the BVH by this value
35
+ :type global_scale: typing.Any
36
+ :param frame_start: Start Frame, Starting frame for the animation
37
+ :type frame_start: typing.Any
38
+ :param use_fps_scale: Scale FPS, Scale the framerate from the BVH to the current scenes, otherwise each BVH frame maps directly to a Blender frame
39
+ :type use_fps_scale: typing.Union[bool, typing.Any]
40
+ :param update_scene_fps: Update Scene FPS, Set the scene framerate to that of the BVH file (note that this nullifies the 'Scale FPS' option, as the scale will be 1:1)
41
+ :type update_scene_fps: typing.Union[bool, typing.Any]
42
+ :param update_scene_duration: Update Scene Duration, Extend the scene's duration to the BVH duration (never shortens the scene)
43
+ :type update_scene_duration: typing.Union[bool, typing.Any]
44
+ :param use_cyclic: Loop, Loop the animation playback
45
+ :type use_cyclic: typing.Union[bool, typing.Any]
46
+ :param rotate_mode: Rotation, Rotation conversion
47
+
48
+ QUATERNION
49
+ Quaternion -- Convert rotations to quaternions.
50
+
51
+ NATIVE
52
+ Euler (Native) -- Use the rotation order defined in the BVH file.
53
+
54
+ XYZ
55
+ Euler (XYZ) -- Convert rotations to euler XYZ.
56
+
57
+ XZY
58
+ Euler (XZY) -- Convert rotations to euler XZY.
59
+
60
+ YXZ
61
+ Euler (YXZ) -- Convert rotations to euler YXZ.
62
+
63
+ YZX
64
+ Euler (YZX) -- Convert rotations to euler YZX.
65
+
66
+ ZXY
67
+ Euler (ZXY) -- Convert rotations to euler ZXY.
68
+
69
+ ZYX
70
+ Euler (ZYX) -- Convert rotations to euler ZYX.
71
+ :type rotate_mode: typing.Any
72
+ :param axis_forward: Forward
73
+ :type axis_forward: typing.Any
74
+ :param axis_up: Up
75
+ :type axis_up: typing.Any
56
76
  """
57
77
 
58
78
  ...
@@ -1,24 +1,20 @@
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 svg(
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
11
  filter_glob: typing.Union[str, typing.Any] = "*.svg",
16
12
  ):
17
- """Load a SVG file :File: `addons/io_curve_svg/__init__.py\:40 <https://projects.blender.org/blender/blender-addons/addons/io_curve_svg/__init__.py#L40>`__
13
+ """Load a SVG file
18
14
 
19
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
20
- :type execution_context: typing.Optional[typing.Union[str, int]]
21
- :type undo: typing.Optional[bool]
15
+ :type override_context: typing.Union[dict, bpy.types.Context]
16
+ :type execution_context: typing.Union[str, int]
17
+ :type undo: bool
22
18
  :param filepath: File Path, Filepath used for importing the file
23
19
  :type filepath: typing.Union[str, typing.Any]
24
20
  :param filter_glob: filter_glob
@@ -1,51 +1,45 @@
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 stl(
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
11
  filter_glob: typing.Union[str, typing.Any] = "*.stl",
16
- files: typing.Optional[
17
- bpy.types.bpy_prop_collection["bpy.types.OperatorFileListElement"]
18
- ] = None,
12
+ files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement] = None,
19
13
  directory: typing.Union[str, typing.Any] = "",
20
- global_scale: typing.Optional[typing.Any] = 1.0,
21
- use_scene_unit: typing.Optional[typing.Union[bool, typing.Any]] = False,
22
- use_facet_normal: typing.Optional[typing.Union[bool, typing.Any]] = False,
23
- axis_forward: typing.Optional[typing.Any] = "Y",
24
- axis_up: typing.Optional[typing.Any] = "Z",
14
+ global_scale: typing.Any = 1.0,
15
+ use_scene_unit: typing.Union[bool, typing.Any] = False,
16
+ use_facet_normal: typing.Union[bool, typing.Any] = False,
17
+ axis_forward: typing.Any = "Y",
18
+ axis_up: typing.Any = "Z",
25
19
  ):
26
- """Load STL triangle mesh data :File: `addons/io_mesh_stl/__init__.py\:97 <https://projects.blender.org/blender/blender-addons/addons/io_mesh_stl/__init__.py#L97>`__
20
+ """Load STL triangle mesh data
27
21
 
28
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
29
- :type execution_context: typing.Optional[typing.Union[str, int]]
30
- :type undo: typing.Optional[bool]
22
+ :type override_context: typing.Union[dict, bpy.types.Context]
23
+ :type execution_context: typing.Union[str, int]
24
+ :type undo: bool
31
25
  :param filepath: File Path, Filepath used for importing the file
32
26
  :type filepath: typing.Union[str, typing.Any]
33
27
  :param filter_glob: filter_glob
34
28
  :type filter_glob: typing.Union[str, typing.Any]
35
29
  :param files: File Path
36
- :type files: typing.Optional[bpy.types.bpy_prop_collection['bpy.types.OperatorFileListElement']]
30
+ :type files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement]
37
31
  :param directory: directory
38
32
  :type directory: typing.Union[str, typing.Any]
39
33
  :param global_scale: Scale
40
- :type global_scale: typing.Optional[typing.Any]
34
+ :type global_scale: typing.Any
41
35
  :param use_scene_unit: Scene Unit, Apply current scene's unit (as defined by unit scale) to imported data
42
- :type use_scene_unit: typing.Optional[typing.Union[bool, typing.Any]]
36
+ :type use_scene_unit: typing.Union[bool, typing.Any]
43
37
  :param use_facet_normal: Facet Normals, Use (import) facet normals (note that this will still give flat shading)
44
- :type use_facet_normal: typing.Optional[typing.Union[bool, typing.Any]]
38
+ :type use_facet_normal: typing.Union[bool, typing.Any]
45
39
  :param axis_forward: Forward
46
- :type axis_forward: typing.Optional[typing.Any]
40
+ :type axis_forward: typing.Any
47
41
  :param axis_up: Up
48
- :type axis_up: typing.Optional[typing.Any]
42
+ :type axis_up: typing.Any
49
43
  """
50
44
 
51
45
  ...
@@ -1,185 +1,202 @@
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
11
  directory: typing.Union[str, typing.Any] = "",
16
12
  filter_glob: typing.Union[str, typing.Any] = "*.fbx",
17
- files: typing.Optional[
18
- bpy.types.bpy_prop_collection["bpy.types.OperatorFileListElement"]
19
- ] = None,
20
- ui_tab: typing.Optional[typing.Any] = "MAIN",
21
- use_manual_orientation: typing.Optional[typing.Union[bool, typing.Any]] = False,
22
- global_scale: typing.Optional[typing.Any] = 1.0,
23
- bake_space_transform: typing.Optional[typing.Union[bool, typing.Any]] = False,
24
- use_custom_normals: typing.Optional[typing.Union[bool, typing.Any]] = True,
25
- colors_type: typing.Optional[typing.Any] = "SRGB",
26
- use_image_search: typing.Optional[typing.Union[bool, typing.Any]] = True,
27
- use_alpha_decals: typing.Optional[typing.Union[bool, typing.Any]] = False,
28
- decal_offset: typing.Optional[typing.Any] = 0.0,
29
- use_anim: typing.Optional[typing.Union[bool, typing.Any]] = True,
30
- anim_offset: typing.Optional[typing.Any] = 1.0,
31
- use_subsurf: typing.Optional[typing.Union[bool, typing.Any]] = False,
32
- use_custom_props: typing.Optional[typing.Union[bool, typing.Any]] = True,
33
- use_custom_props_enum_as_string: typing.Optional[
34
- typing.Union[bool, typing.Any]
35
- ] = True,
36
- ignore_leaf_bones: typing.Optional[typing.Union[bool, typing.Any]] = False,
37
- force_connect_children: typing.Optional[typing.Union[bool, typing.Any]] = False,
38
- automatic_bone_orientation: typing.Optional[typing.Union[bool, typing.Any]] = False,
39
- primary_bone_axis: typing.Optional[typing.Any] = "Y",
40
- secondary_bone_axis: typing.Optional[typing.Any] = "X",
41
- use_prepost_rot: typing.Optional[typing.Union[bool, typing.Any]] = True,
42
- axis_forward: typing.Optional[typing.Any] = "-Z",
43
- axis_up: typing.Optional[typing.Any] = "Y",
13
+ files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement] = None,
14
+ ui_tab: typing.Any = "MAIN",
15
+ use_manual_orientation: typing.Union[bool, typing.Any] = False,
16
+ global_scale: typing.Any = 1.0,
17
+ bake_space_transform: typing.Union[bool, typing.Any] = False,
18
+ use_custom_normals: typing.Union[bool, typing.Any] = True,
19
+ colors_type: typing.Any = "SRGB",
20
+ use_image_search: typing.Union[bool, typing.Any] = True,
21
+ use_alpha_decals: typing.Union[bool, typing.Any] = False,
22
+ decal_offset: typing.Any = 0.0,
23
+ use_anim: typing.Union[bool, typing.Any] = True,
24
+ anim_offset: typing.Any = 1.0,
25
+ use_subsurf: typing.Union[bool, typing.Any] = False,
26
+ use_custom_props: typing.Union[bool, typing.Any] = True,
27
+ use_custom_props_enum_as_string: typing.Union[bool, typing.Any] = True,
28
+ ignore_leaf_bones: typing.Union[bool, typing.Any] = False,
29
+ force_connect_children: typing.Union[bool, typing.Any] = False,
30
+ automatic_bone_orientation: typing.Union[bool, typing.Any] = False,
31
+ primary_bone_axis: typing.Any = "Y",
32
+ secondary_bone_axis: typing.Any = "X",
33
+ use_prepost_rot: typing.Union[bool, typing.Any] = True,
34
+ axis_forward: typing.Any = "-Z",
35
+ axis_up: typing.Any = "Y",
44
36
  ):
45
- """Load a FBX file :File: `addons/io_scene_fbx/__init__.py\:198 <https://projects.blender.org/blender/blender-addons/addons/io_scene_fbx/__init__.py#L198>`__
37
+ """Load a FBX file
46
38
 
47
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
48
- :type execution_context: typing.Optional[typing.Union[str, int]]
49
- :type undo: typing.Optional[bool]
50
- :param filepath: File Path, Filepath used for importing the file
51
- :type filepath: typing.Union[str, typing.Any]
52
- :param directory: directory
53
- :type directory: typing.Union[str, typing.Any]
54
- :param filter_glob: filter_glob
55
- :type filter_glob: typing.Union[str, typing.Any]
56
- :param files: File Path
57
- :type files: typing.Optional[bpy.types.bpy_prop_collection['bpy.types.OperatorFileListElement']]
58
- :param ui_tab: ui_tab, Import options categories * ``MAIN`` Main -- Main basic settings. * ``ARMATURE`` Armatures -- Armature-related settings.
59
- :type ui_tab: typing.Optional[typing.Any]
60
- :param use_manual_orientation: Manual Orientation, Specify orientation and scale, instead of using embedded data in FBX file
61
- :type use_manual_orientation: typing.Optional[typing.Union[bool, typing.Any]]
62
- :param global_scale: Scale
63
- :type global_scale: typing.Optional[typing.Any]
64
- :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)
65
- :type bake_space_transform: typing.Optional[typing.Union[bool, typing.Any]]
66
- :param use_custom_normals: Custom Normals, Import custom normals, if available (otherwise Blender will recompute them)
67
- :type use_custom_normals: typing.Optional[typing.Union[bool, typing.Any]]
68
- :param colors_type: Vertex Colors, Import vertex color attributes * ``NONE`` None -- Do not import color attributes. * ``SRGB`` sRGB -- Expect file colors in sRGB color space. * ``LINEAR`` Linear -- Expect file colors in linear color space.
69
- :type colors_type: typing.Optional[typing.Any]
70
- :param use_image_search: may be slow)
71
- :type use_image_search: typing.Optional[typing.Union[bool, typing.Any]]
72
- :param use_alpha_decals: Alpha Decals, Treat materials with alpha as decals (no shadow casting)
73
- :type use_alpha_decals: typing.Optional[typing.Union[bool, typing.Any]]
74
- :param decal_offset: Decal Offset, Displace geometry of alpha meshes
75
- :type decal_offset: typing.Optional[typing.Any]
76
- :param use_anim: Import Animation, Import FBX animation
77
- :type use_anim: typing.Optional[typing.Union[bool, typing.Any]]
78
- :param anim_offset: Animation Offset, Offset to apply to animation during import, in frames
79
- :type anim_offset: typing.Optional[typing.Any]
80
- :param use_subsurf: Subdivision Data, Import FBX subdivision information as subdivision surface modifiers
81
- :type use_subsurf: typing.Optional[typing.Union[bool, typing.Any]]
82
- :param use_custom_props: Custom Properties, Import user properties as custom properties
83
- :type use_custom_props: typing.Optional[typing.Union[bool, typing.Any]]
84
- :param use_custom_props_enum_as_string: Import Enums As Strings, Store enumeration values as strings
85
- :type use_custom_props_enum_as_string: typing.Optional[typing.Union[bool, typing.Any]]
86
- :param ignore_leaf_bones: Ignore Leaf Bones, Ignore the last bone at the end of each chain (used to mark the length of the previous bone)
87
- :type ignore_leaf_bones: typing.Optional[typing.Union[bool, typing.Any]]
88
- :param force_connect_children: Force Connect Children, Force connection of children bones to their parent, even if their computed head/tail positions do not match (can be useful with pure-joints-type armatures)
89
- :type force_connect_children: typing.Optional[typing.Union[bool, typing.Any]]
90
- :param automatic_bone_orientation: Automatic Bone Orientation, Try to align the major bone axis with the bone children
91
- :type automatic_bone_orientation: typing.Optional[typing.Union[bool, typing.Any]]
92
- :param primary_bone_axis: Primary Bone Axis
93
- :type primary_bone_axis: typing.Optional[typing.Any]
94
- :param secondary_bone_axis: Secondary Bone Axis
95
- :type secondary_bone_axis: typing.Optional[typing.Any]
96
- :param use_prepost_rot: Use Pre/Post Rotation, Use pre/post rotation from FBX transform (you may have to disable that in some cases)
97
- :type use_prepost_rot: typing.Optional[typing.Union[bool, typing.Any]]
98
- :param axis_forward: Forward
99
- :type axis_forward: typing.Optional[typing.Any]
100
- :param axis_up: Up
101
- :type axis_up: typing.Optional[typing.Any]
39
+ :type override_context: typing.Union[dict, bpy.types.Context]
40
+ :type execution_context: typing.Union[str, int]
41
+ :type undo: bool
42
+ :param filepath: File Path, Filepath used for importing the file
43
+ :type filepath: typing.Union[str, typing.Any]
44
+ :param directory: directory
45
+ :type directory: typing.Union[str, typing.Any]
46
+ :param filter_glob: filter_glob
47
+ :type filter_glob: typing.Union[str, typing.Any]
48
+ :param files: File Path
49
+ :type files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement]
50
+ :param ui_tab: ui_tab, Import options categories
51
+
52
+ MAIN
53
+ Main -- Main basic settings.
54
+
55
+ ARMATURE
56
+ Armatures -- Armature-related settings.
57
+ :type ui_tab: typing.Any
58
+ :param use_manual_orientation: Manual Orientation, Specify orientation and scale, instead of using embedded data in FBX file
59
+ :type use_manual_orientation: typing.Union[bool, typing.Any]
60
+ :param global_scale: Scale
61
+ :type global_scale: typing.Any
62
+ :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)
63
+ :type bake_space_transform: typing.Union[bool, typing.Any]
64
+ :param use_custom_normals: Custom Normals, Import custom normals, if available (otherwise Blender will recompute them)
65
+ :type use_custom_normals: typing.Union[bool, typing.Any]
66
+ :param colors_type: Vertex Colors, Import vertex color attributes
67
+
68
+ NONE
69
+ None -- Do not import color attributes.
70
+
71
+ SRGB
72
+ sRGB -- Expect file colors in sRGB color space.
73
+
74
+ LINEAR
75
+ Linear -- Expect file colors in linear color space.
76
+ :type colors_type: typing.Any
77
+ :param use_image_search: Image Search, Search subdirs for any associated images (WARNING: may be slow)
78
+ :type use_image_search: typing.Union[bool, typing.Any]
79
+ :param use_alpha_decals: Alpha Decals, Treat materials with alpha as decals (no shadow casting)
80
+ :type use_alpha_decals: typing.Union[bool, typing.Any]
81
+ :param decal_offset: Decal Offset, Displace geometry of alpha meshes
82
+ :type decal_offset: typing.Any
83
+ :param use_anim: Import Animation, Import FBX animation
84
+ :type use_anim: typing.Union[bool, typing.Any]
85
+ :param anim_offset: Animation Offset, Offset to apply to animation during import, in frames
86
+ :type anim_offset: typing.Any
87
+ :param use_subsurf: Subdivision Data, Import FBX subdivision information as subdivision surface modifiers
88
+ :type use_subsurf: typing.Union[bool, typing.Any]
89
+ :param use_custom_props: Custom Properties, Import user properties as custom properties
90
+ :type use_custom_props: typing.Union[bool, typing.Any]
91
+ :param use_custom_props_enum_as_string: Import Enums As Strings, Store enumeration values as strings
92
+ :type use_custom_props_enum_as_string: typing.Union[bool, typing.Any]
93
+ :param ignore_leaf_bones: Ignore Leaf Bones, Ignore the last bone at the end of each chain (used to mark the length of the previous bone)
94
+ :type ignore_leaf_bones: typing.Union[bool, typing.Any]
95
+ :param force_connect_children: Force Connect Children, Force connection of children bones to their parent, even if their computed head/tail positions do not match (can be useful with pure-joints-type armatures)
96
+ :type force_connect_children: typing.Union[bool, typing.Any]
97
+ :param automatic_bone_orientation: Automatic Bone Orientation, Try to align the major bone axis with the bone children
98
+ :type automatic_bone_orientation: typing.Union[bool, typing.Any]
99
+ :param primary_bone_axis: Primary Bone Axis
100
+ :type primary_bone_axis: typing.Any
101
+ :param secondary_bone_axis: Secondary Bone Axis
102
+ :type secondary_bone_axis: typing.Any
103
+ :param use_prepost_rot: Use Pre/Post Rotation, Use pre/post rotation from FBX transform (you may have to disable that in some cases)
104
+ :type use_prepost_rot: typing.Union[bool, typing.Any]
105
+ :param axis_forward: Forward
106
+ :type axis_forward: typing.Any
107
+ :param axis_up: Up
108
+ :type axis_up: typing.Any
102
109
  """
103
110
 
104
111
  ...
105
112
 
106
113
  def gltf(
107
- override_context: typing.Optional[
108
- typing.Union[typing.Dict, "bpy.types.Context"]
109
- ] = None,
110
- execution_context: typing.Optional[typing.Union[str, int]] = None,
111
- undo: typing.Optional[bool] = None,
112
- *,
114
+ override_context: typing.Union[dict, bpy.types.Context] = None,
115
+ execution_context: typing.Union[str, int] = None,
116
+ undo: bool = None,
113
117
  filepath: typing.Union[str, typing.Any] = "",
114
- export_import_convert_lighting_mode: typing.Optional[typing.Any] = "SPEC",
118
+ export_import_convert_lighting_mode: typing.Any = "SPEC",
115
119
  filter_glob: typing.Union[str, typing.Any] = "*.glb;*.gltf",
116
- files: typing.Optional[
117
- bpy.types.bpy_prop_collection["bpy.types.OperatorFileListElement"]
118
- ] = None,
119
- loglevel: typing.Optional[typing.Any] = 0,
120
- import_pack_images: typing.Optional[typing.Union[bool, typing.Any]] = True,
121
- merge_vertices: typing.Optional[typing.Union[bool, typing.Any]] = False,
122
- import_shading: typing.Optional[typing.Any] = "NORMALS",
123
- bone_heuristic: typing.Optional[typing.Any] = "BLENDER",
124
- guess_original_bind_pose: typing.Optional[typing.Union[bool, typing.Any]] = True,
125
- import_webp_texture: typing.Optional[typing.Union[bool, typing.Any]] = False,
120
+ files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement] = None,
121
+ loglevel: typing.Any = 0,
122
+ import_pack_images: typing.Union[bool, typing.Any] = True,
123
+ merge_vertices: typing.Union[bool, typing.Any] = False,
124
+ import_shading: typing.Any = "NORMALS",
125
+ bone_heuristic: typing.Any = "BLENDER",
126
+ guess_original_bind_pose: typing.Union[bool, typing.Any] = True,
127
+ import_webp_texture: typing.Union[bool, typing.Any] = False,
126
128
  ):
127
- """Load a glTF 2.0 file :File: `addons/io_scene_gltf2/__init__.py\:1993 <https://projects.blender.org/blender/blender-addons/addons/io_scene_gltf2/__init__.py#L1993>`__
129
+ """Load a glTF 2.0 file
128
130
 
129
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
130
- :type execution_context: typing.Optional[typing.Union[str, int]]
131
- :type undo: typing.Optional[bool]
132
- :param filepath: File Path, Filepath used for importing the file
133
- :type filepath: typing.Union[str, typing.Any]
134
- :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.
135
- :type export_import_convert_lighting_mode: typing.Optional[typing.Any]
136
- :param filter_glob: filter_glob
137
- :type filter_glob: typing.Union[str, typing.Any]
138
- :param files: File Path
139
- :type files: typing.Optional[bpy.types.bpy_prop_collection['bpy.types.OperatorFileListElement']]
140
- :param loglevel: Log Level, Log Level
141
- :type loglevel: typing.Optional[typing.Any]
142
- :param import_pack_images: Pack Images, Pack all images into .blend file
143
- :type import_pack_images: typing.Optional[typing.Union[bool, typing.Any]]
144
- :param merge_vertices: Merge Vertices, The glTF format requires discontinuous normals, UVs, and other vertex attributes to be stored as separate vertices, as required for rendering on typical graphics hardware. This option attempts to combine co-located vertices where possible. Currently cannot combine verts with different normals
145
- :type merge_vertices: typing.Optional[typing.Union[bool, typing.Any]]
146
- :param import_shading: Shading, How normals are computed during import
147
- :type import_shading: typing.Optional[typing.Any]
148
- :param bone_heuristic: Bone Dir, Heuristic for placing bones. Tries to make bones pretty * ``BLENDER`` Blender (best for import/export round trip) -- Good for re-importing glTFs exported from Blender, and re-exporting glTFs to glTFs after Blender editing. Bone tips are placed on their local +Y axis (in glTF space). * ``TEMPERANCE`` Temperance (average) -- Decent all-around strategy. A bone with one child has its tip placed on the local axis closest to its child. * ``FORTUNE`` Fortune (may look better, less accurate) -- Might look better than Temperance, but also might have errors. A bone with one child has its tip placed at its child's root. Non-uniform scalings may get messed up though, so beware.
149
- :type bone_heuristic: typing.Optional[typing.Any]
150
- :param guess_original_bind_pose: Guess Original Bind Pose, Try to guess the original bind pose for skinned meshes from the inverse bind matrices. When off, use default/rest pose as bind pose
151
- :type guess_original_bind_pose: typing.Optional[typing.Union[bool, typing.Any]]
152
- :param import_webp_texture: Import WebP textures, If a texture exists in WebP format, loads the WebP texture instead of the fallback PNG/JPEG one
153
- :type import_webp_texture: typing.Optional[typing.Union[bool, typing.Any]]
131
+ :type override_context: typing.Union[dict, bpy.types.Context]
132
+ :type execution_context: typing.Union[str, int]
133
+ :type undo: bool
134
+ :param filepath: File Path, Filepath used for importing the file
135
+ :type filepath: typing.Union[str, typing.Any]
136
+ :param export_import_convert_lighting_mode: Lighting Mode, Optional backwards compatibility for non-standard render engines. Applies to lights
137
+
138
+ SPEC
139
+ Standard -- Physically-based glTF lighting units (cd, lx, nt).
140
+
141
+ COMPAT
142
+ Unitless -- Non-physical, unitless lighting. Useful when exposure controls are not available.
143
+
144
+ RAW
145
+ Raw (Deprecated) -- Blender lighting strengths with no conversion.
146
+ :type export_import_convert_lighting_mode: typing.Any
147
+ :param filter_glob: filter_glob
148
+ :type filter_glob: typing.Union[str, typing.Any]
149
+ :param files: File Path
150
+ :type files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement]
151
+ :param loglevel: Log Level, Log Level
152
+ :type loglevel: typing.Any
153
+ :param import_pack_images: Pack Images, Pack all images into .blend file
154
+ :type import_pack_images: typing.Union[bool, typing.Any]
155
+ :param merge_vertices: Merge Vertices, The glTF format requires discontinuous normals, UVs, and other vertex attributes to be stored as separate vertices, as required for rendering on typical graphics hardware. This option attempts to combine co-located vertices where possible. Currently cannot combine verts with different normals
156
+ :type merge_vertices: typing.Union[bool, typing.Any]
157
+ :param import_shading: Shading, How normals are computed during import
158
+ :type import_shading: typing.Any
159
+ :param bone_heuristic: Bone Dir, Heuristic for placing bones. Tries to make bones pretty
160
+
161
+ BLENDER
162
+ Blender (best for import/export round trip) -- Good for re-importing glTFs exported from Blender, and re-exporting glTFs to glTFs after Blender editing. Bone tips are placed on their local +Y axis (in glTF space).
163
+
164
+ TEMPERANCE
165
+ Temperance (average) -- Decent all-around strategy. A bone with one child has its tip placed on the local axis closest to its child.
166
+
167
+ FORTUNE
168
+ Fortune (may look better, less accurate) -- Might look better than Temperance, but also might have errors. A bone with one child has its tip placed at its child's root. Non-uniform scalings may get messed up though, so beware.
169
+ :type bone_heuristic: typing.Any
170
+ :param guess_original_bind_pose: Guess Original Bind Pose, Try to guess the original bind pose for skinned meshes from the inverse bind matrices. When off, use default/rest pose as bind pose
171
+ :type guess_original_bind_pose: typing.Union[bool, typing.Any]
172
+ :param import_webp_texture: Import WebP textures, If a texture exists in WebP format, loads the WebP texture instead of the fallback PNG/JPEG one
173
+ :type import_webp_texture: typing.Union[bool, typing.Any]
154
174
  """
155
175
 
156
176
  ...
157
177
 
158
178
  def x3d(
159
- override_context: typing.Optional[
160
- typing.Union[typing.Dict, "bpy.types.Context"]
161
- ] = None,
162
- execution_context: typing.Optional[typing.Union[str, int]] = None,
163
- undo: typing.Optional[bool] = None,
164
- *,
179
+ override_context: typing.Union[dict, bpy.types.Context] = None,
180
+ execution_context: typing.Union[str, int] = None,
181
+ undo: bool = None,
165
182
  filepath: typing.Union[str, typing.Any] = "",
166
183
  filter_glob: typing.Union[str, typing.Any] = "*.x3d;*.wrl",
167
- axis_forward: typing.Optional[typing.Any] = "Z",
168
- axis_up: typing.Optional[typing.Any] = "Y",
184
+ axis_forward: typing.Any = "Z",
185
+ axis_up: typing.Any = "Y",
169
186
  ):
170
- """Import an X3D or VRML2 file :File: `addons/io_scene_x3d/__init__.py\:50 <https://projects.blender.org/blender/blender-addons/addons/io_scene_x3d/__init__.py#L50>`__
187
+ """Import an X3D or VRML2 file
171
188
 
172
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
173
- :type execution_context: typing.Optional[typing.Union[str, int]]
174
- :type undo: typing.Optional[bool]
189
+ :type override_context: typing.Union[dict, bpy.types.Context]
190
+ :type execution_context: typing.Union[str, int]
191
+ :type undo: bool
175
192
  :param filepath: File Path, Filepath used for importing the file
176
193
  :type filepath: typing.Union[str, typing.Any]
177
194
  :param filter_glob: filter_glob
178
195
  :type filter_glob: typing.Union[str, typing.Any]
179
196
  :param axis_forward: Forward
180
- :type axis_forward: typing.Optional[typing.Any]
197
+ :type axis_forward: typing.Any
181
198
  :param axis_up: Up
182
- :type axis_up: typing.Optional[typing.Any]
199
+ :type axis_up: typing.Any
183
200
  """
184
201
 
185
202
  ...