fake-bpy-module 20240516__py3-none-any.whl → 20240517__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 (533) hide show
  1. _bpy_internal/freedesktop/__init__.pyi +2 -2
  2. addon_utils/__init__.pyi +43 -12
  3. animsys_refactor/__init__.pyi +4 -4
  4. aud/__init__.pyi +7 -7
  5. bgl/__init__.pyi +121 -183
  6. bl_app_override/__init__.pyi +5 -5
  7. bl_app_override/helpers/__init__.pyi +3 -1
  8. bl_app_template_utils/__init__.pyi +5 -5
  9. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +48 -10
  10. bl_console_utils/autocomplete/complete_import/__init__.pyi +27 -6
  11. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +40 -8
  12. bl_console_utils/autocomplete/intellisense/__init__.pyi +31 -4
  13. bl_i18n_utils/bl_extract_messages/__init__.pyi +5 -5
  14. bl_i18n_utils/settings/__init__.pyi +4 -2
  15. bl_i18n_utils/utils/__init__.pyi +86 -58
  16. bl_i18n_utils/utils_rtl/__init__.pyi +8 -2
  17. bl_keymap_utils/io/__init__.pyi +4 -4
  18. bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -2
  19. bl_keymap_utils/platform_helpers/__init__.pyi +2 -2
  20. bl_operators/add_mesh_torus/__init__.pyi +126 -41
  21. bl_operators/anim/__init__.pyi +1001 -328
  22. bl_operators/assets/__init__.pyi +376 -123
  23. bl_operators/bmesh/find_adjacent/__init__.pyi +3 -3
  24. bl_operators/clip/__init__.pyi +1250 -409
  25. bl_operators/console/__init__.pyi +626 -205
  26. bl_operators/constraint/__init__.pyi +502 -165
  27. bl_operators/file/__init__.pyi +376 -123
  28. bl_operators/freestyle/__init__.pyi +501 -164
  29. bl_operators/geometry_nodes/__init__.pyi +501 -164
  30. bl_operators/image/__init__.pyi +621 -200
  31. bl_operators/mesh/__init__.pyi +376 -123
  32. bl_operators/node/__init__.pyi +1243 -402
  33. bl_operators/object/__init__.pyi +1876 -615
  34. bl_operators/object_align/__init__.pyi +126 -41
  35. bl_operators/object_quick_effects/__init__.pyi +502 -165
  36. bl_operators/object_randomize_transform/__init__.pyi +126 -41
  37. bl_operators/presets/__init__.pyi +3069 -1027
  38. bl_operators/rigidbody/__init__.pyi +376 -123
  39. bl_operators/screen_play_rendered_anim/__init__.pyi +126 -41
  40. bl_operators/sequencer/__init__.pyi +1009 -331
  41. bl_operators/spreadsheet/__init__.pyi +126 -41
  42. bl_operators/userpref/__init__.pyi +3263 -1078
  43. bl_operators/uvcalc_follow_active/__init__.pyi +126 -41
  44. bl_operators/uvcalc_lightmap/__init__.pyi +137 -47
  45. bl_operators/uvcalc_transform/__init__.pyi +289 -90
  46. bl_operators/vertexpaint_dirt/__init__.pyi +126 -41
  47. bl_operators/view3d/__init__.pyi +868 -279
  48. bl_operators/wm/__init__.pyi +5777 -1934
  49. bl_operators/world/__init__.pyi +126 -41
  50. bl_previews_utils/bl_previews_render/__init__.pyi +1 -1
  51. bl_rna_utils/data_path/__init__.pyi +8 -3
  52. bl_ui/__init__.pyi +338 -131
  53. bl_ui/anim/__init__.pyi +164 -64
  54. bl_ui/asset_shelf/__init__.pyi +129 -42
  55. bl_ui/generic_ui_list/__init__.pyi +412 -135
  56. bl_ui/node_add_menu/__init__.pyi +168 -68
  57. bl_ui/node_add_menu_compositor/__init__.pyi +2921 -1138
  58. bl_ui/node_add_menu_geometry/__init__.pyi +7785 -3032
  59. bl_ui/node_add_menu_shader/__init__.pyi +1621 -630
  60. bl_ui/node_add_menu_texture/__init__.pyi +1459 -567
  61. bl_ui/properties_animviz/__init__.pyi +2 -2
  62. bl_ui/properties_collection/__init__.pyi +806 -274
  63. bl_ui/properties_constraint/__init__.pyi +10253 -3458
  64. bl_ui/properties_data_armature/__init__.pyi +1615 -552
  65. bl_ui/properties_data_bone/__init__.pyi +1288 -425
  66. bl_ui/properties_data_camera/__init__.pyi +1854 -631
  67. bl_ui/properties_data_curve/__init__.pyi +1929 -636
  68. bl_ui/properties_data_curves/__init__.pyi +806 -274
  69. bl_ui/properties_data_empty/__init__.pyi +257 -84
  70. bl_ui/properties_data_gpencil/__init__.pyi +2380 -803
  71. bl_ui/properties_data_grease_pencil/__init__.pyi +1902 -656
  72. bl_ui/properties_data_lattice/__init__.pyi +388 -127
  73. bl_ui/properties_data_light/__init__.pyi +1541 -506
  74. bl_ui/properties_data_lightprobe/__init__.pyi +1667 -548
  75. bl_ui/properties_data_mesh/__init__.pyi +2704 -929
  76. bl_ui/properties_data_metaball/__init__.pyi +644 -211
  77. bl_ui/properties_data_modifier/__init__.pyi +1353 -502
  78. bl_ui/properties_data_pointcloud/__init__.pyi +679 -233
  79. bl_ui/properties_data_shaderfx/__init__.pyi +129 -42
  80. bl_ui/properties_data_speaker/__init__.pyi +644 -211
  81. bl_ui/properties_data_volume/__init__.pyi +1030 -339
  82. bl_ui/properties_freestyle/__init__.pyi +3113 -1035
  83. bl_ui/properties_grease_pencil_common/__init__.pyi +2464 -933
  84. bl_ui/properties_mask_common/__init__.pyi +1101 -420
  85. bl_ui/properties_material/__init__.pyi +2091 -699
  86. bl_ui/properties_material_gpencil/__init__.pyi +1350 -466
  87. bl_ui/properties_object/__init__.pyi +1838 -618
  88. bl_ui/properties_output/__init__.pyi +2414 -831
  89. bl_ui/properties_paint_common/__init__.pyi +412 -289
  90. bl_ui/properties_particle/__init__.pyi +6737 -2241
  91. bl_ui/properties_physics_cloth/__init__.pyi +1825 -612
  92. bl_ui/properties_physics_common/__init__.pyi +129 -42
  93. bl_ui/properties_physics_dynamicpaint/__init__.pyi +2821 -928
  94. bl_ui/properties_physics_field/__init__.pyi +1283 -422
  95. bl_ui/properties_physics_fluid/__init__.pyi +3620 -1203
  96. bl_ui/properties_physics_geometry_nodes/__init__.pyi +129 -42
  97. bl_ui/properties_physics_rigidbody/__init__.pyi +1027 -338
  98. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +1667 -548
  99. bl_ui/properties_physics_softbody/__init__.pyi +1924 -633
  100. bl_ui/properties_render/__init__.pyi +6830 -2263
  101. bl_ui/properties_scene/__init__.pyi +1929 -636
  102. bl_ui/properties_texture/__init__.pyi +3370 -1118
  103. bl_ui/properties_view_layer/__init__.pyi +2346 -782
  104. bl_ui/properties_workspace/__init__.pyi +516 -169
  105. bl_ui/properties_world/__init__.pyi +1284 -421
  106. bl_ui/space_clip/__init__.pyi +10134 -3639
  107. bl_ui/space_console/__init__.pyi +939 -357
  108. bl_ui/space_dopesheet/__init__.pyi +4327 -1562
  109. bl_ui/space_filebrowser/__init__.pyi +4164 -1499
  110. bl_ui/space_graph/__init__.pyi +3108 -1179
  111. bl_ui/space_image/__init__.pyi +9766 -3596
  112. bl_ui/space_info/__init__.pyi +939 -357
  113. bl_ui/space_nla/__init__.pyi +2620 -988
  114. bl_ui/space_node/__init__.pyi +3994 -1434
  115. bl_ui/space_outliner/__init__.pyi +2203 -842
  116. bl_ui/space_properties/__init__.pyi +386 -127
  117. bl_ui/space_sequencer/__init__.pyi +10773 -3878
  118. bl_ui/space_spreadsheet/__init__.pyi +130 -43
  119. bl_ui/space_statusbar/__init__.pyi +129 -42
  120. bl_ui/space_text/__init__.pyi +2458 -925
  121. bl_ui/space_time/__init__.pyi +1033 -378
  122. bl_ui/space_toolsystem_common/__init__.pyi +20 -16
  123. bl_ui/space_toolsystem_toolbar/__init__.pyi +37 -21
  124. bl_ui/space_topbar/__init__.pyi +3980 -1496
  125. bl_ui/space_userpref/__init__.pyi +11373 -3797
  126. bl_ui/space_view3d/__init__.pyi +40865 -15356
  127. bl_ui/space_view3d_toolbar/__init__.pyi +12520 -4647
  128. bl_ui/temp_anim_layers/__init__.pyi +129 -42
  129. bl_ui/utils/__init__.pyi +28 -20
  130. bl_ui_utils/bug_report_url/__init__.pyi +1 -1
  131. bl_ui_utils/layout/__init__.pyi +1 -1
  132. blend_render_info/__init__.pyi +1 -1
  133. blf/__init__.pyi +4 -4
  134. bmesh/geometry/__init__.pyi +2 -3
  135. bmesh/ops/__init__.pyi +372 -419
  136. bmesh/types/__init__.pyi +38 -38
  137. bmesh/utils/__init__.pyi +10 -13
  138. bpy/app/__init__.pyi +4 -4
  139. bpy/app/handlers/__init__.pyi +36 -36
  140. bpy/app/icons/__init__.pyi +8 -8
  141. bpy/app/timers/__init__.pyi +10 -10
  142. bpy/app/translations/__init__.pyi +20 -22
  143. bpy/msgbus/__init__.pyi +2 -4
  144. bpy/ops/action/__init__.pyi +316 -394
  145. bpy/ops/anim/__init__.pyi +442 -548
  146. bpy/ops/armature/__init__.pyi +374 -470
  147. bpy/ops/asset/__init__.pyi +152 -184
  148. bpy/ops/bl_pkg/__init__.pyi +221 -272
  149. bpy/ops/boid/__init__.pyi +50 -66
  150. bpy/ops/brush/__init__.pyi +72 -90
  151. bpy/ops/buttons/__init__.pyi +132 -144
  152. bpy/ops/cachefile/__init__.pyi +128 -138
  153. bpy/ops/camera/__init__.pyi +26 -30
  154. bpy/ops/clip/__init__.pyi +777 -964
  155. bpy/ops/cloth/__init__.pyi +12 -14
  156. bpy/ops/collection/__init__.pyi +68 -86
  157. bpy/ops/console/__init__.pyi +158 -200
  158. bpy/ops/constraint/__init__.pyi +178 -214
  159. bpy/ops/curve/__init__.pyi +473 -576
  160. bpy/ops/curves/__init__.pyi +247 -302
  161. bpy/ops/cycles/__init__.pyi +28 -34
  162. bpy/ops/dpaint/__init__.pyi +34 -44
  163. bpy/ops/ed/__init__.pyi +126 -150
  164. bpy/ops/export_anim/__init__.pyi +22 -24
  165. bpy/ops/export_scene/__init__.pyi +302 -336
  166. bpy/ops/file/__init__.pyi +352 -432
  167. bpy/ops/fluid/__init__.pyi +90 -118
  168. bpy/ops/font/__init__.pyi +258 -304
  169. bpy/ops/geometry/__init__.pyi +100 -120
  170. bpy/ops/gizmogroup/__init__.pyi +22 -26
  171. bpy/ops/gpencil/__init__.pyi +1469 -1778
  172. bpy/ops/graph/__init__.pyi +644 -776
  173. bpy/ops/grease_pencil/__init__.pyi +597 -748
  174. bpy/ops/image/__init__.pyi +648 -744
  175. bpy/ops/import_anim/__init__.pyi +30 -32
  176. bpy/ops/import_curve/__init__.pyi +10 -12
  177. bpy/ops/import_scene/__init__.pyi +88 -96
  178. bpy/ops/info/__init__.pyi +60 -74
  179. bpy/ops/lattice/__init__.pyi +64 -80
  180. bpy/ops/marker/__init__.pyi +108 -130
  181. bpy/ops/mask/__init__.pyi +322 -402
  182. bpy/ops/material/__init__.pyi +18 -24
  183. bpy/ops/mball/__init__.pyi +70 -86
  184. bpy/ops/mesh/__init__.pyi +1986 -2322
  185. bpy/ops/nla/__init__.pyi +333 -411
  186. bpy/ops/node/__init__.pyi +886 -1100
  187. bpy/ops/object/__init__.pyi +2585 -3078
  188. bpy/ops/outliner/__init__.pyi +498 -636
  189. bpy/ops/paint/__init__.pyi +565 -680
  190. bpy/ops/paintcurve/__init__.pyi +64 -80
  191. bpy/ops/palette/__init__.pyi +50 -64
  192. bpy/ops/particle/__init__.pyi +267 -340
  193. bpy/ops/pose/__init__.pyi +336 -414
  194. bpy/ops/poselib/__init__.pyi +72 -90
  195. bpy/ops/preferences/__init__.pyi +386 -463
  196. bpy/ops/ptcache/__init__.pyi +46 -60
  197. bpy/ops/render/__init__.pyi +130 -154
  198. bpy/ops/rigidbody/__init__.pyi +102 -128
  199. bpy/ops/scene/__init__.pyi +280 -358
  200. bpy/ops/screen/__init__.pyi +382 -460
  201. bpy/ops/script/__init__.pyi +24 -30
  202. bpy/ops/sculpt/__init__.pyi +458 -532
  203. bpy/ops/sculpt_curves/__init__.pyi +41 -50
  204. bpy/ops/sequencer/__init__.pyi +1066 -1244
  205. bpy/ops/sound/__init__.pyi +216 -230
  206. bpy/ops/spreadsheet/__init__.pyi +30 -38
  207. bpy/ops/surface/__init__.pyi +108 -120
  208. bpy/ops/text/__init__.pyi +390 -476
  209. bpy/ops/text_editor/__init__.pyi +12 -14
  210. bpy/ops/texture/__init__.pyi +26 -34
  211. bpy/ops/transform/__init__.pyi +792 -878
  212. bpy/ops/ui/__init__.pyi +228 -294
  213. bpy/ops/uilist/__init__.pyi +32 -38
  214. bpy/ops/uv/__init__.pyi +602 -704
  215. bpy/ops/view2d/__init__.pyi +156 -184
  216. bpy/ops/view3d/__init__.pyi +582 -718
  217. bpy/ops/wm/__init__.pyi +2680 -2928
  218. bpy/ops/workspace/__init__.pyi +46 -60
  219. bpy/ops/world/__init__.pyi +12 -16
  220. bpy/path/__init__.pyi +179 -75
  221. bpy/props/__init__.pyi +261 -263
  222. bpy/types/__init__.pyi +17056 -21951
  223. bpy/utils/__init__.pyi +242 -118
  224. bpy/utils/previews/__init__.pyi +58 -28
  225. bpy/utils/units/__init__.pyi +20 -20
  226. bpy_extras/anim_utils/__init__.pyi +68 -28
  227. bpy_extras/bmesh_utils/__init__.pyi +8 -2
  228. bpy_extras/extensions/junction_module/__init__.pyi +5 -2
  229. bpy_extras/id_map_utils/__init__.pyi +3 -3
  230. bpy_extras/image_utils/__init__.pyi +44 -11
  231. bpy_extras/io_utils/__init__.pyi +113 -18
  232. bpy_extras/keyconfig_utils/__init__.pyi +2 -2
  233. bpy_extras/mesh_utils/__init__.pyi +71 -19
  234. bpy_extras/node_shader_utils/__init__.pyi +9 -4
  235. bpy_extras/node_utils/__init__.pyi +9 -2
  236. bpy_extras/object_utils/__init__.pyi +71 -12
  237. bpy_extras/view3d_utils/__init__.pyi +80 -10
  238. bpy_extras/wm_utils/progress_report/__init__.pyi +13 -10
  239. bpy_types/__init__.pyi +4197 -1333
  240. console_python/__init__.pyi +6 -1
  241. {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240517.dist-info}/METADATA +1 -1
  242. fake_bpy_module-20240517.dist-info/RECORD +353 -0
  243. freestyle/chainingiterators/__init__.pyi +4 -4
  244. freestyle/shaders/__init__.pyi +2 -2
  245. freestyle/types/__init__.pyi +84 -96
  246. freestyle/utils/ContextFunctions/__init__.pyi +2 -2
  247. freestyle/utils/__init__.pyi +3 -3
  248. gpu/matrix/__init__.pyi +6 -8
  249. gpu/state/__init__.pyi +2 -2
  250. gpu/types/__init__.pyi +12 -12
  251. gpu_extras/presets/__init__.pyi +2 -5
  252. graphviz_export/__init__.pyi +4 -2
  253. idprop/types/__init__.pyi +2 -2
  254. imbuf/__init__.pyi +4 -4
  255. keyingsets_builtins/__init__.pyi +2688 -839
  256. mathutils/__init__.pyi +194 -238
  257. mathutils/bvhtree/__init__.pyi +4 -4
  258. mathutils/geometry/__init__.pyi +153 -155
  259. mathutils/kdtree/__init__.pyi +8 -12
  260. mathutils/noise/__init__.pyi +26 -26
  261. nodeitems_utils/__init__.pyi +1 -1
  262. rna_info/__init__.pyi +17 -15
  263. rna_keymap_ui/__init__.pyi +1 -1
  264. rna_prop_ui/__init__.pyi +16 -14
  265. rna_xml/__init__.pyi +12 -12
  266. _bpy_internal/freedesktop/py.typed +0 -0
  267. bl_app_override/helpers/py.typed +0 -0
  268. bl_console_utils/autocomplete/complete_calltip/py.typed +0 -0
  269. bl_console_utils/autocomplete/complete_import/py.typed +0 -0
  270. bl_console_utils/autocomplete/complete_namespace/py.typed +0 -0
  271. bl_console_utils/autocomplete/intellisense/py.typed +0 -0
  272. bl_console_utils/autocomplete/py.typed +0 -0
  273. bl_i18n_utils/bl_extract_messages/py.typed +0 -0
  274. bl_i18n_utils/merge_po/py.typed +0 -0
  275. bl_i18n_utils/settings/py.typed +0 -0
  276. bl_i18n_utils/utils/py.typed +0 -0
  277. bl_i18n_utils/utils_cli/py.typed +0 -0
  278. bl_i18n_utils/utils_languages_menu/py.typed +0 -0
  279. bl_i18n_utils/utils_rtl/py.typed +0 -0
  280. bl_keymap_utils/io/py.typed +0 -0
  281. bl_keymap_utils/keymap_from_toolbar/py.typed +0 -0
  282. bl_keymap_utils/keymap_hierarchy/py.typed +0 -0
  283. bl_keymap_utils/platform_helpers/py.typed +0 -0
  284. bl_keymap_utils/versioning/py.typed +0 -0
  285. bl_operators/add_mesh_torus/py.typed +0 -0
  286. bl_operators/anim/py.typed +0 -0
  287. bl_operators/assets/py.typed +0 -0
  288. bl_operators/bmesh/find_adjacent/py.typed +0 -0
  289. bl_operators/bmesh/py.typed +0 -0
  290. bl_operators/clip/py.typed +0 -0
  291. bl_operators/console/py.typed +0 -0
  292. bl_operators/constraint/py.typed +0 -0
  293. bl_operators/file/py.typed +0 -0
  294. bl_operators/freestyle/py.typed +0 -0
  295. bl_operators/geometry_nodes/py.typed +0 -0
  296. bl_operators/image/py.typed +0 -0
  297. bl_operators/mesh/py.typed +0 -0
  298. bl_operators/node/py.typed +0 -0
  299. bl_operators/object/py.typed +0 -0
  300. bl_operators/object_align/py.typed +0 -0
  301. bl_operators/object_quick_effects/py.typed +0 -0
  302. bl_operators/object_randomize_transform/py.typed +0 -0
  303. bl_operators/presets/py.typed +0 -0
  304. bl_operators/rigidbody/py.typed +0 -0
  305. bl_operators/screen_play_rendered_anim/py.typed +0 -0
  306. bl_operators/sequencer/py.typed +0 -0
  307. bl_operators/spreadsheet/py.typed +0 -0
  308. bl_operators/userpref/py.typed +0 -0
  309. bl_operators/uvcalc_follow_active/py.typed +0 -0
  310. bl_operators/uvcalc_lightmap/py.typed +0 -0
  311. bl_operators/uvcalc_transform/py.typed +0 -0
  312. bl_operators/vertexpaint_dirt/py.typed +0 -0
  313. bl_operators/view3d/py.typed +0 -0
  314. bl_operators/wm/py.typed +0 -0
  315. bl_operators/world/py.typed +0 -0
  316. bl_previews_utils/bl_previews_render/py.typed +0 -0
  317. bl_rna_utils/data_path/py.typed +0 -0
  318. bl_text_utils/external_editor/py.typed +0 -0
  319. bl_ui/anim/py.typed +0 -0
  320. bl_ui/asset_shelf/py.typed +0 -0
  321. bl_ui/generic_ui_list/py.typed +0 -0
  322. bl_ui/node_add_menu/py.typed +0 -0
  323. bl_ui/node_add_menu_compositor/py.typed +0 -0
  324. bl_ui/node_add_menu_geometry/py.typed +0 -0
  325. bl_ui/node_add_menu_shader/py.typed +0 -0
  326. bl_ui/node_add_menu_texture/py.typed +0 -0
  327. bl_ui/properties_animviz/py.typed +0 -0
  328. bl_ui/properties_collection/py.typed +0 -0
  329. bl_ui/properties_constraint/py.typed +0 -0
  330. bl_ui/properties_data_armature/py.typed +0 -0
  331. bl_ui/properties_data_bone/py.typed +0 -0
  332. bl_ui/properties_data_camera/py.typed +0 -0
  333. bl_ui/properties_data_curve/py.typed +0 -0
  334. bl_ui/properties_data_curves/py.typed +0 -0
  335. bl_ui/properties_data_empty/py.typed +0 -0
  336. bl_ui/properties_data_gpencil/py.typed +0 -0
  337. bl_ui/properties_data_grease_pencil/py.typed +0 -0
  338. bl_ui/properties_data_lattice/py.typed +0 -0
  339. bl_ui/properties_data_light/py.typed +0 -0
  340. bl_ui/properties_data_lightprobe/py.typed +0 -0
  341. bl_ui/properties_data_mesh/py.typed +0 -0
  342. bl_ui/properties_data_metaball/py.typed +0 -0
  343. bl_ui/properties_data_modifier/py.typed +0 -0
  344. bl_ui/properties_data_pointcloud/py.typed +0 -0
  345. bl_ui/properties_data_shaderfx/py.typed +0 -0
  346. bl_ui/properties_data_speaker/py.typed +0 -0
  347. bl_ui/properties_data_volume/py.typed +0 -0
  348. bl_ui/properties_freestyle/py.typed +0 -0
  349. bl_ui/properties_grease_pencil_common/py.typed +0 -0
  350. bl_ui/properties_mask_common/py.typed +0 -0
  351. bl_ui/properties_material/py.typed +0 -0
  352. bl_ui/properties_material_gpencil/py.typed +0 -0
  353. bl_ui/properties_object/py.typed +0 -0
  354. bl_ui/properties_output/py.typed +0 -0
  355. bl_ui/properties_paint_common/py.typed +0 -0
  356. bl_ui/properties_particle/py.typed +0 -0
  357. bl_ui/properties_physics_cloth/py.typed +0 -0
  358. bl_ui/properties_physics_common/py.typed +0 -0
  359. bl_ui/properties_physics_dynamicpaint/py.typed +0 -0
  360. bl_ui/properties_physics_field/py.typed +0 -0
  361. bl_ui/properties_physics_fluid/py.typed +0 -0
  362. bl_ui/properties_physics_geometry_nodes/py.typed +0 -0
  363. bl_ui/properties_physics_rigidbody/py.typed +0 -0
  364. bl_ui/properties_physics_rigidbody_constraint/py.typed +0 -0
  365. bl_ui/properties_physics_softbody/py.typed +0 -0
  366. bl_ui/properties_render/py.typed +0 -0
  367. bl_ui/properties_scene/py.typed +0 -0
  368. bl_ui/properties_texture/py.typed +0 -0
  369. bl_ui/properties_view_layer/py.typed +0 -0
  370. bl_ui/properties_workspace/py.typed +0 -0
  371. bl_ui/properties_world/py.typed +0 -0
  372. bl_ui/space_clip/py.typed +0 -0
  373. bl_ui/space_console/py.typed +0 -0
  374. bl_ui/space_dopesheet/py.typed +0 -0
  375. bl_ui/space_filebrowser/py.typed +0 -0
  376. bl_ui/space_graph/py.typed +0 -0
  377. bl_ui/space_image/py.typed +0 -0
  378. bl_ui/space_info/py.typed +0 -0
  379. bl_ui/space_nla/py.typed +0 -0
  380. bl_ui/space_node/py.typed +0 -0
  381. bl_ui/space_outliner/py.typed +0 -0
  382. bl_ui/space_properties/py.typed +0 -0
  383. bl_ui/space_sequencer/py.typed +0 -0
  384. bl_ui/space_spreadsheet/py.typed +0 -0
  385. bl_ui/space_statusbar/py.typed +0 -0
  386. bl_ui/space_text/py.typed +0 -0
  387. bl_ui/space_time/py.typed +0 -0
  388. bl_ui/space_toolsystem_common/py.typed +0 -0
  389. bl_ui/space_toolsystem_toolbar/py.typed +0 -0
  390. bl_ui/space_topbar/py.typed +0 -0
  391. bl_ui/space_userpref/py.typed +0 -0
  392. bl_ui/space_view3d/py.typed +0 -0
  393. bl_ui/space_view3d_toolbar/py.typed +0 -0
  394. bl_ui/temp_anim_layers/py.typed +0 -0
  395. bl_ui/utils/py.typed +0 -0
  396. bl_ui_utils/bug_report_url/py.typed +0 -0
  397. bl_ui_utils/layout/py.typed +0 -0
  398. bmesh/geometry/py.typed +0 -0
  399. bmesh/ops/py.typed +0 -0
  400. bmesh/types/py.typed +0 -0
  401. bmesh/utils/py.typed +0 -0
  402. bpy/app/handlers/py.typed +0 -0
  403. bpy/app/icons/py.typed +0 -0
  404. bpy/app/py.typed +0 -0
  405. bpy/app/timers/py.typed +0 -0
  406. bpy/app/translations/py.typed +0 -0
  407. bpy/msgbus/py.typed +0 -0
  408. bpy/ops/action/py.typed +0 -0
  409. bpy/ops/anim/py.typed +0 -0
  410. bpy/ops/armature/py.typed +0 -0
  411. bpy/ops/asset/py.typed +0 -0
  412. bpy/ops/bl_pkg/py.typed +0 -0
  413. bpy/ops/boid/py.typed +0 -0
  414. bpy/ops/brush/py.typed +0 -0
  415. bpy/ops/buttons/py.typed +0 -0
  416. bpy/ops/cachefile/py.typed +0 -0
  417. bpy/ops/camera/py.typed +0 -0
  418. bpy/ops/clip/py.typed +0 -0
  419. bpy/ops/cloth/py.typed +0 -0
  420. bpy/ops/collection/py.typed +0 -0
  421. bpy/ops/console/py.typed +0 -0
  422. bpy/ops/constraint/py.typed +0 -0
  423. bpy/ops/curve/py.typed +0 -0
  424. bpy/ops/curves/py.typed +0 -0
  425. bpy/ops/cycles/py.typed +0 -0
  426. bpy/ops/dpaint/py.typed +0 -0
  427. bpy/ops/ed/py.typed +0 -0
  428. bpy/ops/export_anim/py.typed +0 -0
  429. bpy/ops/export_scene/py.typed +0 -0
  430. bpy/ops/file/py.typed +0 -0
  431. bpy/ops/fluid/py.typed +0 -0
  432. bpy/ops/font/py.typed +0 -0
  433. bpy/ops/geometry/py.typed +0 -0
  434. bpy/ops/gizmogroup/py.typed +0 -0
  435. bpy/ops/gpencil/py.typed +0 -0
  436. bpy/ops/graph/py.typed +0 -0
  437. bpy/ops/grease_pencil/py.typed +0 -0
  438. bpy/ops/image/py.typed +0 -0
  439. bpy/ops/import_anim/py.typed +0 -0
  440. bpy/ops/import_curve/py.typed +0 -0
  441. bpy/ops/import_scene/py.typed +0 -0
  442. bpy/ops/info/py.typed +0 -0
  443. bpy/ops/lattice/py.typed +0 -0
  444. bpy/ops/marker/py.typed +0 -0
  445. bpy/ops/mask/py.typed +0 -0
  446. bpy/ops/material/py.typed +0 -0
  447. bpy/ops/mball/py.typed +0 -0
  448. bpy/ops/mesh/py.typed +0 -0
  449. bpy/ops/nla/py.typed +0 -0
  450. bpy/ops/node/py.typed +0 -0
  451. bpy/ops/object/py.typed +0 -0
  452. bpy/ops/outliner/py.typed +0 -0
  453. bpy/ops/paint/py.typed +0 -0
  454. bpy/ops/paintcurve/py.typed +0 -0
  455. bpy/ops/palette/py.typed +0 -0
  456. bpy/ops/particle/py.typed +0 -0
  457. bpy/ops/pose/py.typed +0 -0
  458. bpy/ops/poselib/py.typed +0 -0
  459. bpy/ops/preferences/py.typed +0 -0
  460. bpy/ops/ptcache/py.typed +0 -0
  461. bpy/ops/py.typed +0 -0
  462. bpy/ops/render/py.typed +0 -0
  463. bpy/ops/rigidbody/py.typed +0 -0
  464. bpy/ops/scene/py.typed +0 -0
  465. bpy/ops/screen/py.typed +0 -0
  466. bpy/ops/script/py.typed +0 -0
  467. bpy/ops/sculpt/py.typed +0 -0
  468. bpy/ops/sculpt_curves/py.typed +0 -0
  469. bpy/ops/sequencer/py.typed +0 -0
  470. bpy/ops/sound/py.typed +0 -0
  471. bpy/ops/spreadsheet/py.typed +0 -0
  472. bpy/ops/surface/py.typed +0 -0
  473. bpy/ops/text/py.typed +0 -0
  474. bpy/ops/text_editor/py.typed +0 -0
  475. bpy/ops/texture/py.typed +0 -0
  476. bpy/ops/transform/py.typed +0 -0
  477. bpy/ops/ui/py.typed +0 -0
  478. bpy/ops/uilist/py.typed +0 -0
  479. bpy/ops/uv/py.typed +0 -0
  480. bpy/ops/view2d/py.typed +0 -0
  481. bpy/ops/view3d/py.typed +0 -0
  482. bpy/ops/wm/py.typed +0 -0
  483. bpy/ops/workspace/py.typed +0 -0
  484. bpy/ops/world/py.typed +0 -0
  485. bpy/path/py.typed +0 -0
  486. bpy/props/py.typed +0 -0
  487. bpy/types/py.typed +0 -0
  488. bpy/utils/previews/py.typed +0 -0
  489. bpy/utils/py.typed +0 -0
  490. bpy/utils/units/py.typed +0 -0
  491. bpy_extras/anim_utils/py.typed +0 -0
  492. bpy_extras/asset_utils/py.typed +0 -0
  493. bpy_extras/bmesh_utils/py.typed +0 -0
  494. bpy_extras/extensions/junction_module/py.typed +0 -0
  495. bpy_extras/extensions/py.typed +0 -0
  496. bpy_extras/id_map_utils/py.typed +0 -0
  497. bpy_extras/image_utils/py.typed +0 -0
  498. bpy_extras/io_utils/py.typed +0 -0
  499. bpy_extras/keyconfig_utils/py.typed +0 -0
  500. bpy_extras/mesh_utils/py.typed +0 -0
  501. bpy_extras/node_shader_utils/py.typed +0 -0
  502. bpy_extras/node_utils/py.typed +0 -0
  503. bpy_extras/object_utils/py.typed +0 -0
  504. bpy_extras/view3d_utils/py.typed +0 -0
  505. bpy_extras/wm_utils/progress_report/py.typed +0 -0
  506. bpy_extras/wm_utils/py.typed +0 -0
  507. fake_bpy_module-20240516.dist-info/RECORD +0 -618
  508. freestyle/chainingiterators/py.typed +0 -0
  509. freestyle/functions/py.typed +0 -0
  510. freestyle/predicates/py.typed +0 -0
  511. freestyle/shaders/py.typed +0 -0
  512. freestyle/types/py.typed +0 -0
  513. freestyle/utils/ContextFunctions/py.typed +0 -0
  514. freestyle/utils/py.typed +0 -0
  515. gpu/capabilities/py.typed +0 -0
  516. gpu/matrix/py.typed +0 -0
  517. gpu/platform/py.typed +0 -0
  518. gpu/select/py.typed +0 -0
  519. gpu/shader/py.typed +0 -0
  520. gpu/state/py.typed +0 -0
  521. gpu/texture/py.typed +0 -0
  522. gpu/types/py.typed +0 -0
  523. gpu_extras/batch/py.typed +0 -0
  524. gpu_extras/presets/py.typed +0 -0
  525. idprop/types/py.typed +0 -0
  526. imbuf/types/py.typed +0 -0
  527. mathutils/bvhtree/py.typed +0 -0
  528. mathutils/geometry/py.typed +0 -0
  529. mathutils/interpolate/py.typed +0 -0
  530. mathutils/kdtree/py.typed +0 -0
  531. mathutils/noise/py.typed +0 -0
  532. {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240517.dist-info}/WHEEL +0 -0
  533. {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240517.dist-info}/top_level.txt +0 -0
