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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (293) hide show
  1. addon_utils/__init__.pyi +54 -10
  2. animsys_refactor/__init__.pyi +36 -6
  3. aud/__init__.pyi +132 -125
  4. bgl/__init__.pyi +2545 -546
  5. bl_app_override/__init__.pyi +14 -3
  6. bl_app_override/helpers/__init__.pyi +24 -2
  7. bl_app_template_utils/__init__.pyi +19 -4
  8. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +24 -5
  9. bl_console_utils/autocomplete/complete_import/__init__.pyi +14 -3
  10. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +24 -5
  11. bl_console_utils/autocomplete/intellisense/__init__.pyi +9 -2
  12. bl_i18n_utils/bl_extract_messages/__init__.pyi +74 -15
  13. bl_i18n_utils/merge_po/__init__.pyi +4 -1
  14. bl_i18n_utils/settings/__init__.pyi +53 -6
  15. bl_i18n_utils/utils/__init__.pyi +332 -44
  16. bl_i18n_utils/utils_cli/__init__.pyi +29 -6
  17. bl_i18n_utils/utils_languages_menu/__init__.pyi +4 -1
  18. bl_i18n_utils/utils_rtl/__init__.pyi +9 -2
  19. bl_keymap_utils/io/__init__.pyi +44 -9
  20. bl_keymap_utils/keymap_from_toolbar/__init__.pyi +4 -1
  21. bl_keymap_utils/keymap_hierarchy/__init__.pyi +4 -1
  22. bl_keymap_utils/platform_helpers/__init__.pyi +9 -2
  23. bl_keymap_utils/versioning/__init__.pyi +4 -1
  24. bl_math/__init__.pyi +3 -3
  25. bl_operators/__init__.pyi +9 -2
  26. bl_operators/add_mesh_torus/__init__.pyi +171 -37
  27. bl_operators/anim/__init__.pyi +1065 -226
  28. bl_operators/assets/__init__.pyi +427 -92
  29. bl_operators/bmesh/find_adjacent/__init__.pyi +44 -9
  30. bl_operators/clip/__init__.pyi +1342 -287
  31. bl_operators/console/__init__.pyi +647 -140
  32. bl_operators/constraint/__init__.pyi +524 -112
  33. bl_operators/file/__init__.pyi +396 -84
  34. bl_operators/freestyle/__init__.pyi +532 -113
  35. bl_operators/geometry_nodes/__init__.pyi +2412 -596
  36. bl_operators/image/__init__.pyi +380 -82
  37. bl_operators/mesh/__init__.pyi +401 -85
  38. bl_operators/node/__init__.pyi +1756 -384
  39. bl_operators/object/__init__.pyi +2022 -552
  40. bl_operators/object_align/__init__.pyi +145 -31
  41. bl_operators/object_quick_effects/__init__.pyi +555 -124
  42. bl_operators/object_randomize_transform/__init__.pyi +136 -32
  43. bl_operators/presets/__init__.pyi +3516 -708
  44. bl_operators/rigidbody/__init__.pyi +401 -85
  45. bl_operators/screen_play_rendered_anim/__init__.pyi +129 -29
  46. bl_operators/sequencer/__init__.pyi +731 -149
  47. bl_operators/spreadsheet/__init__.pyi +145 -30
  48. bl_operators/userpref/__init__.pyi +3416 -824
  49. bl_operators/uvcalc_follow_active/__init__.pyi +149 -32
  50. bl_operators/uvcalc_lightmap/__init__.pyi +187 -34
  51. bl_operators/uvcalc_transform/__init__.pyi +344 -73
  52. bl_operators/vertexpaint_dirt/__init__.pyi +140 -30
  53. bl_operators/view3d/__init__.pyi +697 -146
  54. bl_operators/wm/__init__.pyi +6287 -1533
  55. bl_previews_utils/bl_previews_render/__init__.pyi +34 -7
  56. bl_rna_utils/data_path/__init__.pyi +12 -2
  57. bl_text_utils/external_editor/__init__.pyi +4 -1
  58. bl_ui/__init__.pyi +504 -106
  59. bl_ui/anim/__init__.pyi +164 -33
  60. bl_ui/asset_shelf/__init__.pyi +146 -31
  61. bl_ui/generic_ui_list/__init__.pyi +471 -99
  62. bl_ui/node_add_menu/__init__.pyi +196 -40
  63. bl_ui/node_add_menu_compositor/__init__.pyi +3017 -621
  64. bl_ui/node_add_menu_geometry/__init__.pyi +8060 -1625
  65. bl_ui/node_add_menu_shader/__init__.pyi +1709 -348
  66. bl_ui/node_add_menu_texture/__init__.pyi +1502 -305
  67. bl_ui/properties_animviz/__init__.pyi +32 -2
  68. bl_ui/properties_collection/__init__.pyi +787 -179
  69. bl_ui/properties_constraint/__init__.pyi +28635 -5523
  70. bl_ui/properties_data_armature/__init__.pyi +1905 -448
  71. bl_ui/properties_data_bone/__init__.pyi +1560 -336
  72. bl_ui/properties_data_camera/__init__.pyi +2269 -494
  73. bl_ui/properties_data_curve/__init__.pyi +2362 -534
  74. bl_ui/properties_data_curves/__init__.pyi +951 -203
  75. bl_ui/properties_data_empty/__init__.pyi +317 -69
  76. bl_ui/properties_data_gpencil/__init__.pyi +2924 -734
  77. bl_ui/properties_data_grease_pencil/__init__.pyi +1631 -188
  78. bl_ui/properties_data_lattice/__init__.pyi +472 -104
  79. bl_ui/properties_data_light/__init__.pyi +1570 -337
  80. bl_ui/properties_data_lightprobe/__init__.pyi +938 -208
  81. bl_ui/properties_data_mesh/__init__.pyi +3205 -767
  82. bl_ui/properties_data_metaball/__init__.pyi +774 -170
  83. bl_ui/properties_data_modifier/__init__.pyi +1554 -328
  84. bl_ui/properties_data_pointcloud/__init__.pyi +821 -194
  85. bl_ui/properties_data_shaderfx/__init__.pyi +154 -34
  86. bl_ui/properties_data_speaker/__init__.pyi +782 -168
  87. bl_ui/properties_data_volume/__init__.pyi +1243 -281
  88. bl_ui/properties_freestyle/__init__.pyi +4071 -1030
  89. bl_ui/properties_grease_pencil_common/__init__.pyi +2399 -483
  90. bl_ui/properties_mask_common/__init__.pyi +1256 -249
  91. bl_ui/properties_material/__init__.pyi +2351 -542
  92. bl_ui/properties_material_gpencil/__init__.pyi +1590 -365
  93. bl_ui/properties_object/__init__.pyi +2179 -512
  94. bl_ui/properties_output/__init__.pyi +2956 -705
  95. bl_ui/properties_paint_common/__init__.pyi +947 -140
  96. bl_ui/properties_particle/__init__.pyi +8322 -1970
  97. bl_ui/properties_physics_cloth/__init__.pyi +2254 -508
  98. bl_ui/properties_physics_common/__init__.pyi +200 -44
  99. bl_ui/properties_physics_dynamicpaint/__init__.pyi +4454 -965
  100. bl_ui/properties_physics_field/__init__.pyi +1695 -364
  101. bl_ui/properties_physics_fluid/__init__.pyi +6127 -1280
  102. bl_ui/properties_physics_geometry_nodes/__init__.pyi +157 -32
  103. bl_ui/properties_physics_rigidbody/__init__.pyi +1254 -278
  104. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2053 -483
  105. bl_ui/properties_physics_softbody/__init__.pyi +2394 -542
  106. bl_ui/properties_render/__init__.pyi +8312 -1933
  107. bl_ui/properties_scene/__init__.pyi +2211 -539
  108. bl_ui/properties_texture/__init__.pyi +4185 -1013
  109. bl_ui/properties_view_layer/__init__.pyi +2803 -664
  110. bl_ui/properties_workspace/__init__.pyi +626 -148
  111. bl_ui/properties_world/__init__.pyi +1092 -234
  112. bl_ui/space_clip/__init__.pyi +11475 -2805
  113. bl_ui/space_console/__init__.pyi +967 -202
  114. bl_ui/space_dopesheet/__init__.pyi +4260 -966
  115. bl_ui/space_filebrowser/__init__.pyi +4852 -1187
  116. bl_ui/space_graph/__init__.pyi +3251 -702
  117. bl_ui/space_image/__init__.pyi +12219 -2968
  118. bl_ui/space_info/__init__.pyi +964 -200
  119. bl_ui/space_nla/__init__.pyi +2756 -584
  120. bl_ui/space_node/__init__.pyi +5661 -1265
  121. bl_ui/space_outliner/__init__.pyi +2294 -478
  122. bl_ui/space_properties/__init__.pyi +417 -92
  123. bl_ui/space_sequencer/__init__.pyi +12436 -3009
  124. bl_ui/space_spreadsheet/__init__.pyi +184 -36
  125. bl_ui/space_statusbar/__init__.pyi +135 -30
  126. bl_ui/space_text/__init__.pyi +2556 -542
  127. bl_ui/space_time/__init__.pyi +1151 -243
  128. bl_ui/space_toolsystem_common/__init__.pyi +368 -66
  129. bl_ui/space_toolsystem_toolbar/__init__.pyi +1378 -228
  130. bl_ui/space_topbar/__init__.pyi +4214 -887
  131. bl_ui/space_userpref/__init__.pyi +13920 -3468
  132. bl_ui/space_view3d/__init__.pyi +43701 -10599
  133. bl_ui/space_view3d_toolbar/__init__.pyi +16380 -3860
  134. bl_ui/utils/__init__.pyi +42 -4
  135. bl_ui_utils/bug_report_url/__init__.pyi +4 -1
  136. bl_ui_utils/layout/__init__.pyi +4 -1
  137. blend_render_info/__init__.pyi +13 -3
  138. blf/__init__.pyi +5 -7
  139. bmesh/__init__.pyi +7 -7
  140. bmesh/geometry/__init__.pyi +5 -5
  141. bmesh/ops/__init__.pyi +490 -504
  142. bmesh/types/__init__.pyi +268 -262
  143. bmesh/utils/__init__.pyi +55 -55
  144. bpy/__init__.pyi +2 -2
  145. bpy/app/__init__.pyi +4 -5
  146. bpy/app/handlers/__init__.pyi +36 -36
  147. bpy/app/icons/__init__.pyi +8 -10
  148. bpy/app/timers/__init__.pyi +9 -11
  149. bpy/app/translations/__init__.pyi +20 -22
  150. bpy/msgbus/__init__.pyi +3 -12
  151. bpy/ops/action/__init__.pyi +350 -305
  152. bpy/ops/anim/__init__.pyi +464 -426
  153. bpy/ops/armature/__init__.pyi +392 -360
  154. bpy/ops/asset/__init__.pyi +166 -129
  155. bpy/ops/boid/__init__.pyi +64 -37
  156. bpy/ops/brush/__init__.pyi +78 -72
  157. bpy/ops/buttons/__init__.pyi +136 -122
  158. bpy/ops/cachefile/__init__.pyi +128 -123
  159. bpy/ops/camera/__init__.pyi +22 -24
  160. bpy/ops/clip/__init__.pyi +844 -735
  161. bpy/ops/cloth/__init__.pyi +10 -11
  162. bpy/ops/collection/__init__.pyi +38 -38
  163. bpy/ops/console/__init__.pyi +170 -141
  164. bpy/ops/constraint/__init__.pyi +156 -159
  165. bpy/ops/curve/__init__.pyi +518 -461
  166. bpy/ops/curves/__init__.pyi +188 -159
  167. bpy/ops/cycles/__init__.pyi +20 -18
  168. bpy/ops/dpaint/__init__.pyi +40 -30
  169. bpy/ops/ed/__init__.pyi +136 -107
  170. bpy/ops/export_anim/__init__.pyi +18 -19
  171. bpy/ops/export_mesh/__init__.pyi +26 -27
  172. bpy/ops/export_scene/__init__.pyi +313 -334
  173. bpy/ops/file/__init__.pyi +394 -304
  174. bpy/ops/fluid/__init__.pyi +114 -63
  175. bpy/ops/font/__init__.pyi +272 -245
  176. bpy/ops/geometry/__init__.pyi +92 -87
  177. bpy/ops/gizmogroup/__init__.pyi +24 -21
  178. bpy/ops/gpencil/__init__.pyi +1530 -1476
  179. bpy/ops/graph/__init__.pyi +680 -659
  180. bpy/ops/grease_pencil/__init__.pyi +510 -390
  181. bpy/ops/image/__init__.pyi +650 -603
  182. bpy/ops/import_anim/__init__.pyi +26 -27
  183. bpy/ops/import_curve/__init__.pyi +6 -7
  184. bpy/ops/import_mesh/__init__.pyi +18 -21
  185. bpy/ops/import_scene/__init__.pyi +86 -95
  186. bpy/ops/info/__init__.pyi +68 -55
  187. bpy/ops/lattice/__init__.pyi +70 -63
  188. bpy/ops/marker/__init__.pyi +110 -111
  189. bpy/ops/mask/__init__.pyi +352 -308
  190. bpy/ops/material/__init__.pyi +24 -12
  191. bpy/ops/mball/__init__.pyi +72 -75
  192. bpy/ops/mesh/__init__.pyi +2052 -2088
  193. bpy/ops/nla/__init__.pyi +369 -313
  194. bpy/ops/node/__init__.pyi +944 -805
  195. bpy/ops/object/__init__.pyi +2662 -2461
  196. bpy/ops/outliner/__init__.pyi +582 -431
  197. bpy/ops/paint/__init__.pyi +605 -516
  198. bpy/ops/paintcurve/__init__.pyi +72 -60
  199. bpy/ops/palette/__init__.pyi +54 -46
  200. bpy/ops/particle/__init__.pyi +302 -245
  201. bpy/ops/pose/__init__.pyi +366 -330
  202. bpy/ops/poselib/__init__.pyi +78 -64
  203. bpy/ops/preferences/__init__.pyi +361 -341
  204. bpy/ops/ptcache/__init__.pyi +56 -38
  205. bpy/ops/render/__init__.pyi +120 -117
  206. bpy/ops/rigidbody/__init__.pyi +114 -97
  207. bpy/ops/scene/__init__.pyi +302 -240
  208. bpy/ops/screen/__init__.pyi +414 -363
  209. bpy/ops/script/__init__.pyi +20 -18
  210. bpy/ops/sculpt/__init__.pyi +414 -452
  211. bpy/ops/sculpt_curves/__init__.pyi +42 -43
  212. bpy/ops/sequencer/__init__.pyi +1094 -1053
  213. bpy/ops/sound/__init__.pyi +214 -206
  214. bpy/ops/spreadsheet/__init__.pyi +34 -28
  215. bpy/ops/surface/__init__.pyi +108 -114
  216. bpy/ops/text/__init__.pyi +432 -350
  217. bpy/ops/text_editor/__init__.pyi +10 -11
  218. bpy/ops/texture/__init__.pyi +32 -21
  219. bpy/ops/transform/__init__.pyi +801 -854
  220. bpy/ops/ui/__init__.pyi +254 -185
  221. bpy/ops/uilist/__init__.pyi +20 -23
  222. bpy/ops/uv/__init__.pyi +618 -626
  223. bpy/ops/view2d/__init__.pyi +162 -161
  224. bpy/ops/view3d/__init__.pyi +669 -658
  225. bpy/ops/wm/__init__.pyi +2433 -2415
  226. bpy/ops/workspace/__init__.pyi +54 -31
  227. bpy/ops/world/__init__.pyi +8 -4
  228. bpy/path/__init__.pyi +111 -68
  229. bpy/props/__init__.pyi +263 -267
  230. bpy/types/__init__.pyi +86789 -85719
  231. bpy/utils/__init__.pyi +265 -123
  232. bpy/utils/previews/__init__.pyi +103 -17
  233. bpy/utils/units/__init__.pyi +19 -22
  234. bpy_extras/__init__.pyi +0 -4
  235. bpy_extras/anim_utils/__init__.pyi +11 -46
  236. bpy_extras/asset_utils/__init__.pyi +3 -12
  237. bpy_extras/id_map_utils/__init__.pyi +0 -2
  238. bpy_extras/image_utils/__init__.pyi +2 -2
  239. bpy_extras/io_utils/__init__.pyi +30 -27
  240. bpy_extras/keyconfig_utils/__init__.pyi +4 -1
  241. bpy_extras/mesh_utils/__init__.pyi +18 -18
  242. bpy_extras/node_utils/__init__.pyi +4 -3
  243. bpy_extras/object_utils/__init__.pyi +25 -26
  244. bpy_extras/view3d_utils/__init__.pyi +33 -38
  245. bpy_restrict_state/__init__.pyi +14 -1
  246. bpy_types/__init__.pyi +3873 -997
  247. console_python/__init__.pyi +41 -7
  248. console_shell/__init__.pyi +24 -5
  249. {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/METADATA +1 -1
  250. fake_bpy_module-20240326.dist-info/RECORD +343 -0
  251. {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/WHEEL +1 -1
  252. freestyle/chainingiterators/__init__.pyi +50 -52
  253. freestyle/functions/__init__.pyi +303 -207
  254. freestyle/predicates/__init__.pyi +299 -115
  255. freestyle/shaders/__init__.pyi +49 -80
  256. freestyle/types/__init__.pyi +465 -472
  257. freestyle/utils/ContextFunctions/__init__.pyi +9 -9
  258. freestyle/utils/__init__.pyi +28 -18
  259. gpu/capabilities/__init__.pyi +27 -19
  260. gpu/matrix/__init__.pyi +14 -16
  261. gpu/platform/__init__.pyi +5 -5
  262. gpu/shader/__init__.pyi +2 -5
  263. gpu/state/__init__.pyi +1 -1
  264. gpu/texture/__init__.pyi +3 -3
  265. gpu/types/__init__.pyi +54 -85
  266. gpu_extras/batch/__init__.pyi +27 -5
  267. gpu_extras/presets/__init__.pyi +52 -14
  268. graphviz_export/__init__.pyi +9 -2
  269. idprop/types/__init__.pyi +36 -12
  270. imbuf/__init__.pyi +8 -9
  271. imbuf/types/__init__.pyi +8 -15
  272. keyingsets_builtins/__init__.pyi +3149 -701
  273. keyingsets_utils/__init__.pyi +69 -14
  274. mathutils/__init__.pyi +502 -427
  275. mathutils/bvhtree/__init__.pyi +28 -32
  276. mathutils/geometry/__init__.pyi +177 -186
  277. mathutils/kdtree/__init__.pyi +16 -18
  278. mathutils/noise/__init__.pyi +47 -48
  279. nodeitems_builtins/__init__.pyi +50 -10
  280. nodeitems_utils/__init__.pyi +58 -10
  281. rna_info/__init__.pyi +230 -26
  282. rna_keymap_ui/__init__.pyi +29 -6
  283. rna_prop_ui/__init__.pyi +69 -12
  284. rna_xml/__init__.pyi +29 -6
  285. sys_info/__init__.pyi +4 -1
  286. bpy_extras/bmesh_utils/__init__.pyi +0 -6
  287. bpy_extras/extensions/__init__.pyi +0 -4
  288. bpy_extras/extensions/junction_module/__init__.pyi +0 -12
  289. bpy_extras/node_shader_utils/__init__.pyi +0 -131
  290. bpy_extras/wm_utils/__init__.pyi +0 -4
  291. bpy_extras/wm_utils/progress_report/__init__.pyi +0 -29
  292. fake_bpy_module-20240224.dist-info/RECORD +0 -349
  293. {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/top_level.txt +0 -0
@@ -4,46 +4,45 @@ import bpy.types
4
4
  GenericType = typing.TypeVar("GenericType")
5
5
 
6
6
  def bvh(
7
- override_context=None,
8
- execution_context=None,
9
- undo=None,
10
- *,
7
+ override_context: typing.Union[dict, bpy.types.Context] = None,
8
+ execution_context: typing.Union[str, int] = None,
9
+ undo: bool = None,
11
10
  filepath: typing.Union[str, typing.Any] = "",
12
11
  filter_glob: typing.Union[str, typing.Any] = "*.bvh",
13
- target: typing.Optional[typing.Any] = "ARMATURE",
14
- global_scale: typing.Optional[typing.Any] = 1.0,
15
- frame_start: typing.Optional[typing.Any] = 1,
16
- use_fps_scale: typing.Optional[typing.Union[bool, typing.Any]] = False,
17
- update_scene_fps: typing.Optional[typing.Union[bool, typing.Any]] = False,
18
- update_scene_duration: typing.Optional[typing.Union[bool, typing.Any]] = False,
19
- use_cyclic: typing.Optional[typing.Union[bool, typing.Any]] = False,
20
- rotate_mode: typing.Optional[typing.Any] = "NATIVE",
21
- axis_forward: typing.Optional[typing.Any] = "-Z",
22
- 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",
23
22
  ):
24
23
  """Load a BVH motion capture file
25
24
 
26
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
27
- :type execution_context: typing.Optional[typing.Union[int, str]]
28
- :type undo: typing.Optional[bool]
25
+ :type override_context: typing.Union[dict, bpy.types.Context]
26
+ :type execution_context: typing.Union[str, int]
27
+ :type undo: bool
29
28
  :param filepath: File Path, Filepath used for importing the file
30
29
  :type filepath: typing.Union[str, typing.Any]
31
30
  :param filter_glob: filter_glob
32
31
  :type filter_glob: typing.Union[str, typing.Any]
33
32
  :param target: Target, Import target type
34
- :type target: typing.Optional[typing.Any]
33
+ :type target: typing.Any
35
34
  :param global_scale: Scale, Scale the BVH by this value
36
- :type global_scale: typing.Optional[typing.Any]
35
+ :type global_scale: typing.Any
37
36
  :param frame_start: Start Frame, Starting frame for the animation
38
- :type frame_start: typing.Optional[typing.Any]
37
+ :type frame_start: typing.Any
39
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
40
- :type use_fps_scale: typing.Optional[typing.Union[bool, typing.Any]]
39
+ :type use_fps_scale: typing.Union[bool, typing.Any]
41
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)
42
- :type update_scene_fps: typing.Optional[typing.Union[bool, typing.Any]]
41
+ :type update_scene_fps: typing.Union[bool, typing.Any]
43
42
  :param update_scene_duration: Update Scene Duration, Extend the scene's duration to the BVH duration (never shortens the scene)
44
- :type update_scene_duration: typing.Optional[typing.Union[bool, typing.Any]]
43
+ :type update_scene_duration: typing.Union[bool, typing.Any]
45
44
  :param use_cyclic: Loop, Loop the animation playback
46
- :type use_cyclic: typing.Optional[typing.Union[bool, typing.Any]]
45
+ :type use_cyclic: typing.Union[bool, typing.Any]
47
46
  :param rotate_mode: Rotation, Rotation conversion
48
47
 
49
48
  QUATERNION
@@ -69,11 +68,11 @@ def bvh(
69
68
 
70
69
  ZYX
71
70
  Euler (ZYX) -- Convert rotations to euler ZYX.
72
- :type rotate_mode: typing.Optional[typing.Any]
71
+ :type rotate_mode: typing.Any
73
72
  :param axis_forward: Forward
74
- :type axis_forward: typing.Optional[typing.Any]
73
+ :type axis_forward: typing.Any
75
74
  :param axis_up: Up
76
- :type axis_up: typing.Optional[typing.Any]
75
+ :type axis_up: typing.Any
77
76
  """
78
77
 
79
78
  ...
@@ -4,18 +4,17 @@ import bpy.types
4
4
  GenericType = typing.TypeVar("GenericType")
5
5
 
6
6
  def svg(
7
- override_context=None,
8
- execution_context=None,
9
- undo=None,
10
- *,
7
+ override_context: typing.Union[dict, bpy.types.Context] = None,
8
+ execution_context: typing.Union[str, int] = None,
9
+ undo: bool = None,
11
10
  filepath: typing.Union[str, typing.Any] = "",
12
11
  filter_glob: typing.Union[str, typing.Any] = "*.svg",
13
12
  ):
14
13
  """Load a SVG file
15
14
 
16
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
17
- :type execution_context: typing.Optional[typing.Union[int, str]]
18
- :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
19
18
  :param filepath: File Path, Filepath used for importing the file
20
19
  :type filepath: typing.Union[str, typing.Any]
21
20
  :param filter_glob: filter_glob
@@ -4,45 +4,42 @@ import bpy.types
4
4
  GenericType = typing.TypeVar("GenericType")
5
5
 
6
6
  def stl(
7
- override_context=None,
8
- execution_context=None,
9
- undo=None,
10
- *,
7
+ override_context: typing.Union[dict, bpy.types.Context] = None,
8
+ execution_context: typing.Union[str, int] = None,
9
+ undo: bool = None,
11
10
  filepath: typing.Union[str, typing.Any] = "",
12
11
  filter_glob: typing.Union[str, typing.Any] = "*.stl",
13
- files: typing.Optional[
14
- bpy.types.bpy_prop_collection["bpy.types.OperatorFileListElement"]
15
- ] = None,
12
+ files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement] = None,
16
13
  directory: typing.Union[str, typing.Any] = "",
17
- global_scale: typing.Optional[typing.Any] = 1.0,
18
- use_scene_unit: typing.Optional[typing.Union[bool, typing.Any]] = False,
19
- use_facet_normal: typing.Optional[typing.Union[bool, typing.Any]] = False,
20
- axis_forward: typing.Optional[typing.Any] = "Y",
21
- 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",
22
19
  ):
23
20
  """Load STL triangle mesh data
24
21
 
25
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
26
- :type execution_context: typing.Optional[typing.Union[int, str]]
27
- :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
28
25
  :param filepath: File Path, Filepath used for importing the file
29
26
  :type filepath: typing.Union[str, typing.Any]
30
27
  :param filter_glob: filter_glob
31
28
  :type filter_glob: typing.Union[str, typing.Any]
32
29
  :param files: File Path
33
- :type files: typing.Optional[bpy.types.bpy_prop_collection['bpy.types.OperatorFileListElement']]
30
+ :type files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement]
34
31
  :param directory: directory
35
32
  :type directory: typing.Union[str, typing.Any]
36
33
  :param global_scale: Scale
37
- :type global_scale: typing.Optional[typing.Any]
34
+ :type global_scale: typing.Any
38
35
  :param use_scene_unit: Scene Unit, Apply current scene's unit (as defined by unit scale) to imported data
39
- :type use_scene_unit: typing.Optional[typing.Union[bool, typing.Any]]
36
+ :type use_scene_unit: typing.Union[bool, typing.Any]
40
37
  :param use_facet_normal: Facet Normals, Use (import) facet normals (note that this will still give flat shading)
41
- :type use_facet_normal: typing.Optional[typing.Union[bool, typing.Any]]
38
+ :type use_facet_normal: typing.Union[bool, typing.Any]
42
39
  :param axis_forward: Forward
43
- :type axis_forward: typing.Optional[typing.Any]
40
+ :type axis_forward: typing.Any
44
41
  :param axis_up: Up
45
- :type axis_up: typing.Optional[typing.Any]
42
+ :type axis_up: typing.Any
46
43
  """
47
44
 
48
45
  ...
@@ -4,46 +4,41 @@ import bpy.types
4
4
  GenericType = typing.TypeVar("GenericType")
5
5
 
6
6
  def fbx(
7
- override_context=None,
8
- execution_context=None,
9
- undo=None,
10
- *,
7
+ override_context: typing.Union[dict, bpy.types.Context] = None,
8
+ execution_context: typing.Union[str, int] = None,
9
+ undo: bool = None,
11
10
  filepath: typing.Union[str, typing.Any] = "",
12
11
  directory: typing.Union[str, typing.Any] = "",
13
12
  filter_glob: typing.Union[str, typing.Any] = "*.fbx",
14
- files: typing.Optional[
15
- bpy.types.bpy_prop_collection["bpy.types.OperatorFileListElement"]
16
- ] = None,
17
- ui_tab: typing.Optional[typing.Any] = "MAIN",
18
- use_manual_orientation: typing.Optional[typing.Union[bool, typing.Any]] = False,
19
- global_scale: typing.Optional[typing.Any] = 1.0,
20
- bake_space_transform: typing.Optional[typing.Union[bool, typing.Any]] = False,
21
- use_custom_normals: typing.Optional[typing.Union[bool, typing.Any]] = True,
22
- colors_type: typing.Optional[typing.Any] = "SRGB",
23
- use_image_search: typing.Optional[typing.Union[bool, typing.Any]] = True,
24
- use_alpha_decals: typing.Optional[typing.Union[bool, typing.Any]] = False,
25
- decal_offset: typing.Optional[typing.Any] = 0.0,
26
- use_anim: typing.Optional[typing.Union[bool, typing.Any]] = True,
27
- anim_offset: typing.Optional[typing.Any] = 1.0,
28
- use_subsurf: typing.Optional[typing.Union[bool, typing.Any]] = False,
29
- use_custom_props: typing.Optional[typing.Union[bool, typing.Any]] = True,
30
- use_custom_props_enum_as_string: typing.Optional[
31
- typing.Union[bool, typing.Any]
32
- ] = True,
33
- ignore_leaf_bones: typing.Optional[typing.Union[bool, typing.Any]] = False,
34
- force_connect_children: typing.Optional[typing.Union[bool, typing.Any]] = False,
35
- automatic_bone_orientation: typing.Optional[typing.Union[bool, typing.Any]] = False,
36
- primary_bone_axis: typing.Optional[typing.Any] = "Y",
37
- secondary_bone_axis: typing.Optional[typing.Any] = "X",
38
- use_prepost_rot: typing.Optional[typing.Union[bool, typing.Any]] = True,
39
- axis_forward: typing.Optional[typing.Any] = "-Z",
40
- 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",
41
36
  ):
42
37
  """Load a FBX file
43
38
 
44
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
45
- :type execution_context: typing.Optional[typing.Union[int, str]]
46
- :type undo: typing.Optional[bool]
39
+ :type override_context: typing.Union[dict, bpy.types.Context]
40
+ :type execution_context: typing.Union[str, int]
41
+ :type undo: bool
47
42
  :param filepath: File Path, Filepath used for importing the file
48
43
  :type filepath: typing.Union[str, typing.Any]
49
44
  :param directory: directory
@@ -51,7 +46,7 @@ def fbx(
51
46
  :param filter_glob: filter_glob
52
47
  :type filter_glob: typing.Union[str, typing.Any]
53
48
  :param files: File Path
54
- :type files: typing.Optional[bpy.types.bpy_prop_collection['bpy.types.OperatorFileListElement']]
49
+ :type files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement]
55
50
  :param ui_tab: ui_tab, Import options categories
56
51
 
57
52
  MAIN
@@ -59,15 +54,15 @@ def fbx(
59
54
 
60
55
  ARMATURE
61
56
  Armatures -- Armature-related settings.
62
- :type ui_tab: typing.Optional[typing.Any]
57
+ :type ui_tab: typing.Any
63
58
  :param use_manual_orientation: Manual Orientation, Specify orientation and scale, instead of using embedded data in FBX file
64
- :type use_manual_orientation: typing.Optional[typing.Union[bool, typing.Any]]
59
+ :type use_manual_orientation: typing.Union[bool, typing.Any]
65
60
  :param global_scale: Scale
66
- :type global_scale: typing.Optional[typing.Any]
61
+ :type global_scale: typing.Any
67
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)
68
- :type bake_space_transform: typing.Optional[typing.Union[bool, typing.Any]]
63
+ :type bake_space_transform: typing.Union[bool, typing.Any]
69
64
  :param use_custom_normals: Custom Normals, Import custom normals, if available (otherwise Blender will recompute them)
70
- :type use_custom_normals: typing.Optional[typing.Union[bool, typing.Any]]
65
+ :type use_custom_normals: typing.Union[bool, typing.Any]
71
66
  :param colors_type: Vertex Colors, Import vertex color attributes
72
67
 
73
68
  NONE
@@ -78,67 +73,64 @@ def fbx(
78
73
 
79
74
  LINEAR
80
75
  Linear -- Expect file colors in linear color space.
81
- :type colors_type: typing.Optional[typing.Any]
76
+ :type colors_type: typing.Any
82
77
  :param use_image_search: Image Search, Search subdirs for any associated images (WARNING: may be slow)
83
- :type use_image_search: typing.Optional[typing.Union[bool, typing.Any]]
78
+ :type use_image_search: typing.Union[bool, typing.Any]
84
79
  :param use_alpha_decals: Alpha Decals, Treat materials with alpha as decals (no shadow casting)
85
- :type use_alpha_decals: typing.Optional[typing.Union[bool, typing.Any]]
80
+ :type use_alpha_decals: typing.Union[bool, typing.Any]
86
81
  :param decal_offset: Decal Offset, Displace geometry of alpha meshes
87
- :type decal_offset: typing.Optional[typing.Any]
82
+ :type decal_offset: typing.Any
88
83
  :param use_anim: Import Animation, Import FBX animation
89
- :type use_anim: typing.Optional[typing.Union[bool, typing.Any]]
84
+ :type use_anim: typing.Union[bool, typing.Any]
90
85
  :param anim_offset: Animation Offset, Offset to apply to animation during import, in frames
91
- :type anim_offset: typing.Optional[typing.Any]
86
+ :type anim_offset: typing.Any
92
87
  :param use_subsurf: Subdivision Data, Import FBX subdivision information as subdivision surface modifiers
93
- :type use_subsurf: typing.Optional[typing.Union[bool, typing.Any]]
88
+ :type use_subsurf: typing.Union[bool, typing.Any]
94
89
  :param use_custom_props: Custom Properties, Import user properties as custom properties
95
- :type use_custom_props: typing.Optional[typing.Union[bool, typing.Any]]
90
+ :type use_custom_props: typing.Union[bool, typing.Any]
96
91
  :param use_custom_props_enum_as_string: Import Enums As Strings, Store enumeration values as strings
97
- :type use_custom_props_enum_as_string: typing.Optional[typing.Union[bool, typing.Any]]
92
+ :type use_custom_props_enum_as_string: typing.Union[bool, typing.Any]
98
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)
99
- :type ignore_leaf_bones: typing.Optional[typing.Union[bool, typing.Any]]
94
+ :type ignore_leaf_bones: typing.Union[bool, typing.Any]
100
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)
101
- :type force_connect_children: typing.Optional[typing.Union[bool, typing.Any]]
96
+ :type force_connect_children: typing.Union[bool, typing.Any]
102
97
  :param automatic_bone_orientation: Automatic Bone Orientation, Try to align the major bone axis with the bone children
103
- :type automatic_bone_orientation: typing.Optional[typing.Union[bool, typing.Any]]
98
+ :type automatic_bone_orientation: typing.Union[bool, typing.Any]
104
99
  :param primary_bone_axis: Primary Bone Axis
105
- :type primary_bone_axis: typing.Optional[typing.Any]
100
+ :type primary_bone_axis: typing.Any
106
101
  :param secondary_bone_axis: Secondary Bone Axis
107
- :type secondary_bone_axis: typing.Optional[typing.Any]
102
+ :type secondary_bone_axis: typing.Any
108
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)
109
- :type use_prepost_rot: typing.Optional[typing.Union[bool, typing.Any]]
104
+ :type use_prepost_rot: typing.Union[bool, typing.Any]
110
105
  :param axis_forward: Forward
