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