fake-bpy-module 20240420__py3-none-any.whl → 20240422__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 (187) hide show
  1. bl_operators/add_mesh_torus/__init__.pyi +2 -1
  2. bl_operators/assets/__init__.pyi +12 -12
  3. bl_operators/geometry_nodes/__init__.pyi +256 -238
  4. bl_operators/node/__init__.pyi +262 -260
  5. bl_operators/object_quick_effects/__init__.pyi +19 -19
  6. bl_operators/presets/__init__.pyi +371 -368
  7. bl_operators/wm/__init__.pyi +4 -4
  8. bl_ui/__init__.pyi +3 -3
  9. bl_ui/anim/__init__.pyi +1 -1
  10. bl_ui/asset_shelf/__init__.pyi +1 -1
  11. bl_ui/generic_ui_list/__init__.pyi +3 -3
  12. bl_ui/node_add_menu/__init__.pyi +1 -1
  13. bl_ui/node_add_menu_compositor/__init__.pyi +18 -18
  14. bl_ui/node_add_menu_geometry/__init__.pyi +50 -48
  15. bl_ui/node_add_menu_shader/__init__.pyi +10 -10
  16. bl_ui/node_add_menu_texture/__init__.pyi +9 -9
  17. bl_ui/properties_collection/__init__.pyi +39 -25
  18. bl_ui/properties_constraint/__init__.pyi +1257 -1041
  19. bl_ui/properties_data_armature/__init__.pyi +120 -96
  20. bl_ui/properties_data_bone/__init__.pyi +36 -29
  21. bl_ui/properties_data_camera/__init__.pyi +32 -14
  22. bl_ui/properties_data_curve/__init__.pyi +143 -116
  23. bl_ui/properties_data_curves/__init__.pyi +30 -25
  24. bl_ui/properties_data_empty/__init__.pyi +21 -21
  25. bl_ui/properties_data_gpencil/__init__.pyi +297 -260
  26. bl_ui/properties_data_grease_pencil/__init__.pyi +228 -205
  27. bl_ui/properties_data_lattice/__init__.pyi +25 -22
  28. bl_ui/properties_data_light/__init__.pyi +44 -31
  29. bl_ui/properties_data_lightprobe/__init__.pyi +54 -32
  30. bl_ui/properties_data_mesh/__init__.pyi +579 -570
  31. bl_ui/properties_data_metaball/__init__.pyi +29 -24
  32. bl_ui/properties_data_modifier/__init__.pyi +55 -43
  33. bl_ui/properties_data_pointcloud/__init__.pyi +146 -139
  34. bl_ui/properties_data_shaderfx/__init__.pyi +13 -13
  35. bl_ui/properties_data_speaker/__init__.pyi +27 -24
  36. bl_ui/properties_data_volume/__init__.pyi +75 -68
  37. bl_ui/properties_freestyle/__init__.pyi +407 -284
  38. bl_ui/properties_grease_pencil_common/__init__.pyi +13 -13
  39. bl_ui/properties_mask_common/__init__.pyi +7 -7
  40. bl_ui/properties_material/__init__.pyi +186 -162
  41. bl_ui/properties_material_gpencil/__init__.pyi +111 -87
  42. bl_ui/properties_object/__init__.pyi +102 -84
  43. bl_ui/properties_output/__init__.pyi +255 -228
  44. bl_ui/properties_paint_common/__init__.pyi +9 -9
  45. bl_ui/properties_particle/__init__.pyi +341 -254
  46. bl_ui/properties_physics_cloth/__init__.pyi +54 -33
  47. bl_ui/properties_physics_common/__init__.pyi +20 -20
  48. bl_ui/properties_physics_dynamicpaint/__init__.pyi +231 -193
  49. bl_ui/properties_physics_field/__init__.pyi +52 -36
  50. bl_ui/properties_physics_fluid/__init__.pyi +119 -96
  51. bl_ui/properties_physics_geometry_nodes/__init__.pyi +1 -1
  52. bl_ui/properties_physics_rigidbody/__init__.pyi +36 -20
  53. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +51 -25
  54. bl_ui/properties_physics_softbody/__init__.pyi +62 -34
  55. bl_ui/properties_render/__init__.pyi +275 -187
  56. bl_ui/properties_scene/__init__.pyi +173 -154
  57. bl_ui/properties_texture/__init__.pyi +251 -205
  58. bl_ui/properties_view_layer/__init__.pyi +126 -93
  59. bl_ui/properties_workspace/__init__.pyi +82 -76
  60. bl_ui/properties_world/__init__.pyi +31 -26
  61. bl_ui/space_clip/__init__.pyi +495 -433
  62. bl_ui/space_console/__init__.pyi +6 -6
  63. bl_ui/space_dopesheet/__init__.pyi +209 -174
  64. bl_ui/space_filebrowser/__init__.pyi +691 -679
  65. bl_ui/space_graph/__init__.pyi +25 -20
  66. bl_ui/space_image/__init__.pyi +959 -845
  67. bl_ui/space_info/__init__.pyi +6 -6
  68. bl_ui/space_nla/__init__.pyi +26 -17
  69. bl_ui/space_node/__init__.pyi +49 -36
  70. bl_ui/space_outliner/__init__.pyi +14 -14
  71. bl_ui/space_properties/__init__.pyi +3 -3
  72. bl_ui/space_sequencer/__init__.pyi +510 -444
  73. bl_ui/space_spreadsheet/__init__.pyi +1 -1
  74. bl_ui/space_statusbar/__init__.pyi +1 -1
  75. bl_ui/space_text/__init__.pyi +16 -16
  76. bl_ui/space_time/__init__.pyi +27 -23
  77. bl_ui/space_toolsystem_common/__init__.pyi +1 -1
  78. bl_ui/space_toolsystem_toolbar/__init__.pyi +21 -4
  79. bl_ui/space_topbar/__init__.pyi +26 -26
  80. bl_ui/space_userpref/__init__.pyi +795 -658
  81. bl_ui/space_view3d/__init__.pyi +1460 -1428
  82. bl_ui/space_view3d_toolbar/__init__.pyi +2968 -2657
  83. bl_ui/temp_anim_layers/__init__.pyi +1 -1
  84. bmesh/types/__init__.pyi +13 -6
  85. bpy/app/__init__.pyi +4 -4
  86. bpy/app/icons/__init__.pyi +8 -6
  87. bpy/app/timers/__init__.pyi +10 -8
  88. bpy/app/translations/__init__.pyi +22 -20
  89. bpy/msgbus/__init__.pyi +4 -2
  90. bpy/ops/action/__init__.pyi +319 -316
  91. bpy/ops/anim/__init__.pyi +428 -428
  92. bpy/ops/armature/__init__.pyi +359 -358
  93. bpy/ops/asset/__init__.pyi +146 -146
  94. bpy/ops/boid/__init__.pyi +50 -50
  95. bpy/ops/brush/__init__.pyi +72 -72
  96. bpy/ops/buttons/__init__.pyi +128 -128
  97. bpy/ops/cachefile/__init__.pyi +124 -124
  98. bpy/ops/camera/__init__.pyi +22 -22
  99. bpy/ops/clip/__init__.pyi +773 -768
  100. bpy/ops/cloth/__init__.pyi +10 -10
  101. bpy/ops/collection/__init__.pyi +64 -64
  102. bpy/ops/console/__init__.pyi +150 -150
  103. bpy/ops/constraint/__init__.pyi +150 -150
  104. bpy/ops/curve/__init__.pyi +475 -472
  105. bpy/ops/curves/__init__.pyi +247 -244
  106. bpy/ops/cycles/__init__.pyi +18 -18
  107. bpy/ops/dpaint/__init__.pyi +34 -34
  108. bpy/ops/ed/__init__.pyi +122 -122
  109. bpy/ops/export_anim/__init__.pyi +18 -18
  110. bpy/ops/export_mesh/__init__.pyi +26 -26
  111. bpy/ops/export_scene/__init__.pyi +336 -307
  112. bpy/ops/file/__init__.pyi +340 -340
  113. bpy/ops/fluid/__init__.pyi +88 -88
  114. bpy/ops/font/__init__.pyi +252 -252
  115. bpy/ops/geometry/__init__.pyi +86 -86
  116. bpy/ops/gizmogroup/__init__.pyi +22 -22
  117. bpy/ops/gpencil/__init__.pyi +1459 -1444
  118. bpy/ops/graph/__init__.pyi +645 -642
  119. bpy/ops/grease_pencil/__init__.pyi +441 -436
  120. bpy/ops/image/__init__.pyi +614 -612
  121. bpy/ops/import_anim/__init__.pyi +26 -26
  122. bpy/ops/import_curve/__init__.pyi +6 -6
  123. bpy/ops/import_mesh/__init__.pyi +20 -18
  124. bpy/ops/import_scene/__init__.pyi +92 -86
  125. bpy/ops/info/__init__.pyi +60 -60
  126. bpy/ops/lattice/__init__.pyi +64 -64
  127. bpy/ops/marker/__init__.pyi +106 -106
  128. bpy/ops/mask/__init__.pyi +321 -318
  129. bpy/ops/material/__init__.pyi +18 -18
  130. bpy/ops/mball/__init__.pyi +71 -70
  131. bpy/ops/mesh/__init__.pyi +1997 -1990
  132. bpy/ops/nla/__init__.pyi +331 -330
  133. bpy/ops/node/__init__.pyi +867 -852
  134. bpy/ops/object/__init__.pyi +2433 -2430
  135. bpy/ops/outliner/__init__.pyi +498 -498
  136. bpy/ops/paint/__init__.pyi +554 -544
  137. bpy/ops/paintcurve/__init__.pyi +64 -64
  138. bpy/ops/palette/__init__.pyi +48 -48
  139. bpy/ops/particle/__init__.pyi +266 -264
  140. bpy/ops/pose/__init__.pyi +336 -336
  141. bpy/ops/poselib/__init__.pyi +70 -70
  142. bpy/ops/preferences/__init__.pyi +338 -336
  143. bpy/ops/ptcache/__init__.pyi +46 -46
  144. bpy/ops/render/__init__.pyi +114 -114
  145. bpy/ops/rigidbody/__init__.pyi +102 -102
  146. bpy/ops/scene/__init__.pyi +270 -270
  147. bpy/ops/screen/__init__.pyi +378 -378
  148. bpy/ops/script/__init__.pyi +18 -18
  149. bpy/ops/sculpt/__init__.pyi +411 -405
  150. bpy/ops/sculpt_curves/__init__.pyi +42 -40
  151. bpy/ops/sequencer/__init__.pyi +1053 -1040
  152. bpy/ops/sound/__init__.pyi +208 -208
  153. bpy/ops/spreadsheet/__init__.pyi +30 -30
  154. bpy/ops/surface/__init__.pyi +108 -108
  155. bpy/ops/text/__init__.pyi +382 -382
  156. bpy/ops/text_editor/__init__.pyi +10 -10
  157. bpy/ops/texture/__init__.pyi +26 -26
  158. bpy/ops/transform/__init__.pyi +826 -790
  159. bpy/ops/ui/__init__.pyi +216 -216
  160. bpy/ops/uilist/__init__.pyi +20 -20
  161. bpy/ops/uv/__init__.pyi +605 -600
  162. bpy/ops/view2d/__init__.pyi +156 -156
  163. bpy/ops/view3d/__init__.pyi +578 -576
  164. bpy/ops/wm/__init__.pyi +2412 -2376
  165. bpy/ops/workspace/__init__.pyi +42 -42
  166. bpy/ops/world/__init__.pyi +6 -6
  167. bpy/path/__init__.pyi +48 -33
  168. bpy/props/__init__.pyi +263 -261
  169. bpy/types/__init__.pyi +103670 -100517
  170. bpy/utils/__init__.pyi +87 -52
  171. bpy/utils/previews/__init__.pyi +2 -2
  172. bpy/utils/units/__init__.pyi +20 -17
  173. bpy_extras/anim_utils/__init__.pyi +9 -2
  174. bpy_extras/io_utils/__init__.pyi +2 -1
  175. bpy_extras/view3d_utils/__init__.pyi +2 -1
  176. bpy_types/__init__.pyi +236 -236
  177. {fake_bpy_module-20240420.dist-info → fake_bpy_module-20240422.dist-info}/METADATA +1 -1
  178. {fake_bpy_module-20240420.dist-info → fake_bpy_module-20240422.dist-info}/RECORD +187 -187
  179. freestyle/chainingiterators/__init__.pyi +7 -2
  180. freestyle/types/__init__.pyi +8 -3
  181. gpu_extras/presets/__init__.pyi +14 -2
  182. keyingsets_builtins/__init__.pyi +92 -92
  183. mathutils/__init__.pyi +9 -5
  184. mathutils/geometry/__init__.pyi +8 -4
  185. nodeitems_builtins/__init__.pyi +7 -7
  186. {fake_bpy_module-20240420.dist-info → fake_bpy_module-20240422.dist-info}/WHEEL +0 -0
  187. {fake_bpy_module-20240420.dist-info → fake_bpy_module-20240422.dist-info}/top_level.txt +0 -0
