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,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 action_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
- action: str | int | typing.Any | None = "",
11
+ action: str | int | None = "",
11
12
  ):
12
13
  """Change the active action used
13
14
 
@@ -15,7 +16,7 @@ def action_set(
15
16
  :type execution_context: str | int | None
16
17
  :type undo: bool | None
17
18
  :param action: Action
18
- :type action: str | int | typing.Any | None
19
+ :type action: str | int | None
19
20
  """
20
21
 
21
22
  ...
@@ -24,7 +25,7 @@ def animdata_operation(
24
25
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
25
26
  execution_context: str | int | None = None,
26
27
  undo: bool | None = None,
27
- type: typing.Any | None = "CLEAR_ANIMDATA",
28
+ type: str | int | None = "CLEAR_ANIMDATA",
28
29
  ):
29
30
  """Undocumented, consider contributing.
30
31
 
@@ -47,7 +48,7 @@ def animdata_operation(
47
48
 
48
49
  CLEAR_DRIVERS
49
50
  Clear Drivers.
50
- :type type: typing.Any | None
51
+ :type type: str | int | None
51
52
  """
52
53
 
53
54
  ...
@@ -415,7 +416,7 @@ def constraint_operation(
415
416
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
416
417
  execution_context: str | int | None = None,
417
418
  undo: bool | None = None,
418
- type: typing.Any | None = "ENABLE",
419
+ type: str | int | None = "ENABLE",
419
420
  ):
420
421
  """Undocumented, consider contributing.
421
422
 
@@ -423,7 +424,7 @@ def constraint_operation(
423
424
  :type execution_context: str | int | None
424
425
  :type undo: bool | None
425
426
  :param type: Constraint Operation
426
- :type type: typing.Any | None
427
+ :type type: str | int | None
427
428
  """
428
429
 
429
430
  ...
@@ -432,7 +433,7 @@ def data_operation(
432
433
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
433
434
  execution_context: str | int | None = None,
434
435
  undo: bool | None = None,
435
- type: str | int | typing.Any | None = "DEFAULT",
436
+ type: str | int | None = "DEFAULT",
436
437
  ):
437
438
  """Undocumented, consider contributing.
438
439
 
@@ -440,7 +441,7 @@ def data_operation(
440
441
  :type execution_context: str | int | None
441
442
  :type undo: bool | None
442
443
  :param type: Data Operation
443
- :type type: str | int | typing.Any | None
444
+ :type type: str | int | None
444
445
  """
445
446
 
446
447
  ...
@@ -578,7 +579,7 @@ def id_operation(
578
579
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
579
580
  execution_context: str | int | None = None,
580
581
  undo: bool | None = None,
581
- type: typing.Any | None = "UNLINK",
582
+ type: str | int | None = "UNLINK",
582
583
  ):
583
584
  """General data-block management operations
584
585
 
@@ -619,7 +620,7 @@ def id_operation(
619
620
 
620
621
  SELECT_LINKED
621
622
  Select Linked.
622
- :type type: typing.Any | None
623
+ :type type: str | int | None
623
624
  """
624
625
 
625
626
  ...
@@ -643,8 +644,8 @@ def id_remap(
643
644
  execution_context: str | int | None = None,
644
645
  undo: bool | None = None,
645
646
  id_type: str | int | None = "OBJECT",
646
- old_id: str | int | typing.Any | None = "",
647
- new_id: str | int | typing.Any | None = "",
647
+ old_id: str | int | None = "",
648
+ new_id: str | int | None = "",
648
649
  ):
649
650
  """Undocumented, consider contributing.
650
651
 
@@ -654,9 +655,9 @@ def id_remap(
654
655
  :param id_type: ID Type
655
656
  :type id_type: str | int | None
656
657
  :param old_id: Old ID, Old ID to replace
657
- :type old_id: str | int | typing.Any | None
658
+ :type old_id: str | int | None
658
659
  :param new_id: New ID, New ID to remap all selected IDs' users to
659
- :type new_id: str | int | typing.Any | None
660
+ :type new_id: str | int | None
660
661
  """
661
662
 
