fake-bpy-module 20240519__py3-none-any.whl → 20240520__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 +1 -0
  2. _bpy_internal/freedesktop/__init__.pyi +1 -0
  3. addon_utils/__init__.pyi +1 -0
  4. animsys_refactor/__init__.pyi +1 -0
  5. aud/__init__.pyi +1 -0
  6. bgl/__init__.pyi +119 -145
  7. bl_app_override/__init__.pyi +1 -0
  8. bl_app_override/helpers/__init__.pyi +1 -0
  9. bl_app_template_utils/__init__.pyi +1 -0
  10. bl_console_utils/__init__.pyi +1 -0
  11. bl_console_utils/autocomplete/__init__.pyi +1 -0
  12. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +1 -0
  13. bl_console_utils/autocomplete/complete_import/__init__.pyi +1 -0
  14. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +1 -0
  15. bl_console_utils/autocomplete/intellisense/__init__.pyi +1 -0
  16. bl_i18n_utils/__init__.pyi +1 -0
  17. bl_i18n_utils/bl_extract_messages/__init__.pyi +1 -0
  18. bl_i18n_utils/merge_po/__init__.pyi +1 -0
  19. bl_i18n_utils/settings/__init__.pyi +1 -0
  20. bl_i18n_utils/utils/__init__.pyi +1 -0
  21. bl_i18n_utils/utils_cli/__init__.pyi +1 -0
  22. bl_i18n_utils/utils_languages_menu/__init__.pyi +1 -0
  23. bl_i18n_utils/utils_rtl/__init__.pyi +1 -0
  24. bl_keymap_utils/__init__.pyi +1 -0
  25. bl_keymap_utils/io/__init__.pyi +1 -0
  26. bl_keymap_utils/keymap_from_toolbar/__init__.pyi +1 -0
  27. bl_keymap_utils/keymap_hierarchy/__init__.pyi +1 -0
  28. bl_keymap_utils/platform_helpers/__init__.pyi +1 -0
  29. bl_keymap_utils/versioning/__init__.pyi +1 -0
  30. bl_math/__init__.pyi +1 -0
  31. bl_operators/__init__.pyi +1 -0
  32. bl_operators/add_mesh_torus/__init__.pyi +1 -0
  33. bl_operators/anim/__init__.pyi +1 -0
  34. bl_operators/assets/__init__.pyi +1 -0
  35. bl_operators/bmesh/__init__.pyi +1 -0
  36. bl_operators/bmesh/find_adjacent/__init__.pyi +1 -0
  37. bl_operators/clip/__init__.pyi +1 -0
  38. bl_operators/console/__init__.pyi +1 -0
  39. bl_operators/constraint/__init__.pyi +1 -0
  40. bl_operators/file/__init__.pyi +1 -0
  41. bl_operators/freestyle/__init__.pyi +1 -0
  42. bl_operators/geometry_nodes/__init__.pyi +1 -0
  43. bl_operators/image/__init__.pyi +1 -0
  44. bl_operators/mesh/__init__.pyi +1 -0
  45. bl_operators/node/__init__.pyi +1 -0
  46. bl_operators/object/__init__.pyi +1 -0
  47. bl_operators/object_align/__init__.pyi +1 -0
  48. bl_operators/object_quick_effects/__init__.pyi +1 -0
  49. bl_operators/object_randomize_transform/__init__.pyi +1 -0
  50. bl_operators/presets/__init__.pyi +1 -0
  51. bl_operators/rigidbody/__init__.pyi +1 -0
  52. bl_operators/screen_play_rendered_anim/__init__.pyi +1 -0
  53. bl_operators/sequencer/__init__.pyi +1 -0
  54. bl_operators/spreadsheet/__init__.pyi +1 -0
  55. bl_operators/userpref/__init__.pyi +1 -0
  56. bl_operators/uvcalc_follow_active/__init__.pyi +1 -0
  57. bl_operators/uvcalc_lightmap/__init__.pyi +1 -0
  58. bl_operators/uvcalc_transform/__init__.pyi +1 -0
  59. bl_operators/vertexpaint_dirt/__init__.pyi +1 -0
  60. bl_operators/view3d/__init__.pyi +1 -0
  61. bl_operators/wm/__init__.pyi +1 -0
  62. bl_operators/world/__init__.pyi +1 -0
  63. bl_previews_utils/__init__.pyi +1 -0
  64. bl_previews_utils/bl_previews_render/__init__.pyi +1 -0
  65. bl_rna_utils/__init__.pyi +1 -0
  66. bl_rna_utils/data_path/__init__.pyi +1 -0
  67. bl_text_utils/__init__.pyi +1 -0
  68. bl_text_utils/external_editor/__init__.pyi +1 -0
  69. bl_ui/__init__.pyi +1 -0
  70. bl_ui/anim/__init__.pyi +1 -0
  71. bl_ui/asset_shelf/__init__.pyi +1 -0
  72. bl_ui/generic_ui_list/__init__.pyi +1 -0
  73. bl_ui/node_add_menu/__init__.pyi +1 -0
  74. bl_ui/node_add_menu_compositor/__init__.pyi +1 -0
  75. bl_ui/node_add_menu_geometry/__init__.pyi +1 -0
  76. bl_ui/node_add_menu_shader/__init__.pyi +1 -0
  77. bl_ui/node_add_menu_texture/__init__.pyi +1 -0
  78. bl_ui/properties_animviz/__init__.pyi +1 -0
  79. bl_ui/properties_collection/__init__.pyi +1 -0
  80. bl_ui/properties_constraint/__init__.pyi +1 -0
  81. bl_ui/properties_data_armature/__init__.pyi +1 -0
  82. bl_ui/properties_data_bone/__init__.pyi +1 -0
  83. bl_ui/properties_data_camera/__init__.pyi +1 -0
  84. bl_ui/properties_data_curve/__init__.pyi +1 -0
  85. bl_ui/properties_data_curves/__init__.pyi +1 -0
  86. bl_ui/properties_data_empty/__init__.pyi +1 -0
  87. bl_ui/properties_data_gpencil/__init__.pyi +1 -0
  88. bl_ui/properties_data_grease_pencil/__init__.pyi +1 -0
  89. bl_ui/properties_data_lattice/__init__.pyi +1 -0
  90. bl_ui/properties_data_light/__init__.pyi +1 -0
  91. bl_ui/properties_data_lightprobe/__init__.pyi +1 -0
  92. bl_ui/properties_data_mesh/__init__.pyi +1 -0
  93. bl_ui/properties_data_metaball/__init__.pyi +1 -0
  94. bl_ui/properties_data_modifier/__init__.pyi +1 -0
  95. bl_ui/properties_data_pointcloud/__init__.pyi +1 -0
  96. bl_ui/properties_data_shaderfx/__init__.pyi +1 -0
  97. bl_ui/properties_data_speaker/__init__.pyi +1 -0
  98. bl_ui/properties_data_volume/__init__.pyi +1 -0
  99. bl_ui/properties_freestyle/__init__.pyi +1 -0
  100. bl_ui/properties_grease_pencil_common/__init__.pyi +1 -0
  101. bl_ui/properties_mask_common/__init__.pyi +1 -0
  102. bl_ui/properties_material/__init__.pyi +1 -0
  103. bl_ui/properties_material_gpencil/__init__.pyi +1 -0
  104. bl_ui/properties_object/__init__.pyi +1 -0
  105. bl_ui/properties_output/__init__.pyi +1 -0
  106. bl_ui/properties_paint_common/__init__.pyi +1 -0
  107. bl_ui/properties_particle/__init__.pyi +1 -0
  108. bl_ui/properties_physics_cloth/__init__.pyi +1 -0
  109. bl_ui/properties_physics_common/__init__.pyi +1 -0
  110. bl_ui/properties_physics_dynamicpaint/__init__.pyi +1 -0
  111. bl_ui/properties_physics_field/__init__.pyi +1 -0
  112. bl_ui/properties_physics_fluid/__init__.pyi +1 -0
  113. bl_ui/properties_physics_geometry_nodes/__init__.pyi +1 -0
  114. bl_ui/properties_physics_rigidbody/__init__.pyi +1 -0
  115. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +1 -0
  116. bl_ui/properties_physics_softbody/__init__.pyi +1 -0
  117. bl_ui/properties_render/__init__.pyi +1 -0
  118. bl_ui/properties_scene/__init__.pyi +1 -0
  119. bl_ui/properties_texture/__init__.pyi +1 -0
  120. bl_ui/properties_view_layer/__init__.pyi +1 -0
  121. bl_ui/properties_workspace/__init__.pyi +1 -0
  122. bl_ui/properties_world/__init__.pyi +1 -0
  123. bl_ui/space_clip/__init__.pyi +1 -0
  124. bl_ui/space_console/__init__.pyi +1 -0
  125. bl_ui/space_dopesheet/__init__.pyi +1 -0
  126. bl_ui/space_filebrowser/__init__.pyi +1 -0
  127. bl_ui/space_graph/__init__.pyi +1 -0
  128. bl_ui/space_image/__init__.pyi +1 -0
  129. bl_ui/space_info/__init__.pyi +1 -0
  130. bl_ui/space_nla/__init__.pyi +1 -0
  131. bl_ui/space_node/__init__.pyi +1 -0
  132. bl_ui/space_outliner/__init__.pyi +1 -0
  133. bl_ui/space_properties/__init__.pyi +1 -0
  134. bl_ui/space_sequencer/__init__.pyi +1 -0
  135. bl_ui/space_spreadsheet/__init__.pyi +1 -0
  136. bl_ui/space_statusbar/__init__.pyi +1 -0
  137. bl_ui/space_text/__init__.pyi +1 -0
  138. bl_ui/space_time/__init__.pyi +1 -0
  139. bl_ui/space_toolsystem_common/__init__.pyi +1 -0
  140. bl_ui/space_toolsystem_toolbar/__init__.pyi +1 -0
  141. bl_ui/space_topbar/__init__.pyi +1 -0
  142. bl_ui/space_userpref/__init__.pyi +1 -0
  143. bl_ui/space_view3d/__init__.pyi +1 -0
  144. bl_ui/space_view3d_toolbar/__init__.pyi +1 -0
  145. bl_ui/temp_anim_layers/__init__.pyi +1 -0
  146. bl_ui/utils/__init__.pyi +1 -0
  147. bl_ui_utils/__init__.pyi +1 -0
  148. bl_ui_utils/bug_report_url/__init__.pyi +1 -0
  149. bl_ui_utils/layout/__init__.pyi +1 -0
  150. blend_render_info/__init__.pyi +1 -0
  151. blf/__init__.pyi +1 -0
  152. bmesh/__init__.pyi +1 -0
  153. bmesh/geometry/__init__.pyi +1 -0
  154. bmesh/ops/__init__.pyi +37 -36
  155. bmesh/types/__init__.pyi +3 -1
  156. bmesh/utils/__init__.pyi +1 -0
  157. bpy/__init__.pyi +1 -0
  158. bpy/app/__init__.pyi +1 -0
  159. bpy/app/handlers/__init__.pyi +1 -0
  160. bpy/app/icons/__init__.pyi +1 -0
  161. bpy/app/timers/__init__.pyi +1 -0
  162. bpy/app/translations/__init__.pyi +1 -0
  163. bpy/msgbus/__init__.pyi +1 -0
  164. bpy/ops/__init__.pyi +1 -0
  165. bpy/ops/action/__init__.pyi +33 -32
  166. bpy/ops/anim/__init__.pyi +31 -30
  167. bpy/ops/armature/__init__.pyi +21 -20
  168. bpy/ops/asset/__init__.pyi +7 -6
  169. bpy/ops/bl_pkg/__init__.pyi +3 -2
  170. bpy/ops/boid/__init__.pyi +3 -2
  171. bpy/ops/brush/__init__.pyi +9 -8
  172. bpy/ops/buttons/__init__.pyi +9 -8
  173. bpy/ops/cachefile/__init__.pyi +11 -10
  174. bpy/ops/camera/__init__.pyi +1 -0
  175. bpy/ops/clip/__init__.pyi +39 -38
  176. bpy/ops/cloth/__init__.pyi +1 -0
  177. bpy/ops/collection/__init__.pyi +7 -6
  178. bpy/ops/console/__init__.pyi +7 -6
  179. bpy/ops/constraint/__init__.pyi +29 -28
  180. bpy/ops/curve/__init__.pyi +35 -34
  181. bpy/ops/curves/__init__.pyi +17 -16
  182. bpy/ops/cycles/__init__.pyi +1 -0
  183. bpy/ops/dpaint/__init__.pyi +5 -4
  184. bpy/ops/ed/__init__.pyi +5 -4
  185. bpy/ops/export_anim/__init__.pyi +3 -2
  186. bpy/ops/export_scene/__init__.pyi +39 -38
  187. bpy/ops/file/__init__.pyi +19 -18
  188. bpy/ops/fluid/__init__.pyi +1 -0
  189. bpy/ops/font/__init__.pyi +21 -20
  190. bpy/ops/geometry/__init__.pyi +21 -20
  191. bpy/ops/gizmogroup/__init__.pyi +1 -0
  192. bpy/ops/gpencil/__init__.pyi +133 -132
  193. bpy/ops/graph/__init__.pyi +55 -54
  194. bpy/ops/grease_pencil/__init__.pyi +43 -42
  195. bpy/ops/image/__init__.pyi +29 -28
  196. bpy/ops/import_anim/__init__.pyi +9 -8
  197. bpy/ops/import_curve/__init__.pyi +1 -0
  198. bpy/ops/import_scene/__init__.pyi +19 -18
  199. bpy/ops/info/__init__.pyi +5 -4
  200. bpy/ops/lattice/__init__.pyi +7 -6
  201. bpy/ops/marker/__init__.pyi +9 -8
  202. bpy/ops/mask/__init__.pyi +13 -12
  203. bpy/ops/material/__init__.pyi +1 -0
  204. bpy/ops/mball/__init__.pyi +7 -6
  205. bpy/ops/mesh/__init__.pyi +145 -144
  206. bpy/ops/nla/__init__.pyi +17 -16
  207. bpy/ops/node/__init__.pyi +33 -32
  208. bpy/ops/object/__init__.pyi +253 -252
  209. bpy/ops/outliner/__init__.pyi +41 -40
  210. bpy/ops/paint/__init__.pyi +73 -72
  211. bpy/ops/paintcurve/__init__.pyi +1 -0
  212. bpy/ops/palette/__init__.pyi +5 -4
  213. bpy/ops/particle/__init__.pyi +15 -14
  214. bpy/ops/pose/__init__.pyi +43 -42
  215. bpy/ops/poselib/__init__.pyi +1 -0
  216. bpy/ops/preferences/__init__.pyi +13 -12
  217. bpy/ops/ptcache/__init__.pyi +1 -0
  218. bpy/ops/render/__init__.pyi +3 -2
  219. bpy/ops/rigidbody/__init__.pyi +17 -16
  220. bpy/ops/scene/__init__.pyi +25 -24
  221. bpy/ops/screen/__init__.pyi +21 -20
  222. bpy/ops/script/__init__.pyi +1 -0
  223. bpy/ops/sculpt/__init__.pyi +67 -66
  224. bpy/ops/sculpt_curves/__init__.pyi +3 -2
  225. bpy/ops/sequencer/__init__.pyi +75 -74
  226. bpy/ops/sound/__init__.pyi +21 -20
  227. bpy/ops/spreadsheet/__init__.pyi +1 -0
  228. bpy/ops/surface/__init__.pyi +13 -12
  229. bpy/ops/text/__init__.pyi +23 -22
  230. bpy/ops/text_editor/__init__.pyi +1 -0
  231. bpy/ops/texture/__init__.pyi +3 -2
  232. bpy/ops/transform/__init__.pyi +89 -88
  233. bpy/ops/ui/__init__.pyi +7 -6
  234. bpy/ops/uilist/__init__.pyi +3 -2
  235. bpy/ops/uv/__init__.pyi +67 -66
  236. bpy/ops/view2d/__init__.pyi +1 -0
  237. bpy/ops/view3d/__init__.pyi +35 -34
  238. bpy/ops/wm/__init__.pyi +197 -196
  239. bpy/ops/workspace/__init__.pyi +1 -0
  240. bpy/ops/world/__init__.pyi +1 -0
  241. bpy/path/__init__.pyi +1 -0
  242. bpy/props/__init__.pyi +1 -0
  243. bpy/types/__init__.pyi +3367 -3341
  244. bpy/utils/__init__.pyi +1 -0
  245. bpy/utils/previews/__init__.pyi +1 -0
  246. bpy/utils/units/__init__.pyi +1 -0
  247. bpy_extras/__init__.pyi +1 -0
  248. bpy_extras/anim_utils/__init__.pyi +1 -0
  249. bpy_extras/asset_utils/__init__.pyi +1 -0
  250. bpy_extras/bmesh_utils/__init__.pyi +1 -0
  251. bpy_extras/extensions/__init__.pyi +1 -0
  252. bpy_extras/extensions/junction_module/__init__.pyi +1 -0
  253. bpy_extras/id_map_utils/__init__.pyi +1 -0
  254. bpy_extras/image_utils/__init__.pyi +1 -0
  255. bpy_extras/io_utils/__init__.pyi +1 -0
  256. bpy_extras/keyconfig_utils/__init__.pyi +1 -0
  257. bpy_extras/mesh_utils/__init__.pyi +1 -0
  258. bpy_extras/node_shader_utils/__init__.pyi +1 -0
  259. bpy_extras/node_utils/__init__.pyi +1 -0
  260. bpy_extras/object_utils/__init__.pyi +1 -0
  261. bpy_extras/view3d_utils/__init__.pyi +1 -0
  262. bpy_extras/wm_utils/__init__.pyi +1 -0
  263. bpy_extras/wm_utils/progress_report/__init__.pyi +1 -0
  264. bpy_restrict_state/__init__.pyi +1 -0
  265. bpy_types/__init__.pyi +1 -0
  266. console_python/__init__.pyi +1 -0
  267. console_shell/__init__.pyi +1 -0
  268. {fake_bpy_module-20240519.dist-info → fake_bpy_module-20240520.dist-info}/METADATA +1 -1
  269. fake_bpy_module-20240520.dist-info/RECORD +353 -0
  270. freestyle/__init__.pyi +1 -0
  271. freestyle/chainingiterators/__init__.pyi +1 -0
  272. freestyle/functions/__init__.pyi +1 -0
  273. freestyle/predicates/__init__.pyi +1 -0
  274. freestyle/shaders/__init__.pyi +1 -0
  275. freestyle/types/__init__.pyi +1 -0
  276. freestyle/utils/ContextFunctions/__init__.pyi +1 -0
  277. freestyle/utils/__init__.pyi +1 -0
  278. gpu/__init__.pyi +1 -0
  279. gpu/capabilities/__init__.pyi +1 -0
  280. gpu/matrix/__init__.pyi +1 -0
  281. gpu/platform/__init__.pyi +1 -0
  282. gpu/select/__init__.pyi +1 -0
  283. gpu/shader/__init__.pyi +1 -0
  284. gpu/state/__init__.pyi +1 -0
  285. gpu/texture/__init__.pyi +1 -0
  286. gpu/types/__init__.pyi +1 -0
  287. gpu_extras/__init__.pyi +1 -0
  288. gpu_extras/batch/__init__.pyi +1 -0
  289. gpu_extras/presets/__init__.pyi +1 -0
  290. graphviz_export/__init__.pyi +1 -0
  291. idprop/__init__.pyi +1 -0
  292. idprop/types/__init__.pyi +1 -0
  293. imbuf/__init__.pyi +1 -0
  294. imbuf/types/__init__.pyi +1 -0
  295. keyingsets_builtins/__init__.pyi +1 -0
  296. keyingsets_utils/__init__.pyi +1 -0
  297. mathutils/__init__.pyi +3 -1
  298. mathutils/bvhtree/__init__.pyi +1 -0
  299. mathutils/geometry/__init__.pyi +1 -0
  300. mathutils/interpolate/__init__.pyi +1 -0
  301. mathutils/kdtree/__init__.pyi +1 -0
  302. mathutils/noise/__init__.pyi +1 -0
  303. nodeitems_builtins/__init__.pyi +1 -0
  304. nodeitems_utils/__init__.pyi +1 -0
  305. rna_info/__init__.pyi +1 -0
  306. rna_keymap_ui/__init__.pyi +1 -0
  307. rna_prop_ui/__init__.pyi +1 -0
  308. rna_xml/__init__.pyi +1 -0
  309. sys_info/__init__.pyi +1 -0
  310. fake_bpy_module-20240519.dist-info/RECORD +0 -353
  311. {fake_bpy_module-20240519.dist-info → fake_bpy_module-20240520.dist-info}/WHEEL +0 -0
  312. {fake_bpy_module-20240519.dist-info → fake_bpy_module-20240520.dist-info}/top_level.txt +0 -0