@@ -4,45 +4,45 @@ import bpy.types
4
4
  GenericType = typing.TypeVar("GenericType")
5
5
 
6
6
  def bvh(
7
- override_context: typing.Union[dict, bpy.types.Context] = None,
8
- execution_context: typing.Union[str, int] = None,
9
- undo: bool = None,
7
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
8
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
9
+ undo: typing.Optional[bool] = None,
10
10
  filepath: typing.Union[str, typing.Any] = "",
11
11
  filter_glob: typing.Union[str, typing.Any] = "*.bvh",
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",
12
+ target: typing.Optional[typing.Any] = "ARMATURE",
13
+ global_scale: typing.Optional[typing.Any] = 1.0,
14
+ frame_start: typing.Optional[typing.Any] = 1,
15
+ use_fps_scale: typing.Optional[typing.Union[bool, typing.Any]] = False,
16
+ update_scene_fps: typing.Optional[typing.Union[bool, typing.Any]] = False,
17
+ update_scene_duration: typing.Optional[typing.Union[bool, typing.Any]] = False,
18
+ use_cyclic: typing.Optional[typing.Union[bool, typing.Any]] = False,
19
+ rotate_mode: typing.Optional[typing.Any] = "NATIVE",
20
+ axis_forward: typing.Optional[typing.Any] = "-Z",
21
+ axis_up: typing.Optional[typing.Any] = "Y",
22
22
  ):