111
- :type axis_forward: typing.Optional[typing.Any]
106
+ :type axis_forward: typing.Any
112
107
  :param axis_up: Up
113
- :type axis_up: typing.Optional[typing.Any]
108
+ :type axis_up: typing.Any
114
109
  """
115
110
 
116
111
  ...
117
112
 
118
113
  def gltf(
119
- override_context=None,
120
- execution_context=None,
121
- undo=None,
122
- *,
114
+ override_context: typing.Union[dict, bpy.types.Context] = None,
115
+ execution_context: typing.Union[str, int] = None,
116
+ undo: bool = None,
123
117
  filepath: typing.Union[str, typing.Any] = "",
124
- export_import_convert_lighting_mode: typing.Optional[typing.Any] = "SPEC",
118
+ export_import_convert_lighting_mode: typing.Any = "SPEC",
125
119
  filter_glob: typing.Union[str, typing.Any] = "*.glb;*.gltf",
126
- files: typing.Optional[
127
- bpy.types.bpy_prop_collection["bpy.types.OperatorFileListElement"]
128
- ] = None,
129
- loglevel: typing.Optional[typing.Any] = 0,
130
- import_pack_images: typing.Optional[typing.Union[bool, typing.Any]] = True,
131
- merge_vertices: typing.Optional[typing.Union[bool, typing.Any]] = False,
132
- import_shading: typing.Optional[typing.Any] = "NORMALS",
133
- bone_heuristic: typing.Optional[typing.Any] = "BLENDER",
134
- guess_original_bind_pose: typing.Optional[typing.Union[bool, typing.Any]] = True,
135
- 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,
136
128
  ):
137
129
  """Load a glTF 2.0 file
