fake-bpy-module 20240518__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 +2 -1
  3. addon_utils/__init__.pyi +2 -1
  4. animsys_refactor/__init__.pyi +2 -1
  5. aud/__init__.pyi +2 -1
  6. bgl/__init__.pyi +2 -1
  7. bl_app_override/__init__.pyi +2 -1
  8. bl_app_override/helpers/__init__.pyi +2 -1
  9. bl_app_template_utils/__init__.pyi +2 -1
  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 +2 -1
  18. bl_i18n_utils/merge_po/__init__.pyi +2 -1
  19. bl_i18n_utils/settings/__init__.pyi +2 -1
  20. bl_i18n_utils/utils/__init__.pyi +2 -1
  21. bl_i18n_utils/utils_cli/__init__.pyi +2 -1
  22. bl_i18n_utils/utils_languages_menu/__init__.pyi +2 -1
  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 +2 -1
  26. bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -1
  27. bl_keymap_utils/keymap_hierarchy/__init__.pyi +2 -1
  28. bl_keymap_utils/platform_helpers/__init__.pyi +2 -1
  29. bl_keymap_utils/versioning/__init__.pyi +2 -1
  30. bl_math/__init__.pyi +2 -1
  31. bl_operators/__init__.pyi +2 -1
  32. bl_operators/add_mesh_torus/__init__.pyi +2 -1
  33. bl_operators/anim/__init__.pyi +2 -1
  34. bl_operators/assets/__init__.pyi +2 -1
  35. bl_operators/bmesh/__init__.pyi +2 -1
  36. bl_operators/bmesh/find_adjacent/__init__.pyi +2 -1
  37. bl_operators/clip/__init__.pyi +2 -1
  38. bl_operators/console/__init__.pyi +2 -1
  39. bl_operators/constraint/__init__.pyi +2 -1
  40. bl_operators/file/__init__.pyi +2 -1
  41. bl_operators/freestyle/__init__.pyi +2 -1
  42. bl_operators/geometry_nodes/__init__.pyi +2 -1
  43. bl_operators/image/__init__.pyi +2 -1
  44. bl_operators/mesh/__init__.pyi +2 -1
  45. bl_operators/node/__init__.pyi +2 -1
  46. bl_operators/object/__init__.pyi +2 -1
  47. bl_operators/object_align/__init__.pyi +2 -1
  48. bl_operators/object_quick_effects/__init__.pyi +2 -1
  49. bl_operators/object_randomize_transform/__init__.pyi +2 -1
  50. bl_operators/presets/__init__.pyi +2 -1
  51. bl_operators/rigidbody/__init__.pyi +2 -1
  52. bl_operators/screen_play_rendered_anim/__init__.pyi +2 -1
  53. bl_operators/sequencer/__init__.pyi +2 -1
  54. bl_operators/spreadsheet/__init__.pyi +2 -1
  55. bl_operators/userpref/__init__.pyi +2 -1
  56. bl_operators/uvcalc_follow_active/__init__.pyi +2 -1
  57. bl_operators/uvcalc_lightmap/__init__.pyi +2 -1
  58. bl_operators/uvcalc_transform/__init__.pyi +2 -1
  59. bl_operators/vertexpaint_dirt/__init__.pyi +2 -1
  60. bl_operators/view3d/__init__.pyi +2 -1
  61. bl_operators/wm/__init__.pyi +2 -1
  62. bl_operators/world/__init__.pyi +2 -1
  63. bl_previews_utils/__init__.pyi +2 -1
  64. bl_previews_utils/bl_previews_render/__init__.pyi +2 -1
  65. bl_rna_utils/__init__.pyi +2 -1
  66. bl_rna_utils/data_path/__init__.pyi +2 -1
  67. bl_text_utils/__init__.pyi +2 -1
  68. bl_text_utils/external_editor/__init__.pyi +2 -1
  69. bl_ui/__init__.pyi +2 -1
  70. bl_ui/anim/__init__.pyi +2 -1
  71. bl_ui/asset_shelf/__init__.pyi +2 -1
  72. bl_ui/generic_ui_list/__init__.pyi +2 -1
  73. bl_ui/node_add_menu/__init__.pyi +2 -1
  74. bl_ui/node_add_menu_compositor/__init__.pyi +2 -1
  75. bl_ui/node_add_menu_geometry/__init__.pyi +2 -1
  76. bl_ui/node_add_menu_shader/__init__.pyi +2 -1
  77. bl_ui/node_add_menu_texture/__init__.pyi +2 -1
  78. bl_ui/properties_animviz/__init__.pyi +2 -1
  79. bl_ui/properties_collection/__init__.pyi +2 -1
  80. bl_ui/properties_constraint/__init__.pyi +2 -1
  81. bl_ui/properties_data_armature/__init__.pyi +2 -1
  82. bl_ui/properties_data_bone/__init__.pyi +2 -1
  83. bl_ui/properties_data_camera/__init__.pyi +2 -1
  84. bl_ui/properties_data_curve/__init__.pyi +2 -1
  85. bl_ui/properties_data_curves/__init__.pyi +2 -1
  86. bl_ui/properties_data_empty/__init__.pyi +2 -1
  87. bl_ui/properties_data_gpencil/__init__.pyi +2 -1
  88. bl_ui/properties_data_grease_pencil/__init__.pyi +2 -1
  89. bl_ui/properties_data_lattice/__init__.pyi +2 -1
  90. bl_ui/properties_data_light/__init__.pyi +2 -1
  91. bl_ui/properties_data_lightprobe/__init__.pyi +2 -1
  92. bl_ui/properties_data_mesh/__init__.pyi +2 -1
  93. bl_ui/properties_data_metaball/__init__.pyi +2 -1
  94. bl_ui/properties_data_modifier/__init__.pyi +2 -1
  95. bl_ui/properties_data_pointcloud/__init__.pyi +2 -1
  96. bl_ui/properties_data_shaderfx/__init__.pyi +2 -1
  97. bl_ui/properties_data_speaker/__init__.pyi +2 -1
  98. bl_ui/properties_data_volume/__init__.pyi +2 -1
  99. bl_ui/properties_freestyle/__init__.pyi +2 -1
  100. bl_ui/properties_grease_pencil_common/__init__.pyi +2 -1
  101. bl_ui/properties_mask_common/__init__.pyi +2 -1
  102. bl_ui/properties_material/__init__.pyi +2 -1
  103. bl_ui/properties_material_gpencil/__init__.pyi +2 -1
  104. bl_ui/properties_object/__init__.pyi +2 -1
  105. bl_ui/properties_output/__init__.pyi +2 -1
  106. bl_ui/properties_paint_common/__init__.pyi +2 -1
  107. bl_ui/properties_particle/__init__.pyi +2 -1
  108. bl_ui/properties_physics_cloth/__init__.pyi +2 -1
  109. bl_ui/properties_physics_common/__init__.pyi +2 -1
  110. bl_ui/properties_physics_dynamicpaint/__init__.pyi +2 -1
  111. bl_ui/properties_physics_field/__init__.pyi +2 -1
  112. bl_ui/properties_physics_fluid/__init__.pyi +2 -1
  113. bl_ui/properties_physics_geometry_nodes/__init__.pyi +2 -1
  114. bl_ui/properties_physics_rigidbody/__init__.pyi +2 -1
  115. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2 -1
  116. bl_ui/properties_physics_softbody/__init__.pyi +2 -1
  117. bl_ui/properties_render/__init__.pyi +2 -1
  118. bl_ui/properties_scene/__init__.pyi +2 -1
  119. bl_ui/properties_texture/__init__.pyi +2 -1
  120. bl_ui/properties_view_layer/__init__.pyi +2 -1
  121. bl_ui/properties_workspace/__init__.pyi +2 -1
  122. bl_ui/properties_world/__init__.pyi +2 -1
  123. bl_ui/space_clip/__init__.pyi +2 -1
  124. bl_ui/space_console/__init__.pyi +2 -1
  125. bl_ui/space_dopesheet/__init__.pyi +2 -1
  126. bl_ui/space_filebrowser/__init__.pyi +2 -1
  127. bl_ui/space_graph/__init__.pyi +2 -1
  128. bl_ui/space_image/__init__.pyi +2 -1
  129. bl_ui/space_info/__init__.pyi +2 -1
  130. bl_ui/space_nla/__init__.pyi +2 -1
  131. bl_ui/space_node/__init__.pyi +2 -1
  132. bl_ui/space_outliner/__init__.pyi +2 -1
  133. bl_ui/space_properties/__init__.pyi +2 -1
  134. bl_ui/space_sequencer/__init__.pyi +2 -1
  135. bl_ui/space_spreadsheet/__init__.pyi +2 -1
  136. bl_ui/space_statusbar/__init__.pyi +2 -1
  137. bl_ui/space_text/__init__.pyi +2 -1
  138. bl_ui/space_time/__init__.pyi +2 -1
  139. bl_ui/space_toolsystem_common/__init__.pyi +2 -1
  140. bl_ui/space_toolsystem_toolbar/__init__.pyi +2 -1
  141. bl_ui/space_topbar/__init__.pyi +2 -1
  142. bl_ui/space_userpref/__init__.pyi +2 -1
  143. bl_ui/space_view3d/__init__.pyi +2 -1
  144. bl_ui/space_view3d_toolbar/__init__.pyi +2 -1
  145. bl_ui/temp_anim_layers/__init__.pyi +2 -1
  146. bl_ui/utils/__init__.pyi +2 -1
  147. bl_ui_utils/__init__.pyi +2 -1
  148. bl_ui_utils/bug_report_url/__init__.pyi +2 -1
  149. bl_ui_utils/layout/__init__.pyi +2 -1
  150. blend_render_info/__init__.pyi +2 -1
  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 +28 -27
  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 +188 -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 +131 -79
  244. bpy/utils/__init__.pyi +2 -1
  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 -1
  249. bpy_extras/asset_utils/__init__.pyi +2 -1
  250. bpy_extras/bmesh_utils/__init__.pyi +2 -1
  251. bpy_extras/extensions/__init__.pyi +2 -1
  252. bpy_extras/extensions/junction_module/__init__.pyi +2 -1
  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 +2 -1
  256. bpy_extras/keyconfig_utils/__init__.pyi +2 -1
  257. bpy_extras/mesh_utils/__init__.pyi +2 -1
  258. bpy_extras/node_shader_utils/__init__.pyi +2 -1
  259. bpy_extras/node_utils/__init__.pyi +2 -1
  260. bpy_extras/object_utils/__init__.pyi +2 -1
  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 +2 -1
  264. bpy_restrict_state/__init__.pyi +2 -1
  265. bpy_types/__init__.pyi +2 -1
  266. console_python/__init__.pyi +2 -1
  267. console_shell/__init__.pyi +2 -1
  268. {fake_bpy_module-20240518.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 +2 -1
  272. freestyle/functions/__init__.pyi +2 -1
  273. freestyle/predicates/__init__.pyi +2 -1
  274. freestyle/shaders/__init__.pyi +2 -1
  275. freestyle/types/__init__.pyi +2 -1
  276. freestyle/utils/ContextFunctions/__init__.pyi +2 -1
  277. freestyle/utils/__init__.pyi +2 -1
  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 +2 -1
  291. idprop/__init__.pyi +2 -1
  292. idprop/types/__init__.pyi +2 -1
  293. imbuf/__init__.pyi +2 -1
  294. imbuf/types/__init__.pyi +2 -1
  295. keyingsets_builtins/__init__.pyi +2 -1
  296. keyingsets_utils/__init__.pyi +2 -1
  297. mathutils/__init__.pyi +2 -1
  298. mathutils/bvhtree/__init__.pyi +2 -1
  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 +2 -1
  304. nodeitems_utils/__init__.pyi +2 -1
  305. rna_info/__init__.pyi +2 -1
  306. rna_keymap_ui/__init__.pyi +2 -1
  307. rna_prop_ui/__init__.pyi +2 -1
  308. rna_xml/__init__.pyi +2 -1
  309. sys_info/__init__.pyi +2 -1
  310. fake_bpy_module-20240518.dist-info/RECORD +0 -353
  311. {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240519.dist-info}/WHEEL +0 -0
  312. {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240519.dist-info}/top_level.txt +0 -0
bpy/ops/uv/__init__.pyi CHANGED
@@ -2,13 +2,14 @@ import typing
2
2
  import bpy.ops.transform
3
3
  import bpy.types
4
4
 
5
- GenericType = typing.TypeVar("GenericType")
5
+ GenericType1 = typing.TypeVar("GenericType1")
6
+ GenericType2 = typing.TypeVar("GenericType2")
6
7
 
7
8
  def align(
8
9
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
9
10
  execution_context: str | int | None = None,
10
11
  undo: bool | None = None,
11
- axis: typing.Any | None = "ALIGN_AUTO",
12
+ axis: str | int | None = "ALIGN_AUTO",
12
13
  ):
13
14
  """Aligns selected UV vertices on a line
14
15
 
@@ -34,7 +35,7 @@ def align(
34
35
 
35
36
  ALIGN_Y
36
37
  Align Horizontally -- Align UV vertices on a horizontal line.
37
- :type axis: typing.Any | None
38
+ :type axis: str | int | None
38
39
  """
39
40
 
40
41
  ...
@@ -43,8 +44,8 @@ def align_rotation(
43
44
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
44
45
  execution_context: str | int | None = None,
45
46
  undo: bool | None = None,
46
- method: typing.Any | None = "AUTO",
47
- axis: typing.Any | None = "X",
47
+ method: str | int | None = "AUTO",
48
+ axis: str | int | None = "X",
48
49
  correct_aspect: bool | typing.Any | None = False,
49
50
  ):
50
51
  """Align the UV island's rotation
@@ -62,7 +63,7 @@ def align_rotation(
62
63
 
63
64
  GEOMETRY
64
65
  Geometry -- Align to Geometry axis.
65
- :type method: typing.Any | None
66
+ :type method: str | int | None
66
67
  :param axis: Axis, Axis to align to
67
68
 
68
69
  X
@@ -73,7 +74,7 @@ def align_rotation(
73
74
 
74
75
  Z
75
76
  Z -- Z axis.
76
- :type axis: typing.Any | None
77
+ :type axis: str | int | None
77
78
  :param correct_aspect: Correct Aspect, Take image aspect ratio into account
78
79
  :type correct_aspect: bool | typing.Any | None
79
80
  """
@@ -161,9 +162,9 @@ def cylinder_project(
161
162
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
162
163
  execution_context: str | int | None = None,
163
164
  undo: bool | None = None,
164
- direction: typing.Any | None = "VIEW_ON_EQUATOR",
165
- align: typing.Any | None = "POLAR_ZX",
166
- pole: typing.Any | None = "PINCH",
165
+ direction: str | int | None = "VIEW_ON_EQUATOR",
166
+ align: str | int | None = "POLAR_ZX",
167
+ pole: str | int | None = "PINCH",
167
168
  seam: bool | typing.Any | None = False,
168
169
  radius: typing.Any | None = 1.0,
169
170
  correct_aspect: bool | typing.Any | None = True,
@@ -185,7 +186,7 @@ def cylinder_project(
185
186
 
186
187
  ALIGN_TO_OBJECT
187
188
  Align to Object -- Align according to object transform.
188
- :type direction: typing.Any | None
189
+ :type direction: str | int | None
189
190
  :param align: Align, How to determine rotation around the pole
190
191
 
191
192
  POLAR_ZX
@@ -193,7 +194,7 @@ def cylinder_project(
193
194
 
194
195
  POLAR_ZY
195
196
  Polar ZY -- Polar 0 is Y.
196
- :type align: typing.Any | None
197
+ :type align: str | int | None
197
198
  :param pole: Pole, How to handle faces at the poles
198
199
 
199
200
  PINCH
@@ -201,7 +202,7 @@ def cylinder_project(
201
202
 
202
203
  FAN
203
204
  Fan -- UVs are fanned at the poles.
204
- :type pole: typing.Any | None
205
+ :type pole: str | int | None
205
206
  :param seam: Preserve Seams, Separate projections by islands isolated by seams
206
207
  :type seam: bool | typing.Any | None
207
208
  :param radius: Radius, Radius of the sphere or cylinder
@@ -222,9 +223,9 @@ def export_layout(
222
223
  undo: bool | None = None,
223
224
  filepath: str | typing.Any = "",
224
225
  export_all: bool | typing.Any | None = False,
225
- export_tiles: typing.Any | None = "NONE",
226
+ export_tiles: str | int | None = "NONE",
226
227
  modified: bool | typing.Any | None = False,
227
- mode: typing.Any | None = "PNG",
228
+ mode: str | int | None = "PNG",
228
229
  size: typing.Any | None = (1024, 1024),
229
230
  opacity: typing.Any | None = 0.25,
230
231
  check_existing: bool | typing.Any | None = True,
@@ -248,7 +249,7 @@ def export_layout(
248
249
 
249
250
  UV
250
251
  UVTILE -- Export tiles in the UVTILE numbering scheme: u(u_tile + 1)_v(v_tile + 1).
251
- :type export_tiles: typing.Any | None
252
+ :type export_tiles: str | int | None
252
253
  :param modified: Modified, Exports UVs from the modified mesh
253
254
  :type modified: bool | typing.Any | None
254
255
  :param mode: Format, File format to export the UV layout to
@@ -261,7 +262,7 @@ def export_layout(
261
262
 
262
263
  PNG
263
264
  PNG Image (.png) -- Export the UV layout to a bitmap image.
264
- :type mode: typing.Any | None
265
+ :type mode: str | int | None
265
266
  :param size: Size, Dimensions of the exported file
266
267
  :type size: typing.Any | None
267
268
  :param opacity: Fill Opacity, Set amount of opacity for exported UV layout
@@ -276,7 +277,7 @@ def follow_active_quads(
276
277
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
277
278
  execution_context: str | int | None = None,
278
279
  undo: bool | None = None,
279
- mode: typing.Any | None = "LENGTH_AVERAGE",
280
+ mode: str | int | None = "LENGTH_AVERAGE",
280
281
  ):
281
282
  """Follow UVs from active quads along continuous face loops
282
283
 
@@ -293,7 +294,7 @@ def follow_active_quads(
293
294
 
294
295
  LENGTH_AVERAGE
295
296
  Length Average -- Average space UVs edge length of each loop.
296
- :type mode: typing.Any | None
297
+ :type mode: str | int | None
297
298
  """
298
299
 
299
300
  ...
@@ -319,7 +320,7 @@ def lightmap_pack(
319
320
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
320
321
  execution_context: str | int | None = None,
321
322
  undo: bool | None = None,
322
- PREF_CONTEXT: typing.Any | None = "SEL_FACES",
323
+ PREF_CONTEXT: str | int | None = "SEL_FACES",
323
324
  PREF_PACK_IN_ONE: bool | typing.Any | None = True,
324
325
  PREF_NEW_UVLAYER: bool | typing.Any | None = False,
325
326
  PREF_BOX_DIV: typing.Any | None = 12,
@@ -337,7 +338,7 @@ def lightmap_pack(
337
338
 
338
339
  ALL_FACES
339
340
  All Faces -- Average space UVs edge length of each loop.
340
- :type PREF_CONTEXT: typing.Any | None
341
+ :type PREF_CONTEXT: str | int | None
341
342
  :param PREF_PACK_IN_ONE: Share Texture Space, Objects share texture space, map all objects into a single UV map
342
343
  :type PREF_PACK_IN_ONE: bool | typing.Any | None
343
344
  :param PREF_NEW_UVLAYER: New UV Map, Create a new UV map for every mesh packed
@@ -394,16 +395,16 @@ def pack_islands(
394
395
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
395
396
  execution_context: str | int | None = None,
396
397
  undo: bool | None = None,
397
- udim_source: typing.Any | None = "CLOSEST_UDIM",
398
+ udim_source: str | int | None = "CLOSEST_UDIM",
398
399
  rotate: bool | typing.Any | None = True,
399
- rotate_method: typing.Any | None = "ANY",
400
+ rotate_method: str | int | None = "ANY",
400
401
  scale: bool | typing.Any | None = True,
401
402
  merge_overlap: bool | typing.Any | None = False,
402
- margin_method: typing.Any | None = "SCALED",
403
+ margin_method: str | int | None = "SCALED",
403
404
  margin: typing.Any | None = 0.001,
404
405
  pin: bool | typing.Any | None = False,
405
- pin_method: typing.Any | None = "LOCKED",
406
- shape_method: typing.Any | None = "CONCAVE",
406
+ pin_method: str | int | None = "LOCKED",
407
+ shape_method: str | int | None = "CONCAVE",
407
408
  ):
408
409
  """Transform all islands so that they fill up the UV/UDIM space as much as possible
409
410
 
@@ -420,7 +421,7 @@ def pack_islands(
420
421
 
421
422
  ORIGINAL_AABB
422
423
  Original bounding box -- Pack to starting bounding box of islands.
423
- :type udim_source: typing.Any | None
424
+ :type udim_source: str | int | None
424
425
  :param rotate: Rotate, Rotate islands to improve layout
425
426
  :type rotate: bool | typing.Any | None
426
427
  :param rotate_method: Rotation Method
@@ -439,7 +440,7 @@ def pack_islands(
439
440
 
440
441
  AXIS_ALIGNED_Y
441
442
  Axis-aligned (Vertical) -- Rotate islands to be aligned vertically.
442
- :type rotate_method: typing.Any | None
443
+ :type rotate_method: str | int | None
443
444
  :param scale: Scale, Scale islands to fill unit square
444
445
  :type scale: bool | typing.Any | None
445
446
  :param merge_overlap: Merge Overlapping, Overlapping islands stick together
@@ -454,7 +455,7 @@ def pack_islands(
454
455
 
455
456
  FRACTION
456
457
  Fraction -- Specify a precise fraction of final UV output.
457
- :type margin_method: typing.Any | None
458
+ :type margin_method: str | int | None
458
459
  :param margin: Margin, Space between islands
459
460
  :type margin: typing.Any | None
460
461
  :param pin: Lock Pinned Islands, Constrain islands containing any pinned UV's
@@ -472,7 +473,7 @@ def pack_islands(
472
473
 
473
474
  LOCKED
474
475
  All -- Pinned islands are locked in place.
475
- :type pin_method: typing.Any | None
476
+ :type pin_method: str | int | None
476
477
  :param shape_method: Shape Method
477
478
 
478
479
  CONCAVE
@@ -483,7 +484,7 @@ def pack_islands(
483
484
 
484
485
  AABB
485
486
  Bounding Box -- Uses bounding boxes.
486
- :type shape_method: typing.Any | None
487
+ :type shape_method: str | int | None
487
488
  """
488
489
 
489
490
  ...
@@ -742,7 +743,7 @@ def select_all(
742
743
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
743
744
  execution_context: str | int | None = None,
744
745
  undo: bool | None = None,
745
- action: typing.Any | None = "TOGGLE",
746
+ action: str | int | None = "TOGGLE",
746
747
  ):
747
748
  """Change selection of all UV vertices
748
749
 
@@ -762,7 +763,7 @@ def select_all(
762
763
 
763
764
  INVERT
764
765
  Invert -- Invert selection of all elements.
765
- :type action: typing.Any | None
766
+ :type action: str | int | None
766
767
  """
767
768
 
768
769
  ...
@@ -777,7 +778,7 @@ def select_box(
777
778
  ymin: typing.Any | None = 0,
778
779
  ymax: typing.Any | None = 0,
779
780
  wait_for_input: bool | typing.Any | None = True,
780
- mode: typing.Any | None = "SET",
781
+ mode: str | int | None = "SET",
781
782
  ):
782
783
  """Select UV vertices using box selection
783
784
 
@@ -806,7 +807,7 @@ def select_box(
806
807
 
807
808
  SUB
808
809
  Subtract -- Subtract existing selection.
809
- :type mode: typing.Any | None
810
+ :type mode: str | int | None
810
811
  """
811
812
 
812
813
  ...
@@ -819,7 +820,7 @@ def select_circle(
819
820
  y: typing.Any | None = 0,
820
821
  radius: typing.Any | None = 25,
821
822
  wait_for_input: bool | typing.Any | None = True,
822
- mode: typing.Any | None = "SET",
823
+ mode: str | int | None = "SET",
823
824
  ):
824
825
  """Select UV vertices using circle selection
825
826
 
@@ -844,7 +845,7 @@ def select_circle(
844
845
 
845
846
  SUB
846
847
  Subtract -- Subtract existing selection.
847
- :type mode: typing.Any | None
848
+ :type mode: str | int | None
848
849
  """
849
850
 
850
851
  ...
@@ -874,7 +875,7 @@ def select_lasso(
874
875
  execution_context: str | int | None = None,
875
876
  undo: bool | None = None,
876
877
  path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
877
- mode: typing.Any | None = "SET",
878
+ mode: str | int | None = "SET",
878
879
  ):
879
880
  """Select UVs using lasso selection
880
881
 
@@ -893,7 +894,7 @@ def select_lasso(
893
894
 
894
895
  SUB
895
896
  Subtract -- Subtract existing selection.
896
- :type mode: typing.Any | None
897
+ :type mode: str | int | None
897
898
  """
898
899
 
899
900
  ...
@@ -1035,8 +1036,8 @@ def select_similar(
1035
1036
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1036
1037
  execution_context: str | int | None = None,
1037
1038
  undo: bool | None = None,
1038
- type: typing.Any | None = "PIN",
1039
- compare: typing.Any | None = "EQUAL",
1039
+ type: str | int | None = "PIN",
1040
+ compare: str | int | None = "EQUAL",
1040
1041
  threshold: typing.Any | None = 0.0,
1041
1042
  ):
1042
1043
  """Select similar UVs by property types
@@ -1045,9 +1046,9 @@ def select_similar(
1045
1046
  :type execution_context: str | int | None
1046
1047
  :type undo: bool | None
1047
1048
  :param type: Type
1048
- :type type: typing.Any | None
1049
+ :type type: str | int | None
1049
1050
  :param compare: Compare
1050
- :type compare: typing.Any | None
1051
+ :type compare: str | int | None
1051
1052
  :param threshold: Threshold
1052
1053
  :type threshold: typing.Any | None
1053
1054
  """
@@ -1141,8 +1142,8 @@ def smart_project(
1141
1142
  execution_context: str | int | None = None,
1142
1143
  undo: bool | None = None,
1143
1144
  angle_limit: typing.Any | None = 1.15192,
1144
- margin_method: typing.Any | None = "SCALED",
1145
- rotate_method: typing.Any | None = "AXIS_ALIGNED_Y",
1145
+ margin_method: str | int | None = "SCALED",
1146
+ rotate_method: str | int | None = "AXIS_ALIGNED_Y",
1146
1147
  island_margin: typing.Any | None = 0.0,
1147
1148
  area_weight: typing.Any | None = 0.0,
1148
1149
  correct_aspect: bool | typing.Any | None = True,
@@ -1165,7 +1166,7 @@ def smart_project(
1165
1166
 
1166
1167
  FRACTION
1167
1168
  Fraction -- Specify a precise fraction of final UV output.
1168
- :type margin_method: typing.Any | None
1169
+ :type margin_method: str | int | None
1169
1170
  :param rotate_method: Rotation Method
1170
1171
 
1171
1172
  AXIS_ALIGNED
@@ -1176,7 +1177,7 @@ def smart_project(
1176
1177
 
1177
1178
  AXIS_ALIGNED_Y
1178
1179
  Axis-aligned (Vertical) -- Rotate islands to be aligned vertically.
1179
- :type rotate_method: typing.Any | None
1180
+ :type rotate_method: str | int | None
1180
1181
  :param island_margin: Island Margin, Margin to reduce bleed from adjacent islands
1181
1182
  :type island_margin: typing.Any | None
1182
1183
  :param area_weight: Area Weight, Weight projection's vector by faces with larger areas
@@ -1193,7 +1194,7 @@ def snap_cursor(
1193
1194
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1194
1195
  execution_context: str | int | None = None,
1195
1196
  undo: bool | None = None,
1196
- target: typing.Any | None = "PIXELS",
1197
+ target: str | int | None = "PIXELS",
1197
1198
  ):
1198
1199
  """Snap cursor to target type
1199
1200
 
@@ -1201,7 +1202,7 @@ def snap_cursor(
1201
1202
  :type execution_context: str | int | None
1202
1203
  :type undo: bool | None
1203
1204
  :param target: Target, Target to snap the selected UVs to
1204
- :type target: typing.Any | None
1205
+ :type target: str | int | None
1205
1206
  """
1206
1207
 
1207
1208
  ...
@@ -1210,7 +1211,7 @@ def snap_selected(
1210
1211
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1211
1212
  execution_context: str | int | None = None,
1212
1213
  undo: bool | None = None,
1213
- target: typing.Any | None = "PIXELS",
1214
+ target: str | int | None = "PIXELS",
1214
1215
  ):
1215
1216
  """Snap selected UV vertices to target type
1216
1217
 
@@ -1218,7 +1219,7 @@ def snap_selected(
1218
1219
  :type execution_context: str | int | None
1219
1220
  :type undo: bool | None
1220
1221
  :param target: Target, Target to snap the selected UVs to
1221
- :type target: typing.Any | None
1222
+ :type target: str | int | None
1222
1223
  """
1223
1224
 
1224
1225
  ...
@@ -1227,9 +1228,9 @@ def sphere_project(
1227
1228
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1228
1229
  execution_context: str | int | None = None,
1229
1230
  undo: bool | None = None,
1230
- direction: typing.Any | None = "VIEW_ON_EQUATOR",
1231
- align: typing.Any | None = "POLAR_ZX",
1232
- pole: typing.Any | None = "PINCH",
1231
+ direction: str | int | None = "VIEW_ON_EQUATOR",
1232
+ align: str | int | None = "POLAR_ZX",
1233
+ pole: str | int | None = "PINCH",
1233
1234
  seam: bool | typing.Any | None = False,
1234
1235
  correct_aspect: bool | typing.Any | None = True,
1235
1236
  clip_to_bounds: bool | typing.Any | None = False,
@@ -1250,7 +1251,7 @@ def sphere_project(
1250
1251
 
1251
1252
  ALIGN_TO_OBJECT
1252
1253
  Align to Object -- Align according to object transform.
1253
- :type direction: typing.Any | None
1254
+ :type direction: str | int | None
1254
1255
  :param align: Align, How to determine rotation around the pole
1255
1256
 
1256
1257
  POLAR_ZX
@@ -1258,7 +1259,7 @@ def sphere_project(
1258
1259
 
1259
1260
  POLAR_ZY
1260
1261
  Polar ZY -- Polar 0 is Y.
1261
- :type align: typing.Any | None
1262
+ :type align: str | int | None
1262
1263
  :param pole: Pole, How to handle faces at the poles
1263
1264
 
1264
1265
  PINCH
@@ -1266,7 +1267,7 @@ def sphere_project(
1266
1267
 
1267
1268
  FAN
1268
1269
  Fan -- UVs are fanned at the poles.
1269
- :type pole: typing.Any | None
1270
+ :type pole: str | int | None
1270
1271
  :param seam: Preserve Seams, Separate projections by islands isolated by seams
1271
1272
  :type seam: bool | typing.Any | None
1272
1273
  :param correct_aspect: Correct Aspect, Map UVs taking image aspect ratio into account
@@ -1290,8 +1291,8 @@ def stitch(
1290
1291
  active_object_index: typing.Any | None = 0,
1291
1292
  midpoint_snap: bool | typing.Any | None = False,
1292
1293
  clear_seams: bool | typing.Any | None = True,
1293
- mode: typing.Any | None = "VERTEX",
1294
- stored_mode: typing.Any | None = "VERTEX",
1294
+ mode: str | int | None = "VERTEX",
1295
+ stored_mode: str | int | None = "VERTEX",
1295
1296
  selection: bpy.types.bpy_prop_collection[bpy.types.SelectedUvElement] | None = None,
1296
1297
  objects_selection_count: typing.Any | None = (0, 0, 0, 0, 0, 0),
1297
1298
  ):
@@ -1315,9 +1316,9 @@ def stitch(
1315
1316
  :param clear_seams: Clear Seams, Clear seams of stitched edges
1316
1317
  :type clear_seams: bool | typing.Any | None
1317
1318
  :param mode: Operation Mode, Use vertex or edge stitching
1318
- :type mode: typing.Any | None
1319
+ :type mode: str | int | None
1319
1320
  :param stored_mode: Stored Operation Mode, Use vertex or edge stitching
1320
- :type stored_mode: typing.Any | None
1321
+ :type stored_mode: str | int | None
1321
1322
  :param selection: Selection
1322
1323
  :type selection: bpy.types.bpy_prop_collection[bpy.types.SelectedUvElement] | None
1323
1324
  :param objects_selection_count: Objects Selection Count
@@ -1330,11 +1331,11 @@ def unwrap(
1330
1331
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1331
1332
  execution_context: str | int | None = None,
1332
1333
  undo: bool | None = None,
1333
- method: typing.Any | None = "ANGLE_BASED",
1334
+ method: str | int | None = "ANGLE_BASED",
1334
1335
  fill_holes: bool | typing.Any | None = True,
1335
1336
  correct_aspect: bool | typing.Any | None = True,
1336
1337
  use_subsurf_data: bool | typing.Any | None = False,
1337
- margin_method: typing.Any | None = "SCALED",
1338
+ margin_method: str | int | None = "SCALED",
1338
1339
  margin: typing.Any | None = 0.001,
1339
1340
  ):
1340
1341
  """Unwrap the mesh of the object being edited
@@ -1343,7 +1344,7 @@ def unwrap(
1343
1344
  :type execution_context: str | int | None
1344
1345
  :type undo: bool | None
1345
1346
  :param method: Method, Unwrapping method (Angle Based usually gives better results than Conformal, while being somewhat slower)
1346
- :type method: typing.Any | None
1347
+ :type method: str | int | None
1347
1348
  :param fill_holes: Fill Holes, Virtually fill holes in mesh before unwrapping, to better avoid overlaps and preserve symmetry
1348
1349
  :type fill_holes: bool | typing.Any | None
1349
1350
  :param correct_aspect: Correct Aspect, Map UVs taking image aspect ratio into account
@@ -1360,7 +1361,7 @@ def unwrap(
1360
1361
 
1361
1362
  FRACTION
1362
1363
  Fraction -- Specify a precise fraction of final UV output.
1363
- :type margin_method: typing.Any | None
1364
+ :type margin_method: str | int | None
1364
1365
  :param margin: Margin, Space between islands
1365
1366
  :type margin: typing.Any | None
1366
1367
  """
@@ -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 edge_pan(
7
8
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,