bpy/ops/uv/__init__.pyi CHANGED
@@ -5,18 +5,16 @@ import bpy.types
5
5
  GenericType = typing.TypeVar("GenericType")
6
6
 
7
7
  def align(
8
- override_context: typing.Optional[
9
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
10
- ] = None,
11
- execution_context: typing.Optional[typing.Union[str, int]] = None,
12
- undo: typing.Optional[bool] = None,
13
- axis: typing.Optional[typing.Any] = "ALIGN_AUTO",
8
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
9
+ execution_context: str | int | None = None,
10
+ undo: bool | None = None,
11
+ axis: typing.Any | None = "ALIGN_AUTO",
14
12
  ):
15
13
  """Aligns selected UV vertices on a line
16
14
 
17
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
18
- :type execution_context: typing.Optional[typing.Union[str, int]]
19
- :type undo: typing.Optional[bool]
15
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
16
+ :type execution_context: str | int | None
17
+ :type undo: bool | None
20
18
  :param axis: Axis, Axis to align UV locations on
21
19
 
22
20
  ALIGN_S
@@ -36,26 +34,24 @@ def align(
36
34
 
37
35
  ALIGN_Y
38
36
  Align Horizontally -- Align UV vertices on a horizontal line.
39
- :type axis: typing.Optional[typing.Any]
37
+ :type axis: typing.Any | None
40
38
  """