662
663
  ...
@@ -767,7 +768,7 @@ def lib_operation(
767
768
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
768
769
  execution_context: str | int | None = None,
769
770
  undo: bool | None = None,
770
- type: typing.Any | None = "DELETE",
771
+ type: str | int | None = "DELETE",
771
772
  ):
772
773
  """Undocumented, consider contributing.
773
774
 
@@ -785,7 +786,7 @@ def lib_operation(
785
786
 
786
787
  RELOAD
787
788
  Reload -- Reload all data from this library.
788
- :type type: typing.Any | None
789
+ :type type: str | int | None
789
790
  """
790
791
 
791
792
  ...
@@ -808,8 +809,8 @@ def liboverride_operation(
808
809
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
809
810
  execution_context: str | int | None = None,
810
811
  undo: bool | None = None,
811
- type: typing.Any | None = "OVERRIDE_LIBRARY_CREATE_HIERARCHY",
812
- selection_set: typing.Any | None = "SELECTED",
812
+ type: str | int | None = "OVERRIDE_LIBRARY_CREATE_HIERARCHY",
813
+ selection_set: str | int | None = "SELECTED",
813
814
  ):
814
815
  """Create, reset or clear library override hierarchies
815
816
 
@@ -826,7 +827,7 @@ def liboverride_operation(
826
827
 
827
828
  OVERRIDE_LIBRARY_CLEAR_SINGLE
828
829
  Clear -- Delete the selected local overrides and relink their usages to the linked data-blocks if possible, else reset them and mark them as non editable.
829
- :type type: typing.Any | None
830
+ :type type: str | int | None
830
831
  :param selection_set: Selection Set, Over which part of the tree items to apply the operation
831
832
 
832
833
  SELECTED
@@ -837,7 +838,7 @@ def liboverride_operation(
837
838
 
838
839
  SELECTED_AND_CONTENT
839
840
  Selected & Content -- Apply the operation over selected data-blocks and all their dependencies.
840
- :type selection_set: typing.Any | None
841
+ :type selection_set: str | int | None
841
842
  """
842
843
 
843
844
  ...
@@ -846,8 +847,8 @@ def liboverride_troubleshoot_operation(
846
847
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
847
848
  execution_context: str | int | None = None,
848
849
  undo: bool | None = None,
849
- type: typing.Any | None = "OVERRIDE_LIBRARY_RESYNC_HIERARCHY",
850
- selection_set: typing.Any | None = "SELECTED",
850
+ type: str | int | None = "OVERRIDE_LIBRARY_RESYNC_HIERARCHY",
851
+ selection_set: str | int | None = "SELECTED",
851
852
  ):
852
853
  """Advanced operations over library override to help fix broken hierarchies
853
854
 
@@ -864,7 +865,7 @@ def liboverride_troubleshoot_operation(
864
865
 
865
866
  OVERRIDE_LIBRARY_DELETE_HIERARCHY
866
867
  Delete -- Delete the selected local overrides (including their hierarchies of override dependencies) and relink their usages to the linked data-blocks.
867
- :type type: typing.Any | None
868
+ :type type: str | int | None
868
869
  :param selection_set: Selection Set, Over which part of the tree items to apply the operation
869
870
 
870
871
  SELECTED
@@ -875,7 +876,7 @@ def liboverride_troubleshoot_operation(
875
876
 
876
877
  SELECTED_AND_CONTENT
877
878
  Selected & Content -- Apply the operation over selected data-blocks and all their dependencies.
878
- :type selection_set: typing.Any | None
879
+ :type selection_set: str | int | None
879
880
  """
880
881
 
881
882
  ...
@@ -898,7 +899,7 @@ def modifier_operation(
898
899
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
899
900
  execution_context: str | int | None = None,
900
901
  undo: bool | None = None,
901
- type: typing.Any | None = "APPLY",
902
+ type: str | int | None = "APPLY",
902
903
  ):
903
904
  """Undocumented, consider contributing.
904
905
 
@@ -906,7 +907,7 @@ def modifier_operation(
906
907
  :type execution_context: str | int | None
907
908
  :type undo: bool | None
908
909
  :param type: Modifier Operation
909
- :type type: typing.Any | None
910
+ :type type: str | int | None
910
911
  """