bpy/ops/ui/__init__.pyi CHANGED
@@ -1,4 +1,5 @@
1
1
  import typing
2
+ import collections.abc
2
3
  import bpy.types
3
4
 
4
5
  GenericType1 = typing.TypeVar("GenericType1")
@@ -273,7 +274,7 @@ def eyedropper_driver(
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
- mapping_type: str | int | None = "SINGLE_MANY",
277
+ mapping_type: str | None = "SINGLE_MANY",
277
278
  ):
278
279
  """Pick a property to use as a driver target
279
280
 
@@ -296,7 +297,7 @@ def eyedropper_driver(
296
297
 
297
298
  NONE_SINGLE
298
299
  Manually Create Later (Single) -- Create driver for this property only and without assigning any targets yet.
299
- :type mapping_type: str | int | None
300
+ :type mapping_type: str | None
300
301
  """
301
302
 
302
303
  ...
@@ -305,7 +306,7 @@ def eyedropper_gpencil_color(
305
306
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
306
307
  execution_context: str | int | None = None,
307
308
  undo: bool | None = None,
308
- mode: str | int | None = "MATERIAL",
309
+ mode: str | None = "MATERIAL",
309
310
  ):
310
311
  """Sample a color from the Blender Window and create Grease Pencil material
311
312
 
@@ -313,7 +314,7 @@ def eyedropper_gpencil_color(
313
314
  :type execution_context: str | int | None
314
315
  :type undo: bool | None
315
316
  :param mode: Mode
316
- :type mode: str | int | None
317
+ :type mode: str | None
317
318
  """