41
39
 
42
40
  ...
43
41
 
44
42
  def align_rotation(
45
- override_context: typing.Optional[
46
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
47
- ] = None,
48
- execution_context: typing.Optional[typing.Union[str, int]] = None,
49
- undo: typing.Optional[bool] = None,
50
- method: typing.Optional[typing.Any] = "AUTO",
51
- axis: typing.Optional[typing.Any] = "X",
52
- correct_aspect: typing.Optional[typing.Union[bool, typing.Any]] = False,
43
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
44
+ execution_context: str | int | None = None,
45
+ undo: bool | None = None,
46
+ method: typing.Any | None = "AUTO",
47
+ axis: typing.Any | None = "X",
48
+ correct_aspect: bool | typing.Any | None = False,
53
49
  ):
54
50
  """Align the UV island's rotation
55
51
 
56
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
57
- :type execution_context: typing.Optional[typing.Union[str, int]]
58
- :type undo: typing.Optional[bool]
52
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
53
+ :type execution_context: str | int | None
54
+ :type undo: bool | None
59
55
  :param method: Method, Method to calculate rotation angle
60
56
 
61
57
  AUTO
@@ -66,7 +62,7 @@ def align_rotation(
66
62
 
67
63
  GEOMETRY
68
64
  Geometry -- Align to Geometry axis.
69
- :type method: typing.Optional[typing.Any]
65
+ :type method: typing.Any | None
70
66
  :param axis: Axis, Axis to align to
71
67
 
72
68
  X
@@ -77,118 +73,108 @@ def align_rotation(
77
73
 
78
74
  Z
79
75
  Z -- Z axis.
80
- :type axis: typing.Optional[typing.Any]
76
+ :type axis: typing.Any | None
81
77
  :param correct_aspect: Correct Aspect, Take image aspect ratio into account
82
- :type correct_aspect: typing.Optional[typing.Union[bool, typing.Any]]
78
+ :type correct_aspect: bool | typing.Any | None
83
79
  """
84
80
 
85
81
  ...
86
82
 
87
83
  def average_islands_scale(
88
- override_context: typing.Optional[
89
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
90
- ] = None,
91
- execution_context: typing.Optional[typing.Union[str, int]] = None,
92
- undo: typing.Optional[bool] = None,
93
- scale_uv: typing.Optional[typing.Union[bool, typing.Any]] = False,
94
- shear: typing.Optional[typing.Union[bool, typing.Any]] = False,
84
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
85
+ execution_context: str | int | None = None,
86
+ undo: bool | None = None,
87
+ scale_uv: bool | typing.Any | None = False,
88
+ shear: bool | typing.Any | None = False,
95
89
  ):
96
90
  """Average the size of separate UV islands, based on their area in 3D space
97
91
 
98
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
99
- :type execution_context: typing.Optional[typing.Union[str, int]]
100
- :type undo: typing.Optional[bool]
92
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
93
+ :type execution_context: str | int | None
94
+ :type undo: bool | None
101
95
  :param scale_uv: Non-Uniform, Scale U and V independently
102
- :type scale_uv: typing.Optional[typing.Union[bool, typing.Any]]
96
+ :type scale_uv: bool | typing.Any | None
103
97
  :param shear: Shear, Reduce shear within islands
104
- :type shear: typing.Optional[typing.Union[bool, typing.Any]]
98
+ :type shear: bool | typing.Any | None
105
99
  """
106
100
 
107
101
  ...
108
102
 
109
103
  def copy(
110
- override_context: typing.Optional[
111
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
112
- ] = None,
113
- execution_context: typing.Optional[typing.Union[str, int]] = None,
114
- undo: typing.Optional[bool] = None,
104
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
105
+ execution_context: str | int | None = None,
106
+ undo: bool | None = None,
115
107
  ):
116
108
  """Copy selected UV vertices
117
109
 
118
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
119
- :type execution_context: typing.Optional[typing.Union[str, int]]
120
- :type undo: typing.Optional[bool]
110
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
111
+ :type execution_context: str | int | None
112
+ :type undo: bool | None
121
113
  """
122
114
 
123
115
  ...
124
116
 
125
117
  def cube_project(
126
- override_context: typing.Optional[
127
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
128
- ] = None,
129
- execution_context: typing.Optional[typing.Union[str, int]] = None,
130
- undo: typing.Optional[bool] = None,
131
- cube_size: typing.Optional[typing.Any] = 1.0,
132
- correct_aspect: typing.Optional[typing.Union[bool, typing.Any]] = True,
133
- clip_to_bounds: typing.Optional[typing.Union[bool, typing.Any]] = False,
134
- scale_to_bounds: typing.Optional[typing.Union[bool, typing.Any]] = False,
118
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
119
+ execution_context: str | int | None = None,
120
+ undo: bool | None = None,
121
+ cube_size: typing.Any | None = 1.0,
122
+ correct_aspect: bool | typing.Any | None = True,
123
+ clip_to_bounds: bool | typing.Any | None = False,
124
+ scale_to_bounds: bool | typing.Any | None = False,
135
125
  ):
136
126
  """Project the UV vertices of the mesh over the six faces of a cube
137
127
 
138
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
139
- :type execution_context: typing.Optional[typing.Union[str, int]]
140
- :type undo: typing.Optional[bool]
128
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
129
+ :type execution_context: str | int | None
130
+ :type undo: bool | None
141
131
  :param cube_size: Cube Size, Size of the cube to project on
142
- :type cube_size: typing.Optional[typing.Any]
132
+ :type cube_size: typing.Any | None
143
133
  :param correct_aspect: Correct Aspect, Map UVs taking image aspect ratio into account
144
- :type correct_aspect: typing.Optional[typing.Union[bool, typing.Any]]
134
+ :type correct_aspect: bool | typing.Any | None
145
135
  :param clip_to_bounds: Clip to Bounds, Clip UV coordinates to bounds after unwrapping
146
- :type clip_to_bounds: typing.Optional[typing.Union[bool, typing.Any]]
136
+ :type clip_to_bounds: bool | typing.Any | None
147
137
  :param scale_to_bounds: Scale to Bounds, Scale UV coordinates to bounds after unwrapping
148
- :type scale_to_bounds: typing.Optional[typing.Union[bool, typing.Any]]
138
+ :type scale_to_bounds: bool | typing.Any | None
149
139
  """
150
140
 
151
141
  ...
152
142
 
153
143
  def cursor_set(
154
- override_context: typing.Optional[
155
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
156
- ] = None,
157
- execution_context: typing.Optional[typing.Union[str, int]] = None,
158
- undo: typing.Optional[bool] = None,
159
- location: typing.Optional[typing.Any] = (0.0, 0.0),
144
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
145
+ execution_context: str | int | None = None,
146
+ undo: bool | None = None,
147
+ location: typing.Any | None = (0.0, 0.0),
160
148
  ):
161
149
  """Set 2D cursor location
162
150
 
163
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
164
- :type execution_context: typing.Optional[typing.Union[str, int]]
165
- :type undo: typing.Optional[bool]
151
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
152
+ :type execution_context: str | int | None
153
+ :type undo: bool | None
166
154
  :param location: Location, Cursor location in normalized (0.0 to 1.0) coordinates
167
- :type location: typing.Optional[typing.Any]
155
+ :type location: typing.Any | None
168
156
  """
169
157
 
170
158
  ...
171
159
 
172
160
  def cylinder_project(
173
- override_context: typing.Optional[
174
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
175
- ] = None,
176
- execution_context: typing.Optional[typing.Union[str, int]] = None,
177
- undo: typing.Optional[bool] = None,
178
- direction: typing.Optional[typing.Any] = "VIEW_ON_EQUATOR",
179
- align: typing.Optional[typing.Any] = "POLAR_ZX",
180
- pole: typing.Optional[typing.Any] = "PINCH",
181
- seam: typing.Optional[typing.Union[bool, typing.Any]] = False,
182
- radius: typing.Optional[typing.Any] = 1.0,
183
- correct_aspect: typing.Optional[typing.Union[bool, typing.Any]] = True,
184
- clip_to_bounds: typing.Optional[typing.Union[bool, typing.Any]] = False,
185
- scale_to_bounds: typing.Optional[typing.Union[bool, typing.Any]] = False,
161
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
162
+ execution_context: str | int | None = None,
163
+ 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",
167
+ seam: bool | typing.Any | None = False,
168
+ radius: typing.Any | None = 1.0,
169
+ correct_aspect: bool | typing.Any | None = True,
170
+ clip_to_bounds: bool | typing.Any | None = False,
171
+ scale_to_bounds: bool | typing.Any | None = False,
186
172
  ):
187
173
  """Project the UV vertices of the mesh over the curved wall of a cylinder
188
174
 
189
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
190
- :type execution_context: typing.Optional[typing.Union[str, int]]
191
- :type undo: typing.Optional[bool]
175
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
176
+ :type execution_context: str | int | None
177
+ :type undo: bool | None
192
178
  :param direction: Direction, Direction of the sphere or cylinder
193
179
 
194
180
  VIEW_ON_EQUATOR
@@ -199,7 +185,7 @@ def cylinder_project(
199
185
 
200
186
  ALIGN_TO_OBJECT
201
187
  Align to Object -- Align according to object transform.
202
- :type direction: typing.Optional[typing.Any]
188
+ :type direction: typing.Any | None
203
189
  :param align: Align, How to determine rotation around the pole
204
190
 
205
191
  POLAR_ZX
@@ -207,7 +193,7 @@ def cylinder_project(
207
193
 
208
194
  POLAR_ZY
209
195
  Polar ZY -- Polar 0 is Y.
210
- :type align: typing.Optional[typing.Any]
196
+ :type align: typing.Any | None
211
197
  :param pole: Pole, How to handle faces at the poles
212
198
 
213
199
  PINCH
@@ -215,45 +201,43 @@ def cylinder_project(
215
201
 
216
202
  FAN
217
203
  Fan -- UVs are fanned at the poles.
218
- :type pole: typing.Optional[typing.Any]
204
+ :type pole: typing.Any | None
219
205
  :param seam: Preserve Seams, Separate projections by islands isolated by seams
220
- :type seam: typing.Optional[typing.Union[bool, typing.Any]]
206
+ :type seam: bool | typing.Any | None
221
207
  :param radius: Radius, Radius of the sphere or cylinder
222
- :type radius: typing.Optional[typing.Any]
208
+ :type radius: typing.Any | None
223
209
  :param correct_aspect: Correct Aspect, Map UVs taking image aspect ratio into account
224
- :type correct_aspect: typing.Optional[typing.Union[bool, typing.Any]]
210
+ :type correct_aspect: bool | typing.Any | None
225
211
  :param clip_to_bounds: Clip to Bounds, Clip UV coordinates to bounds after unwrapping
226
- :type clip_to_bounds: typing.Optional[typing.Union[bool, typing.Any]]
212
+ :type clip_to_bounds: bool | typing.Any | None
227
213
  :param scale_to_bounds: Scale to Bounds, Scale UV coordinates to bounds after unwrapping
228
- :type scale_to_bounds: typing.Optional[typing.Union[bool, typing.Any]]
214
+ :type scale_to_bounds: bool | typing.Any | None
229
215
  """
