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