fake-bpy-module 20240517__py3-none-any.whl → 20240519__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of fake-bpy-module might be problematic. Click here for more details.

Files changed (312) hide show
  1. _bpy_internal/__init__.pyi +2 -1
  2. _bpy_internal/freedesktop/__init__.pyi +20 -86
  3. addon_utils/__init__.pyi +7 -31
  4. animsys_refactor/__init__.pyi +7 -26
  5. aud/__init__.pyi +3 -5
  6. bgl/__init__.pyi +2 -1630
  7. bl_app_override/__init__.pyi +5 -15
  8. bl_app_override/helpers/__init__.pyi +4 -23
  9. bl_app_template_utils/__init__.pyi +5 -16
  10. bl_console_utils/__init__.pyi +2 -1
  11. bl_console_utils/autocomplete/__init__.pyi +2 -1
  12. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +2 -1
  13. bl_console_utils/autocomplete/complete_import/__init__.pyi +2 -1
  14. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -1
  15. bl_console_utils/autocomplete/intellisense/__init__.pyi +2 -1
  16. bl_i18n_utils/__init__.pyi +2 -1
  17. bl_i18n_utils/bl_extract_messages/__init__.pyi +15 -65
  18. bl_i18n_utils/merge_po/__init__.pyi +3 -5
  19. bl_i18n_utils/settings/__init__.pyi +4 -23
  20. bl_i18n_utils/utils/__init__.pyi +10 -66
  21. bl_i18n_utils/utils_cli/__init__.pyi +9 -31
  22. bl_i18n_utils/utils_languages_menu/__init__.pyi +3 -5
  23. bl_i18n_utils/utils_rtl/__init__.pyi +2 -1
  24. bl_keymap_utils/__init__.pyi +2 -1
  25. bl_keymap_utils/io/__init__.pyi +10 -40
  26. bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -1
  27. bl_keymap_utils/keymap_hierarchy/__init__.pyi +3 -5
  28. bl_keymap_utils/platform_helpers/__init__.pyi +3 -6
  29. bl_keymap_utils/versioning/__init__.pyi +3 -5
  30. bl_math/__init__.pyi +2 -1
  31. bl_operators/__init__.pyi +4 -10
  32. bl_operators/add_mesh_torus/__init__.pyi +4 -19
  33. bl_operators/anim/__init__.pyi +2 -71
  34. bl_operators/assets/__init__.pyi +2 -30
  35. bl_operators/bmesh/__init__.pyi +2 -1
  36. bl_operators/bmesh/find_adjacent/__init__.pyi +9 -35
  37. bl_operators/clip/__init__.pyi +7 -115
  38. bl_operators/console/__init__.pyi +2 -38
  39. bl_operators/constraint/__init__.pyi +2 -37
  40. bl_operators/file/__init__.pyi +2 -28
  41. bl_operators/freestyle/__init__.pyi +2 -37
  42. bl_operators/geometry_nodes/__init__.pyi +15 -103
  43. bl_operators/image/__init__.pyi +2 -52
  44. bl_operators/mesh/__init__.pyi +2 -28
  45. bl_operators/node/__init__.pyi +2 -105
  46. bl_operators/object/__init__.pyi +2 -138
  47. bl_operators/object_align/__init__.pyi +5 -24
  48. bl_operators/object_quick_effects/__init__.pyi +4 -49
  49. bl_operators/object_randomize_transform/__init__.pyi +5 -14
  50. bl_operators/presets/__init__.pyi +4 -376
  51. bl_operators/rigidbody/__init__.pyi +2 -28
  52. bl_operators/screen_play_rendered_anim/__init__.pyi +3 -14
  53. bl_operators/sequencer/__init__.pyi +3 -104
  54. bl_operators/spreadsheet/__init__.pyi +2 -10
  55. bl_operators/userpref/__init__.pyi +3 -201
  56. bl_operators/uvcalc_follow_active/__init__.pyi +4 -19
  57. bl_operators/uvcalc_lightmap/__init__.pyi +4 -34
  58. bl_operators/uvcalc_transform/__init__.pyi +13 -73
  59. bl_operators/vertexpaint_dirt/__init__.pyi +4 -19
  60. bl_operators/view3d/__init__.pyi +2 -64
  61. bl_operators/wm/__init__.pyi +16 -451
  62. bl_operators/world/__init__.pyi +2 -10
  63. bl_previews_utils/__init__.pyi +2 -1
  64. bl_previews_utils/bl_previews_render/__init__.pyi +10 -36
  65. bl_rna_utils/__init__.pyi +2 -1
  66. bl_rna_utils/data_path/__init__.pyi +2 -2
  67. bl_text_utils/__init__.pyi +2 -1
  68. bl_text_utils/external_editor/__init__.pyi +3 -5
  69. bl_ui/__init__.pyi +32 -141
  70. bl_ui/anim/__init__.pyi +3 -12
  71. bl_ui/asset_shelf/__init__.pyi +3 -16
  72. bl_ui/generic_ui_list/__init__.pyi +4 -31
  73. bl_ui/node_add_menu/__init__.pyi +6 -28
  74. bl_ui/node_add_menu_compositor/__init__.pyi +20 -237
  75. bl_ui/node_add_menu_geometry/__init__.pyi +50 -629
  76. bl_ui/node_add_menu_shader/__init__.pyi +20 -170
  77. bl_ui/node_add_menu_texture/__init__.pyi +11 -118
  78. bl_ui/properties_animviz/__init__.pyi +2 -15
  79. bl_ui/properties_collection/__init__.pyi +9 -112
  80. bl_ui/properties_constraint/__init__.pyi +81 -1524
  81. bl_ui/properties_data_armature/__init__.pyi +14 -214
  82. bl_ui/properties_data_bone/__init__.pyi +12 -198
  83. bl_ui/properties_data_camera/__init__.pyi +17 -312
  84. bl_ui/properties_data_curve/__init__.pyi +17 -319
  85. bl_ui/properties_data_curves/__init__.pyi +8 -108
  86. bl_ui/properties_data_empty/__init__.pyi +4 -44
  87. bl_ui/properties_data_gpencil/__init__.pyi +20 -350
  88. bl_ui/properties_data_grease_pencil/__init__.pyi +16 -257
  89. bl_ui/properties_data_lattice/__init__.pyi +5 -65
  90. bl_ui/properties_data_light/__init__.pyi +14 -264
  91. bl_ui/properties_data_lightprobe/__init__.pyi +15 -277
  92. bl_ui/properties_data_mesh/__init__.pyi +23 -325
  93. bl_ui/properties_data_metaball/__init__.pyi +7 -103
  94. bl_ui/properties_data_modifier/__init__.pyi +10 -178
  95. bl_ui/properties_data_pointcloud/__init__.pyi +7 -89
  96. bl_ui/properties_data_shaderfx/__init__.pyi +3 -27
  97. bl_ui/properties_data_speaker/__init__.pyi +7 -111
  98. bl_ui/properties_data_volume/__init__.pyi +10 -156
  99. bl_ui/properties_freestyle/__init__.pyi +31 -615
  100. bl_ui/properties_grease_pencil_common/__init__.pyi +17 -216
  101. bl_ui/properties_mask_common/__init__.pyi +10 -111
  102. bl_ui/properties_material/__init__.pyi +20 -331
  103. bl_ui/properties_material_gpencil/__init__.pyi +12 -182
  104. bl_ui/properties_object/__init__.pyi +16 -276
  105. bl_ui/properties_output/__init__.pyi +20 -370
  106. bl_ui/properties_paint_common/__init__.pyi +14 -106
  107. bl_ui/properties_particle/__init__.pyi +58 -1159
  108. bl_ui/properties_physics_cloth/__init__.pyi +17 -314
  109. bl_ui/properties_physics_common/__init__.pyi +9 -58
  110. bl_ui/properties_physics_dynamicpaint/__init__.pyi +24 -490
  111. bl_ui/properties_physics_field/__init__.pyi +13 -218
  112. bl_ui/properties_physics_fluid/__init__.pyi +30 -626
  113. bl_ui/properties_physics_geometry_nodes/__init__.pyi +3 -20
  114. bl_ui/properties_physics_rigidbody/__init__.pyi +11 -188
  115. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +15 -279
  116. bl_ui/properties_physics_softbody/__init__.pyi +18 -353
  117. bl_ui/properties_render/__init__.pyi +56 -1146
  118. bl_ui/properties_scene/__init__.pyi +17 -298
  119. bl_ui/properties_texture/__init__.pyi +30 -577
  120. bl_ui/properties_view_layer/__init__.pyi +20 -346
  121. bl_ui/properties_workspace/__init__.pyi +6 -80
  122. bl_ui/properties_world/__init__.pyi +12 -220
  123. bl_ui/space_clip/__init__.pyi +73 -1090
  124. bl_ui/space_console/__init__.pyi +9 -73
  125. bl_ui/space_dopesheet/__init__.pyi +33 -485
  126. bl_ui/space_filebrowser/__init__.pyi +36 -431
  127. bl_ui/space_graph/__init__.pyi +22 -237
  128. bl_ui/space_image/__init__.pyi +70 -1089
  129. bl_ui/space_info/__init__.pyi +8 -71
  130. bl_ui/space_nla/__init__.pyi +19 -210
  131. bl_ui/space_node/__init__.pyi +32 -436
  132. bl_ui/space_outliner/__init__.pyi +17 -165
  133. bl_ui/space_properties/__init__.pyi +5 -42
  134. bl_ui/space_sequencer/__init__.pyi +79 -1142
  135. bl_ui/space_spreadsheet/__init__.pyi +3 -12
  136. bl_ui/space_statusbar/__init__.pyi +3 -12
  137. bl_ui/space_text/__init__.pyi +18 -193
  138. bl_ui/space_time/__init__.pyi +10 -111
  139. bl_ui/space_toolsystem_common/__init__.pyi +42 -200
  140. bl_ui/space_toolsystem_toolbar/__init__.pyi +119 -863
  141. bl_ui/space_topbar/__init__.pyi +29 -335
  142. bl_ui/space_userpref/__init__.pyi +94 -1576
  143. bl_ui/space_view3d/__init__.pyi +271 -3438
  144. bl_ui/space_view3d_toolbar/__init__.pyi +95 -1899
  145. bl_ui/temp_anim_layers/__init__.pyi +4 -22
  146. bl_ui/utils/__init__.pyi +2 -8
  147. bl_ui_utils/__init__.pyi +2 -1
  148. bl_ui_utils/bug_report_url/__init__.pyi +3 -5
  149. bl_ui_utils/layout/__init__.pyi +2 -1
  150. blend_render_info/__init__.pyi +4 -10
  151. blf/__init__.pyi +2 -1
  152. bmesh/__init__.pyi +2 -1
  153. bmesh/geometry/__init__.pyi +2 -1
  154. bmesh/ops/__init__.pyi +2 -1
  155. bmesh/types/__init__.pyi +29 -45
  156. bmesh/utils/__init__.pyi +2 -1
  157. bpy/__init__.pyi +2 -1
  158. bpy/app/__init__.pyi +2 -1
  159. bpy/app/handlers/__init__.pyi +2 -1
  160. bpy/app/icons/__init__.pyi +2 -1
  161. bpy/app/timers/__init__.pyi +8 -15
  162. bpy/app/translations/__init__.pyi +2 -1
  163. bpy/msgbus/__init__.pyi +2 -1
  164. bpy/ops/__init__.pyi +2 -1
  165. bpy/ops/action/__init__.pyi +22 -21
  166. bpy/ops/anim/__init__.pyi +32 -31
  167. bpy/ops/armature/__init__.pyi +22 -21
  168. bpy/ops/asset/__init__.pyi +8 -7
  169. bpy/ops/bl_pkg/__init__.pyi +4 -3
  170. bpy/ops/boid/__init__.pyi +2 -1
  171. bpy/ops/brush/__init__.pyi +10 -9
  172. bpy/ops/buttons/__init__.pyi +10 -9
  173. bpy/ops/cachefile/__init__.pyi +12 -11
  174. bpy/ops/camera/__init__.pyi +2 -1
  175. bpy/ops/clip/__init__.pyi +38 -37
  176. bpy/ops/cloth/__init__.pyi +2 -1
  177. bpy/ops/collection/__init__.pyi +8 -7
  178. bpy/ops/console/__init__.pyi +8 -7
  179. bpy/ops/constraint/__init__.pyi +30 -29
  180. bpy/ops/curve/__init__.pyi +32 -31
  181. bpy/ops/curves/__init__.pyi +10 -9
  182. bpy/ops/cycles/__init__.pyi +2 -1
  183. bpy/ops/dpaint/__init__.pyi +4 -3
  184. bpy/ops/ed/__init__.pyi +6 -5
  185. bpy/ops/export_anim/__init__.pyi +4 -3
  186. bpy/ops/export_scene/__init__.pyi +40 -39
  187. bpy/ops/file/__init__.pyi +20 -19
  188. bpy/ops/fluid/__init__.pyi +2 -1
  189. bpy/ops/font/__init__.pyi +22 -21
  190. bpy/ops/geometry/__init__.pyi +4 -3
  191. bpy/ops/gizmogroup/__init__.pyi +2 -1
  192. bpy/ops/gpencil/__init__.pyi +134 -133
  193. bpy/ops/graph/__init__.pyi +40 -39
  194. bpy/ops/grease_pencil/__init__.pyi +42 -41
  195. bpy/ops/image/__init__.pyi +22 -21
  196. bpy/ops/import_anim/__init__.pyi +10 -9
  197. bpy/ops/import_curve/__init__.pyi +2 -1
  198. bpy/ops/import_scene/__init__.pyi +20 -19
  199. bpy/ops/info/__init__.pyi +6 -5
  200. bpy/ops/lattice/__init__.pyi +8 -7
  201. bpy/ops/marker/__init__.pyi +10 -9
  202. bpy/ops/mask/__init__.pyi +14 -13
  203. bpy/ops/material/__init__.pyi +2 -1
  204. bpy/ops/mball/__init__.pyi +8 -7
  205. bpy/ops/mesh/__init__.pyi +112 -111
  206. bpy/ops/nla/__init__.pyi +16 -15
  207. bpy/ops/node/__init__.pyi +32 -31
  208. bpy/ops/object/__init__.pyi +186 -185
  209. bpy/ops/outliner/__init__.pyi +38 -37
  210. bpy/ops/paint/__init__.pyi +50 -49
  211. bpy/ops/paintcurve/__init__.pyi +2 -1
  212. bpy/ops/palette/__init__.pyi +6 -5
  213. bpy/ops/particle/__init__.pyi +16 -15
  214. bpy/ops/pose/__init__.pyi +32 -31
  215. bpy/ops/poselib/__init__.pyi +2 -1
  216. bpy/ops/preferences/__init__.pyi +14 -13
  217. bpy/ops/ptcache/__init__.pyi +2 -1
  218. bpy/ops/render/__init__.pyi +4 -3
  219. bpy/ops/rigidbody/__init__.pyi +10 -9
  220. bpy/ops/scene/__init__.pyi +18 -17
  221. bpy/ops/screen/__init__.pyi +16 -15
  222. bpy/ops/script/__init__.pyi +2 -1
  223. bpy/ops/sculpt/__init__.pyi +68 -67
  224. bpy/ops/sculpt_curves/__init__.pyi +4 -3
  225. bpy/ops/sequencer/__init__.pyi +74 -73
  226. bpy/ops/sound/__init__.pyi +20 -19
  227. bpy/ops/spreadsheet/__init__.pyi +2 -1
  228. bpy/ops/surface/__init__.pyi +14 -13
  229. bpy/ops/text/__init__.pyi +24 -23
  230. bpy/ops/text_editor/__init__.pyi +2 -1
  231. bpy/ops/texture/__init__.pyi +4 -3
  232. bpy/ops/transform/__init__.pyi +32 -31
  233. bpy/ops/ui/__init__.pyi +8 -7
  234. bpy/ops/uilist/__init__.pyi +4 -3
  235. bpy/ops/uv/__init__.pyi +66 -65
  236. bpy/ops/view2d/__init__.pyi +2 -1
  237. bpy/ops/view3d/__init__.pyi +36 -35
  238. bpy/ops/wm/__init__.pyi +191 -187
  239. bpy/ops/workspace/__init__.pyi +2 -1
  240. bpy/ops/world/__init__.pyi +2 -1
  241. bpy/path/__init__.pyi +2 -1
  242. bpy/props/__init__.pyi +2 -1
  243. bpy/types/__init__.pyi +546 -4852
  244. bpy/utils/__init__.pyi +16 -71
  245. bpy/utils/previews/__init__.pyi +2 -1
  246. bpy/utils/units/__init__.pyi +2 -1
  247. bpy_extras/__init__.pyi +2 -1
  248. bpy_extras/anim_utils/__init__.pyi +2 -2
  249. bpy_extras/asset_utils/__init__.pyi +2 -11
  250. bpy_extras/bmesh_utils/__init__.pyi +3 -5
  251. bpy_extras/extensions/__init__.pyi +2 -1
  252. bpy_extras/extensions/junction_module/__init__.pyi +3 -7
  253. bpy_extras/id_map_utils/__init__.pyi +2 -1
  254. bpy_extras/image_utils/__init__.pyi +2 -1
  255. bpy_extras/io_utils/__init__.pyi +6 -25
  256. bpy_extras/keyconfig_utils/__init__.pyi +4 -10
  257. bpy_extras/mesh_utils/__init__.pyi +2 -1
  258. bpy_extras/node_shader_utils/__init__.pyi +46 -286
  259. bpy_extras/node_utils/__init__.pyi +4 -10
  260. bpy_extras/object_utils/__init__.pyi +2 -3
  261. bpy_extras/view3d_utils/__init__.pyi +2 -1
  262. bpy_extras/wm_utils/__init__.pyi +2 -1
  263. bpy_extras/wm_utils/progress_report/__init__.pyi +4 -29
  264. bpy_restrict_state/__init__.pyi +3 -15
  265. bpy_types/__init__.pyi +10 -275
  266. console_python/__init__.pyi +8 -37
  267. console_shell/__init__.pyi +8 -26
  268. {fake_bpy_module-20240517.dist-info → fake_bpy_module-20240519.dist-info}/METADATA +1 -1
  269. fake_bpy_module-20240519.dist-info/RECORD +353 -0
  270. freestyle/__init__.pyi +2 -1
  271. freestyle/chainingiterators/__init__.pyi +12 -41
  272. freestyle/functions/__init__.pyi +9 -34
  273. freestyle/predicates/__init__.pyi +46 -218
  274. freestyle/shaders/__init__.pyi +2 -11
  275. freestyle/types/__init__.pyi +2 -1
  276. freestyle/utils/ContextFunctions/__init__.pyi +2 -1
  277. freestyle/utils/__init__.pyi +5 -16
  278. gpu/__init__.pyi +2 -1
  279. gpu/capabilities/__init__.pyi +2 -1
  280. gpu/matrix/__init__.pyi +2 -1
  281. gpu/platform/__init__.pyi +2 -1
  282. gpu/select/__init__.pyi +2 -1
  283. gpu/shader/__init__.pyi +2 -1
  284. gpu/state/__init__.pyi +2 -1
  285. gpu/texture/__init__.pyi +2 -1
  286. gpu/types/__init__.pyi +2 -1
  287. gpu_extras/__init__.pyi +2 -1
  288. gpu_extras/batch/__init__.pyi +2 -1
  289. gpu_extras/presets/__init__.pyi +2 -1
  290. graphviz_export/__init__.pyi +4 -10
  291. idprop/__init__.pyi +2 -1
  292. idprop/types/__init__.pyi +8 -34
  293. imbuf/__init__.pyi +2 -1
  294. imbuf/types/__init__.pyi +2 -3
  295. keyingsets_builtins/__init__.pyi +4 -157
  296. keyingsets_utils/__init__.pyi +17 -71
  297. mathutils/__init__.pyi +2 -1
  298. mathutils/bvhtree/__init__.pyi +2 -3
  299. mathutils/geometry/__init__.pyi +2 -1
  300. mathutils/interpolate/__init__.pyi +2 -1
  301. mathutils/kdtree/__init__.pyi +2 -1
  302. mathutils/noise/__init__.pyi +2 -1
  303. nodeitems_builtins/__init__.pyi +7 -31
  304. nodeitems_utils/__init__.pyi +10 -46
  305. rna_info/__init__.pyi +24 -201
  306. rna_keymap_ui/__init__.pyi +9 -31
  307. rna_prop_ui/__init__.pyi +11 -50
  308. rna_xml/__init__.pyi +8 -30
  309. sys_info/__init__.pyi +3 -5
  310. fake_bpy_module-20240517.dist-info/RECORD +0 -353
  311. {fake_bpy_module-20240517.dist-info → fake_bpy_module-20240519.dist-info}/WHEEL +0 -0
  312. {fake_bpy_module-20240517.dist-info → fake_bpy_module-20240519.dist-info}/top_level.txt +0 -0