911
912
 
912
913
  ...
@@ -915,7 +916,7 @@ def object_operation(
915
916
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
916
917
  execution_context: str | int | None = None,
917
918
  undo: bool | None = None,
918
- type: typing.Any | None = "SELECT",
919
+ type: str | int | None = "SELECT",
919
920
  ):
920
921
  """Undocumented, consider contributing.
921
922
 
@@ -938,7 +939,7 @@ def object_operation(
938
939
 
939
940
  RENAME
940
941
  Rename.
941
- :type type: typing.Any | None
942
+ :type type: str | int | None
942
943
  """
943
944
 
944
945
  ...
@@ -1040,7 +1041,7 @@ def scene_operation(
1040
1041
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1041
1042
  execution_context: str | int | None = None,
1042
1043
  undo: bool | None = None,
1043
- type: str | int | typing.Any | None = "DELETE",
1044
+ type: str | int | None = "DELETE",
1044
1045
  ):
1045
1046
  """Context menu for scene operations
1046
1047
 
@@ -1048,7 +1049,7 @@ def scene_operation(
1048
1049
  :type execution_context: str | int | None
1049
1050
  :type undo: bool | None
1050
1051
  :param type: Scene Operation
1051
- :type type: str | int | typing.Any | None
1052
+ :type type: str | int | None
1052
1053
  """
1053
1054
 
1054
1055
  ...
@@ -1074,7 +1075,7 @@ def select_all(
1074
1075
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1075
1076
  execution_context: str | int | None = None,
1076
1077
  undo: bool | None = None,
1077
- action: typing.Any | None = "TOGGLE",
1078
+ action: str | int | None = "TOGGLE",
1078
1079
  ):
1079
1080
  """Toggle the Outliner selection of items
1080
1081
 
@@ -1094,7 +1095,7 @@ def select_all(
1094
1095
 
1095
1096
  INVERT
1096
1097
  Invert -- Invert selection of all elements.
1097
- :type action: typing.Any | None
1098
+ :type action: str | int | None
1098
1099
  """
1099
1100
 
1100
1101
  ...
@@ -1109,7 +1110,7 @@ def select_box(
1109
1110
  ymin: typing.Any | None = 0,
1110
1111
  ymax: typing.Any | None = 0,
1111
1112
  wait_for_input: bool | typing.Any | None = True,
1112
- mode: typing.Any | None = "SET",
1113
+ mode: str | int | None = "SET",
1113
1114
  ):
1114
1115
  """Use box selection to select tree elements
1115
1116
 
@@ -1138,7 +1139,7 @@ def select_box(
1138
1139
 
1139
1140
  SUB
1140
1141
  Subtract -- Subtract existing selection.
1141
- :type mode: typing.Any | None
1142
+ :type mode: str | int | None
1142
1143
  """
1143
1144
 
1144
1145
  ...
@@ -1147,7 +1148,7 @@ def select_walk(
1147
1148
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1148
1149
  execution_context: str | int | None = None,
1149
1150
  undo: bool | None = None,
1150
- direction: typing.Any | None = "UP",
1151
+ direction: str | int | None = "UP",
1151
1152
  extend: bool | typing.Any | None = False,
1152
1153
  toggle_all: bool | typing.Any | None = False,
1153
1154
  ):