23
23
  """Load a BVH motion capture file
24
24
 
25
- :type override_context: typing.Union[dict, bpy.types.Context]
26
- :type execution_context: typing.Union[str, int]
27
- :type undo: bool
25
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
26
+ :type execution_context: typing.Optional[typing.Union[str, int]]
27
+ :type undo: typing.Optional[bool]
28
28
  :param filepath: File Path, Filepath used for importing the file
29
29
  :type filepath: typing.Union[str, typing.Any]
30
30
  :param filter_glob: filter_glob
31
31
  :type filter_glob: typing.Union[str, typing.Any]
32
32
  :param target: Target, Import target type
33
- :type target: typing.Any
33
+ :type target: typing.Optional[typing.Any]
34
34
  :param global_scale: Scale, Scale the BVH by this value
35
- :type global_scale: typing.Any
35
+ :type global_scale: typing.Optional[typing.Any]
36
36
  :param frame_start: Start Frame, Starting frame for the animation
37
- :type frame_start: typing.Any
37
+ :type frame_start: typing.Optional[typing.Any]
38
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]
39
+ :type use_fps_scale: typing.Optional[typing.Union[bool, typing.Any]]
40
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]
41
+ :type update_scene_fps: typing.Optional[typing.Union[bool, typing.Any]]
42
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]
43
+ :type update_scene_duration: typing.Optional[typing.Union[bool, typing.Any]]
44
44
  :param use_cyclic: Loop, Loop the animation playback
45
- :type use_cyclic: typing.Union[bool, typing.Any]
45
+ :type use_cyclic: typing.Optional[typing.Union[bool, typing.Any]]
46
46
  :param rotate_mode: Rotation, Rotation conversion
47
47
 
48
48
  QUATERNION
@@ -68,11 +68,11 @@ def bvh(
68
68
 
69
69
  ZYX
70
70
  Euler (ZYX) -- Convert rotations to euler ZYX.
71
- :type rotate_mode: typing.Any
71
+ :type rotate_mode: typing.Optional[typing.Any]
72
72
  :param axis_forward: Forward
73
- :type axis_forward: typing.Any
73
+ :type axis_forward: typing.Optional[typing.Any]
74
74
  :param axis_up: Up
75
- :type axis_up: typing.Any
75
+ :type axis_up: typing.Optional[typing.Any]
76
76
  """