@@ -1,7 +1,8 @@
1
1
  import typing
2
2
  import bpy.types
3
3
 
4
- GenericType = typing.TypeVar("GenericType")
4
+ GenericType1 = typing.TypeVar("GenericType1")
5
+ GenericType2 = typing.TypeVar("GenericType2")
5
6
 
6
7
  def fbx(
7
8
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
@@ -16,10 +17,10 @@ def fbx(
16
17
  collection: str | typing.Any = "",
17
18
  global_scale: typing.Any | None = 1.0,
18
19
  apply_unit_scale: bool | typing.Any | None = True,
19
- apply_scale_options: typing.Any | None = "FBX_SCALE_NONE",
20
+ apply_scale_options: str | int | None = "FBX_SCALE_NONE",
20
21
  use_space_transform: bool | typing.Any | None = True,
21
22
  bake_space_transform: bool | typing.Any | None = False,
22
- object_types: typing.Any | None = {
23
+ object_types: set[str] | set[int] | None = {
23
24
  "ARMATURE",
24
25
  "CAMERA",
25
26
  "EMPTY",
@@ -29,8 +30,8 @@ def fbx(
29
30
  },
30
31
  use_mesh_modifiers: bool | typing.Any | None = True,
31
32
  use_mesh_modifiers_render: bool | typing.Any | None = True,
32
- mesh_smooth_type: typing.Any | None = "OFF",
33
- colors_type: typing.Any | None = "SRGB",
33
+ mesh_smooth_type: str | int | None = "OFF",
34
+ colors_type: str | int | None = "SRGB",
34
35
  prioritize_active_color: bool | typing.Any | None = False,
35
36
  use_subsurf: bool | typing.Any | None = False,
36
37
  use_mesh_edges: bool | typing.Any | None = False,
@@ -38,10 +39,10 @@ def fbx(
38
39
  use_triangles: bool | typing.Any | None = False,
39
40
  use_custom_props: bool | typing.Any | None = False,
40
41
  add_leaf_bones: bool | typing.Any | None = True,
41
- primary_bone_axis: typing.Any | None = "Y",
42
- secondary_bone_axis: typing.Any | None = "X",
42
+ primary_bone_axis: str | int | None = "Y",
43
+ secondary_bone_axis: str | int | None = "X",
43
44
  use_armature_deform_only: bool | typing.Any | None = False,
44
- armature_nodetype: typing.Any | None = "NULL",
45
+ armature_nodetype: str | int | None = "NULL",
45
46
  bake_anim: bool | typing.Any | None = True,
46
47
  bake_anim_use_all_bones: bool | typing.Any | None = True,
47
48
  bake_anim_use_nla_strips: bool | typing.Any | None = True,
@@ -49,13 +50,13 @@ def fbx(
49
50
  bake_anim_force_startend_keying: bool | typing.Any | None = True,
50
51
  bake_anim_step: typing.Any | None = 1.0,
51
52
  bake_anim_simplify_factor: typing.Any | None = 1.0,
52
- path_mode: typing.Any | None = "AUTO",
53
+ path_mode: str | int | None = "AUTO",
53
54
  embed_textures: bool | typing.Any | None = False,
54
- batch_mode: typing.Any | None = "OFF",
55
+ batch_mode: str | int | None = "OFF",
55
56
  use_batch_own_dir: bool | typing.Any | None = True,
56
57
  use_metadata: bool | typing.Any | None = True,
57
- axis_forward: typing.Any | None = "-Z",
58
- axis_up: typing.Any | None = "Y",
58
+ axis_forward: str | int | None = "-Z",
59
+ axis_up: str | int | None = "Y",
59
60
  ):
60
61
  """Write a FBX file
61
62
 
@@ -93,7 +94,7 @@ def fbx(
93
94
 
94
95
  FBX_SCALE_ALL
95
96
  FBX All -- Apply custom scaling and units scaling to FBX scale.
96
- :type apply_scale_options: typing.Any | None
97
+ :type apply_scale_options: str | int | None
97
98
  :param use_space_transform: Use Space Transform, Apply global space transform to the object rotations. When disabled only the axis space is written to the file and all object transforms are left as-is
98
99
  :type use_space_transform: bool | typing.Any | None
99
100
  :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)
@@ -117,7 +118,7 @@ def fbx(
117
118
 
118
119
  OTHER
119
120
  Other -- Other geometry types, like curve, metaball, etc. (converted to meshes).
120
- :type object_types: typing.Any | None
121
+ :type object_types: set[str] | set[int] | None
121
122
  :param use_mesh_modifiers: Apply Modifiers, Apply modifiers to mesh objects (except Armature ones) - WARNING: prevents exporting shape keys
122
123
  :type use_mesh_modifiers: bool | typing.Any | None
123
124
  :param use_mesh_modifiers_render: Use Modifiers Render Setting, Use render settings when applying modifiers to mesh objects (DISABLED in Blender 2.8)
@@ -132,7 +133,7 @@ def fbx(
132
133
 
133
134
  EDGE
134
135
  Edge -- Write edge smoothing.
135
- :type mesh_smooth_type: typing.Any | None
136
+ :type mesh_smooth_type: str | int | None
136
137
  :param colors_type: Vertex Colors, Export vertex color attributes
137
138
 
138
139
  NONE
@@ -143,7 +144,7 @@ def fbx(
143
144
 
144
145
  LINEAR
145
146
  Linear -- Export colors in linear color space.
146
- :type colors_type: typing.Any | None
147
+ :type colors_type: str | int | None
147
148
  :param prioritize_active_color: Prioritize Active Color, Make sure active color will be exported first. Could be important since some other software can discard other color attributes besides the first one
148
149
  :type prioritize_active_color: bool | typing.Any | None
149
150
  :param use_subsurf: Export Subdivision Surface, Export the last Catmull-Rom subdivision modifier as FBX subdivision (does not apply the modifier even if 'Apply Modifiers' is enabled)
@@ -159,9 +160,9 @@ def fbx(
159
160
  :param add_leaf_bones: Add Leaf Bones, Append a final bone to the end of each chain to specify last bone length (use this when you intend to edit the armature from exported data)
160
161
  :type add_leaf_bones: bool | typing.Any | None
161
162
  :param primary_bone_axis: Primary Bone Axis
162
- :type primary_bone_axis: typing.Any | None
163
+ :type primary_bone_axis: str | int | None
163
164
  :param secondary_bone_axis: Secondary Bone Axis
164
- :type secondary_bone_axis: typing.Any | None
165
+ :type secondary_bone_axis: str | int | None
165
166
  :param use_armature_deform_only: Only Deform Bones, Only write deforming bones (and non-deforming ones when they have deforming children)
166
167
  :type use_armature_deform_only: bool | typing.Any | None
167
168
  :param armature_nodetype: Armature FBXNode Type, FBX type of node (object) used to represent Blender's armatures (use the Null type unless you experience issues with the other app, as other choices may not import back perfectly into Blender...)
@@ -174,7 +175,7 @@ def fbx(
174
175
 
175
176
  LIMBNODE
176
177
  LimbNode -- 'LimbNode' FBX node, a regular joint between two bones....
177
- :type armature_nodetype: typing.Any | None
178
+ :type armature_nodetype: str | int | None
178
179
  :param bake_anim: Baked Animation, Export baked keyframe animation
179
180
  :type bake_anim: bool | typing.Any | None
180
181
  :param bake_anim_use_all_bones: Key All Bones, Force exporting at least one key of animation for all bones (needed with some target applications, like UE4)
@@ -208,7 +209,7 @@ def fbx(
208
209
 
209
210
  COPY
210
211
  Copy -- Copy the file to the destination path (or subdirectory).
211
- :type path_mode: typing.Any | None
212
+ :type path_mode: str | int | None
212
213
  :param embed_textures: Embed Textures, Embed textures in FBX binary file (only for "Copy" path mode!)
213
214
  :type embed_textures: bool | typing.Any | None
214
215
  :param batch_mode: Batch Mode
@@ -227,15 +228,15 @@ def fbx(
227
228
 
228
229
  ACTIVE_SCENE_COLLECTION
229
230
  Active Scene Collections -- Each collection (including master, non-data-block one) of the active scene as a file, including content from children collections.
230
- :type batch_mode: typing.Any | None
231
+ :type batch_mode: str | int | None
231
232
  :param use_batch_own_dir: Batch Own Dir, Create a dir for each exported file
232
233
  :type use_batch_own_dir: bool | typing.Any | None
233
234
  :param use_metadata: Use Metadata
234
235
  :type use_metadata: bool | typing.Any | None
235
236
  :param axis_forward: Forward
236
- :type axis_forward: typing.Any | None
237
+ :type axis_forward: str | int | None
237
238
  :param axis_up: Up
238
- :type axis_up: typing.Any | None
239
+ :type axis_up: str | int | None
239
240
  """
240
241
 
241
242
  ...
@@ -246,7 +247,7 @@ def gltf(
246
247
  undo: bool | None = None,
247
248
  filepath: str | typing.Any = "",
248
249
  check_existing: bool | typing.Any | None = True,
249
- export_import_convert_lighting_mode: typing.Any | None = "SPEC",
250
+ export_import_convert_lighting_mode: str | int | None = "SPEC",
250
251
  gltf_export_id: str | typing.Any = "",
251
252
  export_use_gltfpack: bool | typing.Any | None = False,
252
253
  export_gltfpack_tc: bool | typing.Any | None = True,
@@ -258,12 +259,12 @@ def gltf(
258
259
  export_gltfpack_vt: typing.Any | None = 12,
259
260
  export_gltfpack_vn: typing.Any | None = 8,
260
261
  export_gltfpack_vc: typing.Any | None = 8,
261
- export_gltfpack_vpi: typing.Any | None = "Integer",
262
+ export_gltfpack_vpi: str | int | None = "Integer",
262
263
  export_gltfpack_noq: bool | typing.Any | None = True,
263
- export_format: str | int | typing.Any | None = "",
264
- ui_tab: typing.Any | None = "GENERAL",
264
+ export_format: str | int | None = "",
265
+ ui_tab: str | int | None = "GENERAL",
265
266
  export_copyright: str | typing.Any = "",
266
- export_image_format: typing.Any | None = "AUTO",
267
+ export_image_format: str | int | None = "AUTO",
267
268
  export_image_add_webp: bool | typing.Any | None = False,
268
269
  export_image_webp_fallback: bool | typing.Any | None = False,
269
270
  export_texture_dir: str | typing.Any = "",
@@ -281,7 +282,7 @@ def gltf(
281
282
  export_draco_color_quantization: typing.Any | None = 10,
282
283
  export_draco_generic_quantization: typing.Any | None = 12,
283
284
  export_tangents: bool | typing.Any | None = False,
284
- export_materials: typing.Any | None = "EXPORT",
285
+ export_materials: str | int | None = "EXPORT",
285
286
  export_unused_images: bool | typing.Any | None = False,
286
287
  export_unused_textures: bool | typing.Any | None = False,
287
288
  export_colors: bool | typing.Any | None = True,
@@ -305,7 +306,7 @@ def gltf(
305
306
  export_frame_step: typing.Any | None = 1,
306
307
  export_force_sampling: bool | typing.Any | None = True,
307
308
  export_pointer_animation: bool | typing.Any | None = False,
308
- export_animation_mode: typing.Any | None = "ACTIONS",
309
+ export_animation_mode: str | int | None = "ACTIONS",
309
310
  export_nla_strips_merged_animation_name: str | typing.Any = "Animation",
310
311
  export_def_bones: bool | typing.Any | None = False,
311
312
  export_hierarchy_flatten_bones: bool | typing.Any | None = False,
@@ -316,7 +317,7 @@ def gltf(
316
317
  export_optimize_animation_keep_anim_armature: bool | typing.Any | None = True,
317
318
  export_optimize_animation_keep_anim_object: bool | typing.Any | None = False,
318
319
  export_optimize_armature_disable_viewport: bool | typing.Any | None = False,
319
- export_negative_frame: typing.Any | None = "SLIDE",
320
+ export_negative_frame: str | int | None = "SLIDE",
320
321
  export_anim_slide_to_zero: bool | typing.Any | None = False,
321
322
  export_bake_animation: bool | typing.Any | None = False,
322
323
  export_anim_single_armature: bool | typing.Any | None = True,
@@ -364,7 +365,7 @@ def gltf(
364
365
 
365
366
  RAW
366
367
  Raw (Deprecated) -- Blender lighting strengths with no conversion.
367
- :type export_import_convert_lighting_mode: typing.Any | None
368
+ :type export_import_convert_lighting_mode: str | int | None
368
369
  :param gltf_export_id: Identifier, Identifier of caller (in case of add-on calling this exporter). Can be useful in case of Extension added by other add-ons
369
370
  :type gltf_export_id: str | typing.Any
370
371
  :param export_use_gltfpack: Use Gltfpack, Use gltfpack to simplify the mesh and/or compress its textures
@@ -397,11 +398,11 @@ def gltf(
397
398
 
398
399
  Floating-point
399
400
  Floating-point -- Use floating-point attributes for positions.
400
- :type export_gltfpack_vpi: typing.Any | None
401
+ :type export_gltfpack_vpi: str | int | None
401
402
  :param export_gltfpack_noq: Disable Quantization, Disable quantization; produces much larger glTF files with no extensions
402
403
  :type export_gltfpack_noq: bool | typing.Any | None
403
404
  :param export_format: Format, Output format. Binary is most efficient, but JSON may be easier to edit later
404
- :type export_format: str | int | typing.Any | None
405
+ :type export_format: str | int | None
405
406
  :param ui_tab: ui_tab, Export setting categories
406
407
 
407
408
  GENERAL
@@ -415,7 +416,7 @@ def gltf(
415
416
 
416
417
  ANIMATION
417
418
  Animation -- Animation settings.
418
- :type ui_tab: typing.Any | None
419
+ :type ui_tab: str | int | None
419
420
  :param export_copyright: Copyright, Legal rights and conditions for the model
420
421
  :type export_copyright: str | typing.Any
421
422
  :param export_image_format: Images, Output format for images. PNG is lossless and generally preferred, but JPEG might be preferable for web applications due to the smaller file size. Alternatively they can be omitted if they are not needed
@@ -431,7 +432,7 @@ def gltf(
431
432
 
432
433
  NONE
433
434
  None -- Don't export images.
434
- :type export_image_format: typing.Any | None
435
+ :type export_image_format: str | int | None
435
436
  :param export_image_add_webp: Create WebP, Creates WebP textures for every texture. For already WebP textures, nothing happens
436
437
  :type export_image_add_webp: bool | typing.Any | None
437
438
  :param export_image_webp_fallback: WebP fallback, For all WebP textures, create a PNG fallback texture
@@ -476,7 +477,7 @@ def gltf(
476
477
 
477
478
  NONE
478
479
  No export -- Do not export materials, and combine mesh primitive groups, losing material slot information.
479
- :type export_materials: typing.Any | None
480
+ :type export_materials: str | int | None
480
481
  :param export_unused_images: Unused images, Export images not assigned to any material
481
482
  :type export_unused_images: bool | typing.Any | None
482
483
  :param export_unused_textures: Prepare Unused textures, Export image texture nodes not assigned to any material. This feature is not standard and needs an external extension to be included in the glTF file
@@ -539,7 +540,7 @@ def gltf(
539
540
 
540
541
  SCENE
541
542
  Scene -- Export baked scene as a single animation.
542
- :type export_animation_mode: typing.Any | None
543
+ :type export_animation_mode: str | int | None
543
544
  :param export_nla_strips_merged_animation_name: Merged Animation Name, Name of single glTF animation to be exported
544
545
  :type export_nla_strips_merged_animation_name: str | typing.Any
545
546
  :param export_def_bones: Export Deformation Bones Only, Export Deformation bones only
@@ -567,7 +568,7 @@ def gltf(
567
568
 
568
569
  CROP
569
570
  Crop -- Keep only frames above frame 0.
570
- :type export_negative_frame: typing.Any | None
571
+ :type export_negative_frame: str | int | None
571
572
  :param export_anim_slide_to_zero: Set all glTF Animation starting at 0, Set all glTF animation starting at 0.0s. Can be useful for looping animations
572
573
  :type export_anim_slide_to_zero: bool | typing.Any | None
573
574
  :param export_bake_animation: Bake All Objects Animations, Force exporting animation on every object. Can be useful when using constraints or driver. Also useful when exporting only selection
bpy/ops/file/__init__.pyi CHANGED
@@ -1,7 +1,8 @@
1
1
  import typing
2
2
  import bpy.types
3
3
 
4
- GenericType = typing.TypeVar("GenericType")
4
+ GenericType1 = typing.TypeVar("GenericType1")
5
+ GenericType2 = typing.TypeVar("GenericType2")
5
6
 
6
7
  def autopack_toggle(
7
8
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
@@ -66,7 +67,7 @@ def bookmark_move(
66
67
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
67
68
  execution_context: str | int | None = None,
68
69
  undo: bool | None = None,
69
- direction: typing.Any | None = "TOP",
70
+ direction: str | int | None = "TOP",
70
71
  ):
71
72
  """Move the active bookmark up/down in the list
72
73
 
@@ -86,7 +87,7 @@ def bookmark_move(
86
87
 
87
88
  BOTTOM
88
89
  Bottom -- Bottom of the list.
89
- :type direction: typing.Any | None
90
+ :type direction: str | int | None
90
91
  """
91
92
 
92
93
  ...
@@ -172,7 +173,7 @@ def external_operation(
172
173
  execution_context: str | int | None = None,
173
174
  undo: bool | None = None,
174
175
  filepath: str | typing.Any = "",
175
- operation: typing.Any | None = "OPEN",
176
+ operation: str | int | None = "OPEN",
176
177
  ):
177
178
  """Perform external operation on a file or folder
178
179
 
@@ -227,7 +228,7 @@ def external_operation(
227
228
 
228
229
  CMD
229
230
  Command Prompt Here -- Open a command prompt here.
230
- :type operation: typing.Any | None
231
+ :type operation: str | int | None
231
232
  """
232
233
 
233
234
  ...
@@ -291,8 +292,8 @@ def find_missing_files(
291
292
  filter_folder: bool | typing.Any | None = False,
292
293
  filter_blenlib: bool | typing.Any | None = False,
293
294
  filemode: typing.Any | None = 9,
294
- display_type: typing.Any | None = "DEFAULT",
295
- sort_method: str | int | typing.Any | None = "",
295
+ display_type: str | int | None = "DEFAULT",
296
+ sort_method: str | int | None = "",
296
297
  ):
297
298
  """Try to find missing external files
298
299
 
@@ -356,9 +357,9 @@ def find_missing_files(
356
357
 
357
358
  THUMBNAIL
358
359
  Thumbnails -- Display files as thumbnails.
359
- :type display_type: typing.Any | None
360
+ :type display_type: str | int | None
360
361
  :param sort_method: File sorting mode
361
- :type sort_method: str | int | typing.Any | None
362
+ :type sort_method: str | int | None
362
363
  """
363
364
 
364
365
  ...
@@ -604,7 +605,7 @@ def select_all(
604
605
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
605
606
  execution_context: str | int | None = None,
606
607
  undo: bool | None = None,
607
- action: typing.Any | None = "TOGGLE",
608
+ action: str | int | None = "TOGGLE",
608
609
  ):
609
610
  """Select or deselect all files
610
611
 
@@ -624,7 +625,7 @@ def select_all(
624
625
 
625
626
  INVERT
626
627
  Invert -- Invert selection of all elements.
627
- :type action: typing.Any | None
628
+ :type action: str | int | None
628
629
  """
629
630
 
630
631
  ...
@@ -655,7 +656,7 @@ def select_box(
655
656
  ymin: typing.Any | None = 0,
656
657
  ymax: typing.Any | None = 0,
657
658
  wait_for_input: bool | typing.Any | None = True,
658
- mode: typing.Any | None = "SET",
659
+ mode: str | int | None = "SET",
659
660
  ):
660
661
  """Activate/select the file(s) contained in the border
661
662
 
@@ -682,7 +683,7 @@ def select_box(
682
683
 
683
684
  SUB
684
685
  Subtract -- Subtract existing selection.
685
- :type mode: typing.Any | None
686
+ :type mode: str | int | None
686
687
  """
687
688
 
688
689
  ...
@@ -691,7 +692,7 @@ def select_walk(
691
692
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
692
693
  execution_context: str | int | None = None,
693
694
  undo: bool | None = None,
694
- direction: typing.Any | None = "UP",
695
+ direction: str | int | None = "UP",
695
696
  extend: bool | typing.Any | None = False,
696
697
  fill: bool | typing.Any | None = False,
697
698
  ):
@@ -701,7 +702,7 @@ def select_walk(
701
702
  :type execution_context: str | int | None
702
703
  :type undo: bool | None
703
704
  :param direction: Walk Direction, Select/Deselect element in this direction
704
- :type direction: typing.Any | None
705
+ :type direction: str | int | None
705
706
  :param extend: Extend, Extend selection instead of deselecting everything first
706
707
  :type extend: bool | typing.Any | None
707
708
  :param fill: Fill, Select everything beginning with the last selection
@@ -756,7 +757,7 @@ def unpack_all(
756
757
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
757
758
  execution_context: str | int | None = None,
758
759
  undo: bool | None = None,
759
- method: typing.Any | None = "USE_LOCAL",
760
+ method: str | int | None = "USE_LOCAL",
760
761
  ):
761
762
  """Unpack all files packed into this .blend to external ones
762
763
 
@@ -764,7 +765,7 @@ def unpack_all(
764
765
  :type execution_context: str | int | None
765
766
  :type undo: bool | None
766
767
  :param method: Method, How to unpack
767
- :type method: typing.Any | None
768
+ :type method: str | int | None
768
769
  """
769
770
 
770
771
  ...
@@ -773,7 +774,7 @@ def unpack_item(
773
774
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
774
775
  execution_context: str | int | None = None,
775
776
  undo: bool | None = None,
776
- method: typing.Any | None = "USE_LOCAL",
777
+ method: str | int | None = "USE_LOCAL",
777
778
  id_name: str | typing.Any = "",
778
779
  id_type: typing.Any | None = 19785,
779
780
  ):
@@ -783,7 +784,7 @@ def unpack_item(
783
784
  :type execution_context: str | int | None
784
785
  :type undo: bool | None
785
786
  :param method: Method, How to unpack
786
- :type method: typing.Any | None
787
+ :type method: str | int | None
787
788
  :param id_name: ID Name, Name of ID block to unpack
788
789
  :type id_name: str | typing.Any
789
790
  :param id_type: ID Type, Identifier type of ID block
@@ -1,7 +1,8 @@
1
1
  import typing
2
2
  import bpy.types
3
3
 
4
- GenericType = typing.TypeVar("GenericType")
4
+ GenericType1 = typing.TypeVar("GenericType1")
5
+ GenericType2 = typing.TypeVar("GenericType2")
5
6
 
6
7
  def bake_all(
7
8
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
bpy/ops/font/__init__.pyi CHANGED
@@ -1,13 +1,14 @@
1
1
  import typing
2
2
  import bpy.types
3
3
 
4
- GenericType = typing.TypeVar("GenericType")
4
+ GenericType1 = typing.TypeVar("GenericType1")
5
+ GenericType2 = typing.TypeVar("GenericType2")
5
6
 
6
7
  def case_set(
7
8
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
8
9
  execution_context: str | int | None = None,
9
10
  undo: bool | None = None,
10
- case: typing.Any | None = "LOWER",
11
+ case: str | int | None = "LOWER",
11
12
  ):
12
13
  """Set font case
13
14
 
@@ -15,7 +16,7 @@ def case_set(
15
16
  :type execution_context: str | int | None
16
17
  :type undo: bool | None
17
18
  :param case: Case, Lower or upper case
18
- :type case: typing.Any | None
19
+ :type case: str | int | None
19
20
  """
20
21
 
21
22
  ...
@@ -72,7 +73,7 @@ def delete(
72
73
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
73
74
  execution_context: str | int | None = None,
74
75
  undo: bool | None = None,
75
- type: typing.Any | None = "PREVIOUS_CHARACTER",
76
+ type: str | int | None = "PREVIOUS_CHARACTER",
76
77
  ):
77
78
  """Delete text by cursor position
78
79
 
@@ -80,7 +81,7 @@ def delete(
80
81
  :type execution_context: str | int | None
81
82
  :type undo: bool | None
82
83
  :param type: Type, Which part of the text to delete
83
- :type type: typing.Any | None
84
+ :type type: str | int | None
84
85
  """
85
86
 
86
87
  ...
@@ -103,7 +104,7 @@ def move(
103
104
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
104
105
  execution_context: str | int | None = None,
105
106
  undo: bool | None = None,
106
- type: typing.Any | None = "LINE_BEGIN",
107
+ type: str | int | None = "LINE_BEGIN",
107
108
  ):
108
109
  """Move cursor to position type
109
110
 
@@ -111,7 +112,7 @@ def move(
111
112
  :type execution_context: str | int | None
112
113
  :type undo: bool | None
113
114
  :param type: Type, Where to move cursor to
114
- :type type: typing.Any | None
115
+ :type type: str | int | None
115
116
  """
116
117
 
117
118
  ...
@@ -120,7 +121,7 @@ def move_select(
120
121
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
121
122
  execution_context: str | int | None = None,
122
123
  undo: bool | None = None,
123
- type: typing.Any | None = "LINE_BEGIN",
124
+ type: str | int | None = "LINE_BEGIN",
124
125
  ):
125
126
  """Move the cursor while selecting
126
127
 
@@ -128,7 +129,7 @@ def move_select(
128
129
  :type execution_context: str | int | None
129
130
  :type undo: bool | None
130
131
  :param type: Type, Where to move cursor to, to make a selection
131
- :type type: typing.Any | None
132
+ :type type: str | int | None
132
133
  """
133
134
 
134
135
  ...
@@ -159,8 +160,8 @@ def open(
159
160
  filter_blenlib: bool | typing.Any | None = False,
160
161
  filemode: typing.Any | None = 9,
161
162
  relative_path: bool | typing.Any | None = True,
162
- display_type: typing.Any | None = "THUMBNAIL",
163
- sort_method: str | int | typing.Any | None = "",
163
+ display_type: str | int | None = "THUMBNAIL",
164
+ sort_method: str | int | None = "",
164
165
  ):
165
166
  """Load a new font from a file
166
167
 
@@ -224,9 +225,9 @@ def open(
224
225
 
225
226
  THUMBNAIL
226
227
  Thumbnails -- Display files as thumbnails.
227
- :type display_type: typing.Any | None
228
+ :type display_type: str | int | None
228
229
  :param sort_method: File sorting mode
229
- :type sort_method: str | int | typing.Any | None
230
+ :type sort_method: str | int | None
230
231
  """
231
232
 
232
233
  ...
@@ -277,7 +278,7 @@ def style_set(
277
278
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
278
279
  execution_context: str | int | None = None,
279
280
  undo: bool | None = None,
280
- style: typing.Any | None = "BOLD",
281
+ style: str | int | None = "BOLD",
281
282
  clear: bool | typing.Any | None = False,
282
283
  ):
283
284
  """Set font style
@@ -286,7 +287,7 @@ def style_set(
286
287
  :type execution_context: str | int | None
287
288
  :type undo: bool | None
288
289
  :param style: Style, Style to set selection to
289
- :type style: typing.Any | None
290
+ :type style: str | int | None
290
291
  :param clear: Clear, Clear style rather than setting it
291
292
  :type clear: bool | typing.Any | None
292
293
  """
@@ -297,7 +298,7 @@ def style_toggle(
297
298
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
298
299
  execution_context: str | int | None = None,
299
300
  undo: bool | None = None,
300
- style: typing.Any | None = "BOLD",
301
+ style: str | int | None = "BOLD",
301
302
  ):
302
303
  """Toggle font style
303
304
 
@@ -305,7 +306,7 @@ def style_toggle(
305
306
  :type execution_context: str | int | None
306
307
  :type undo: bool | None
307
308
  :param style: Style, Style to set selection to
308
- :type style: typing.Any | None
309
+ :type style: str | int | None
309
310
  """
310
311
 
311
312
  ...
@@ -414,8 +415,8 @@ def text_paste_from_file(
414
415
  filter_folder: bool | typing.Any | None = True,
415
416
  filter_blenlib: bool | typing.Any | None = False,
416
417
  filemode: typing.Any | None = 9,
417
- display_type: typing.Any | None = "DEFAULT",
418
- sort_method: str | int | typing.Any | None = "",
418
+ display_type: str | int | None = "DEFAULT",
419
+ sort_method: str | int | None = "",
419
420
  ):
420
421
  """Paste contents from file
421
422
 
@@ -477,9 +478,9 @@ def text_paste_from_file(
477
478
 
478
479
  THUMBNAIL
479
480
  Thumbnails -- Display files as thumbnails.
480
- :type display_type: typing.Any | None
481
+ :type display_type: str | int | None
481
482
  :param sort_method: File sorting mode
482
- :type sort_method: str | int | typing.Any | None
483
+ :type sort_method: str | int | None
483
484
  """
484
485
 
485
486
  ...
@@ -1,7 +1,8 @@
1
1
  import typing
2
2
  import bpy.types
3
3
 
4
- GenericType = typing.TypeVar("GenericType")
4
+ GenericType1 = typing.TypeVar("GenericType1")
5
+ GenericType2 = typing.TypeVar("GenericType2")
5
6
 
6
7
  def attribute_add(
7
8
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
@@ -30,7 +31,7 @@ def attribute_convert(
30
31
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
31
32
  execution_context: str | int | None = None,
32
33
  undo: bool | None = None,
33
- mode: typing.Any | None = "GENERIC",
34
+ mode: str | int | None = "GENERIC",
34
35
  domain: str | int | None = "POINT",
35
36
  data_type: str | int | None = "FLOAT",
36
37
  ):
@@ -40,7 +41,7 @@ def attribute_convert(
40
41
  :type execution_context: str | int | None
41
42
  :type undo: bool | None
42
43
  :param mode: Mode
43
- :type mode: typing.Any | None
44
+ :type mode: str | int | None
44
45
  :param domain: Domain, Which geometry element to move the attribute to
45
46
  :type domain: str | int | None
46
47
  :param data_type: Data Type
@@ -1,7 +1,8 @@
1
1
  import typing
2
2
  import bpy.types
3
3
 
4
- GenericType = typing.TypeVar("GenericType")
4
+ GenericType1 = typing.TypeVar("GenericType1")
5
+ GenericType2 = typing.TypeVar("GenericType2")
5
6
 
6
7
  def gizmo_select(
7
8
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,