318
319
 
319
320
  ...
@@ -424,7 +425,7 @@ def override_type_set_button(
424
425
  execution_context: str | int | None = None,
425
426
  undo: bool | None = None,
426
427
  all: bool | typing.Any | None = True,
427
- type: str | int | None = "REPLACE",
428
+ type: str | None = "REPLACE",
428
429
  ):
429
430
  """Create an override operation, or set the type of an existing one
430
431
 
@@ -446,7 +447,7 @@ def override_type_set_button(
446
447
 
447
448
  FACTOR
448
449
  Factor -- Store factor to linked data value (useful e.g. for scale).
449
- :type type: str | int | None
450
+ :type type: str | None
450
451
  """
451
452
 
452
453
  ...
@@ -1,4 +1,5 @@
1
1
  import typing
2
+ import collections.abc
2
3
  import bpy.types
3
4
 
4
5
  GenericType1 = typing.TypeVar("GenericType1")
@@ -30,7 +31,7 @@ def entry_move(
30
31
  undo: bool | None = None,
31
32
  list_path: str | typing.Any = "",
32
33
  active_index_path: str | typing.Any = "",
33
- direction: str | int | None = "UP",
34
+ direction: str | None = "UP",
34
35
  ):
35
36
  """Move an entry in the list up or down
36
37
 
@@ -48,7 +49,7 @@ def entry_move(
48
49
 
49
50
  DOWN
50
51
  DOWN -- DOWN.
51
- :type direction: str | int | None
52
+ :type direction: str | None
52
53
  """