77
77
 
78
78
  ...
@@ -4,17 +4,17 @@ import bpy.types
4
4
  GenericType = typing.TypeVar("GenericType")
5
5
 
6
6
  def svg(
7
- override_context: typing.Union[dict, bpy.types.Context] = None,
8
- execution_context: typing.Union[str, int] = None,
9
- undo: bool = None,
7
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
8
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
9
+ undo: typing.Optional[bool] = None,
10
10
  filepath: typing.Union[str, typing.Any] = "",
11
11
  filter_glob: typing.Union[str, typing.Any] = "*.svg",
12
12
  ):
13
13
  """Load a SVG file
14
14
 
15
- :type override_context: typing.Union[dict, bpy.types.Context]
16
- :type execution_context: typing.Union[str, int]
17
- :type undo: bool
15
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
16
+ :type execution_context: typing.Optional[typing.Union[str, int]]
17
+ :type undo: typing.Optional[bool]
18
18
  :param filepath: File Path, Filepath used for importing the file
19
19
  :type filepath: typing.Union[str, typing.Any]
20
20
  :param filter_glob: filter_glob
@@ -4,42 +4,44 @@ import bpy.types
4
4
  GenericType = typing.TypeVar("GenericType")
5
5
 
6
6
  def stl(
7
- override_context: typing.Union[dict, bpy.types.Context] = None,
8
- execution_context: typing.Union[str, int] = None,
9
- undo: bool = None,
7
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
8
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
9
+ undo: typing.Optional[bool] = None,
10
10
  filepath: typing.Union[str, typing.Any] = "",
11
11
  filter_glob: typing.Union[str, typing.Any] = "*.stl",
12
- files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement] = None,
12
+ files: typing.Optional[
13
+ bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement]
14
+ ] = None,
13
15
  directory: typing.Union[str, typing.Any] = "",
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",
16
+ global_scale: typing.Optional[typing.Any] = 1.0,
17
+ use_scene_unit: typing.Optional[typing.Union[bool, typing.Any]] = False,
18
+ use_facet_normal: typing.Optional[typing.Union[bool, typing.Any]] = False,
19
+ axis_forward: typing.Optional[typing.Any] = "Y",
20
+ axis_up: typing.Optional[typing.Any] = "Z",
19
21
  ):
20
22
  """Load STL triangle mesh data