230
216
 
231
217
  ...
232
218
 
233
219
  def export_layout(
234
- override_context: typing.Optional[
235
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
236
- ] = None,
237
- execution_context: typing.Optional[typing.Union[str, int]] = None,
238
- undo: typing.Optional[bool] = None,
239
- filepath: typing.Union[str, typing.Any] = "",
240
- export_all: typing.Optional[typing.Union[bool, typing.Any]] = False,
241
- export_tiles: typing.Optional[typing.Any] = "NONE",
242
- modified: typing.Optional[typing.Union[bool, typing.Any]] = False,
243
- mode: typing.Optional[typing.Any] = "PNG",
244
- size: typing.Optional[typing.Any] = (1024, 1024),
245
- opacity: typing.Optional[typing.Any] = 0.25,
246
- check_existing: typing.Optional[typing.Union[bool, typing.Any]] = True,
220
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
221
+ execution_context: str | int | None = None,
222
+ undo: bool | None = None,
223
+ filepath: str | typing.Any = "",
224
+ export_all: bool | typing.Any | None = False,
225
+ export_tiles: typing.Any | None = "NONE",
226
+ modified: bool | typing.Any | None = False,
227
+ mode: typing.Any | None = "PNG",
228
+ size: typing.Any | None = (1024, 1024),
229
+ opacity: typing.Any | None = 0.25,
230
+ check_existing: bool | typing.Any | None = True,
247
231
  ):
248
232
  """Export UV layout to file
249
233
 
250
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
251
- :type execution_context: typing.Optional[typing.Union[str, int]]
252
- :type undo: typing.Optional[bool]
234
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
235
+ :type execution_context: str | int | None
236
+ :type undo: bool | None
253
237
  :param filepath: filepath
254
- :type filepath: typing.Union[str, typing.Any]
238
+ :type filepath: str | typing.Any
255
239
  :param export_all: All UVs, Export all UVs in this mesh (not just visible ones)
256
- :type export_all: typing.Optional[typing.Union[bool, typing.Any]]
240
+ :type export_all: bool | typing.Any | None
257
241
  :param export_tiles: Export Tiles, Choose whether to export only the [0, 1] range, or all UV tiles
258
242
 
259
243
  NONE
@@ -264,9 +248,9 @@ def export_layout(
264
248
 
265
249
  UV
266
250
  UVTILE -- Export tiles in the UVTILE numbering scheme: u(u_tile + 1)_v(v_tile + 1).
267
- :type export_tiles: typing.Optional[typing.Any]
251
+ :type export_tiles: typing.Any | None
268
252
  :param modified: Modified, Exports UVs from the modified mesh
269
- :type modified: typing.Optional[typing.Union[bool, typing.Any]]
253
+ :type modified: bool | typing.Any | None
270
254
  :param mode: Format, File format to export the UV layout to
271
255
 
272
256
  SVG
@@ -277,30 +261,28 @@ def export_layout(
277
261
 
278
262
  PNG
279
263
  PNG Image (.png) -- Export the UV layout to a bitmap image.
280
- :type mode: typing.Optional[typing.Any]
264
+ :type mode: typing.Any | None
281
265
  :param size: Size, Dimensions of the exported file
282
- :type size: typing.Optional[typing.Any]
266
+ :type size: typing.Any | None
283
267
  :param opacity: Fill Opacity, Set amount of opacity for exported UV layout
284
- :type opacity: typing.Optional[typing.Any]
268
+ :type opacity: typing.Any | None
285
269
  :param check_existing: check_existing
286
- :type check_existing: typing.Optional[typing.Union[bool, typing.Any]]
270
+ :type check_existing: bool | typing.Any | None
287
271
  """
288
272
 
289
273
  ...
290
274
 
291
275
  def follow_active_quads(
292
- override_context: typing.Optional[
293
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
294
- ] = None,
295
- execution_context: typing.Optional[typing.Union[str, int]] = None,
296
- undo: typing.Optional[bool] = None,
297
- mode: typing.Optional[typing.Any] = "LENGTH_AVERAGE",
276
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
277
+ execution_context: str | int | None = None,
278
+ undo: bool | None = None,
279
+ mode: typing.Any | None = "LENGTH_AVERAGE",
298
280
  ):
299
281
  """Follow UVs from active quads along continuous face loops
300
282
 
301
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
302
- :type execution_context: typing.Optional[typing.Union[str, int]]
303
- :type undo: typing.Optional[bool]
283
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
284
+ :type execution_context: str | int | None
285
+ :type undo: bool | None
304
286
  :param mode: Edge Length Mode, Method to space UV edge loops
305
287
 
306
288
  EVEN
@@ -311,47 +293,43 @@ def follow_active_quads(
311
293
 
312
294
  LENGTH_AVERAGE
313
295
  Length Average -- Average space UVs edge length of each loop.
314
- :type mode: typing.Optional[typing.Any]
296
+ :type mode: typing.Any | None
315
297
  """
316
298
 
317
299
  ...
318
300
 
319
301
  def hide(
320
- override_context: typing.Optional[
321
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
322
- ] = None,
323
- execution_context: typing.Optional[typing.Union[str, int]] = None,
324
- undo: typing.Optional[bool] = None,
325
- unselected: typing.Optional[typing.Union[bool, typing.Any]] = False,
302
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
303
+ execution_context: str | int | None = None,
304
+ undo: bool | None = None,
305
+ unselected: bool | typing.Any | None = False,
326
306
  ):
327
307
  """Hide (un)selected UV vertices
328
308
 
329
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
330
- :type execution_context: typing.Optional[typing.Union[str, int]]
331
- :type undo: typing.Optional[bool]
309
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
310
+ :type execution_context: str | int | None
311
+ :type undo: bool | None
332
312
  :param unselected: Unselected, Hide unselected rather than selected
333
- :type unselected: typing.Optional[typing.Union[bool, typing.Any]]
313
+ :type unselected: bool | typing.Any | None
334
314
  """
335
315
 
336
316
  ...
337
317
 
338
318
  def lightmap_pack(
339
- override_context: typing.Optional[
340
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
341
- ] = None,
342
- execution_context: typing.Optional[typing.Union[str, int]] = None,
343
- undo: typing.Optional[bool] = None,
344
- PREF_CONTEXT: typing.Optional[typing.Any] = "SEL_FACES",
345
- PREF_PACK_IN_ONE: typing.Optional[typing.Union[bool, typing.Any]] = True,
346
- PREF_NEW_UVLAYER: typing.Optional[typing.Union[bool, typing.Any]] = False,
347
- PREF_BOX_DIV: typing.Optional[typing.Any] = 12,
348
- PREF_MARGIN_DIV: typing.Optional[typing.Any] = 0.1,
319
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
320
+ execution_context: str | int | None = None,
321
+ undo: bool | None = None,
322
+ PREF_CONTEXT: typing.Any | None = "SEL_FACES",
323
+ PREF_PACK_IN_ONE: bool | typing.Any | None = True,
324
+ PREF_NEW_UVLAYER: bool | typing.Any | None = False,
325
+ PREF_BOX_DIV: typing.Any | None = 12,
326
+ PREF_MARGIN_DIV: typing.Any | None = 0.1,
349
327
  ):
350
328
  """Pack each face's UVs into the UV bounds
351
329
 
352
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
353
- :type execution_context: typing.Optional[typing.Union[str, int]]
354
- :type undo: typing.Optional[bool]
330
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
331
+ :type execution_context: str | int | None
332
+ :type undo: bool | None
355
333
  :param PREF_CONTEXT: Selection
356
334
 
357
335
  SEL_FACES
@@ -359,85 +337,79 @@ def lightmap_pack(
359
337
 
360
338
  ALL_FACES
361
339
  All Faces -- Average space UVs edge length of each loop.
362
- :type PREF_CONTEXT: typing.Optional[typing.Any]
340
+ :type PREF_CONTEXT: typing.Any | None
363
341
  :param PREF_PACK_IN_ONE: Share Texture Space, Objects share texture space, map all objects into a single UV map
364
- :type PREF_PACK_IN_ONE: typing.Optional[typing.Union[bool, typing.Any]]
342
+ :type PREF_PACK_IN_ONE: bool | typing.Any | None
365
343
  :param PREF_NEW_UVLAYER: New UV Map, Create a new UV map for every mesh packed
366
- :type PREF_NEW_UVLAYER: typing.Optional[typing.Union[bool, typing.Any]]
344
+ :type PREF_NEW_UVLAYER: bool | typing.Any | None
367
345
  :param PREF_BOX_DIV: Pack Quality, Quality of the packing. Higher values will be slower but waste less space
368
- :type PREF_BOX_DIV: typing.Optional[typing.Any]
346
+ :type PREF_BOX_DIV: typing.Any | None
369
347
  :param PREF_MARGIN_DIV: Margin, Size of the margin as a division of the UV
370
- :type PREF_MARGIN_DIV: typing.Optional[typing.Any]
348
+ :type PREF_MARGIN_DIV: typing.Any | None
371
349
  """
372
350
 
373
351
  ...
374
352
 
375
353
  def mark_seam(
376
- override_context: typing.Optional[
377
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
378
- ] = None,
379
- execution_context: typing.Optional[typing.Union[str, int]] = None,
380
- undo: typing.Optional[bool] = None,
381
- clear: typing.Optional[typing.Union[bool, typing.Any]] = False,
354
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
355
+ execution_context: str | int | None = None,
356
+ undo: bool | None = None,
357
+ clear: bool | typing.Any | None = False,
382
358
  ):
383
359
  """Mark selected UV edges as seams
384
360
 
385
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
386
- :type execution_context: typing.Optional[typing.Union[str, int]]
387
- :type undo: typing.Optional[bool]
361
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
362
+ :type execution_context: str | int | None
363
+ :type undo: bool | None
388
364
  :param clear: Clear Seams, Clear instead of marking seams
389
- :type clear: typing.Optional[typing.Union[bool, typing.Any]]
365
+ :type clear: bool | typing.Any | None
390
366
  """
391
367
 
392
368
  ...
393
369
 
394
370
  def minimize_stretch(
395
- override_context: typing.Optional[
396
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
397
- ] = None,
398
- execution_context: typing.Optional[typing.Union[str, int]] = None,
399
- undo: typing.Optional[bool] = None,
400
- fill_holes: typing.Optional[typing.Union[bool, typing.Any]] = True,
401
- blend: typing.Optional[typing.Any] = 0.0,
402
- iterations: typing.Optional[typing.Any] = 0,
371
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
372
+ execution_context: str | int | None = None,
373
+ undo: bool | None = None,
374
+ fill_holes: bool | typing.Any | None = True,
375
+ blend: typing.Any | None = 0.0,
376
+ iterations: typing.Any | None = 0,
403
377
  ):
404
378
  """Reduce UV stretching by relaxing angles
405
379
 
406
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
407
- :type execution_context: typing.Optional[typing.Union[str, int]]
408
- :type undo: typing.Optional[bool]
380
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
381
+ :type execution_context: str | int | None
382
+ :type undo: bool | None
409
383
  :param fill_holes: Fill Holes, Virtually fill holes in mesh before unwrapping, to better avoid overlaps and preserve symmetry
410
- :type fill_holes: typing.Optional[typing.Union[bool, typing.Any]]
384
+ :type fill_holes: bool | typing.Any | None
411
385
  :param blend: Blend, Blend factor between stretch minimized and original
412
- :type blend: typing.Optional[typing.Any]
386
+ :type blend: typing.Any | None
413
387
  :param iterations: Iterations, Number of iterations to run, 0 is unlimited when run interactively
414
- :type iterations: typing.Optional[typing.Any]
388
+ :type iterations: typing.Any | None
415
389
  """
416
390
 
417
391
  ...
418
392
 
419
393
  def pack_islands(
420
- override_context: typing.Optional[
421
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
422
- ] = None,
423
- execution_context: typing.Optional[typing.Union[str, int]] = None,
424
- undo: typing.Optional[bool] = None,
425
- udim_source: typing.Optional[typing.Any] = "CLOSEST_UDIM",
426
- rotate: typing.Optional[typing.Union[bool, typing.Any]] = True,
427
- rotate_method: typing.Optional[typing.Any] = "ANY",
428
- scale: typing.Optional[typing.Union[bool, typing.Any]] = True,
429
- merge_overlap: typing.Optional[typing.Union[bool, typing.Any]] = False,
430
- margin_method: typing.Optional[typing.Any] = "SCALED",
431
- margin: typing.Optional[typing.Any] = 0.001,
432
- pin: typing.Optional[typing.Union[bool, typing.Any]] = False,
433
- pin_method: typing.Optional[typing.Any] = "LOCKED",
434
- shape_method: typing.Optional[typing.Any] = "CONCAVE",
394
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
395
+ execution_context: str | int | None = None,
396
+ undo: bool | None = None,
397
+ udim_source: typing.Any | None = "CLOSEST_UDIM",
398
+ rotate: bool | typing.Any | None = True,
399
+ rotate_method: typing.Any | None = "ANY",
400
+ scale: bool | typing.Any | None = True,
401
+ merge_overlap: bool | typing.Any | None = False,
402
+ margin_method: typing.Any | None = "SCALED",
403
+ margin: typing.Any | None = 0.001,
404
+ pin: bool | typing.Any | None = False,
405
+ pin_method: typing.Any | None = "LOCKED",
406
+ shape_method: typing.Any | None = "CONCAVE",
435
407
  ):
436
408
  """Transform all islands so that they fill up the UV/UDIM space as much as possible
437
409
 
438
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
439
- :type execution_context: typing.Optional[typing.Union[str, int]]
440
- :type undo: typing.Optional[bool]
410
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
411
+ :type execution_context: str | int | None
412
+ :type undo: bool | None
441
413
  :param udim_source: Pack to
442
414
 
443
415
  CLOSEST_UDIM
@@ -448,9 +420,9 @@ def pack_islands(
448
420
 
449
421
  ORIGINAL_AABB
450
422
  Original bounding box -- Pack to starting bounding box of islands.
451
- :type udim_source: typing.Optional[typing.Any]
423
+ :type udim_source: typing.Any | None
452
424
  :param rotate: Rotate, Rotate islands to improve layout
453
- :type rotate: typing.Optional[typing.Union[bool, typing.Any]]
425
+ :type rotate: bool | typing.Any | None
454
426
  :param rotate_method: Rotation Method
455
427
 
456
428
  ANY
@@ -467,11 +439,11 @@ def pack_islands(
467
439
 
468
440
  AXIS_ALIGNED_Y
469
441
  Axis-aligned (Vertical) -- Rotate islands to be aligned vertically.
470
- :type rotate_method: typing.Optional[typing.Any]
442
+ :type rotate_method: typing.Any | None
471
443
  :param scale: Scale, Scale islands to fill unit square
472
- :type scale: typing.Optional[typing.Union[bool, typing.Any]]
444
+ :type scale: bool | typing.Any | None
473
445
  :param merge_overlap: Merge Overlapping, Overlapping islands stick together
474
- :type merge_overlap: typing.Optional[typing.Union[bool, typing.Any]]
446
+ :type merge_overlap: bool | typing.Any | None
475
447
  :param margin_method: Margin Method
476
448
 
477
449
  SCALED
@@ -482,11 +454,11 @@ def pack_islands(
482
454
 
483
455
  FRACTION
484
456
  Fraction -- Specify a precise fraction of final UV output.
485
- :type margin_method: typing.Optional[typing.Any]
457
+ :type margin_method: typing.Any | None
486
458
  :param margin: Margin, Space between islands
487
- :type margin: typing.Optional[typing.Any]
459
+ :type margin: typing.Any | None
488
460
  :param pin: Lock Pinned Islands, Constrain islands containing any pinned UV's
489
- :type pin: typing.Optional[typing.Union[bool, typing.Any]]
461
+ :type pin: bool | typing.Any | None
490
462
  :param pin_method: Pin Method
491
463
 
492
464
  SCALE
@@ -500,7 +472,7 @@ def pack_islands(
500
472
 
501
473
  LOCKED
502
474
  All -- Pinned islands are locked in place.
503
- :type pin_method: typing.Optional[typing.Any]
475
+ :type pin_method: typing.Any | None
504
476
  :param shape_method: Shape Method
505
477
 
506
478
  CONCAVE
@@ -511,296 +483,272 @@ def pack_islands(
511
483
 
512
484
  AABB
513
485
  Bounding Box -- Uses bounding boxes.
514
- :type shape_method: typing.Optional[typing.Any]
486
+ :type shape_method: typing.Any | None
515
487
  """