53
54
 
54
55
  ...
bpy/ops/uv/__init__.pyi CHANGED
@@ -1,4 +1,5 @@
1
1
  import typing
2
+ import collections.abc
2
3
  import bpy.ops.transform
3
4
  import bpy.types
4
5
 
@@ -9,7 +10,7 @@ def align(
9
10
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
10
11
  execution_context: str | int | None = None,
11
12
  undo: bool | None = None,
12
- axis: str | int | None = "ALIGN_AUTO",
13
+ axis: str | None = "ALIGN_AUTO",
13
14
  ):
14
15
  """Aligns selected UV vertices on a line
15
16
 
@@ -35,7 +36,7 @@ def align(
35
36
 
36
37
  ALIGN_Y
37
38
  Align Horizontally -- Align UV vertices on a horizontal line.
38
- :type axis: str | int | None
39
+ :type axis: str | None
39
40
  """
40
41
 
41
42
  ...
@@ -44,8 +45,8 @@ def align_rotation(
44
45
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
45
46
  execution_context: str | int | None = None,
46
47
  undo: bool | None = None,
47
- method: str | int | None = "AUTO",
48
- axis: str | int | None = "X",
48
+ method: str | None = "AUTO",
49
+ axis: str | None = "X",
49
50
  correct_aspect: bool | typing.Any | None = False,
50
51
  ):