21
23
 
22
- :type override_context: typing.Union[dict, bpy.types.Context]
23
- :type execution_context: typing.Union[str, int]
24
- :type undo: bool
24
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
25
+ :type execution_context: typing.Optional[typing.Union[str, int]]
26
+ :type undo: typing.Optional[bool]
25
27
  :param filepath: File Path, Filepath used for importing the file
26
28
  :type filepath: typing.Union[str, typing.Any]
27
29
  :param filter_glob: filter_glob
28
30
  :type filter_glob: typing.Union[str, typing.Any]
29
31
  :param files: File Path
30
- :type files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement]
32
+ :type files: typing.Optional[bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement]]
31
33
  :param directory: directory
32
34
  :type directory: typing.Union[str, typing.Any]
33
35
  :param global_scale: Scale
34
- :type global_scale: typing.Any
36
+ :type global_scale: typing.Optional[typing.Any]
35
37
  :param use_scene_unit: Scene Unit, Apply current scene's unit (as defined by unit scale) to imported data
36
- :type use_scene_unit: typing.Union[bool, typing.Any]
38
+ :type use_scene_unit: typing.Optional[typing.Union[bool, typing.Any]]
37
39
  :param use_facet_normal: Facet Normals, Use (import) facet normals (note that this will still give flat shading)
38
- :type use_facet_normal: typing.Union[bool, typing.Any]
40
+ :type use_facet_normal: typing.Optional[typing.Union[bool, typing.Any]]
39
41
  :param axis_forward: Forward
40
- :type axis_forward: typing.Any
42
+ :type axis_forward: typing.Optional[typing.Any]
41
43
  :param axis_up: Up