516
488
 
517
489
  ...
518
490
 
519
491
  def paste(
520
- override_context: typing.Optional[
521
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
522
- ] = None,
523
- execution_context: typing.Optional[typing.Union[str, int]] = None,
524
- undo: typing.Optional[bool] = None,
492
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
493
+ execution_context: str | int | None = None,
494
+ undo: bool | None = None,
525
495
  ):
526
496
  """Paste selected UV vertices
527
497
 
528
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
529
- :type execution_context: typing.Optional[typing.Union[str, int]]
530
- :type undo: typing.Optional[bool]
498
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
499
+ :type execution_context: str | int | None
500
+ :type undo: bool | None
531
501
  """
532
502
 
533
503
  ...
534
504
 
535
505
  def pin(
536
- override_context: typing.Optional[
537
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
538
- ] = None,
539
- execution_context: typing.Optional[typing.Union[str, int]] = None,
540
- undo: typing.Optional[bool] = None,
541
- clear: typing.Optional[typing.Union[bool, typing.Any]] = False,
542
- invert: typing.Optional[typing.Union[bool, typing.Any]] = False,
506
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
507
+ execution_context: str | int | None = None,
508
+ undo: bool | None = None,
509
+ clear: bool | typing.Any | None = False,
510
+ invert: bool | typing.Any | None = False,
543
511
  ):
544
512
  """Set/clear selected UV vertices as anchored between multiple unwrap operations
545
513
 
546
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
547
- :type execution_context: typing.Optional[typing.Union[str, int]]
548
- :type undo: typing.Optional[bool]
514
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
515
+ :type execution_context: str | int | None
516
+ :type undo: bool | None
549
517
  :param clear: Clear, Clear pinning for the selection instead of setting it
550
- :type clear: typing.Optional[typing.Union[bool, typing.Any]]
518
+ :type clear: bool | typing.Any | None
551
519
  :param invert: Invert, Invert pinning for the selection instead of setting it
552
- :type invert: typing.Optional[typing.Union[bool, typing.Any]]
520
+ :type invert: bool | typing.Any | None
553
521
  """
554
522
 
555
523
  ...
556
524
 
557
525
  def project_from_view(
558
- override_context: typing.Optional[
559
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
560
- ] = None,
561
- execution_context: typing.Optional[typing.Union[str, int]] = None,
562
- undo: typing.Optional[bool] = None,
563
- orthographic: typing.Optional[typing.Union[bool, typing.Any]] = False,
564
- camera_bounds: typing.Optional[typing.Union[bool, typing.Any]] = True,
565
- correct_aspect: typing.Optional[typing.Union[bool, typing.Any]] = True,
566
- clip_to_bounds: typing.Optional[typing.Union[bool, typing.Any]] = False,
567
- scale_to_bounds: typing.Optional[typing.Union[bool, typing.Any]] = False,
526
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
527
+ execution_context: str | int | None = None,
528
+ undo: bool | None = None,
529
+ orthographic: bool | typing.Any | None = False,
530
+ camera_bounds: bool | typing.Any | None = True,
531
+ correct_aspect: bool | typing.Any | None = True,
532
+ clip_to_bounds: bool | typing.Any | None = False,
533
+ scale_to_bounds: bool | typing.Any | None = False,
568
534
  ):
569
535
  """Project the UV vertices of the mesh as seen in current 3D view
570
536
 
571
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
572
- :type execution_context: typing.Optional[typing.Union[str, int]]
573
- :type undo: typing.Optional[bool]
537
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
538
+ :type execution_context: str | int | None
539
+ :type undo: bool | None
574
540
  :param orthographic: Orthographic, Use orthographic projection
575
- :type orthographic: typing.Optional[typing.Union[bool, typing.Any]]
541
+ :type orthographic: bool | typing.Any | None
576
542
  :param camera_bounds: Camera Bounds, Map UVs to the camera region taking resolution and aspect into account
577
- :type camera_bounds: typing.Optional[typing.Union[bool, typing.Any]]
543
+ :type camera_bounds: bool | typing.Any | None
578
544
  :param correct_aspect: Correct Aspect, Map UVs taking image aspect ratio into account
579
- :type correct_aspect: typing.Optional[typing.Union[bool, typing.Any]]
545
+ :type correct_aspect: bool | typing.Any | None
580
546
  :param clip_to_bounds: Clip to Bounds, Clip UV coordinates to bounds after unwrapping
581
- :type clip_to_bounds: typing.Optional[typing.Union[bool, typing.Any]]
547
+ :type clip_to_bounds: bool | typing.Any | None
582
548
  :param scale_to_bounds: Scale to Bounds, Scale UV coordinates to bounds after unwrapping
583
- :type scale_to_bounds: typing.Optional[typing.Union[bool, typing.Any]]
549
+ :type scale_to_bounds: bool | typing.Any | None
584
550
  """
585
551
 
586
552
  ...
587
553
 
588
554
  def randomize_uv_transform(
589
- override_context: typing.Optional[
590
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
591
- ] = None,
592
- execution_context: typing.Optional[typing.Union[str, int]] = None,
593
- undo: typing.Optional[bool] = None,
594
- random_seed: typing.Optional[typing.Any] = 0,
595
- use_loc: typing.Optional[typing.Union[bool, typing.Any]] = True,
596
- loc: typing.Optional[typing.Any] = (0.0, 0.0),
597
- use_rot: typing.Optional[typing.Union[bool, typing.Any]] = True,
598
- rot: typing.Optional[typing.Any] = 0.0,
599
- use_scale: typing.Optional[typing.Union[bool, typing.Any]] = True,
600
- scale_even: typing.Optional[typing.Union[bool, typing.Any]] = False,
601
- scale: typing.Optional[typing.Any] = (1.0, 1.0),
555
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
556
+ execution_context: str | int | None = None,
557
+ undo: bool | None = None,
558
+ random_seed: typing.Any | None = 0,
559
+ use_loc: bool | typing.Any | None = True,
560
+ loc: typing.Any | None = (0.0, 0.0),
561
+ use_rot: bool | typing.Any | None = True,
562
+ rot: typing.Any | None = 0.0,
563
+ use_scale: bool | typing.Any | None = True,
564
+ scale_even: bool | typing.Any | None = False,
565
+ scale: typing.Any | None = (1.0, 1.0),
602
566
  ):
603
567
  """Randomize the UV island's location, rotation, and scale
604
568
 
605
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
606
- :type execution_context: typing.Optional[typing.Union[str, int]]
607
- :type undo: typing.Optional[bool]
569
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
570
+ :type execution_context: str | int | None
571
+ :type undo: bool | None
608
572
  :param random_seed: Random Seed, Seed value for the random generator
609
- :type random_seed: typing.Optional[typing.Any]
573
+ :type random_seed: typing.Any | None
610
574
  :param use_loc: Randomize Location, Randomize the location values
611
- :type use_loc: typing.Optional[typing.Union[bool, typing.Any]]
575
+ :type use_loc: bool | typing.Any | None
612
576
  :param loc: Location, Maximum distance the objects can spread over each axis
613
- :type loc: typing.Optional[typing.Any]
577
+ :type loc: typing.Any | None
614
578
  :param use_rot: Randomize Rotation, Randomize the rotation value
615
- :type use_rot: typing.Optional[typing.Union[bool, typing.Any]]
579
+ :type use_rot: bool | typing.Any | None
616
580
  :param rot: Rotation, Maximum rotation
617
- :type rot: typing.Optional[typing.Any]
581
+ :type rot: typing.Any | None
618
582
  :param use_scale: Randomize Scale, Randomize the scale values
619
- :type use_scale: typing.Optional[typing.Union[bool, typing.Any]]
583
+ :type use_scale: bool | typing.Any | None
620
584
  :param scale_even: Scale Even, Use the same scale value for both axes
621
- :type scale_even: typing.Optional[typing.Union[bool, typing.Any]]
585
+ :type scale_even: bool | typing.Any | None
622
586
  :param scale: Scale, Maximum scale randomization over each axis
623
- :type scale: typing.Optional[typing.Any]
587
+ :type scale: typing.Any | None
624
588
  """
625
589
 
626
590
  ...
627
591
 
628
592
  def remove_doubles(
629
- override_context: typing.Optional[
630
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
631
- ] = None,
632
- execution_context: typing.Optional[typing.Union[str, int]] = None,
633
- undo: typing.Optional[bool] = None,
634
- threshold: typing.Optional[typing.Any] = 0.02,
635
- use_unselected: typing.Optional[typing.Union[bool, typing.Any]] = False,
593
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
594
+ execution_context: str | int | None = None,
595
+ undo: bool | None = None,
596
+ threshold: typing.Any | None = 0.02,
597
+ use_unselected: bool | typing.Any | None = False,
636
598
  ):
637
599
  """Selected UV vertices that are within a radius of each other are welded together
638
600
 
639
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
640
- :type execution_context: typing.Optional[typing.Union[str, int]]
641
- :type undo: typing.Optional[bool]
601
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
602
+ :type execution_context: str | int | None
603
+ :type undo: bool | None
642
604
  :param threshold: Merge Distance, Maximum distance between welded vertices
643
- :type threshold: typing.Optional[typing.Any]
605
+ :type threshold: typing.Any | None
644
606
  :param use_unselected: Unselected, Merge selected to other unselected vertices
645
- :type use_unselected: typing.Optional[typing.Union[bool, typing.Any]]
607
+ :type use_unselected: bool | typing.Any | None
646
608
  """
647
609
 
648
610
  ...
649
611
 
650
612
  def reset(
651
- override_context: typing.Optional[
652
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
653
- ] = None,
654
- execution_context: typing.Optional[typing.Union[str, int]] = None,
655
- undo: typing.Optional[bool] = None,
613
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
614
+ execution_context: str | int | None = None,
615
+ undo: bool | None = None,
656
616
  ):
657
617
  """Reset UV projection
658
618
 
659
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
660
- :type execution_context: typing.Optional[typing.Union[str, int]]
661
- :type undo: typing.Optional[bool]
619
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
620
+ :type execution_context: str | int | None
621
+ :type undo: bool | None
662
622
  """
663
623
 
664
624
  ...
665
625
 
666
626
  def reveal(
667
- override_context: typing.Optional[
668
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
669
- ] = None,
670
- execution_context: typing.Optional[typing.Union[str, int]] = None,
671
- undo: typing.Optional[bool] = None,
672
- select: typing.Optional[typing.Union[bool, typing.Any]] = True,
627
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
628
+ execution_context: str | int | None = None,
629
+ undo: bool | None = None,
630
+ select: bool | typing.Any | None = True,
673
631
  ):
674
632
  """Reveal all hidden UV vertices
675
633
 
676
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
677
- :type execution_context: typing.Optional[typing.Union[str, int]]
678
- :type undo: typing.Optional[bool]
634
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
635
+ :type execution_context: str | int | None
636
+ :type undo: bool | None
679
637
  :param select: Select
680
- :type select: typing.Optional[typing.Union[bool, typing.Any]]
638
+ :type select: bool | typing.Any | None
681
639
  """
682
640
 
683
641
  ...
684
642
 
685
643
  def rip(
686
- override_context: typing.Optional[
687
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
688
- ] = None,
689
- execution_context: typing.Optional[typing.Union[str, int]] = None,
690
- undo: typing.Optional[bool] = None,
691
- mirror: typing.Optional[typing.Union[bool, typing.Any]] = False,
692
- release_confirm: typing.Optional[typing.Union[bool, typing.Any]] = False,
693
- use_accurate: typing.Optional[typing.Union[bool, typing.Any]] = False,
694
- location: typing.Optional[typing.Any] = (0.0, 0.0),
644
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
645
+ execution_context: str | int | None = None,
646
+ undo: bool | None = None,
647
+ mirror: bool | typing.Any | None = False,
648
+ release_confirm: bool | typing.Any | None = False,
649
+ use_accurate: bool | typing.Any | None = False,
650
+ location: typing.Any | None = (0.0, 0.0),
695
651
  ):
696
652
  """Rip selected vertices or a selected region
697
653
 
698
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
699
- :type execution_context: typing.Optional[typing.Union[str, int]]
700
- :type undo: typing.Optional[bool]
654
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
655
+ :type execution_context: str | int | None
656
+ :type undo: bool | None
701
657
  :param mirror: Mirror Editing
702
- :type mirror: typing.Optional[typing.Union[bool, typing.Any]]
658
+ :type mirror: bool | typing.Any | None
703
659
  :param release_confirm: Confirm on Release, Always confirm operation when releasing button
704
- :type release_confirm: typing.Optional[typing.Union[bool, typing.Any]]
660
+ :type release_confirm: bool | typing.Any | None
705
661
  :param use_accurate: Accurate, Use accurate transformation
706
- :type use_accurate: typing.Optional[typing.Union[bool, typing.Any]]
662
+ :type use_accurate: bool | typing.Any | None
707
663
  :param location: Location, Mouse location in normalized coordinates, 0.0 to 1.0 is within the image bounds
708
- :type location: typing.Optional[typing.Any]
664
+ :type location: typing.Any | None
709
665
  """
710
666
 
711
667
  ...
712
668
 
713
669
  def rip_move(
714
- override_context: typing.Optional[
715
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
716
- ] = None,
717
- execution_context: typing.Optional[typing.Union[str, int]] = None,
718
- undo: typing.Optional[bool] = None,
719
- UV_OT_rip: typing.Optional[rip] = None,
720
- TRANSFORM_OT_translate: typing.Optional[bpy.ops.transform.translate] = None,
670
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
671
+ execution_context: str | int | None = None,
672
+ undo: bool | None = None,
673
+ UV_OT_rip: rip | None = None,
674
+ TRANSFORM_OT_translate: bpy.ops.transform.translate | None = None,
721
675
  ):
722
676
  """Unstitch UVs and move the result
723
677
 
724
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
725
- :type execution_context: typing.Optional[typing.Union[str, int]]
726
- :type undo: typing.Optional[bool]
678
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
679
+ :type execution_context: str | int | None
680
+ :type undo: bool | None
727
681
  :param UV_OT_rip: UV Rip, Rip selected vertices or a selected region
728
- :type UV_OT_rip: typing.Optional[rip]
682
+ :type UV_OT_rip: rip | None
729
683
  :param TRANSFORM_OT_translate: Move, Move selected items
730
- :type TRANSFORM_OT_translate: typing.Optional[bpy.ops.transform.translate]
684
+ :type TRANSFORM_OT_translate: bpy.ops.transform.translate | None
731
685
  """