51
52
  """Align the UV island's rotation
@@ -63,7 +64,7 @@ def align_rotation(
63
64
 
64
65
  GEOMETRY
65
66
  Geometry -- Align to Geometry axis.
66
- :type method: str | int | None
67
+ :type method: str | None
67
68
  :param axis: Axis, Axis to align to
68
69
 
69
70
  X
@@ -74,7 +75,7 @@ def align_rotation(
74
75
 
75
76
  Z
76
77
  Z -- Z axis.
77
- :type axis: str | int | None
78
+ :type axis: str | None
78
79
  :param correct_aspect: Correct Aspect, Take image aspect ratio into account
79
80
  :type correct_aspect: bool | typing.Any | None
80
81
  """
@@ -162,9 +163,9 @@ def cylinder_project(
162
163
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
163
164
  execution_context: str | int | None = None,
164
165
  undo: bool | None = None,
165
- direction: str | int | None = "VIEW_ON_EQUATOR",
166
- align: str | int | None = "POLAR_ZX",
167
- pole: str | int | None = "PINCH",
166
+ direction: str | None = "VIEW_ON_EQUATOR",
167
+ align: str | None = "POLAR_ZX",
168
+ pole: str | None = "PINCH",
168
169
  seam: bool | typing.Any | None = False,
169
170
  radius: typing.Any | None = 1.0,
170
171
  correct_aspect: bool | typing.Any | None = True,
@@ -186,7 +187,7 @@ def cylinder_project(
186
187
 
187
188
  ALIGN_TO_OBJECT
188
189
  Align to Object -- Align according to object transform.
189
- :type direction: str | int | None
190
+ :type direction: str | None
190
191
  :param align: Align, How to determine rotation around the pole
191
192
 
192
193
  POLAR_ZX
@@ -194,7 +195,7 @@ def cylinder_project(
194
195
 
195
196
  POLAR_ZY
196
197
  Polar ZY -- Polar 0 is Y.
197
- :type align: str | int | None
198
+ :type align: str | None
198
199
  :param pole: Pole, How to handle faces at the poles
199
200
 
200
201
  PINCH
@@ -202,7 +203,7 @@ def cylinder_project(
202
203
 
203
204
  FAN
204
205
  Fan -- UVs are fanned at the poles.
205
- :type pole: str | int | None
206
+ :type pole: str | None
206
207
  :param seam: Preserve Seams, Separate projections by islands isolated by seams
207
208
  :type seam: bool | typing.Any | None
208
209
  :param radius: Radius, Radius of the sphere or cylinder
@@ -223,9 +224,9 @@ def export_layout(
223
224
  undo: bool | None = None,
224
225
  filepath: str | typing.Any = "",
225
226
  export_all: bool | typing.Any | None = False,
226
- export_tiles: str | int | None = "NONE",
227
+ export_tiles: str | None = "NONE",
227
228
  modified: bool | typing.Any | None = False,
228
- mode: str | int | None = "PNG",
229
+ mode: str | None = "PNG",
229
230
  size: typing.Any | None = (1024, 1024),
230
231
  opacity: typing.Any | None = 0.25,
231
232
  check_existing: bool | typing.Any | None = True,
@@ -249,7 +250,7 @@ def export_layout(
249
250
 
250
251
  UV
251
252
  UVTILE -- Export tiles in the UVTILE numbering scheme: u(u_tile + 1)_v(v_tile + 1).
252
- :type export_tiles: str | int | None
253
+ :type export_tiles: str | None
253
254
  :param modified: Modified, Exports UVs from the modified mesh
254
255
  :type modified: bool | typing.Any | None
255
256
  :param mode: Format, File format to export the UV layout to
@@ -262,7 +263,7 @@ def export_layout(
262
263
 
263
264
  PNG
264
265
  PNG Image (.png) -- Export the UV layout to a bitmap image.
265
- :type mode: str | int | None
266
+ :type mode: str | None
266
267
  :param size: Size, Dimensions of the exported file
267
268
  :type size: typing.Any | None
268
269
  :param opacity: Fill Opacity, Set amount of opacity for exported UV layout
@@ -277,7 +278,7 @@ def follow_active_quads(
277
278
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
278
279
  execution_context: str | int | None = None,
279
280
  undo: bool | None = None,
280
- mode: str | int | None = "LENGTH_AVERAGE",
281
+ mode: str | None = "LENGTH_AVERAGE",
281
282
  ):
282
283
  """Follow UVs from active quads along continuous face loops
283
284
 
@@ -294,7 +295,7 @@ def follow_active_quads(
294
295
 
295
296
  LENGTH_AVERAGE
296
297
  Length Average -- Average space UVs edge length of each loop.
297
- :type mode: str | int | None
298
+ :type mode: str | None
298
299
  """
299
300
 
300
301
  ...
@@ -320,7 +321,7 @@ def lightmap_pack(
320
321
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
321
322
  execution_context: str | int | None = None,
322
323
  undo: bool | None = None,
323
- PREF_CONTEXT: str | int | None = "SEL_FACES",
324
+ PREF_CONTEXT: str | None = "SEL_FACES",
324
325
  PREF_PACK_IN_ONE: bool | typing.Any | None = True,
325
326
  PREF_NEW_UVLAYER: bool | typing.Any | None = False,
326
327
  PREF_BOX_DIV: typing.Any | None = 12,
@@ -338,7 +339,7 @@ def lightmap_pack(
338
339
 
339
340
  ALL_FACES
340
341
  All Faces -- Average space UVs edge length of each loop.
341
- :type PREF_CONTEXT: str | int | None
342
+ :type PREF_CONTEXT: str | None
342
343
  :param PREF_PACK_IN_ONE: Share Texture Space, Objects share texture space, map all objects into a single UV map
343
344
  :type PREF_PACK_IN_ONE: bool | typing.Any | None
344
345
  :param PREF_NEW_UVLAYER: New UV Map, Create a new UV map for every mesh packed
@@ -395,16 +396,16 @@ def pack_islands(
395
396
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
396
397
  execution_context: str | int | None = None,
397
398
  undo: bool | None = None,
398
- udim_source: str | int | None = "CLOSEST_UDIM",
399
+ udim_source: str | None = "CLOSEST_UDIM",
399
400
  rotate: bool | typing.Any | None = True,
400
- rotate_method: str | int | None = "ANY",
401
+ rotate_method: str | None = "ANY",
401
402
  scale: bool | typing.Any | None = True,
402
403
  merge_overlap: bool | typing.Any | None = False,
403
- margin_method: str | int | None = "SCALED",
404
+ margin_method: str | None = "SCALED",
404
405
  margin: typing.Any | None = 0.001,
405
406
  pin: bool | typing.Any | None = False,
406
- pin_method: str | int | None = "LOCKED",
407
- shape_method: str | int | None = "CONCAVE",
407
+ pin_method: str | None = "LOCKED",
408
+ shape_method: str | None = "CONCAVE",
408
409
  ):
409
410
  """Transform all islands so that they fill up the UV/UDIM space as much as possible
410
411
 
@@ -421,7 +422,7 @@ def pack_islands(
421
422
 
422
423
  ORIGINAL_AABB
423
424
  Original bounding box -- Pack to starting bounding box of islands.
424
- :type udim_source: str | int | None
425
+ :type udim_source: str | None
425
426
  :param rotate: Rotate, Rotate islands to improve layout
426
427
  :type rotate: bool | typing.Any | None
427
428
  :param rotate_method: Rotation Method
@@ -440,7 +441,7 @@ def pack_islands(
440
441
 
441
442
  AXIS_ALIGNED_Y
442
443
  Axis-aligned (Vertical) -- Rotate islands to be aligned vertically.
443
- :type rotate_method: str | int | None
444
+ :type rotate_method: str | None
444
445
  :param scale: Scale, Scale islands to fill unit square
445
446
  :type scale: bool | typing.Any | None
446
447
  :param merge_overlap: Merge Overlapping, Overlapping islands stick together
@@ -455,7 +456,7 @@ def pack_islands(
455
456
 
456
457
  FRACTION
457
458
  Fraction -- Specify a precise fraction of final UV output.
458
- :type margin_method: str | int | None
459
+ :type margin_method: str | None
459
460
  :param margin: Margin, Space between islands
460
461
  :type margin: typing.Any | None
461
462
  :param pin: Lock Pinned Islands, Constrain islands containing any pinned UV's
@@ -473,7 +474,7 @@ def pack_islands(
473
474
 
474
475
  LOCKED
475
476
  All -- Pinned islands are locked in place.
476
- :type pin_method: str | int | None
477
+ :type pin_method: str | None
477
478
  :param shape_method: Shape Method
478
479
 
479
480
  CONCAVE
@@ -484,7 +485,7 @@ def pack_islands(
484
485
 
485
486
  AABB
486
487
  Bounding Box -- Uses bounding boxes.
487
- :type shape_method: str | int | None
488
+ :type shape_method: str | None
488
489
  """
489
490
 
490
491
  ...
@@ -743,7 +744,7 @@ def select_all(
743
744
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
744
745
  execution_context: str | int | None = None,
745
746
  undo: bool | None = None,
746
- action: str | int | None = "TOGGLE",
747
+ action: str | None = "TOGGLE",
747
748
  ):
748
749
  """Change selection of all UV vertices
749
750
 
@@ -763,7 +764,7 @@ def select_all(
763
764
 
764
765
  INVERT
765
766
  Invert -- Invert selection of all elements.
766
- :type action: str | int | None
767
+ :type action: str | None
767
768
  """
768
769
 
769
770
  ...
@@ -778,7 +779,7 @@ def select_box(
778
779
  ymin: typing.Any | None = 0,
779
780
  ymax: typing.Any | None = 0,
780
781
  wait_for_input: bool | typing.Any | None = True,
781
- mode: str | int | None = "SET",
782
+ mode: str | None = "SET",
782
783
  ):
783
784
  """Select UV vertices using box selection
784
785
 
@@ -807,7 +808,7 @@ def select_box(
807
808
 
808
809
  SUB
809
810
  Subtract -- Subtract existing selection.
810
- :type mode: str | int | None
811
+ :type mode: str | None
811
812
  """
812
813
 
813
814
  ...
@@ -820,7 +821,7 @@ def select_circle(
820
821
  y: typing.Any | None = 0,
821
822
  radius: typing.Any | None = 25,
822
823
  wait_for_input: bool | typing.Any | None = True,
823
- mode: str | int | None = "SET",
824
+ mode: str | None = "SET",
824
825
  ):
825
826
  """Select UV vertices using circle selection
826
827
 
@@ -845,7 +846,7 @@ def select_circle(
845
846
 
846
847
  SUB
847
848
  Subtract -- Subtract existing selection.
848
- :type mode: str | int | None
849
+ :type mode: str | None
849
850
  """
850
851
 
851
852
  ...
@@ -875,7 +876,7 @@ def select_lasso(
875
876
  execution_context: str | int | None = None,
876
877
  undo: bool | None = None,
877
878
  path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
878
- mode: str | int | None = "SET",
879
+ mode: str | None = "SET",
879
880
  ):
880
881
  """Select UVs using lasso selection
881
882
 
@@ -894,7 +895,7 @@ def select_lasso(
894
895
 
895
896
  SUB
896
897
  Subtract -- Subtract existing selection.
897
- :type mode: str | int | None
898
+ :type mode: str | None
898
899
  """
899
900
 
900
901
  ...
@@ -974,7 +975,7 @@ def select_mode(
974
975
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
975
976
  execution_context: str | int | None = None,
976
977
  undo: bool | None = None,
977
- type: str | int | None = "VERTEX",
978
+ type: str | None = "VERTEX",
978
979
  ):
979
980
  """Change UV selection mode
980
981
 
@@ -982,7 +983,7 @@ def select_mode(
982
983
  :type execution_context: str | int | None
983
984
  :type undo: bool | None
984
985
  :param type: Type
985
- :type type: str | int | None
986
+ :type type: str | None
986
987
  """
987
988
 
988
989
  ...
@@ -1036,8 +1037,8 @@ def select_similar(
1036
1037
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1037
1038
  execution_context: str | int | None = None,
1038
1039
  undo: bool | None = None,
1039
- type: str | int | None = "PIN",
1040
- compare: str | int | None = "EQUAL",
1040
+ type: str | None = "PIN",
1041
+ compare: str | None = "EQUAL",
1041
1042
  threshold: typing.Any | None = 0.0,
1042
1043
  ):
1043
1044
  """Select similar UVs by property types
@@ -1046,9 +1047,9 @@ def select_similar(
1046
1047
  :type execution_context: str | int | None
1047
1048
  :type undo: bool | None
1048
1049
  :param type: Type
1049
- :type type: str | int | None
1050
+ :type type: str | None
1050
1051
  :param compare: Compare
1051
- :type compare: str | int | None
1052
+ :type compare: str | None
1052
1053
  :param threshold: Threshold
1053
1054
  :type threshold: typing.Any | None
1054
1055
  """
@@ -1142,8 +1143,8 @@ def smart_project(
1142
1143
  execution_context: str | int | None = None,
1143
1144
  undo: bool | None = None,
1144
1145
  angle_limit: typing.Any | None = 1.15192,
1145
- margin_method: str | int | None = "SCALED",
1146
- rotate_method: str | int | None = "AXIS_ALIGNED_Y",
1146
+ margin_method: str | None = "SCALED",
1147
+ rotate_method: str | None = "AXIS_ALIGNED_Y",
1147
1148
  island_margin: typing.Any | None = 0.0,
1148
1149
  area_weight: typing.Any | None = 0.0,
1149
1150
  correct_aspect: bool | typing.Any | None = True,
@@ -1166,7 +1167,7 @@ def smart_project(
1166
1167
 
1167
1168
  FRACTION
1168
1169
  Fraction -- Specify a precise fraction of final UV output.
1169
- :type margin_method: str | int | None
1170
+ :type margin_method: str | None
1170
1171
  :param rotate_method: Rotation Method
1171
1172
 
1172
1173
  AXIS_ALIGNED
@@ -1177,7 +1178,7 @@ def smart_project(
1177
1178
 
1178
1179
  AXIS_ALIGNED_Y
1179
1180
  Axis-aligned (Vertical) -- Rotate islands to be aligned vertically.
1180
- :type rotate_method: str | int | None
1181
+ :type rotate_method: str | None
1181
1182
  :param island_margin: Island Margin, Margin to reduce bleed from adjacent islands
1182
1183
  :type island_margin: typing.Any | None
1183
1184
  :param area_weight: Area Weight, Weight projection's vector by faces with larger areas
@@ -1194,7 +1195,7 @@ def snap_cursor(
1194
1195
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1195
1196
  execution_context: str | int | None = None,
1196
1197
  undo: bool | None = None,
1197
- target: str | int | None = "PIXELS",
1198
+ target: str | None = "PIXELS",
1198
1199
  ):
1199
1200
  """Snap cursor to target type
1200
1201
 
@@ -1202,7 +1203,7 @@ def snap_cursor(
1202
1203
  :type execution_context: str | int | None
1203
1204
  :type undo: bool | None
1204
1205
  :param target: Target, Target to snap the selected UVs to
1205
- :type target: str | int | None
1206
+ :type target: str | None
1206
1207
  """
1207
1208
 
1208
1209
  ...
@@ -1211,7 +1212,7 @@ def snap_selected(
1211
1212
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1212
1213
  execution_context: str | int | None = None,
1213
1214
  undo: bool | None = None,
1214
- target: str | int | None = "PIXELS",
1215
+ target: str | None = "PIXELS",
1215
1216
  ):
1216
1217
  """Snap selected UV vertices to target type
1217
1218
 
@@ -1219,7 +1220,7 @@ def snap_selected(
1219
1220
  :type execution_context: str | int | None
1220
1221
  :type undo: bool | None
1221
1222
  :param target: Target, Target to snap the selected UVs to
1222
- :type target: str | int | None
1223
+ :type target: str | None
1223
1224
  """
1224
1225
 
1225
1226
  ...
@@ -1228,9 +1229,9 @@ def sphere_project(
1228
1229
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1229
1230
  execution_context: str | int | None = None,
1230
1231
  undo: bool | None = None,
1231
- direction: str | int | None = "VIEW_ON_EQUATOR",
1232
- align: str | int | None = "POLAR_ZX",
1233
- pole: str | int | None = "PINCH",
1232
+ direction: str | None = "VIEW_ON_EQUATOR",
1233
+ align: str | None = "POLAR_ZX",
1234
+ pole: str | None = "PINCH",
1234
1235
  seam: bool | typing.Any | None = False,
1235
1236
  correct_aspect: bool | typing.Any | None = True,
1236
1237
  clip_to_bounds: bool | typing.Any | None = False,
@@ -1251,7 +1252,7 @@ def sphere_project(
1251
1252
 
1252
1253
  ALIGN_TO_OBJECT
1253
1254
  Align to Object -- Align according to object transform.
1254
- :type direction: str | int | None
1255
+ :type direction: str | None
1255
1256
  :param align: Align, How to determine rotation around the pole
1256
1257
 
1257
1258
  POLAR_ZX
@@ -1259,7 +1260,7 @@ def sphere_project(
1259
1260
 
1260
1261
  POLAR_ZY
1261
1262
  Polar ZY -- Polar 0 is Y.
1262
- :type align: str | int | None
1263
+ :type align: str | None
1263
1264
  :param pole: Pole, How to handle faces at the poles
1264
1265
 
1265
1266
  PINCH
@@ -1267,7 +1268,7 @@ def sphere_project(
1267
1268
 
1268
1269
  FAN
1269
1270
  Fan -- UVs are fanned at the poles.
1270
- :type pole: str | int | None
1271
+ :type pole: str | None
1271
1272
  :param seam: Preserve Seams, Separate projections by islands isolated by seams
1272
1273
  :type seam: bool | typing.Any | None
1273
1274
  :param correct_aspect: Correct Aspect, Map UVs taking image aspect ratio into account
@@ -1291,8 +1292,8 @@ def stitch(
1291
1292
  active_object_index: typing.Any | None = 0,
1292
1293
  midpoint_snap: bool | typing.Any | None = False,
1293
1294
  clear_seams: bool | typing.Any | None = True,
1294
- mode: str | int | None = "VERTEX",
1295
- stored_mode: str | int | None = "VERTEX",
1295
+ mode: str | None = "VERTEX",
1296
+ stored_mode: str | None = "VERTEX",
1296
1297
  selection: bpy.types.bpy_prop_collection[bpy.types.SelectedUvElement] | None = None,
1297
1298
  objects_selection_count: typing.Any | None = (0, 0, 0, 0, 0, 0),
1298
1299
  ):
@@ -1316,9 +1317,9 @@ def stitch(
1316
1317
  :param clear_seams: Clear Seams, Clear seams of stitched edges
1317
1318
  :type clear_seams: bool | typing.Any | None
1318
1319
  :param mode: Operation Mode, Use vertex or edge stitching
1319
- :type mode: str | int | None
1320
+ :type mode: str | None
1320
1321
  :param stored_mode: Stored Operation Mode, Use vertex or edge stitching
1321
- :type stored_mode: str | int | None
1322
+ :type stored_mode: str | None
1322
1323
  :param selection: Selection
1323
1324
  :type selection: bpy.types.bpy_prop_collection[bpy.types.SelectedUvElement] | None
1324
1325
  :param objects_selection_count: Objects Selection Count
@@ -1331,11 +1332,11 @@ def unwrap(
1331
1332
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1332
1333
  execution_context: str | int | None = None,
1333
1334
  undo: bool | None = None,
1334
- method: str | int | None = "ANGLE_BASED",
1335
+ method: str | None = "ANGLE_BASED",
1335
1336
  fill_holes: bool | typing.Any | None = True,
1336
1337
  correct_aspect: bool | typing.Any | None = True,
1337
1338
  use_subsurf_data: bool | typing.Any | None = False,
1338
- margin_method: str | int | None = "SCALED",
1339
+ margin_method: str | None = "SCALED",
1339
1340
  margin: typing.Any | None = 0.001,
1340
1341
  ):
1341
1342
  """Unwrap the mesh of the object being edited
@@ -1344,7 +1345,7 @@ def unwrap(
1344
1345
  :type execution_context: str | int | None
1345
1346
  :type undo: bool | None
1346
1347
  :param method: Method, Unwrapping method (Angle Based usually gives better results than Conformal, while being somewhat slower)
1347
- :type method: str | int | None
1348
+ :type method: str | None
1348
1349
  :param fill_holes: Fill Holes, Virtually fill holes in mesh before unwrapping, to better avoid overlaps and preserve symmetry
1349
1350
  :type fill_holes: bool | typing.Any | None
1350
1351
  :param correct_aspect: Correct Aspect, Map UVs taking image aspect ratio into account
@@ -1361,7 +1362,7 @@ def unwrap(
1361
1362
 
1362
1363
  FRACTION
1363
1364
  Fraction -- Specify a precise fraction of final UV output.
1364
- :type margin_method: str | int | None
1365
+ :type margin_method: str | None
1365
1366
  :param margin: Margin, Space between islands
1366
1367
  :type margin: typing.Any | None
1367
1368
  """
@@ -1,4 +1,5 @@
1
1
  import typing
2
+ import collections.abc
2
3
  import bpy.types
3
4
 
4
5
  GenericType1 = typing.TypeVar("GenericType1")