42
- :type axis_up: typing.Any
44
+ :type axis_up: typing.Optional[typing.Any]
43
45
  """
44
46
 
45
47
  ...
@@ -4,41 +4,45 @@ import bpy.types
4
4
  GenericType = typing.TypeVar("GenericType")
5
5
 
6
6
  def fbx(
7
- override_context: typing.Union[dict, bpy.types.Context] = None,
8
- execution_context: typing.Union[str, int] = None,
9
- undo: bool = None,
7
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
8
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
9
+ undo: typing.Optional[bool] = None,
10
10
  filepath: typing.Union[str, typing.Any] = "",
11
11
  directory: typing.Union[str, typing.Any] = "",
12
12
  filter_glob: typing.Union[str, typing.Any] = "*.fbx",
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",
13
+ files: typing.Optional[
14
+ bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement]
15
+ ] = None,
16
+ ui_tab: typing.Optional[typing.Any] = "MAIN",
17
+ use_manual_orientation: typing.Optional[typing.Union[bool, typing.Any]] = False,
18
+ global_scale: typing.Optional[typing.Any] = 1.0,
19
+ bake_space_transform: typing.Optional[typing.Union[bool, typing.Any]] = False,
20
+ use_custom_normals: typing.Optional[typing.Union[bool, typing.Any]] = True,
21
+ colors_type: typing.Optional[typing.Any] = "SRGB",
22
+ use_image_search: typing.Optional[typing.Union[bool, typing.Any]] = True,
23
+ use_alpha_decals: typing.Optional[typing.Union[bool, typing.Any]] = False,
24
+ decal_offset: typing.Optional[typing.Any] = 0.0,
25
+ use_anim: typing.Optional[typing.Union[bool, typing.Any]] = True,
26
+ anim_offset: typing.Optional[typing.Any] = 1.0,
27
+ use_subsurf: typing.Optional[typing.Union[bool, typing.Any]] = False,
28
+ use_custom_props: typing.Optional[typing.Union[bool, typing.Any]] = True,
29
+ use_custom_props_enum_as_string: typing.Optional[
30
+ typing.Union[bool, typing.Any]
31
+ ] = True,
32
+ ignore_leaf_bones: typing.Optional[typing.Union[bool, typing.Any]] = False,
33
+ force_connect_children: typing.Optional[typing.Union[bool, typing.Any]] = False,
34
+ automatic_bone_orientation: typing.Optional[typing.Union[bool, typing.Any]] = False,
35
+ primary_bone_axis: typing.Optional[typing.Any] = "Y",
36
+ secondary_bone_axis: typing.Optional[typing.Any] = "X",
37
+ use_prepost_rot: typing.Optional[typing.Union[bool, typing.Any]] = True,
38
+ axis_forward: typing.Optional[typing.Any] = "-Z",
39
+ axis_up: typing.Optional[typing.Any] = "Y",
36
40
  ):
37
41
  """Load a FBX file
38
42
 
39
- :type override_context: typing.Union[dict, bpy.types.Context]
40
- :type execution_context: typing.Union[str, int]
41
- :type undo: bool
43
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
44
+ :type execution_context: typing.Optional[typing.Union[str, int]]
45
+ :type undo: typing.Optional[bool]
42
46
  :param filepath: File Path, Filepath used for importing the file
43
47
  :type filepath: typing.Union[str, typing.Any]
44
48
  :param directory: directory
@@ -46,7 +50,7 @@ def fbx(
46
50
  :param filter_glob: filter_glob
47
51
  :type filter_glob: typing.Union[str, typing.Any]
48
52
  :param files: File Path
49
- :type files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement]
53
+ :type files: typing.Optional[bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement]]
50
54
  :param ui_tab: ui_tab, Import options categories
51
55
 
52
56
  MAIN
@@ -54,15 +58,15 @@ def fbx(
54
58
 
55
59
  ARMATURE
56
60
  Armatures -- Armature-related settings.
57
- :type ui_tab: typing.Any
61
+ :type ui_tab: typing.Optional[typing.Any]
58
62
  :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]
63
+ :type use_manual_orientation: typing.Optional[typing.Union[bool, typing.Any]]
60
64
  :param global_scale: Scale
61
- :type global_scale: typing.Any
65
+ :type global_scale: typing.Optional[typing.Any]
62
66
  :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]
67
+ :type bake_space_transform: typing.Optional[typing.Union[bool, typing.Any]]
64
68
  :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]
69
+ :type use_custom_normals: typing.Optional[typing.Union[bool, typing.Any]]
66
70
  :param colors_type: Vertex Colors, Import vertex color attributes
