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 add_row_filter_rule(
7
8
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
@@ -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 primitive_nurbs_surface_circle_add(
7
8
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
@@ -9,7 +10,7 @@ def primitive_nurbs_surface_circle_add(
9
10
  undo: bool | None = None,
10
11
  radius: typing.Any | None = 1.0,
11
12
  enter_editmode: bool | typing.Any | None = False,
12
- align: typing.Any | None = "WORLD",
13
+ align: str | int | None = "WORLD",
13
14
  location: typing.Any | None = (0.0, 0.0, 0.0),
14
15
  rotation: typing.Any | None = (0.0, 0.0, 0.0),
15
16
  scale: typing.Any | None = (0.0, 0.0, 0.0),
@@ -33,7 +34,7 @@ def primitive_nurbs_surface_circle_add(
33
34
 
34
35
  CURSOR
35
36
  3D Cursor -- Use the 3D cursor orientation for the new object.
36
- :type align: typing.Any | None
37
+ :type align: str | int | None
37
38
  :param location: Location, Location for the newly added object
38
39
  :type location: typing.Any | None
39
40
  :param rotation: Rotation, Rotation for the newly added object
@@ -50,7 +51,7 @@ def primitive_nurbs_surface_curve_add(
50
51
  undo: bool | None = None,
51
52
  radius: typing.Any | None = 1.0,
52
53
  enter_editmode: bool | typing.Any | None = False,
53
- align: typing.Any | None = "WORLD",
54
+ align: str | int | None = "WORLD",
54
55
  location: typing.Any | None = (0.0, 0.0, 0.0),
55
56
  rotation: typing.Any | None = (0.0, 0.0, 0.0),
56
57
  scale: typing.Any | None = (0.0, 0.0, 0.0),
@@ -74,7 +75,7 @@ def primitive_nurbs_surface_curve_add(
74
75
 
75
76
  CURSOR
76
77
  3D Cursor -- Use the 3D cursor orientation for the new object.
77
- :type align: typing.Any | None
78
+ :type align: str | int | None
78
79
  :param location: Location, Location for the newly added object
79
80
  :type location: typing.Any | None
80
81
  :param rotation: Rotation, Rotation for the newly added object
@@ -91,7 +92,7 @@ def primitive_nurbs_surface_cylinder_add(
91
92
  undo: bool | None = None,
92
93
  radius: typing.Any | None = 1.0,
93
94
  enter_editmode: bool | typing.Any | None = False,
94
- align: typing.Any | None = "WORLD",
95
+ align: str | int | None = "WORLD",
95
96
  location: typing.Any | None = (0.0, 0.0, 0.0),
96
97
  rotation: typing.Any | None = (0.0, 0.0, 0.0),
97
98
  scale: typing.Any | None = (0.0, 0.0, 0.0),
@@ -115,7 +116,7 @@ def primitive_nurbs_surface_cylinder_add(
115
116
 
116
117
  CURSOR
117
118
  3D Cursor -- Use the 3D cursor orientation for the new object.
118
- :type align: typing.Any | None
119
+ :type align: str | int | None
119
120
  :param location: Location, Location for the newly added object
120
121
  :type location: typing.Any | None
121
122
  :param rotation: Rotation, Rotation for the newly added object
@@ -132,7 +133,7 @@ def primitive_nurbs_surface_sphere_add(
132
133
  undo: bool | None = None,
133
134
  radius: typing.Any | None = 1.0,
134
135
  enter_editmode: bool | typing.Any | None = False,
135
- align: typing.Any | None = "WORLD",
136
+ align: str | int | None = "WORLD",
136
137
  location: typing.Any | None = (0.0, 0.0, 0.0),
137
138
  rotation: typing.Any | None = (0.0, 0.0, 0.0),
138
139
  scale: typing.Any | None = (0.0, 0.0, 0.0),
@@ -156,7 +157,7 @@ def primitive_nurbs_surface_sphere_add(
156
157
 
157
158
  CURSOR
158
159
  3D Cursor -- Use the 3D cursor orientation for the new object.
159
- :type align: typing.Any | None
160
+ :type align: str | int | None
160
161
  :param location: Location, Location for the newly added object
161
162
  :type location: typing.Any | None
162
163
  :param rotation: Rotation, Rotation for the newly added object
@@ -173,7 +174,7 @@ def primitive_nurbs_surface_surface_add(
173
174
  undo: bool | None = None,
174
175
  radius: typing.Any | None = 1.0,
175
176
  enter_editmode: bool | typing.Any | None = False,
176
- align: typing.Any | None = "WORLD",
177
+ align: str | int | None = "WORLD",
177
178
  location: typing.Any | None = (0.0, 0.0, 0.0),
178
179
  rotation: typing.Any | None = (0.0, 0.0, 0.0),
179
180
  scale: typing.Any | None = (0.0, 0.0, 0.0),
@@ -197,7 +198,7 @@ def primitive_nurbs_surface_surface_add(
197
198
 
198
199
  CURSOR
199
200
  3D Cursor -- Use the 3D cursor orientation for the new object.
200
- :type align: typing.Any | None
201
+ :type align: str | int | None
201
202
  :param location: Location, Location for the newly added object
202
203
  :type location: typing.Any | None
203
204
  :param rotation: Rotation, Rotation for the newly added object
@@ -214,7 +215,7 @@ def primitive_nurbs_surface_torus_add(
214
215
  undo: bool | None = None,
215
216
  radius: typing.Any | None = 1.0,
216
217
  enter_editmode: bool | typing.Any | None = False,
217
- align: typing.Any | None = "WORLD",
218
+ align: str | int | None = "WORLD",
218
219
  location: typing.Any | None = (0.0, 0.0, 0.0),
219
220
  rotation: typing.Any | None = (0.0, 0.0, 0.0),
220
221
  scale: typing.Any | None = (0.0, 0.0, 0.0),
@@ -238,7 +239,7 @@ def primitive_nurbs_surface_torus_add(
238
239
 
239
240
  CURSOR
240
241
  3D Cursor -- Use the 3D cursor orientation for the new object.
241
- :type align: typing.Any | None
242
+ :type align: str | int | None
242
243
  :param location: Location, Location for the newly added object
243
244
  :type location: typing.Any | None
244
245
  :param rotation: Rotation, Rotation for the newly added object
bpy/ops/text/__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 autocomplete(
7
8
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
@@ -21,7 +22,7 @@ def comment_toggle(
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 = "TOGGLE",
25
+ type: str | int | None = "TOGGLE",
25
26
  ):
26
27
  """Undocumented, consider contributing.
27
28
 
@@ -29,7 +30,7 @@ def comment_toggle(
29
30
  :type execution_context: str | int | None
30
31
  :type undo: bool | None
31
32
  :param type: Type, Add or remove comments
32
- :type type: typing.Any | None
33
+ :type type: str | int | None
33
34
  """
34
35
 
35
36
  ...
@@ -38,7 +39,7 @@ def convert_whitespace(
38
39
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
39
40
  execution_context: str | int | None = None,
40
41
  undo: bool | None = None,
41
- type: typing.Any | None = "SPACES",
42
+ type: str | int | None = "SPACES",
42
43
  ):
43
44
  """Convert whitespaces by type
44
45
 
@@ -46,7 +47,7 @@ def convert_whitespace(
46
47
  :type execution_context: str | int | None
47
48
  :type undo: bool | None
48
49
  :param type: Type, Type of whitespace to convert to
49
- :type type: typing.Any | None
50
+ :type type: str | int | None
50
51
  """
51
52
 
52
53
  ...
@@ -103,7 +104,7 @@ def delete(
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 = "NEXT_CHARACTER",
107
+ type: str | int | None = "NEXT_CHARACTER",
107
108
  ):
108
109
  """Delete text by cursor position
109
110
 
@@ -111,7 +112,7 @@ def delete(
111
112
  :type execution_context: str | int | None
112
113
  :type undo: bool | None
113
114
  :param type: Type, Which part of the text to delete
114
- :type type: typing.Any | None
115
+ :type type: str | int | None
115
116
  """
116
117
 
117
118
  ...
@@ -289,7 +290,7 @@ def move(
289
290
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
290
291
  execution_context: str | int | None = None,
291
292
  undo: bool | None = None,
292
- type: typing.Any | None = "LINE_BEGIN",
293
+ type: str | int | None = "LINE_BEGIN",
293
294
  ):
294
295
  """Move cursor to position type
295
296
 
@@ -297,7 +298,7 @@ def move(
297
298
  :type execution_context: str | int | None
298
299
  :type undo: bool | None
299
300
  :param type: Type, Where to move cursor to
300
- :type type: typing.Any | None
301
+ :type type: str | int | None
301
302
  """
302
303
 
303
304
  ...
@@ -306,7 +307,7 @@ def move_lines(
306
307
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
307
308
  execution_context: str | int | None = None,
308
309
  undo: bool | None = None,
309
- direction: typing.Any | None = "DOWN",
310
+ direction: str | int | None = "DOWN",
310
311
  ):
311
312
  """Move the currently selected line(s) up/down
312
313
 
@@ -314,7 +315,7 @@ def move_lines(
314
315
  :type execution_context: str | int | None
315
316
  :type undo: bool | None
316
317
  :param direction: Direction
317
- :type direction: typing.Any | None
318
+ :type direction: str | int | None
318
319
  """
319
320
 
320
321
  ...
@@ -323,7 +324,7 @@ def move_select(
323
324
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
324
325
  execution_context: str | int | None = None,
325
326
  undo: bool | None = None,
326
- type: typing.Any | None = "LINE_BEGIN",
327
+ type: str | int | None = "LINE_BEGIN",
327
328
  ):
328
329
  """Move the cursor while selecting
329
330
 
@@ -331,7 +332,7 @@ def move_select(
331
332
  :type execution_context: str | int | None
332
333
  :type undo: bool | None
333
334
  :param type: Type, Where to move cursor to, to make a selection
334
- :type type: typing.Any | None
335
+ :type type: str | int | None
335
336
  """
336
337
 
337
338
  ...
@@ -375,8 +376,8 @@ def open(
375
376
  filter_folder: bool | typing.Any | None = True,
376
377
  filter_blenlib: bool | typing.Any | None = False,
377
378
  filemode: typing.Any | None = 9,
378
- display_type: typing.Any | None = "DEFAULT",
379
- sort_method: typing.Any | None = "",
379
+ display_type: str | int | None = "DEFAULT",
380
+ sort_method: str | int | None = "",
380
381
  internal: bool | typing.Any | None = False,
381
382
  ):
382
383
  """Open a new text data-block
@@ -439,7 +440,7 @@ def open(
439
440
 
440
441
  THUMBNAIL
441
442
  Thumbnails -- Display files as thumbnails.
442
- :type display_type: typing.Any | None
443
+ :type display_type: str | int | None
443
444
  :param sort_method: File sorting mode
444
445
 
445
446
  DEFAULT
@@ -456,7 +457,7 @@ def open(
456
457
 
457
458
  FILE_SORT_SIZE
458
459
  Size -- Sort files by size.
459
- :type sort_method: typing.Any | None
460
+ :type sort_method: str | int | None
460
461
  :param internal: Make Internal, Make text file internal after loading
461
462
  :type internal: bool | typing.Any | None
462
463
  """
@@ -557,7 +558,7 @@ def resolve_conflict(
557
558
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
558
559
  execution_context: str | int | None = None,
559
560
  undo: bool | None = None,
560
- resolution: typing.Any | None = "IGNORE",
561
+ resolution: str | int | None = "IGNORE",
561
562
  ):
562
563
  """When external text is out of sync, resolve the conflict
563
564
 
@@ -565,7 +566,7 @@ def resolve_conflict(
565
566
  :type execution_context: str | int | None
566
567
  :type undo: bool | None
567
568
  :param resolution: Resolution, How to solve conflict due to differences in internal and external text
568
- :type resolution: typing.Any | None
569
+ :type resolution: str | int | None
569
570
  """
570
571
 
571
572
  ...
@@ -623,8 +624,8 @@ def save_as(
623
624
  filter_folder: bool | typing.Any | None = True,
624
625
  filter_blenlib: bool | typing.Any | None = False,
625
626
  filemode: typing.Any | None = 9,
626
- display_type: typing.Any | None = "DEFAULT",
627
- sort_method: str | int | typing.Any | None = "",
627
+ display_type: str | int | None = "DEFAULT",
628
+ sort_method: str | int | None = "",
628
629
  ):
629
630
  """Save active text file with options
630
631
 
@@ -686,9 +687,9 @@ def save_as(
686
687
 
687
688
  THUMBNAIL
688
689
  Thumbnails -- Display files as thumbnails.
689
- :type display_type: typing.Any | None
690
+ :type display_type: str | int | None
690
691
  :param sort_method: File sorting mode
691
- :type sort_method: str | int | typing.Any | None
692
+ :type sort_method: str | int | None
692
693
  """
693
694
 
694
695
  ...
@@ -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 preset_add(
7
8
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
@@ -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 new(
7
8
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
@@ -35,7 +36,7 @@ def slot_move(
35
36
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
36
37
  execution_context: str | int | None = None,
37
38
  undo: bool | None = None,
38
- type: typing.Any | None = "UP",
39
+ type: str | int | None = "UP",
39
40
  ):
40
41
  """Move texture slots up and down
41
42
 
@@ -43,7 +44,7 @@ def slot_move(
43
44
  :type execution_context: str | int | None
44
45
  :type undo: bool | None
45
46
  :param type: Type
46
- :type type: typing.Any | None
47
+ :type type: str | int | None
47
48
  """
48
49
 
49
50
  ...
@@ -1,20 +1,21 @@
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 bbone_resize(
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
11
  value: typing.Any | None = (1.0, 1.0, 1.0),
11
- orient_type: str | int | typing.Any | None = "GLOBAL",
12
+ orient_type: str | int | None = "GLOBAL",
12
13
  orient_matrix: typing.Any | None = (
13
14
  (0.0, 0.0, 0.0),
14
15
  (0.0, 0.0, 0.0),
15
16
  (0.0, 0.0, 0.0),
16
17
  ),
17
- orient_matrix_type: str | int | typing.Any | None = "GLOBAL",
18
+ orient_matrix_type: str | int | None = "GLOBAL",
18
19
  constraint_axis: list[bool] | typing.Any | None = (False, False, False),
19
20
  mirror: bool | typing.Any | None = False,
20
21
  release_confirm: bool | typing.Any | None = False,
@@ -28,11 +29,11 @@ def bbone_resize(
28
29
  :param value: Display Size
29
30
  :type value: typing.Any | None
30
31
  :param orient_type: Orientation, Transformation orientation
31
- :type orient_type: str | int | typing.Any | None
32
+ :type orient_type: str | int | None
32
33
  :param orient_matrix: Matrix
33
34
  :type orient_matrix: typing.Any | None
34
35
  :param orient_matrix_type: Matrix Orientation
35
- :type orient_matrix_type: str | int | typing.Any | None
36
+ :type orient_matrix_type: str | int | None
36
37
  :param constraint_axis: Constraint Axis
37
38
  :type constraint_axis: list[bool] | typing.Any | None
38
39
  :param mirror: Mirror Editing
@@ -273,13 +274,13 @@ def mirror(
273
274
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
274
275
  execution_context: str | int | None = None,
275
276
  undo: bool | None = None,
276
- orient_type: str | int | typing.Any | None = "GLOBAL",
277
+ orient_type: str | int | None = "GLOBAL",
277
278
  orient_matrix: typing.Any | None = (
278
279
  (0.0, 0.0, 0.0),
279
280
  (0.0, 0.0, 0.0),
280
281
  (0.0, 0.0, 0.0),
281
282
  ),
282
- orient_matrix_type: str | int | typing.Any | None = "GLOBAL",
283
+ orient_matrix_type: str | int | None = "GLOBAL",
283
284
  constraint_axis: list[bool] | typing.Any | None = (False, False, False),
284
285
  gpencil_strokes: bool | typing.Any | None = False,
285
286
  center_override: typing.Any | None = (0.0, 0.0, 0.0),
@@ -292,11 +293,11 @@ def mirror(
292
293
  :type execution_context: str | int | None
293
294
  :type undo: bool | None
294
295
  :param orient_type: Orientation, Transformation orientation
295
- :type orient_type: str | int | typing.Any | None
296
+ :type orient_type: str | int | None
296
297
  :param orient_matrix: Matrix
297
298
  :type orient_matrix: typing.Any | None
298
299
  :param orient_matrix_type: Matrix Orientation
299
- :type orient_matrix_type: str | int | typing.Any | None
300
+ :type orient_matrix_type: str | int | None
300
301
  :param constraint_axis: Constraint Axis
301
302
  :type constraint_axis: list[bool] | typing.Any | None
302
303
  :param gpencil_strokes: Edit Grease Pencil, Edit selected Grease Pencil strokes
@@ -364,13 +365,13 @@ def resize(
364
365
  undo: bool | None = None,
365
366
  value: typing.Any | None = (1.0, 1.0, 1.0),
366
367
  mouse_dir_constraint: typing.Any | None = (0.0, 0.0, 0.0),
367
- orient_type: str | int | typing.Any | None = "GLOBAL",
368
+ orient_type: str | int | None = "GLOBAL",
368
369
  orient_matrix: typing.Any | None = (
369
370
  (0.0, 0.0, 0.0),
370
371
  (0.0, 0.0, 0.0),
371
372
  (0.0, 0.0, 0.0),
372
373
  ),
373
- orient_matrix_type: str | int | typing.Any | None = "GLOBAL",
374
+ orient_matrix_type: str | int | None = "GLOBAL",
374
375
  constraint_axis: list[bool] | typing.Any | None = (False, False, False),
375
376
  mirror: bool | typing.Any | None = False,
376
377
  use_proportional_edit: bool | typing.Any | None = False,
@@ -405,11 +406,11 @@ def resize(
405
406
  :param mouse_dir_constraint: Mouse Directional Constraint
406
407
  :type mouse_dir_constraint: typing.Any | None
407
408
  :param orient_type: Orientation, Transformation orientation
408
- :type orient_type: str | int | typing.Any | None
409
+ :type orient_type: str | int | None
409
410
  :param orient_matrix: Matrix
410
411
  :type orient_matrix: typing.Any | None
411
412
  :param orient_matrix_type: Matrix Orientation
412
- :type orient_matrix_type: str | int | typing.Any | None
413
+ :type orient_matrix_type: str | int | None
413
414
  :param constraint_axis: Constraint Axis
414
415
  :type constraint_axis: list[bool] | typing.Any | None
415
416
  :param mirror: Mirror Editing
@@ -466,13 +467,13 @@ def rotate(
466
467
  undo: bool | None = None,
467
468
  value: typing.Any | None = 0.0,
468
469
  orient_axis: str | int | None = "Z",
469
- orient_type: str | int | typing.Any | None = "GLOBAL",
470
+ orient_type: str | int | None = "GLOBAL",
470
471
  orient_matrix: typing.Any | None = (
471
472
  (0.0, 0.0, 0.0),
472
473
  (0.0, 0.0, 0.0),
473
474
  (0.0, 0.0, 0.0),
474
475
  ),
475
- orient_matrix_type: str | int | typing.Any | None = "GLOBAL",
476
+ orient_matrix_type: str | int | None = "GLOBAL",
476
477
  constraint_axis: list[bool] | typing.Any | None = (False, False, False),
477
478
  mirror: bool | typing.Any | None = False,
478
479
  use_proportional_edit: bool | typing.Any | None = False,
@@ -504,11 +505,11 @@ def rotate(
504
505
  :param orient_axis: Axis
505
506
  :type orient_axis: str | int | None
506
507
  :param orient_type: Orientation, Transformation orientation
507
- :type orient_type: str | int | typing.Any | None
508
+ :type orient_type: str | int | None
508
509
  :param orient_matrix: Matrix
509
510
  :type orient_matrix: typing.Any | None
510
511
  :param orient_matrix_type: Matrix Orientation
511
- :type orient_matrix_type: str | int | typing.Any | None
512
+ :type orient_matrix_type: str | int | None
512
513
  :param constraint_axis: Constraint Axis
513
514
  :type constraint_axis: list[bool] | typing.Any | None
514
515
  :param mirror: Mirror Editing
@@ -559,13 +560,13 @@ def rotate_normal(
559
560
  undo: bool | None = None,
560
561
  value: typing.Any | None = 0.0,
561
562
  orient_axis: str | int | None = "Z",
562
- orient_type: str | int | typing.Any | None = "GLOBAL",
563
+ orient_type: str | int | None = "GLOBAL",
563
564
  orient_matrix: typing.Any | None = (
564
565
  (0.0, 0.0, 0.0),
565
566
  (0.0, 0.0, 0.0),
566
567
  (0.0, 0.0, 0.0),
567
568
  ),
568
- orient_matrix_type: str | int | typing.Any | None = "GLOBAL",
569
+ orient_matrix_type: str | int | None = "GLOBAL",
569
570
  constraint_axis: list[bool] | typing.Any | None = (False, False, False),
570
571
  mirror: bool | typing.Any | None = False,
571
572
  release_confirm: bool | typing.Any | None = False,
@@ -581,11 +582,11 @@ def rotate_normal(
581
582
  :param orient_axis: Axis
582
583
  :type orient_axis: str | int | None
583
584
  :param orient_type: Orientation, Transformation orientation
584
- :type orient_type: str | int | typing.Any | None
585
+ :type orient_type: str | int | None
585
586
  :param orient_matrix: Matrix
586
587
  :type orient_matrix: typing.Any | None
587
588
  :param orient_matrix_type: Matrix Orientation
588
- :type orient_matrix_type: str | int | typing.Any | None
589
+ :type orient_matrix_type: str | int | None
589
590
  :param constraint_axis: Constraint Axis
590
591
  :type constraint_axis: list[bool] | typing.Any | None
591
592
  :param mirror: Mirror Editing
@@ -602,7 +603,7 @@ def select_orientation(
602
603
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
603
604
  execution_context: str | int | None = None,
604
605
  undo: bool | None = None,
605
- orientation: str | int | typing.Any | None = "GLOBAL",
606
+ orientation: str | int | None = "GLOBAL",
606
607
  ):
607
608
  """Select transformation orientation
608
609
 
@@ -610,7 +611,7 @@ def select_orientation(
610
611
  :type execution_context: str | int | None
611
612
  :type undo: bool | None
612
613
  :param orientation: Orientation, Transformation orientation
613
- :type orientation: str | int | typing.Any | None
614
+ :type orientation: str | int | None
614
615
  """
615
616
 
616
617
  ...
@@ -651,13 +652,13 @@ def shear(
651
652
  value: typing.Any | None = 0.0,
652
653
  orient_axis: str | int | None = "Z",
653
654
  orient_axis_ortho: str | int | None = "X",
654
- orient_type: str | int | typing.Any | None = "GLOBAL",
655
+ orient_type: str | int | None = "GLOBAL",
655
656
  orient_matrix: typing.Any | None = (
656
657
  (0.0, 0.0, 0.0),
657
658
  (0.0, 0.0, 0.0),
658
659
  (0.0, 0.0, 0.0),
659
660
  ),
660
- orient_matrix_type: str | int | typing.Any | None = "GLOBAL",
661
+ orient_matrix_type: str | int | None = "GLOBAL",
661
662
  mirror: bool | typing.Any | None = False,
662
663
  use_proportional_edit: bool | typing.Any | None = False,
663
664
  proportional_edit_falloff: str | int | None = "SMOOTH",
@@ -681,11 +682,11 @@ def shear(
681
682
  :param orient_axis_ortho: Axis Ortho
682
683
  :type orient_axis_ortho: str | int | None
683
684
  :param orient_type: Orientation, Transformation orientation
684
- :type orient_type: str | int | typing.Any | None
685
+ :type orient_type: str | int | None
685
686
  :param orient_matrix: Matrix
686
687
  :type orient_matrix: typing.Any | None
687
688
  :param orient_matrix_type: Matrix Orientation
688
- :type orient_matrix_type: str | int | typing.Any | None
689
+ :type orient_matrix_type: str | int | None
689
690
  :param mirror: Mirror Editing
690
691
  :type mirror: bool | typing.Any | None
691
692
  :param use_proportional_edit: Proportional Editing
@@ -762,13 +763,13 @@ def skin_resize(
762
763
  execution_context: str | int | None = None,
763
764
  undo: bool | None = None,
764
765
  value: typing.Any | None = (1.0, 1.0, 1.0),
765
- orient_type: str | int | typing.Any | None = "GLOBAL",
766
+ orient_type: str | int | None = "GLOBAL",
766
767
  orient_matrix: typing.Any | None = (
767
768
  (0.0, 0.0, 0.0),
768
769
  (0.0, 0.0, 0.0),
769
770
  (0.0, 0.0, 0.0),
770
771
  ),
771
- orient_matrix_type: str | int | typing.Any | None = "GLOBAL",
772
+ orient_matrix_type: str | int | None = "GLOBAL",
772
773
  constraint_axis: list[bool] | typing.Any | None = (False, False, False),
773
774
  mirror: bool | typing.Any | None = False,
774
775
  use_proportional_edit: bool | typing.Any | None = False,
@@ -796,11 +797,11 @@ def skin_resize(
796
797
  :param value: Scale
797
798
  :type value: typing.Any | None
798
799
  :param orient_type: Orientation, Transformation orientation
799
- :type orient_type: str | int | typing.Any | None
800
+ :type orient_type: str | int | None
800
801
  :param orient_matrix: Matrix
801
802
  :type orient_matrix: typing.Any | None
802
803
  :param orient_matrix_type: Matrix Orientation
803
- :type orient_matrix_type: str | int | typing.Any | None
804
+ :type orient_matrix_type: str | int | None
804
805
  :param constraint_axis: Constraint Axis
805
806
  :type constraint_axis: list[bool] | typing.Any | None
806
807
  :param mirror: Mirror Editing
bpy/ops/ui/__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 assign_default_button(
7
8
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
@@ -272,7 +273,7 @@ def eyedropper_driver(
272
273
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
273
274
  execution_context: str | int | None = None,
274
275
  undo: bool | None = None,
275
- mapping_type: typing.Any | None = "SINGLE_MANY",
276
+ mapping_type: str | int | None = "SINGLE_MANY",
276
277
  ):
277
278
  """Pick a property to use as a driver target
278
279
 
@@ -295,7 +296,7 @@ def eyedropper_driver(
295
296
 
296
297
  NONE_SINGLE
297
298
  Manually Create Later (Single) -- Create driver for this property only and without assigning any targets yet.
298
- :type mapping_type: typing.Any | None
299
+ :type mapping_type: str | int | None
299
300
  """
300
301
 
301
302
  ...
@@ -304,7 +305,7 @@ def eyedropper_gpencil_color(
304
305
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
305
306
  execution_context: str | int | None = None,
306
307
  undo: bool | None = None,
307
- mode: typing.Any | None = "MATERIAL",
308
+ mode: str | int | None = "MATERIAL",
308
309
  ):
309
310
  """Sample a color from the Blender Window and create Grease Pencil material
310
311
 
@@ -312,7 +313,7 @@ def eyedropper_gpencil_color(
312
313
  :type execution_context: str | int | None
313
314
  :type undo: bool | None
314
315
  :param mode: Mode
315
- :type mode: typing.Any | None
316
+ :type mode: str | int | None
316
317
  """
317
318
 
318
319
  ...
@@ -423,7 +424,7 @@ def override_type_set_button(
423
424
  execution_context: str | int | None = None,
424
425
  undo: bool | None = None,
425
426
  all: bool | typing.Any | None = True,
426
- type: typing.Any | None = "REPLACE",
427
+ type: str | int | None = "REPLACE",
427
428
  ):
428
429
  """Create an override operation, or set the type of an existing one
429
430
 
@@ -445,7 +446,7 @@ def override_type_set_button(
445
446
 
446
447
  FACTOR
447
448
  Factor -- Store factor to linked data value (useful e.g. for scale).
448
- :type type: typing.Any | None
449
+ :type type: str | int | None
449
450
  """
450
451
 
451
452
  ...
@@ -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 entry_add(
7
8
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
@@ -29,7 +30,7 @@ def entry_move(
29
30
  undo: bool | None = None,
30
31
  list_path: str | typing.Any = "",
31
32
  active_index_path: str | typing.Any = "",
32
- direction: typing.Any | None = "UP",
33
+ direction: str | int | None = "UP",
33
34
  ):
34
35
  """Move an entry in the list up or down
35
36
 
@@ -47,7 +48,7 @@ def entry_move(
47
48
 
48
49
  DOWN
49
50
  DOWN -- DOWN.
50
- :type direction: typing.Any | None
51
+ :type direction: str | int | None
51
52
  """
52
53
 
53
54
  ...