732
686
 
733
687
  ...
734
688
 
735
689
  def seams_from_islands(
736
- override_context: typing.Optional[
737
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
738
- ] = None,
739
- execution_context: typing.Optional[typing.Union[str, int]] = None,
740
- undo: typing.Optional[bool] = None,
741
- mark_seams: typing.Optional[typing.Union[bool, typing.Any]] = True,
742
- mark_sharp: typing.Optional[typing.Union[bool, typing.Any]] = False,
690
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
691
+ execution_context: str | int | None = None,
692
+ undo: bool | None = None,
693
+ mark_seams: bool | typing.Any | None = True,
694
+ mark_sharp: bool | typing.Any | None = False,
743
695
  ):
744
696
  """Set mesh seams according to island setup in the UV editor
745
697
 
746
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
747
- :type execution_context: typing.Optional[typing.Union[str, int]]
748
- :type undo: typing.Optional[bool]
698
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
699
+ :type execution_context: str | int | None
700
+ :type undo: bool | None
749
701
  :param mark_seams: Mark Seams, Mark boundary edges as seams
750
- :type mark_seams: typing.Optional[typing.Union[bool, typing.Any]]
702
+ :type mark_seams: bool | typing.Any | None
751
703
  :param mark_sharp: Mark Sharp, Mark boundary edges as sharp
752
- :type mark_sharp: typing.Optional[typing.Union[bool, typing.Any]]
704
+ :type mark_sharp: bool | typing.Any | None
753
705
  """
754
706
 
755
707
  ...
756
708
 
757
709
  def select(
758
- override_context: typing.Optional[
759
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
760
- ] = None,
761
- execution_context: typing.Optional[typing.Union[str, int]] = None,
762
- undo: typing.Optional[bool] = None,
763
- extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
764
- deselect: typing.Optional[typing.Union[bool, typing.Any]] = False,
765
- toggle: typing.Optional[typing.Union[bool, typing.Any]] = False,
766
- deselect_all: typing.Optional[typing.Union[bool, typing.Any]] = False,
767
- select_passthrough: typing.Optional[typing.Union[bool, typing.Any]] = False,
768
- location: typing.Optional[typing.Any] = (0.0, 0.0),
710
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
711
+ execution_context: str | int | None = None,
712
+ undo: bool | None = None,
713
+ extend: bool | typing.Any | None = False,
714
+ deselect: bool | typing.Any | None = False,
715
+ toggle: bool | typing.Any | None = False,
716
+ deselect_all: bool | typing.Any | None = False,
717
+ select_passthrough: bool | typing.Any | None = False,
718
+ location: typing.Any | None = (0.0, 0.0),
769
719
  ):
770
720
  """Select UV vertices
771
721
 
772
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
773
- :type execution_context: typing.Optional[typing.Union[str, int]]
774
- :type undo: typing.Optional[bool]
722
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
723
+ :type execution_context: str | int | None
724
+ :type undo: bool | None
775
725
  :param extend: Extend, Extend selection instead of deselecting everything first
776
- :type extend: typing.Optional[typing.Union[bool, typing.Any]]
726
+ :type extend: bool | typing.Any | None
777
727
  :param deselect: Deselect, Remove from selection
778
- :type deselect: typing.Optional[typing.Union[bool, typing.Any]]
728
+ :type deselect: bool | typing.Any | None
779
729
  :param toggle: Toggle Selection, Toggle the selection
780
- :type toggle: typing.Optional[typing.Union[bool, typing.Any]]
730
+ :type toggle: bool | typing.Any | None
781
731
  :param deselect_all: Deselect On Nothing, Deselect all when nothing under the cursor
782
- :type deselect_all: typing.Optional[typing.Union[bool, typing.Any]]
732
+ :type deselect_all: bool | typing.Any | None
783
733
  :param select_passthrough: Only Select Unselected, Ignore the select action when the element is already selected
784
- :type select_passthrough: typing.Optional[typing.Union[bool, typing.Any]]
734
+ :type select_passthrough: bool | typing.Any | None
785
735
  :param location: Location, Mouse location in normalized coordinates, 0.0 to 1.0 is within the image bounds
786
- :type location: typing.Optional[typing.Any]
736
+ :type location: typing.Any | None
787
737
  """
788
738
 
789
739
  ...
790
740
 
791
741
  def select_all(
792
- override_context: typing.Optional[
793
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
794
- ] = None,
795
- execution_context: typing.Optional[typing.Union[str, int]] = None,
796
- undo: typing.Optional[bool] = None,
797
- action: typing.Optional[typing.Any] = "TOGGLE",
742
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
743
+ execution_context: str | int | None = None,
744
+ undo: bool | None = None,
745
+ action: typing.Any | None = "TOGGLE",
798
746
  ):
799
747
  """Change selection of all UV vertices
800
748
 
801
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
802
- :type execution_context: typing.Optional[typing.Union[str, int]]
803
- :type undo: typing.Optional[bool]
749
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
750
+ :type execution_context: str | int | None
751
+ :type undo: bool | None
804
752
  :param action: Action, Selection action to execute
805
753
 
806
754
  TOGGLE
@@ -814,42 +762,40 @@ def select_all(
814
762
 
815
763
  INVERT
816
764
  Invert -- Invert selection of all elements.
817
- :type action: typing.Optional[typing.Any]
765
+ :type action: typing.Any | None
818
766
  """
819
767
 
820
768
  ...
821
769
 
822
770
  def select_box(
823
- override_context: typing.Optional[
824
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
825
- ] = None,
826
- execution_context: typing.Optional[typing.Union[str, int]] = None,
827
- undo: typing.Optional[bool] = None,
828
- pinned: typing.Optional[typing.Union[bool, typing.Any]] = False,
829
- xmin: typing.Optional[typing.Any] = 0,
830
- xmax: typing.Optional[typing.Any] = 0,
831
- ymin: typing.Optional[typing.Any] = 0,
832
- ymax: typing.Optional[typing.Any] = 0,
833
- wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
834
- mode: typing.Optional[typing.Any] = "SET",
771
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
772
+ execution_context: str | int | None = None,
773
+ undo: bool | None = None,
774
+ pinned: bool | typing.Any | None = False,
775
+ xmin: typing.Any | None = 0,
776
+ xmax: typing.Any | None = 0,
777
+ ymin: typing.Any | None = 0,
778
+ ymax: typing.Any | None = 0,
779
+ wait_for_input: bool | typing.Any | None = True,
780
+ mode: typing.Any | None = "SET",
835
781
  ):
836
782
  """Select UV vertices using box selection
837
783
 
838
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
839
- :type execution_context: typing.Optional[typing.Union[str, int]]
840
- :type undo: typing.Optional[bool]
784
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
785
+ :type execution_context: str | int | None
786
+ :type undo: bool | None
841
787
  :param pinned: Pinned, Border select pinned UVs only
842
- :type pinned: typing.Optional[typing.Union[bool, typing.Any]]
788
+ :type pinned: bool | typing.Any | None
843
789
  :param xmin: X Min
844
- :type xmin: typing.Optional[typing.Any]
790
+ :type xmin: typing.Any | None
845
791
  :param xmax: X Max
846
- :type xmax: typing.Optional[typing.Any]
792
+ :type xmax: typing.Any | None
847
793
  :param ymin: Y Min
848
- :type ymin: typing.Optional[typing.Any]
794
+ :type ymin: typing.Any | None
849
795
  :param ymax: Y Max
850
- :type ymax: typing.Optional[typing.Any]
796
+ :type ymax: typing.Any | None
851
797
  :param wait_for_input: Wait for Input
852
- :type wait_for_input: typing.Optional[typing.Union[bool, typing.Any]]
798
+ :type wait_for_input: bool | typing.Any | None
853
799
  :param mode: Mode
854
800
 
855
801
  SET
@@ -860,36 +806,34 @@ def select_box(
860
806
 
861
807
  SUB
862
808
  Subtract -- Subtract existing selection.
863
- :type mode: typing.Optional[typing.Any]
809
+ :type mode: typing.Any | None
864
810
  """
865
811
 
866
812
  ...
867
813
 
868
814
  def select_circle(
869
- override_context: typing.Optional[
870
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
871
- ] = None,
872
- execution_context: typing.Optional[typing.Union[str, int]] = None,
873
- undo: typing.Optional[bool] = None,
874
- x: typing.Optional[typing.Any] = 0,
875
- y: typing.Optional[typing.Any] = 0,
876
- radius: typing.Optional[typing.Any] = 25,
877
- wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
878
- mode: typing.Optional[typing.Any] = "SET",
815
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
816
+ execution_context: str | int | None = None,
817
+ undo: bool | None = None,
818
+ x: typing.Any | None = 0,
819
+ y: typing.Any | None = 0,
820
+ radius: typing.Any | None = 25,
821
+ wait_for_input: bool | typing.Any | None = True,
822
+ mode: typing.Any | None = "SET",
879
823
  ):
880
824
  """Select UV vertices using circle selection
881
825
 
882
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
883
- :type execution_context: typing.Optional[typing.Union[str, int]]
884
- :type undo: typing.Optional[bool]
826
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
827
+ :type execution_context: str | int | None
828
+ :type undo: bool | None
885
829
  :param x: X
886
- :type x: typing.Optional[typing.Any]
830
+ :type x: typing.Any | None
887
831
  :param y: Y
888
- :type y: typing.Optional[typing.Any]
832
+ :type y: typing.Any | None
889
833
  :param radius: Radius
890
- :type radius: typing.Optional[typing.Any]
834
+ :type radius: typing.Any | None
891
835
  :param wait_for_input: Wait for Input
892
- :type wait_for_input: typing.Optional[typing.Union[bool, typing.Any]]
836
+ :type wait_for_input: bool | typing.Any | None
893
837
  :param mode: Mode
894
838
 
895
839
  SET
@@ -900,51 +844,45 @@ def select_circle(
900
844
 
901
845
  SUB
902
846
  Subtract -- Subtract existing selection.
903
- :type mode: typing.Optional[typing.Any]
847
+ :type mode: typing.Any | None
904
848
  """
905
849
 
906
850
  ...
907
851
 
908
852
  def select_edge_ring(
909
- override_context: typing.Optional[
910
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
911
- ] = None,
912
- execution_context: typing.Optional[typing.Union[str, int]] = None,
913
- undo: typing.Optional[bool] = None,
914
- extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
915
- location: typing.Optional[typing.Any] = (0.0, 0.0),
853
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
854
+ execution_context: str | int | None = None,
855
+ undo: bool | None = None,
856
+ extend: bool | typing.Any | None = False,
857
+ location: typing.Any | None = (0.0, 0.0),
916
858
  ):
917
859
  """Select an edge ring of connected UV vertices
918
860
 
919
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
920
- :type execution_context: typing.Optional[typing.Union[str, int]]
921
- :type undo: typing.Optional[bool]
861
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
862
+ :type execution_context: str | int | None
863
+ :type undo: bool | None
922
864
  :param extend: Extend, Extend selection rather than clearing the existing selection
923
- :type extend: typing.Optional[typing.Union[bool, typing.Any]]
865
+ :type extend: bool | typing.Any | None
924
866
  :param location: Location, Mouse location in normalized coordinates, 0.0 to 1.0 is within the image bounds
925
- :type location: typing.Optional[typing.Any]
867
+ :type location: typing.Any | None
926
868
  """
927
869
 
928
870
  ...
929
871
 
930
872
  def select_lasso(
931
- override_context: typing.Optional[
932
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
933
- ] = None,
934
- execution_context: typing.Optional[typing.Union[str, int]] = None,
935
- undo: typing.Optional[bool] = None,
936
- path: typing.Optional[
937
- bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
938
- ] = None,
939
- mode: typing.Optional[typing.Any] = "SET",
873
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
874
+ execution_context: str | int | None = None,
875
+ undo: bool | None = None,
876
+ path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
877
+ mode: typing.Any | None = "SET",
940
878
  ):
941
879
  """Select UVs using lasso selection
942
880
 
943
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
944
- :type execution_context: typing.Optional[typing.Union[str, int]]
945
- :type undo: typing.Optional[bool]
881
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
882
+ :type execution_context: str | int | None
883
+ :type undo: bool | None
946
884
  :param path: Path
947
- :type path: typing.Optional[bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]]
885
+ :type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None
948
886
  :param mode: Mode
949
887
 
950
888
  SET
@@ -955,294 +893,268 @@ def select_lasso(
955
893
 
956
894
  SUB
957
895
  Subtract -- Subtract existing selection.
958
- :type mode: typing.Optional[typing.Any]
896
+ :type mode: typing.Any | None
959
897
  """
960
898
 
961
899
  ...
962
900
 
963
901
  def select_less(
964
- override_context: typing.Optional[
965
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
966
- ] = None,
967
- execution_context: typing.Optional[typing.Union[str, int]] = None,
968
- undo: typing.Optional[bool] = None,
902
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
903
+ execution_context: str | int | None = None,
904
+ undo: bool | None = None,
969
905
  ):
970
906
  """Deselect UV vertices at the boundary of each selection region
971
907
 
972
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
973
- :type execution_context: typing.Optional[typing.Union[str, int]]
974
- :type undo: typing.Optional[bool]
908
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
909
+ :type execution_context: str | int | None
910
+ :type undo: bool | None
975
911
  """
976
912
 
977
913
  ...
978
914
 
979
915
  def select_linked(
980
- override_context: typing.Optional[
981
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
982
- ] = None,
983
- execution_context: typing.Optional[typing.Union[str, int]] = None,
984
- undo: typing.Optional[bool] = None,
916
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
917
+ execution_context: str | int | None = None,
918
+ undo: bool | None = None,
985
919
  ):
986
920
  """Select all UV vertices linked to the active UV map
987
921
 
988
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
989
- :type execution_context: typing.Optional[typing.Union[str, int]]
990
- :type undo: typing.Optional[bool]
922
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
923
+ :type execution_context: str | int | None
924
+ :type undo: bool | None
991
925
  """
992
926
 
993
927
  ...
994
928
 
995
929
  def select_linked_pick(
996
- override_context: typing.Optional[
997
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
998
- ] = None,
999
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1000
- undo: typing.Optional[bool] = None,
1001
- extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
1002
- deselect: typing.Optional[typing.Union[bool, typing.Any]] = False,
1003
- location: typing.Optional[typing.Any] = (0.0, 0.0),
930
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
931
+ execution_context: str | int | None = None,
932
+ undo: bool | None = None,
933
+ extend: bool | typing.Any | None = False,
934
+ deselect: bool | typing.Any | None = False,
935
+ location: typing.Any | None = (0.0, 0.0),
1004
936
  ):
1005
937
  """Select all UV vertices linked under the mouse
1006
938
 
1007
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1008
- :type execution_context: typing.Optional[typing.Union[str, int]]
1009
- :type undo: typing.Optional[bool]
939
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
940
+ :type execution_context: str | int | None
941
+ :type undo: bool | None
1010
942
  :param extend: Extend, Extend selection rather than clearing the existing selection
1011
- :type extend: typing.Optional[typing.Union[bool, typing.Any]]
943
+ :type extend: bool | typing.Any | None
1012
944
  :param deselect: Deselect, Deselect linked UV vertices rather than selecting them
1013
- :type deselect: typing.Optional[typing.Union[bool, typing.Any]]
945
+ :type deselect: bool | typing.Any | None
1014
946
  :param location: Location, Mouse location in normalized coordinates, 0.0 to 1.0 is within the image bounds
1015
- :type location: typing.Optional[typing.Any]
947
+ :type location: typing.Any | None
1016
948
  """
