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