@@ -1157,7 +1158,7 @@ def select_walk(
1157
1158
  :type execution_context: str | int | None
1158
1159
  :type undo: bool | None
1159
1160
  :param direction: Walk Direction, Select/Deselect element in this direction
1160
- :type direction: typing.Any | None
1161
+ :type direction: str | int | None
1161
1162
  :param extend: Extend, Extend selection on walk
1162
1163
  :type extend: bool | typing.Any | None
1163
1164
  :param toggle_all: Toggle All, Toggle open/close hierarchy
@@ -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 add_simple_uvs(
7
8
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
@@ -21,8 +22,8 @@ def add_texture_paint_slot(
21
22
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
22
23
  execution_context: str | int | None = None,
23
24
  undo: bool | None = None,
24
- type: typing.Any | None = "BASE_COLOR",
25
- slot_type: typing.Any | None = "IMAGE",
25
+ type: str | int | None = "BASE_COLOR",
26
+ slot_type: str | int | None = "IMAGE",
26
27
  name: str | typing.Any = "Untitled",
27
28
  color: typing.Any | None = (0.0, 0.0, 0.0, 1.0),
28
29
  width: typing.Any | None = 1024,
@@ -39,9 +40,9 @@ def add_texture_paint_slot(
39
40
  :type execution_context: str | int | None
40
41
  :type undo: bool | None
41
42
  :param type: Material Layer Type, Material layer type of new paint slot
42
- :type type: typing.Any | None
43
+ :type type: str | int | None
43
44
  :param slot_type: Slot Type, Type of new paint slot
44
- :type slot_type: typing.Any | None
45
+ :type slot_type: str | int | None
45
46
  :param name: Name, Name for new paint slot source
46
47
  :type name: str | typing.Any
47
48
  :param color: Color, Default fill color
@@ -129,7 +130,7 @@ def face_select_all(
129
130
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
130
131
  execution_context: str | int | None = None,
131
132
  undo: bool | None = None,
132
- action: typing.Any | None = "TOGGLE",
133
+ action: str | int | None = "TOGGLE",
133
134
  ):
134
135
  """Change selection for all faces
135
136
 
@@ -149,7 +150,7 @@ def face_select_all(
149
150
 
150
151
  INVERT
151
152
  Invert -- Invert selection of all elements.
152
- :type action: typing.Any | None
153
+ :type action: str | int | None
153
154
  """
154
155
 
155
156
  ...
@@ -299,8 +300,8 @@ def hide_show(
299
300
  ymin: typing.Any | None = 0,
300
301
  ymax: typing.Any | None = 0,
301
302
  wait_for_input: bool | typing.Any | None = True,
302
- action: typing.Any | None = "HIDE",
303
- area: typing.Any | None = "Inside",
303
+ action: str | int | None = "HIDE",
304
+ area: str | int | None = "Inside",
304
305
  use_front_faces_only: bool | typing.Any | None = False,
305
306
  ):
306
307
  """Hide/show some vertices
@@ -325,7 +326,7 @@ def hide_show(
325
326
 
326
327
  SHOW
327
328
  Show -- Show vertices.
328
- :type action: typing.Any | None
329
+ :type action: str | int | None
329
330
  :param area: Visibility Area, Which vertices to hide or show
330
331
 
331
332
  OUTSIDE
@@ -333,7 +334,7 @@ def hide_show(
333
334
 
334
335
  Inside
335
336
  Inside -- Hide or show vertices inside the selection.
336
- :type area: typing.Any | None
337
+ :type area: str | int | None
337
338
  :param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
338
339
  :type use_front_faces_only: bool | typing.Any | None
339
340
  """
@@ -344,7 +345,7 @@ def hide_show_all(
344
345
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
345
346
  execution_context: str | int | None = None,
346
347
  undo: bool | None = None,
347
- action: typing.Any | None = "HIDE",
348
+ action: str | int | None = "HIDE",
348
349
  ):
349
350
  """Hide/show all vertices
350
351
 
@@ -358,7 +359,7 @@ def hide_show_all(
358
359
 
359
360
  SHOW
360
361
  Show -- Show vertices.
361
- :type action: typing.Any | None
362
+ :type action: str | int | None
362
363
  """
363
364
 
364
365
  ...
@@ -368,8 +369,8 @@ def hide_show_lasso_gesture(
368
369
  execution_context: str | int | None = None,
369
370
  undo: bool | None = None,
370
371
  path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
371
- action: typing.Any | None = "HIDE",
372
- area: typing.Any | None = "Inside",
372
+ action: str | int | None = "HIDE",
373
+ area: str | int | None = "Inside",
373
374
  use_front_faces_only: bool | typing.Any | None = False,
374
375
  ):
375
376
  """Hide/show some vertices
@@ -386,7 +387,7 @@ def hide_show_lasso_gesture(
386
387
 
387
388
  SHOW
388
389
  Show -- Show vertices.
389
- :type action: typing.Any | None
390
+ :type action: str | int | None
390
391
  :param area: Visibility Area, Which vertices to hide or show
391
392
 
392
393
  OUTSIDE
@@ -394,7 +395,7 @@ def hide_show_lasso_gesture(
394
395
 
395
396
  Inside
396
397
  Inside -- Hide or show vertices inside the selection.
397
- :type area: typing.Any | None
398
+ :type area: str | int | None
398
399
  :param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
399
400
  :type use_front_faces_only: bool | typing.Any | None
400
401
  """
@@ -411,8 +412,8 @@ def hide_show_line_gesture(
411
412
  yend: typing.Any | None = 0,
412
413
  flip: bool | typing.Any | None = False,
413
414
  cursor: typing.Any | None = 5,
414
- action: typing.Any | None = "HIDE",
415
- area: typing.Any | None = "Inside",
415
+ action: str | int | None = "HIDE",
416
+ area: str | int | None = "Inside",
416
417
  use_front_faces_only: bool | typing.Any | None = False,
417
418
  use_limit_to_segment: bool | typing.Any | None = False,
418
419
  ):
@@ -440,7 +441,7 @@ def hide_show_line_gesture(
440
441
 
441
442
  SHOW
442
443
  Show -- Show vertices.
443
- :type action: typing.Any | None
444
+ :type action: str | int | None
444
445
  :param area: Visibility Area, Which vertices to hide or show
445
446
 
446
447
  OUTSIDE
@@ -448,7 +449,7 @@ def hide_show_line_gesture(
448
449
 
449
450
  Inside
450
451
  Inside -- Hide or show vertices inside the selection.
451
- :type area: typing.Any | None
452
+ :type area: str | int | None
452
453
  :param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
453
454
  :type use_front_faces_only: bool | typing.Any | None
454
455
  :param use_limit_to_segment: Limit to Segment, Apply the gesture action only to the area that is contained within the segment without extending its effect to the entire line
@@ -461,7 +462,7 @@ def hide_show_masked(
461
462
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
462
463
  execution_context: str | int | None = None,
463
464
  undo: bool | None = None,
464
- action: typing.Any | None = "HIDE",
465
+ action: str | int | None = "HIDE",
465
466
  ):
466
467
  """Hide/show all masked vertices above a threshold
467
468
 
@@ -475,7 +476,7 @@ def hide_show_masked(
475
476
 
476
477
  SHOW
477
478
  Show -- Show vertices.
478
- :type action: typing.Any | None
479
+ :type action: str | int | None
479
480
  """
480
481
 
481
482
  ...
@@ -485,8 +486,8 @@ def hide_show_polyline_gesture(
485
486
  execution_context: str | int | None = None,
486
487
  undo: bool | None = None,
487
488
  path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
488
- action: typing.Any | None = "HIDE",
489
- area: typing.Any | None = "Inside",
489
+ action: str | int | None = "HIDE",
490
+ area: str | int | None = "Inside",
490
491
  use_front_faces_only: bool | typing.Any | None = False,
491
492
  ):
492
493
  """Hide/show some vertices
@@ -503,7 +504,7 @@ def hide_show_polyline_gesture(
503
504
 
504
505
  SHOW
505
506
  Show -- Show vertices.
506
- :type action: typing.Any | None
507
+ :type action: str | int | None
507
508
  :param area: Visibility Area, Which vertices to hide or show
508
509
 
509
510
  OUTSIDE
@@ -511,7 +512,7 @@ def hide_show_polyline_gesture(
511
512
 
512
513
  Inside
513
514
  Inside -- Hide or show vertices inside the selection.
514
- :type area: typing.Any | None
515
+ :type area: str | int | None
515
516
  :param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
516
517
  :type use_front_faces_only: bool | typing.Any | None
517
518
  """
@@ -541,7 +542,7 @@ def image_paint(
541
542
  undo: bool | None = None,
542
543
  stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
543
544
  | None = None,
544
- mode: typing.Any | None = "NORMAL",
545
+ mode: str | int | None = "NORMAL",
545
546
  ):
546
547
  """Paint a stroke into the image
547
548
 
@@ -560,7 +561,7 @@ def image_paint(
560
561
 
561
562
  SMOOTH
562
563
  Smooth -- Switch brush to smooth mode for duration of stroke.
563
- :type mode: typing.Any | None
564
+ :type mode: str | int | None
564
565
  """
565
566
 
566
567
  ...
@@ -575,7 +576,7 @@ def mask_box_gesture(
575
576
  ymax: typing.Any | None = 0,
576
577
  wait_for_input: bool | typing.Any | None = True,
577
578
  use_front_faces_only: bool | typing.Any | None = False,
578
- mode: typing.Any | None = "VALUE",
579
+ mode: str | int | None = "VALUE",
579
580
  value: typing.Any | None = 1.0,
580
581
  ):
581
582
  """Mask within a rectangle defined by the cursor
@@ -605,7 +606,7 @@ def mask_box_gesture(
605
606
 
606
607
  INVERT
607
608
  Invert -- Invert the mask.
608
- :type mode: typing.Any | None
609
+ :type mode: str | int | None
609
610
  :param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
610
611
  :type value: typing.Any | None
611
612
  """
@@ -616,7 +617,7 @@ def mask_flood_fill(
616
617
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
617
618
  execution_context: str | int | None = None,
618
619
  undo: bool | None = None,
619
- mode: typing.Any | None = "VALUE",
620
+ mode: str | int | None = "VALUE",
620
621
  value: typing.Any | None = 0.0,
621
622
  ):
622
623
  """Fill the whole mask with a given value, or invert its values
@@ -634,7 +635,7 @@ def mask_flood_fill(
634
635
 
635
636
  INVERT
636
637
  Invert -- Invert the mask.
637
- :type mode: typing.Any | None
638
+ :type mode: str | int | None
638
639
  :param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
639
640
  :type value: typing.Any | None
640
641
  """
@@ -647,7 +648,7 @@ def mask_lasso_gesture(
647
648
  undo: bool | None = None,
648
649
  path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
649
650
  use_front_faces_only: bool | typing.Any | None = False,
650
- mode: typing.Any | None = "VALUE",
651
+ mode: str | int | None = "VALUE",
651
652
  value: typing.Any | None = 1.0,
652
653
  ):
653
654
  """Mask within a shape defined by the cursor
@@ -669,7 +670,7 @@ def mask_lasso_gesture(
669
670
 
670
671
  INVERT
671
672
  Invert -- Invert the mask.
672
- :type mode: typing.Any | None
673
+ :type mode: str | int | None
673
674
  :param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
674
675
  :type value: typing.Any | None
675
676
  """
@@ -688,7 +689,7 @@ def mask_line_gesture(
688
689
  cursor: typing.Any | None = 5,
689
690
  use_front_faces_only: bool | typing.Any | None = False,
690
691
  use_limit_to_segment: bool | typing.Any | None = False,
691
- mode: typing.Any | None = "VALUE",
692
+ mode: str | int | None = "VALUE",
692
693
  value: typing.Any | None = 1.0,
693
694
  ):
694
695
  """Mask to one side of a line defined by the cursor
@@ -722,7 +723,7 @@ def mask_line_gesture(
722
723
 
723
724
  INVERT
724
725
  Invert -- Invert the mask.
725
- :type mode: typing.Any | None
726
+ :type mode: str | int | None
726
727
  :param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
727
728
  :type value: typing.Any | None
728
729
  """
@@ -733,7 +734,7 @@ def project_image(
733
734
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
734
735
  execution_context: str | int | None = None,
735
736
  undo: bool | None = None,
736
- image: str | int | typing.Any | None = "",
737
+ image: str | int | None = "",
737
738
  ):
738
739
  """Project an edited render from the active camera back onto the object
739
740
 
@@ -741,7 +742,7 @@ def project_image(
741
742
  :type execution_context: str | int | None
742
743
  :type undo: bool | None
743
744
  :param image: Image
744
- :type image: str | int | typing.Any | None
745
+ :type image: str | int | None
745
746
  """
746
747
 
747
748
  ...
@@ -787,7 +788,7 @@ def vert_select_all(
787
788
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
788
789
  execution_context: str | int | None = None,
789
790
  undo: bool | None = None,
790
- action: typing.Any | None = "TOGGLE",
791
+ action: str | int | None = "TOGGLE",
791
792
  ):
792
793
  """Change selection for all vertices
793
794
 
@@ -807,7 +808,7 @@ def vert_select_all(
807
808
 
808
809
  INVERT
809
810
  Invert -- Invert selection of all elements.
810
- :type action: typing.Any | None
811
+ :type action: str | int | None
811
812
  """
812
813
 
813
814
  ...
@@ -1071,7 +1072,7 @@ def vertex_paint(
1071
1072
  undo: bool | None = None,
1072
1073
  stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
1073
1074
  | None = None,
1074
- mode: typing.Any | None = "NORMAL",
1075
+ mode: str | int | None = "NORMAL",
1075
1076
  ):
1076
1077
  """Paint a stroke in the active color attribute layer
1077
1078
 
@@ -1090,7 +1091,7 @@ def vertex_paint(
1090
1091
 
1091
1092
  SMOOTH
1092
1093
  Smooth -- Switch brush to smooth mode for duration of stroke.
1093
- :type mode: typing.Any | None
1094
+ :type mode: str | int | None
1094
1095
  """
1095
1096
 
1096
1097
  ...
@@ -1127,7 +1128,7 @@ def weight_from_bones(
1127
1128
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1128
1129
  execution_context: str | int | None = None,
1129
1130
  undo: bool | None = None,
1130
- type: typing.Any | None = "AUTOMATIC",
1131
+ type: str | int | None = "AUTOMATIC",
1131
1132
  ):
1132
1133
  """Set the weights of the groups matching the attached armature's selected bones, using the distance between the vertices and the bones
1133
1134
 
@@ -1141,7 +1142,7 @@ def weight_from_bones(
1141
1142
 
1142
1143
  ENVELOPES
1143
1144
  From Envelopes -- Weights from envelopes with user defined radius.
1144
- :type type: typing.Any | None
1145
+ :type type: str | int | None
1145
1146
  """
1146
1147
 
1147
1148
  ...
@@ -1150,7 +1151,7 @@ def weight_gradient(
1150
1151
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1151
1152
  execution_context: str | int | None = None,
1152
1153
  undo: bool | None = None,
1153
- type: typing.Any | None = "LINEAR",
1154
+ type: str | int | None = "LINEAR",
1154
1155
  xstart: typing.Any | None = 0,
1155
1156
  xend: typing.Any | None = 0,
1156
1157
  ystart: typing.Any | None = 0,
@@ -1164,7 +1165,7 @@ def weight_gradient(
1164
1165
  :type execution_context: str | int | None
1165
1166
  :type undo: bool | None
1166
1167
  :param type: Type
1167
- :type type: typing.Any | None
1168
+ :type type: str | int | None
1168
1169
  :param xstart: X Start
1169
1170
  :type xstart: typing.Any | None
1170
1171
  :param xend: X End
@@ -1187,7 +1188,7 @@ def weight_paint(
1187
1188
  undo: bool | None = None,
1188
1189
  stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
1189
1190
  | None = None,
1190
- mode: typing.Any | None = "NORMAL",
1191
+ mode: str | int | None = "NORMAL",
1191
1192
  ):
1192
1193
  """Paint a stroke in the current vertex group's weights
1193
1194
 
@@ -1206,7 +1207,7 @@ def weight_paint(
1206
1207
 
1207
1208
  SMOOTH
1208
1209
  Smooth -- Switch brush to smooth mode for duration of stroke.
1209
- :type mode: typing.Any | None
1210
+ :type mode: str | int | None
1210
1211
  """
1211
1212
 
1212
1213
  ...
@@ -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 add_point(
7
8
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,