1017
949
 
1018
950
  ...
1019
951
 
1020
952
  def select_loop(
1021
- override_context: typing.Optional[
1022
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1023
- ] = None,
1024
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1025
- undo: typing.Optional[bool] = None,
1026
- extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
1027
- location: typing.Optional[typing.Any] = (0.0, 0.0),
953
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
954
+ execution_context: str | int | None = None,
955
+ undo: bool | None = None,
956
+ extend: bool | typing.Any | None = False,
957
+ location: typing.Any | None = (0.0, 0.0),
1028
958
  ):
1029
959
  """Select a loop of connected UV vertices
1030
960
 
1031
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1032
- :type execution_context: typing.Optional[typing.Union[str, int]]
1033
- :type undo: typing.Optional[bool]
961
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
962
+ :type execution_context: str | int | None
963
+ :type undo: bool | None
1034
964
  :param extend: Extend, Extend selection rather than clearing the existing selection
1035
- :type extend: typing.Optional[typing.Union[bool, typing.Any]]
965
+ :type extend: bool | typing.Any | None
1036
966
  :param location: Location, Mouse location in normalized coordinates, 0.0 to 1.0 is within the image bounds
1037
- :type location: typing.Optional[typing.Any]
967
+ :type location: typing.Any | None
1038
968
  """
1039
969
 
1040
970
  ...
1041
971
 
1042
972
  def select_mode(
1043
- override_context: typing.Optional[
1044
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1045
- ] = None,
1046
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1047
- undo: typing.Optional[bool] = None,
1048
- type: typing.Optional[typing.Union[str, int]] = "VERTEX",
973
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
974
+ execution_context: str | int | None = None,
975
+ undo: bool | None = None,
976
+ type: str | int | None = "VERTEX",
1049
977
  ):
1050
978
  """Change UV selection mode
1051
979
 
1052
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1053
- :type execution_context: typing.Optional[typing.Union[str, int]]
1054
- :type undo: typing.Optional[bool]
980
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
981
+ :type execution_context: str | int | None
982
+ :type undo: bool | None
1055
983
  :param type: Type
1056
- :type type: typing.Optional[typing.Union[str, int]]
984
+ :type type: str | int | None
1057
985
  """
1058
986
 
1059
987
  ...
1060
988
 
1061
989
  def select_more(
1062
- override_context: typing.Optional[
1063
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1064
- ] = None,
1065
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1066
- undo: typing.Optional[bool] = None,
990
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
991
+ execution_context: str | int | None = None,
992
+ undo: bool | None = None,
1067
993
  ):
1068
994
  """Select more UV vertices connected to initial selection
1069
995
 
1070
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1071
- :type execution_context: typing.Optional[typing.Union[str, int]]
1072
- :type undo: typing.Optional[bool]
996
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
997
+ :type execution_context: str | int | None
998
+ :type undo: bool | None
1073
999
  """
1074
1000
 
1075
1001
  ...
1076
1002
 
1077
1003
  def select_overlap(
1078
- override_context: typing.Optional[
1079
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1080
- ] = None,
1081
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1082
- undo: typing.Optional[bool] = None,
1083
- extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
1004
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1005
+ execution_context: str | int | None = None,
1006
+ undo: bool | None = None,
1007
+ extend: bool | typing.Any | None = False,
1084
1008
  ):
1085
1009
  """Select all UV faces which overlap each other
1086
1010
 
1087
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1088
- :type execution_context: typing.Optional[typing.Union[str, int]]
1089
- :type undo: typing.Optional[bool]
1011
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1012
+ :type execution_context: str | int | None
1013
+ :type undo: bool | None
1090
1014
  :param extend: Extend, Extend selection rather than clearing the existing selection
1091
- :type extend: typing.Optional[typing.Union[bool, typing.Any]]
1015
+ :type extend: bool | typing.Any | None
1092
1016
  """
1093
1017
 
1094
1018
  ...
1095
1019
 
1096
1020
  def select_pinned(
1097
- override_context: typing.Optional[
1098
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1099
- ] = None,
1100
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1101
- undo: typing.Optional[bool] = None,
1021
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1022
+ execution_context: str | int | None = None,
1023
+ undo: bool | None = None,
1102
1024
  ):
1103
1025
  """Select all pinned UV vertices
1104
1026
 
1105
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1106
- :type execution_context: typing.Optional[typing.Union[str, int]]
1107
- :type undo: typing.Optional[bool]
1027
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1028
+ :type execution_context: str | int | None
1029
+ :type undo: bool | None
1108
1030
  """
1109
1031
 
1110
1032
  ...
1111
1033
 
1112
1034
  def select_similar(
1113
- override_context: typing.Optional[
1114
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1115
- ] = None,
1116
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1117
- undo: typing.Optional[bool] = None,
1118
- type: typing.Optional[typing.Any] = "PIN",
1119
- compare: typing.Optional[typing.Any] = "EQUAL",
1120
- threshold: typing.Optional[typing.Any] = 0.0,
1035
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1036
+ execution_context: str | int | None = None,
1037
+ undo: bool | None = None,
1038
+ type: typing.Any | None = "PIN",
1039
+ compare: typing.Any | None = "EQUAL",
1040
+ threshold: typing.Any | None = 0.0,
1121
1041
  ):
1122
1042
  """Select similar UVs by property types
1123
1043
 
1124
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1125
- :type execution_context: typing.Optional[typing.Union[str, int]]
1126
- :type undo: typing.Optional[bool]
1044
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1045
+ :type execution_context: str | int | None
1046
+ :type undo: bool | None
1127
1047
  :param type: Type
1128
- :type type: typing.Optional[typing.Any]
1048
+ :type type: typing.Any | None
1129
1049
  :param compare: Compare
1130
- :type compare: typing.Optional[typing.Any]
1050
+ :type compare: typing.Any | None
1131
1051
  :param threshold: Threshold
1132
- :type threshold: typing.Optional[typing.Any]
1052
+ :type threshold: typing.Any | None
1133
1053
  """
1134
1054
 
1135
1055
  ...
1136
1056
 
1137
1057
  def select_split(
1138
- override_context: typing.Optional[
1139
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1140
- ] = None,
1141
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1142
- undo: typing.Optional[bool] = None,
1058
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1059
+ execution_context: str | int | None = None,
1060
+ undo: bool | None = None,
1143
1061
  ):
1144
1062
  """Select only entirely selected faces
1145
1063
 
1146
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1147
- :type execution_context: typing.Optional[typing.Union[str, int]]
1148
- :type undo: typing.Optional[bool]
1064
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1065
+ :type execution_context: str | int | None
1066
+ :type undo: bool | None
1149
1067
  """
1150
1068
 
1151
1069
  ...
1152
1070
 
1153
1071
  def shortest_path_pick(
1154
- override_context: typing.Optional[
1155
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1156
- ] = None,
1157
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1158
- undo: typing.Optional[bool] = None,
1159
- use_face_step: typing.Optional[typing.Union[bool, typing.Any]] = False,
1160
- use_topology_distance: typing.Optional[typing.Union[bool, typing.Any]] = False,
1161
- use_fill: typing.Optional[typing.Union[bool, typing.Any]] = False,
1162
- skip: typing.Optional[typing.Any] = 0,
1163
- nth: typing.Optional[typing.Any] = 1,
1164
- offset: typing.Optional[typing.Any] = 0,
1165
- object_index: typing.Optional[typing.Any] = -1,
1166
- index: typing.Optional[typing.Any] = -1,
1072
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1073
+ execution_context: str | int | None = None,
1074
+ undo: bool | None = None,
1075
+ use_face_step: bool | typing.Any | None = False,
1076
+ use_topology_distance: bool | typing.Any | None = False,
1077
+ use_fill: bool | typing.Any | None = False,
1078
+ skip: typing.Any | None = 0,
1079
+ nth: typing.Any | None = 1,
1080
+ offset: typing.Any | None = 0,
1081
+ object_index: typing.Any | None = -1,
1082
+ index: typing.Any | None = -1,
1167
1083
  ):
1168
1084
  """Select shortest path between two selections
1169
1085
 
1170
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1171
- :type execution_context: typing.Optional[typing.Union[str, int]]
1172
- :type undo: typing.Optional[bool]
1086
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1087
+ :type execution_context: str | int | None
1088
+ :type undo: bool | None
1173
1089
  :param use_face_step: Face Stepping, Traverse connected faces (includes diagonals and edge-rings)
1174
- :type use_face_step: typing.Optional[typing.Union[bool, typing.Any]]
1090
+ :type use_face_step: bool | typing.Any | None
1175
1091
  :param use_topology_distance: Topology Distance, Find the minimum number of steps, ignoring spatial distance
1176
- :type use_topology_distance: typing.Optional[typing.Union[bool, typing.Any]]
1092
+ :type use_topology_distance: bool | typing.Any | None
1177
1093
  :param use_fill: Fill Region, Select all paths between the source/destination elements
1178
- :type use_fill: typing.Optional[typing.Union[bool, typing.Any]]
1094
+ :type use_fill: bool | typing.Any | None
1179
1095
  :param skip: Deselected, Number of deselected elements in the repetitive sequence
1180
- :type skip: typing.Optional[typing.Any]
1096
+ :type skip: typing.Any | None
1181
1097
  :param nth: Selected, Number of selected elements in the repetitive sequence
1182
- :type nth: typing.Optional[typing.Any]
1098
+ :type nth: typing.Any | None
1183
1099
  :param offset: Offset, Offset from the starting point
1184
- :type offset: typing.Optional[typing.Any]
1185
- :type object_index: typing.Optional[typing.Any]
1186
- :type index: typing.Optional[typing.Any]
1100
+ :type offset: typing.Any | None
1101
+ :type object_index: typing.Any | None
1102
+ :type index: typing.Any | None
1187
1103
  """
1188
1104
 
1189
1105
  ...
1190
1106
 
1191
1107
  def shortest_path_select(
1192
- override_context: typing.Optional[
1193
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1194
- ] = None,
1195
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1196
- undo: typing.Optional[bool] = None,
1197
- use_face_step: typing.Optional[typing.Union[bool, typing.Any]] = False,
1198
- use_topology_distance: typing.Optional[typing.Union[bool, typing.Any]] = False,
1199
- use_fill: typing.Optional[typing.Union[bool, typing.Any]] = False,
1200
- skip: typing.Optional[typing.Any] = 0,
1201
- nth: typing.Optional[typing.Any] = 1,
1202
- offset: typing.Optional[typing.Any] = 0,
1108
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1109
+ execution_context: str | int | None = None,
1110
+ undo: bool | None = None,
1111
+ use_face_step: bool | typing.Any | None = False,
1112
+ use_topology_distance: bool | typing.Any | None = False,
1113
+ use_fill: bool | typing.Any | None = False,
1114
+ skip: typing.Any | None = 0,
1115
+ nth: typing.Any | None = 1,
1116
+ offset: typing.Any | None = 0,
1203
1117
  ):
1204
1118
  """Selected shortest path between two vertices/edges/faces
1205
1119
 
1206
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1207
- :type execution_context: typing.Optional[typing.Union[str, int]]
1208
- :type undo: typing.Optional[bool]
1120
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1121
+ :type execution_context: str | int | None
1122
+ :type undo: bool | None
1209
1123
  :param use_face_step: Face Stepping, Traverse connected faces (includes diagonals and edge-rings)
1210
- :type use_face_step: typing.Optional[typing.Union[bool, typing.Any]]
1124
+ :type use_face_step: bool | typing.Any | None
1211
1125
  :param use_topology_distance: Topology Distance, Find the minimum number of steps, ignoring spatial distance
1212
- :type use_topology_distance: typing.Optional[typing.Union[bool, typing.Any]]
1126
+ :type use_topology_distance: bool | typing.Any | None
1213
1127
  :param use_fill: Fill Region, Select all paths between the source/destination elements
1214
- :type use_fill: typing.Optional[typing.Union[bool, typing.Any]]
1128
+ :type use_fill: bool | typing.Any | None
1215
1129
  :param skip: Deselected, Number of deselected elements in the repetitive sequence
1216
- :type skip: typing.Optional[typing.Any]
1130
+ :type skip: typing.Any | None
1217
1131
  :param nth: Selected, Number of selected elements in the repetitive sequence
1218
- :type nth: typing.Optional[typing.Any]
1132
+ :type nth: typing.Any | None
1219
1133
  :param offset: Offset, Offset from the starting point
1220
- :type offset: typing.Optional[typing.Any]
1134
+ :type offset: typing.Any | None
1221
1135
  """
1222
1136
 
1223
1137
  ...
1224
1138
 
1225
1139
  def smart_project(
1226
- override_context: typing.Optional[
1227
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1228
- ] = None,
1229
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1230
- undo: typing.Optional[bool] = None,
1231
- angle_limit: typing.Optional[typing.Any] = 1.15192,
1232
- margin_method: typing.Optional[typing.Any] = "SCALED",
1233
- rotate_method: typing.Optional[typing.Any] = "AXIS_ALIGNED_Y",
1234
- island_margin: typing.Optional[typing.Any] = 0.0,
1235
- area_weight: typing.Optional[typing.Any] = 0.0,
1236
- correct_aspect: typing.Optional[typing.Union[bool, typing.Any]] = True,
1237
- scale_to_bounds: typing.Optional[typing.Union[bool, typing.Any]] = False,
1140
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1141
+ execution_context: str | int | None = None,
1142
+ undo: bool | None = None,
1143
+ angle_limit: typing.Any | None = 1.15192,
1144
+ margin_method: typing.Any | None = "SCALED",
1145
+ rotate_method: typing.Any | None = "AXIS_ALIGNED_Y",
1146
+ island_margin: typing.Any | None = 0.0,
1147
+ area_weight: typing.Any | None = 0.0,
1148
+ correct_aspect: bool | typing.Any | None = True,
1149
+ scale_to_bounds: bool | typing.Any | None = False,
1238
1150
  ):
1239
1151
  """Projection unwraps the selected faces of mesh objects
1240
1152
 
1241
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1242
- :type execution_context: typing.Optional[typing.Union[str, int]]
1243
- :type undo: typing.Optional[bool]
1153
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1154
+ :type execution_context: str | int | None
1155
+ :type undo: bool | None
1244
1156
  :param angle_limit: Angle Limit, Lower for more projection groups, higher for less distortion
1245
- :type angle_limit: typing.Optional[typing.Any]
1157
+ :type angle_limit: typing.Any | None
1246
1158
  :param margin_method: Margin Method
1247
1159
 
1248
1160
  SCALED
@@ -1253,7 +1165,7 @@ def smart_project(
1253
1165
 
1254
1166
  FRACTION
1255
1167
  Fraction -- Specify a precise fraction of final UV output.
1256
- :type margin_method: typing.Optional[typing.Any]
1168
+ :type margin_method: typing.Any | None
1257
1169
  :param rotate_method: Rotation Method
1258
1170
 
1259
1171
  AXIS_ALIGNED
@@ -1264,76 +1176,70 @@ def smart_project(
1264
1176
 
1265
1177
  AXIS_ALIGNED_Y
1266
1178
  Axis-aligned (Vertical) -- Rotate islands to be aligned vertically.
1267
- :type rotate_method: typing.Optional[typing.Any]
1179
+ :type rotate_method: typing.Any | None
1268
1180
  :param island_margin: Island Margin, Margin to reduce bleed from adjacent islands
1269
- :type island_margin: typing.Optional[typing.Any]
1181
+ :type island_margin: typing.Any | None
1270
1182
  :param area_weight: Area Weight, Weight projection's vector by faces with larger areas
1271
- :type area_weight: typing.Optional[typing.Any]
1183
+ :type area_weight: typing.Any | None
1272
1184
  :param correct_aspect: Correct Aspect, Map UVs taking image aspect ratio into account
1273
- :type correct_aspect: typing.Optional[typing.Union[bool, typing.Any]]
1185
+ :type correct_aspect: bool | typing.Any | None
1274
1186
  :param scale_to_bounds: Scale to Bounds, Scale UV coordinates to bounds after unwrapping
1275
- :type scale_to_bounds: typing.Optional[typing.Union[bool, typing.Any]]
1187
+ :type scale_to_bounds: bool | typing.Any | None
1276
1188
  """