138
130
 
139
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
140
- :type execution_context: typing.Optional[typing.Union[int, str]]
141
- :type undo: typing.Optional[bool]
131
+ :type override_context: typing.Union[dict, bpy.types.Context]
132
+ :type execution_context: typing.Union[str, int]
133
+ :type undo: bool
142
134
  :param filepath: File Path, Filepath used for importing the file
143
135
  :type filepath: typing.Union[str, typing.Any]
144
136
  :param export_import_convert_lighting_mode: Lighting Mode, Optional backwards compatibility for non-standard render engines. Applies to lights
@@ -151,19 +143,19 @@ def gltf(
151
143
 
152
144
  RAW
153
145
  Raw (Deprecated) -- Blender lighting strengths with no conversion.
154
- :type export_import_convert_lighting_mode: typing.Optional[typing.Any]
146
+ :type export_import_convert_lighting_mode: typing.Any
155
147
  :param filter_glob: filter_glob
156
148
  :type filter_glob: typing.Union[str, typing.Any]
157
149
  :param files: File Path
158
- :type files: typing.Optional[bpy.types.bpy_prop_collection['bpy.types.OperatorFileListElement']]
150
+ :type files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement]
159
151
  :param loglevel: Log Level, Log Level
160
- :type loglevel: typing.Optional[typing.Any]
152
+ :type loglevel: typing.Any
161
153
  :param import_pack_images: Pack Images, Pack all images into .blend file