67
71
 
68
72
  NONE
@@ -73,64 +77,66 @@ def fbx(
73
77
 
74
78
  LINEAR
75
79
  Linear -- Expect file colors in linear color space.
76
- :type colors_type: typing.Any
80
+ :type colors_type: typing.Optional[typing.Any]
77
81
  :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]
82
+ :type use_image_search: typing.Optional[typing.Union[bool, typing.Any]]
79
83
  :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]
84
+ :type use_alpha_decals: typing.Optional[typing.Union[bool, typing.Any]]
81
85
  :param decal_offset: Decal Offset, Displace geometry of alpha meshes
82
- :type decal_offset: typing.Any
86
+ :type decal_offset: typing.Optional[typing.Any]
83
87
  :param use_anim: Import Animation, Import FBX animation
84
- :type use_anim: typing.Union[bool, typing.Any]
88
+ :type use_anim: typing.Optional[typing.Union[bool, typing.Any]]
85
89
  :param anim_offset: Animation Offset, Offset to apply to animation during import, in frames
86
- :type anim_offset: typing.Any
90
+ :type anim_offset: typing.Optional[typing.Any]
87
91
  :param use_subsurf: Subdivision Data, Import FBX subdivision information as subdivision surface modifiers
88
- :type use_subsurf: typing.Union[bool, typing.Any]
92
+ :type use_subsurf: typing.Optional[typing.Union[bool, typing.Any]]
89
93
  :param use_custom_props: Custom Properties, Import user properties as custom properties
90
- :type use_custom_props: typing.Union[bool, typing.Any]
94
+ :type use_custom_props: typing.Optional[typing.Union[bool, typing.Any]]
91
95
  :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]
96
+ :type use_custom_props_enum_as_string: typing.Optional[typing.Union[bool, typing.Any]]
93
97
  :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]
98
+ :type ignore_leaf_bones: typing.Optional[typing.Union[bool, typing.Any]]
95
99
  :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]
100
+ :type force_connect_children: typing.Optional[typing.Union[bool, typing.Any]]
97
101
  :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]
102
+ :type automatic_bone_orientation: typing.Optional[typing.Union[bool, typing.Any]]
99
103
  :param primary_bone_axis: Primary Bone Axis
100
- :type primary_bone_axis: typing.Any
104
+ :type primary_bone_axis: typing.Optional[typing.Any]
101
105
  :param secondary_bone_axis: Secondary Bone Axis
102
- :type secondary_bone_axis: typing.Any
106
+ :type secondary_bone_axis: typing.Optional[typing.Any]
103
107
  :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]
108
+ :type use_prepost_rot: typing.Optional[typing.Union[bool, typing.Any]]
105
109
  :param axis_forward: Forward
106
- :type axis_forward: typing.Any
110
+ :type axis_forward: typing.Optional[typing.Any]
107
111
  :param axis_up: Up
108
- :type axis_up: typing.Any
112
+ :type axis_up: typing.Optional[typing.Any]
109
113
  """
110
114
 
111
115
  ...
112
116
 
113
117
  def gltf(
114
- override_context: typing.Union[dict, bpy.types.Context] = None,
115
- execution_context: typing.Union[str, int] = None,
116
- undo: bool = None,
118
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
119
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
120
+ undo: typing.Optional[bool] = None,
117
121
  filepath: typing.Union[str, typing.Any] = "",
118
- export_import_convert_lighting_mode: typing.Any = "SPEC",
122
+ export_import_convert_lighting_mode: typing.Optional[typing.Any] = "SPEC",
119
123
  filter_glob: typing.Union[str, typing.Any] = "*.glb;*.gltf",
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,
124
+ files: typing.Optional[
125
+ bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement]
126
+ ] = None,
127
+ loglevel: typing.Optional[typing.Any] = 0,
128
+ import_pack_images: typing.Optional[typing.Union[bool, typing.Any]] = True,
129
+ merge_vertices: typing.Optional[typing.Union[bool, typing.Any]] = False,
130
+ import_shading: typing.Optional[typing.Any] = "NORMALS",
131
+ bone_heuristic: typing.Optional[typing.Any] = "BLENDER",
132
+ guess_original_bind_pose: typing.Optional[typing.Union[bool, typing.Any]] = True,
133
+ import_webp_texture: typing.Optional[typing.Union[bool, typing.Any]] = False,
128
134
  ):
129
135
  """Load a glTF 2.0 file