1277
1189
 
1278
1190
  ...
1279
1191
 
1280
1192
  def snap_cursor(
1281
- override_context: typing.Optional[
1282
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1283
- ] = None,
1284
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1285
- undo: typing.Optional[bool] = None,
1286
- target: typing.Optional[typing.Any] = "PIXELS",
1193
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1194
+ execution_context: str | int | None = None,
1195
+ undo: bool | None = None,
1196
+ target: typing.Any | None = "PIXELS",
1287
1197
  ):
1288
1198
  """Snap cursor to target type
1289
1199
 
1290
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1291
- :type execution_context: typing.Optional[typing.Union[str, int]]
1292
- :type undo: typing.Optional[bool]
1200
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1201
+ :type execution_context: str | int | None
1202
+ :type undo: bool | None
1293
1203
  :param target: Target, Target to snap the selected UVs to
1294
- :type target: typing.Optional[typing.Any]
1204
+ :type target: typing.Any | None
1295
1205
  """
1296
1206
 
1297
1207
  ...
1298
1208
 
1299
1209
  def snap_selected(
1300
- override_context: typing.Optional[
1301
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1302
- ] = None,
1303
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1304
- undo: typing.Optional[bool] = None,
1305
- target: typing.Optional[typing.Any] = "PIXELS",
1210
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1211
+ execution_context: str | int | None = None,
1212
+ undo: bool | None = None,
1213
+ target: typing.Any | None = "PIXELS",
1306
1214
  ):
1307
1215
  """Snap selected UV vertices to target type
1308
1216
 
1309
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1310
- :type execution_context: typing.Optional[typing.Union[str, int]]
1311
- :type undo: typing.Optional[bool]
1217
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1218
+ :type execution_context: str | int | None
1219
+ :type undo: bool | None
1312
1220
  :param target: Target, Target to snap the selected UVs to
1313
- :type target: typing.Optional[typing.Any]
1221
+ :type target: typing.Any | None
1314
1222
  """
1315
1223
 
1316
1224
  ...
1317
1225
 
1318
1226
  def sphere_project(
1319
- override_context: typing.Optional[
1320
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1321
- ] = None,
1322
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1323
- undo: typing.Optional[bool] = None,
1324
- direction: typing.Optional[typing.Any] = "VIEW_ON_EQUATOR",
1325
- align: typing.Optional[typing.Any] = "POLAR_ZX",
1326
- pole: typing.Optional[typing.Any] = "PINCH",
1327
- seam: typing.Optional[typing.Union[bool, typing.Any]] = False,
1328
- correct_aspect: typing.Optional[typing.Union[bool, typing.Any]] = True,
1329
- clip_to_bounds: typing.Optional[typing.Union[bool, typing.Any]] = False,
1330
- scale_to_bounds: typing.Optional[typing.Union[bool, typing.Any]] = False,
1227
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1228
+ execution_context: str | int | None = None,
1229
+ 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",
1233
+ seam: bool | typing.Any | None = False,
1234
+ correct_aspect: bool | typing.Any | None = True,
1235
+ clip_to_bounds: bool | typing.Any | None = False,
1236
+ scale_to_bounds: bool | typing.Any | None = False,
1331
1237
  ):
1332
1238
  """Project the UV vertices of the mesh over the curved surface of a sphere
1333
1239
 
1334
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1335
- :type execution_context: typing.Optional[typing.Union[str, int]]
1336
- :type undo: typing.Optional[bool]
1240
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1241
+ :type execution_context: str | int | None
1242
+ :type undo: bool | None
1337
1243
  :param direction: Direction, Direction of the sphere or cylinder
1338
1244
 
1339
1245
  VIEW_ON_EQUATOR
@@ -1344,7 +1250,7 @@ def sphere_project(
1344
1250
 
1345
1251
  ALIGN_TO_OBJECT
1346
1252
  Align to Object -- Align according to object transform.
1347
- :type direction: typing.Optional[typing.Any]
1253
+ :type direction: typing.Any | None
1348
1254
  :param align: Align, How to determine rotation around the pole
1349
1255
 
1350
1256
  POLAR_ZX
@@ -1352,7 +1258,7 @@ def sphere_project(
1352
1258
 
1353
1259
  POLAR_ZY
1354
1260
  Polar ZY -- Polar 0 is Y.
1355
- :type align: typing.Optional[typing.Any]
1261
+ :type align: typing.Any | None
1356
1262
  :param pole: Pole, How to handle faces at the poles
1357
1263
 
1358
1264
  PINCH
@@ -1360,96 +1266,90 @@ def sphere_project(
1360
1266
 
1361
1267
  FAN
1362
1268
  Fan -- UVs are fanned at the poles.
1363
- :type pole: typing.Optional[typing.Any]
1269
+ :type pole: typing.Any | None
1364
1270
  :param seam: Preserve Seams, Separate projections by islands isolated by seams
1365
- :type seam: typing.Optional[typing.Union[bool, typing.Any]]
1271
+ :type seam: bool | typing.Any | None
1366
1272
  :param correct_aspect: Correct Aspect, Map UVs taking image aspect ratio into account
1367
- :type correct_aspect: typing.Optional[typing.Union[bool, typing.Any]]
1273
+ :type correct_aspect: bool | typing.Any | None
1368
1274
  :param clip_to_bounds: Clip to Bounds, Clip UV coordinates to bounds after unwrapping
1369
- :type clip_to_bounds: typing.Optional[typing.Union[bool, typing.Any]]
1275
+ :type clip_to_bounds: bool | typing.Any | None
1370
1276
  :param scale_to_bounds: Scale to Bounds, Scale UV coordinates to bounds after unwrapping
1371
- :type scale_to_bounds: typing.Optional[typing.Union[bool, typing.Any]]
1277
+ :type scale_to_bounds: bool | typing.Any | None
1372
1278
  """
1373
1279
 
1374
1280
  ...
1375
1281
 
1376
1282
  def stitch(
1377
- override_context: typing.Optional[
1378
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1379
- ] = None,
1380
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1381
- undo: typing.Optional[bool] = None,
1382
- use_limit: typing.Optional[typing.Union[bool, typing.Any]] = False,
1383
- snap_islands: typing.Optional[typing.Union[bool, typing.Any]] = True,
1384
- limit: typing.Optional[typing.Any] = 0.01,
1385
- static_island: typing.Optional[typing.Any] = 0,
1386
- active_object_index: typing.Optional[typing.Any] = 0,
1387
- midpoint_snap: typing.Optional[typing.Union[bool, typing.Any]] = False,
1388
- clear_seams: typing.Optional[typing.Union[bool, typing.Any]] = True,
1389
- mode: typing.Optional[typing.Any] = "VERTEX",
1390
- stored_mode: typing.Optional[typing.Any] = "VERTEX",
1391
- selection: typing.Optional[
1392
- bpy.types.bpy_prop_collection[bpy.types.SelectedUvElement]
1393
- ] = None,
1394
- objects_selection_count: typing.Optional[typing.Any] = (0, 0, 0, 0, 0, 0),
1283
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1284
+ execution_context: str | int | None = None,
1285
+ undo: bool | None = None,
1286
+ use_limit: bool | typing.Any | None = False,
1287
+ snap_islands: bool | typing.Any | None = True,
1288
+ limit: typing.Any | None = 0.01,
1289
+ static_island: typing.Any | None = 0,
1290
+ active_object_index: typing.Any | None = 0,
1291
+ midpoint_snap: bool | typing.Any | None = False,
1292
+ clear_seams: bool | typing.Any | None = True,
1293
+ mode: typing.Any | None = "VERTEX",
1294
+ stored_mode: typing.Any | None = "VERTEX",
1295
+ selection: bpy.types.bpy_prop_collection[bpy.types.SelectedUvElement] | None = None,
1296
+ objects_selection_count: typing.Any | None = (0, 0, 0, 0, 0, 0),
1395
1297
  ):
1396
1298
  """Stitch selected UV vertices by proximity
1397
1299
 
1398
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1399
- :type execution_context: typing.Optional[typing.Union[str, int]]
1400
- :type undo: typing.Optional[bool]
1300
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1301
+ :type execution_context: str | int | None
1302
+ :type undo: bool | None
1401
1303
  :param use_limit: Use Limit, Stitch UVs within a specified limit distance
1402
- :type use_limit: typing.Optional[typing.Union[bool, typing.Any]]
1304
+ :type use_limit: bool | typing.Any | None
1403
1305
  :param snap_islands: Snap Islands, Snap islands together (on edge stitch mode, rotates the islands too)
1404
- :type snap_islands: typing.Optional[typing.Union[bool, typing.Any]]
1306
+ :type snap_islands: bool | typing.Any | None
1405
1307
  :param limit: Limit, Limit distance in normalized coordinates
1406
- :type limit: typing.Optional[typing.Any]
1308
+ :type limit: typing.Any | None
1407
1309
  :param static_island: Static Island, Island that stays in place when stitching islands
1408
- :type static_island: typing.Optional[typing.Any]
1310
+ :type static_island: typing.Any | None
1409
1311
  :param active_object_index: Active Object, Index of the active object
1410
- :type active_object_index: typing.Optional[typing.Any]
1312
+ :type active_object_index: typing.Any | None
1411
1313
  :param midpoint_snap: Snap at Midpoint, UVs are stitched at midpoint instead of at static island
1412
- :type midpoint_snap: typing.Optional[typing.Union[bool, typing.Any]]
1314
+ :type midpoint_snap: bool | typing.Any | None
1413
1315
  :param clear_seams: Clear Seams, Clear seams of stitched edges
1414
- :type clear_seams: typing.Optional[typing.Union[bool, typing.Any]]
1316
+ :type clear_seams: bool | typing.Any | None
1415
1317
  :param mode: Operation Mode, Use vertex or edge stitching
1416
- :type mode: typing.Optional[typing.Any]
1318
+ :type mode: typing.Any | None
1417
1319
  :param stored_mode: Stored Operation Mode, Use vertex or edge stitching
1418
- :type stored_mode: typing.Optional[typing.Any]
1320
+ :type stored_mode: typing.Any | None
1419
1321
  :param selection: Selection
1420
- :type selection: typing.Optional[bpy.types.bpy_prop_collection[bpy.types.SelectedUvElement]]
1322
+ :type selection: bpy.types.bpy_prop_collection[bpy.types.SelectedUvElement] | None
1421
1323
  :param objects_selection_count: Objects Selection Count
1422
- :type objects_selection_count: typing.Optional[typing.Any]
1324
+ :type objects_selection_count: typing.Any | None
1423
1325
  """
1424
1326
 
1425
1327
  ...
1426
1328
 
1427
1329
  def unwrap(
1428
- override_context: typing.Optional[
1429
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1430
- ] = None,
1431
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1432
- undo: typing.Optional[bool] = None,
1433
- method: typing.Optional[typing.Any] = "ANGLE_BASED",
1434
- fill_holes: typing.Optional[typing.Union[bool, typing.Any]] = True,
1435
- correct_aspect: typing.Optional[typing.Union[bool, typing.Any]] = True,
1436
- use_subsurf_data: typing.Optional[typing.Union[bool, typing.Any]] = False,
1437
- margin_method: typing.Optional[typing.Any] = "SCALED",
1438
- margin: typing.Optional[typing.Any] = 0.001,
1330
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1331
+ execution_context: str | int | None = None,
1332
+ undo: bool | None = None,
1333
+ method: typing.Any | None = "ANGLE_BASED",
1334
+ fill_holes: bool | typing.Any | None = True,
1335
+ correct_aspect: bool | typing.Any | None = True,
1336
+ use_subsurf_data: bool | typing.Any | None = False,
1337
+ margin_method: typing.Any | None = "SCALED",
1338
+ margin: typing.Any | None = 0.001,
1439
1339
  ):
1440
1340
  """Unwrap the mesh of the object being edited
1441
1341
 
1442
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1443
- :type execution_context: typing.Optional[typing.Union[str, int]]
1444
- :type undo: typing.Optional[bool]
1342
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1343
+ :type execution_context: str | int | None
1344
+ :type undo: bool | None
1445
1345
  :param method: Method, Unwrapping method (Angle Based usually gives better results than Conformal, while being somewhat slower)
1446
- :type method: typing.Optional[typing.Any]
1346
+ :type method: typing.Any | None
1447
1347
  :param fill_holes: Fill Holes, Virtually fill holes in mesh before unwrapping, to better avoid overlaps and preserve symmetry
1448
- :type fill_holes: typing.Optional[typing.Union[bool, typing.Any]]
1348
+ :type fill_holes: bool | typing.Any | None
1449
1349
  :param correct_aspect: Correct Aspect, Map UVs taking image aspect ratio into account
1450
- :type correct_aspect: typing.Optional[typing.Union[bool, typing.Any]]
1350
+ :type correct_aspect: bool | typing.Any | None
1451
1351
  :param use_subsurf_data: Use Subdivision Surface, Map UVs taking vertex position after Subdivision Surface modifier has been applied
1452
- :type use_subsurf_data: typing.Optional[typing.Union[bool, typing.Any]]
1352
+ :type use_subsurf_data: bool | typing.Any | None
1453
1353
  :param margin_method: Margin Method
1454
1354
 
1455
1355
  SCALED
@@ -1460,25 +1360,23 @@ def unwrap(
1460
1360
 
1461
1361
  FRACTION
1462
1362
  Fraction -- Specify a precise fraction of final UV output.
1463
- :type margin_method: typing.Optional[typing.Any]
1363
+ :type margin_method: typing.Any | None
1464
1364
  :param margin: Margin, Space between islands
1465
- :type margin: typing.Optional[typing.Any]
1365
+ :type margin: typing.Any | None
1466
1366
  """
1467
1367
 
1468
1368
  ...
1469
1369
 
1470
1370
  def weld(
1471
- override_context: typing.Optional[
1472
- typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1473
- ] = None,
1474
- execution_context: typing.Optional[typing.Union[str, int]] = None,
1475
- undo: typing.Optional[bool] = None,
1371
+ override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1372
+ execution_context: str | int | None = None,
1373
+ undo: bool | None = None,
1476
1374
  ):
1477
1375
  """Weld selected UV vertices together
1478
1376
 
1479
- :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1480
- :type execution_context: typing.Optional[typing.Union[str, int]]
1481
- :type undo: typing.Optional[bool]
1377
+ :type override_context: dict[str, typing.Any] | bpy.types.Context | None
1378
+ :type execution_context: str | int | None
1379
+ :type undo: bool | None
1482
1380
  """
1483
1381
 
1484
1382
  ...