162
- :type import_pack_images: typing.Optional[typing.Union[bool, typing.Any]]
154
+ :type import_pack_images: typing.Union[bool, typing.Any]
163
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
164
- :type merge_vertices: typing.Optional[typing.Union[bool, typing.Any]]
156
+ :type merge_vertices: typing.Union[bool, typing.Any]
165
157
  :param import_shading: Shading, How normals are computed during import
166
- :type import_shading: typing.Optional[typing.Any]
158
+ :type import_shading: typing.Any
167
159
  :param bone_heuristic: Bone Dir, Heuristic for placing bones. Tries to make bones pretty
168
160
 
169
161
  BLENDER
@@ -174,38 +166,37 @@ def gltf(
174
166
 
175
167
  FORTUNE
176
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.
177
- :type bone_heuristic: typing.Optional[typing.Any]
169
+ :type bone_heuristic: typing.Any
178
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
179
- :type guess_original_bind_pose: typing.Optional[typing.Union[bool, typing.Any]]
171
+ :type guess_original_bind_pose: typing.Union[bool, typing.Any]
180
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
181
- :type import_webp_texture: typing.Optional[typing.Union[bool, typing.Any]]
173
+ :type import_webp_texture: typing.Union[bool, typing.Any]
182
174
  """
183
175
 
184
176
  ...
185
177
 
186
178
  def x3d(
187
- override_context=None,
188
- execution_context=None,
189
- undo=None,
190
- *,
179
+ override_context: typing.Union[dict, bpy.types.Context] = None,
180
+ execution_context: typing.Union[str, int] = None,
181
+ undo: bool = None,
191
182
  filepath: typing.Union[str, typing.Any] = "",
192
183
  filter_glob: typing.Union[str, typing.Any] = "*.x3d;*.wrl",
193
- axis_forward: typing.Optional[typing.Any] = "Z",
194
- axis_up: typing.Optional[typing.Any] = "Y",
184
+ axis_forward: typing.Any = "Z",
185
+ axis_up: typing.Any = "Y",
195
186
  ):
196
187
  """Import an X3D or VRML2 file
197
188
 
198
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
199
- :type execution_context: typing.Optional[typing.Union[int, str]]
200
- :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
201
192
  :param filepath: File Path, Filepath used for importing the file
202
193
  :type filepath: typing.Union[str, typing.Any]
203
194
  :param filter_glob: filter_glob
204
195
  :type filter_glob: typing.Union[str, typing.Any]
205
196
  :param axis_forward: Forward
206
- :type axis_forward: typing.Optional[typing.Any]
197
+ :type axis_forward: typing.Any
207
198
  :param axis_up: Up
208
- :type axis_up: typing.Optional[typing.Any]
199
+ :type axis_up: typing.Any
209
200
  """
210
201
 
211
202
  ...