130
136
 
131
- :type override_context: typing.Union[dict, bpy.types.Context]
132
- :type execution_context: typing.Union[str, int]
133
- :type undo: bool
137
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
138
+ :type execution_context: typing.Optional[typing.Union[str, int]]
139
+ :type undo: typing.Optional[bool]
134
140
  :param filepath: File Path, Filepath used for importing the file
135
141
  :type filepath: typing.Union[str, typing.Any]
136
142
  :param export_import_convert_lighting_mode: Lighting Mode, Optional backwards compatibility for non-standard render engines. Applies to lights
@@ -143,19 +149,19 @@ def gltf(
143
149
 
144
150
  RAW
145
151
  Raw (Deprecated) -- Blender lighting strengths with no conversion.
146
- :type export_import_convert_lighting_mode: typing.Any
152
+ :type export_import_convert_lighting_mode: typing.Optional[typing.Any]
147
153
  :param filter_glob: filter_glob
148
154
  :type filter_glob: typing.Union[str, typing.Any]
149
155
  :param files: File Path
150
- :type files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement]
156
+ :type files: typing.Optional[bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement]]
151
157
  :param loglevel: Log Level, Log Level
152
- :type loglevel: typing.Any
158
+ :type loglevel: typing.Optional[typing.Any]
153
159
  :param import_pack_images: Pack Images, Pack all images into .blend file
154
- :type import_pack_images: typing.Union[bool, typing.Any]
160
+ :type import_pack_images: typing.Optional[typing.Union[bool, typing.Any]]
155
161
  :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]
162
+ :type merge_vertices: typing.Optional[typing.Union[bool, typing.Any]]
157
163
  :param import_shading: Shading, How normals are computed during import
158
- :type import_shading: typing.Any
164
+ :type import_shading: typing.Optional[typing.Any]
159
165
  :param bone_heuristic: Bone Dir, Heuristic for placing bones. Tries to make bones pretty
160
166
 
161
167
  BLENDER
@@ -166,37 +172,37 @@ def gltf(
166
172
 
167
173
  FORTUNE
168
174
  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
175
+ :type bone_heuristic: typing.Optional[typing.Any]
170
176
  :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]
177
+ :type guess_original_bind_pose: typing.Optional[typing.Union[bool, typing.Any]]
172
178
  :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]
179
+ :type import_webp_texture: typing.Optional[typing.Union[bool, typing.Any]]
174
180
  """
175
181
 
176
182
  ...
177
183
 
178
184
  def x3d(
179
- override_context: typing.Union[dict, bpy.types.Context] = None,
180
- execution_context: typing.Union[str, int] = None,
181
- undo: bool = None,
185
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
186
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
187
+ undo: typing.Optional[bool] = None,
182
188
  filepath: typing.Union[str, typing.Any] = "",
183
189
  filter_glob: typing.Union[str, typing.Any] = "*.x3d;*.wrl",
184
- axis_forward: typing.Any = "Z",
185
- axis_up: typing.Any = "Y",
190
+ axis_forward: typing.Optional[typing.Any] = "Z",
191
+ axis_up: typing.Optional[typing.Any] = "Y",
186
192
  ):
187
193
  """Import an X3D or VRML2 file
188
194
 
189
- :type override_context: typing.Union[dict, bpy.types.Context]
190
- :type execution_context: typing.Union[str, int]
191
- :type undo: bool
195
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
196
+ :type execution_context: typing.Optional[typing.Union[str, int]]
197
+ :type undo: typing.Optional[bool]
192
198
  :param filepath: File Path, Filepath used for importing the file
193
199
  :type filepath: typing.Union[str, typing.Any]
194
200
  :param filter_glob: filter_glob
195
201
  :type filter_glob: typing.Union[str, typing.Any]
196
202
  :param axis_forward: Forward
197
- :type axis_forward: typing.Any
203
+ :type axis_forward: typing.Optional[typing.Any]
198
204
  :param axis_up: Up
199
- :type axis_up: typing.Any
205
+ :type axis_up: typing.Optional[typing.Any]
200
206
  """
201
207
 
202
208
  ...