fake-bpy-module 20240517__py3-none-any.whl → 20240519__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fake-bpy-module might be problematic. Click here for more details.
- _bpy_internal/__init__.pyi +2 -1
- _bpy_internal/freedesktop/__init__.pyi +20 -86
- addon_utils/__init__.pyi +7 -31
- animsys_refactor/__init__.pyi +7 -26
- aud/__init__.pyi +3 -5
- bgl/__init__.pyi +2 -1630
- bl_app_override/__init__.pyi +5 -15
- bl_app_override/helpers/__init__.pyi +4 -23
- bl_app_template_utils/__init__.pyi +5 -16
- bl_console_utils/__init__.pyi +2 -1
- bl_console_utils/autocomplete/__init__.pyi +2 -1
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +2 -1
- bl_console_utils/autocomplete/complete_import/__init__.pyi +2 -1
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -1
- bl_console_utils/autocomplete/intellisense/__init__.pyi +2 -1
- bl_i18n_utils/__init__.pyi +2 -1
- bl_i18n_utils/bl_extract_messages/__init__.pyi +15 -65
- bl_i18n_utils/merge_po/__init__.pyi +3 -5
- bl_i18n_utils/settings/__init__.pyi +4 -23
- bl_i18n_utils/utils/__init__.pyi +10 -66
- bl_i18n_utils/utils_cli/__init__.pyi +9 -31
- bl_i18n_utils/utils_languages_menu/__init__.pyi +3 -5
- bl_i18n_utils/utils_rtl/__init__.pyi +2 -1
- bl_keymap_utils/__init__.pyi +2 -1
- bl_keymap_utils/io/__init__.pyi +10 -40
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +3 -5
- bl_keymap_utils/platform_helpers/__init__.pyi +3 -6
- bl_keymap_utils/versioning/__init__.pyi +3 -5
- bl_math/__init__.pyi +2 -1
- bl_operators/__init__.pyi +4 -10
- bl_operators/add_mesh_torus/__init__.pyi +4 -19
- bl_operators/anim/__init__.pyi +2 -71
- bl_operators/assets/__init__.pyi +2 -30
- bl_operators/bmesh/__init__.pyi +2 -1
- bl_operators/bmesh/find_adjacent/__init__.pyi +9 -35
- bl_operators/clip/__init__.pyi +7 -115
- bl_operators/console/__init__.pyi +2 -38
- bl_operators/constraint/__init__.pyi +2 -37
- bl_operators/file/__init__.pyi +2 -28
- bl_operators/freestyle/__init__.pyi +2 -37
- bl_operators/geometry_nodes/__init__.pyi +15 -103
- bl_operators/image/__init__.pyi +2 -52
- bl_operators/mesh/__init__.pyi +2 -28
- bl_operators/node/__init__.pyi +2 -105
- bl_operators/object/__init__.pyi +2 -138
- bl_operators/object_align/__init__.pyi +5 -24
- bl_operators/object_quick_effects/__init__.pyi +4 -49
- bl_operators/object_randomize_transform/__init__.pyi +5 -14
- bl_operators/presets/__init__.pyi +4 -376
- bl_operators/rigidbody/__init__.pyi +2 -28
- bl_operators/screen_play_rendered_anim/__init__.pyi +3 -14
- bl_operators/sequencer/__init__.pyi +3 -104
- bl_operators/spreadsheet/__init__.pyi +2 -10
- bl_operators/userpref/__init__.pyi +3 -201
- bl_operators/uvcalc_follow_active/__init__.pyi +4 -19
- bl_operators/uvcalc_lightmap/__init__.pyi +4 -34
- bl_operators/uvcalc_transform/__init__.pyi +13 -73
- bl_operators/vertexpaint_dirt/__init__.pyi +4 -19
- bl_operators/view3d/__init__.pyi +2 -64
- bl_operators/wm/__init__.pyi +16 -451
- bl_operators/world/__init__.pyi +2 -10
- bl_previews_utils/__init__.pyi +2 -1
- bl_previews_utils/bl_previews_render/__init__.pyi +10 -36
- bl_rna_utils/__init__.pyi +2 -1
- bl_rna_utils/data_path/__init__.pyi +2 -2
- bl_text_utils/__init__.pyi +2 -1
- bl_text_utils/external_editor/__init__.pyi +3 -5
- bl_ui/__init__.pyi +32 -141
- bl_ui/anim/__init__.pyi +3 -12
- bl_ui/asset_shelf/__init__.pyi +3 -16
- bl_ui/generic_ui_list/__init__.pyi +4 -31
- bl_ui/node_add_menu/__init__.pyi +6 -28
- bl_ui/node_add_menu_compositor/__init__.pyi +20 -237
- bl_ui/node_add_menu_geometry/__init__.pyi +50 -629
- bl_ui/node_add_menu_shader/__init__.pyi +20 -170
- bl_ui/node_add_menu_texture/__init__.pyi +11 -118
- bl_ui/properties_animviz/__init__.pyi +2 -15
- bl_ui/properties_collection/__init__.pyi +9 -112
- bl_ui/properties_constraint/__init__.pyi +81 -1524
- bl_ui/properties_data_armature/__init__.pyi +14 -214
- bl_ui/properties_data_bone/__init__.pyi +12 -198
- bl_ui/properties_data_camera/__init__.pyi +17 -312
- bl_ui/properties_data_curve/__init__.pyi +17 -319
- bl_ui/properties_data_curves/__init__.pyi +8 -108
- bl_ui/properties_data_empty/__init__.pyi +4 -44
- bl_ui/properties_data_gpencil/__init__.pyi +20 -350
- bl_ui/properties_data_grease_pencil/__init__.pyi +16 -257
- bl_ui/properties_data_lattice/__init__.pyi +5 -65
- bl_ui/properties_data_light/__init__.pyi +14 -264
- bl_ui/properties_data_lightprobe/__init__.pyi +15 -277
- bl_ui/properties_data_mesh/__init__.pyi +23 -325
- bl_ui/properties_data_metaball/__init__.pyi +7 -103
- bl_ui/properties_data_modifier/__init__.pyi +10 -178
- bl_ui/properties_data_pointcloud/__init__.pyi +7 -89
- bl_ui/properties_data_shaderfx/__init__.pyi +3 -27
- bl_ui/properties_data_speaker/__init__.pyi +7 -111
- bl_ui/properties_data_volume/__init__.pyi +10 -156
- bl_ui/properties_freestyle/__init__.pyi +31 -615
- bl_ui/properties_grease_pencil_common/__init__.pyi +17 -216
- bl_ui/properties_mask_common/__init__.pyi +10 -111
- bl_ui/properties_material/__init__.pyi +20 -331
- bl_ui/properties_material_gpencil/__init__.pyi +12 -182
- bl_ui/properties_object/__init__.pyi +16 -276
- bl_ui/properties_output/__init__.pyi +20 -370
- bl_ui/properties_paint_common/__init__.pyi +14 -106
- bl_ui/properties_particle/__init__.pyi +58 -1159
- bl_ui/properties_physics_cloth/__init__.pyi +17 -314
- bl_ui/properties_physics_common/__init__.pyi +9 -58
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +24 -490
- bl_ui/properties_physics_field/__init__.pyi +13 -218
- bl_ui/properties_physics_fluid/__init__.pyi +30 -626
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +3 -20
- bl_ui/properties_physics_rigidbody/__init__.pyi +11 -188
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +15 -279
- bl_ui/properties_physics_softbody/__init__.pyi +18 -353
- bl_ui/properties_render/__init__.pyi +56 -1146
- bl_ui/properties_scene/__init__.pyi +17 -298
- bl_ui/properties_texture/__init__.pyi +30 -577
- bl_ui/properties_view_layer/__init__.pyi +20 -346
- bl_ui/properties_workspace/__init__.pyi +6 -80
- bl_ui/properties_world/__init__.pyi +12 -220
- bl_ui/space_clip/__init__.pyi +73 -1090
- bl_ui/space_console/__init__.pyi +9 -73
- bl_ui/space_dopesheet/__init__.pyi +33 -485
- bl_ui/space_filebrowser/__init__.pyi +36 -431
- bl_ui/space_graph/__init__.pyi +22 -237
- bl_ui/space_image/__init__.pyi +70 -1089
- bl_ui/space_info/__init__.pyi +8 -71
- bl_ui/space_nla/__init__.pyi +19 -210
- bl_ui/space_node/__init__.pyi +32 -436
- bl_ui/space_outliner/__init__.pyi +17 -165
- bl_ui/space_properties/__init__.pyi +5 -42
- bl_ui/space_sequencer/__init__.pyi +79 -1142
- bl_ui/space_spreadsheet/__init__.pyi +3 -12
- bl_ui/space_statusbar/__init__.pyi +3 -12
- bl_ui/space_text/__init__.pyi +18 -193
- bl_ui/space_time/__init__.pyi +10 -111
- bl_ui/space_toolsystem_common/__init__.pyi +42 -200
- bl_ui/space_toolsystem_toolbar/__init__.pyi +119 -863
- bl_ui/space_topbar/__init__.pyi +29 -335
- bl_ui/space_userpref/__init__.pyi +94 -1576
- bl_ui/space_view3d/__init__.pyi +271 -3438
- bl_ui/space_view3d_toolbar/__init__.pyi +95 -1899
- bl_ui/temp_anim_layers/__init__.pyi +4 -22
- bl_ui/utils/__init__.pyi +2 -8
- bl_ui_utils/__init__.pyi +2 -1
- bl_ui_utils/bug_report_url/__init__.pyi +3 -5
- bl_ui_utils/layout/__init__.pyi +2 -1
- blend_render_info/__init__.pyi +4 -10
- blf/__init__.pyi +2 -1
- bmesh/__init__.pyi +2 -1
- bmesh/geometry/__init__.pyi +2 -1
- bmesh/ops/__init__.pyi +2 -1
- bmesh/types/__init__.pyi +29 -45
- bmesh/utils/__init__.pyi +2 -1
- bpy/__init__.pyi +2 -1
- bpy/app/__init__.pyi +2 -1
- bpy/app/handlers/__init__.pyi +2 -1
- bpy/app/icons/__init__.pyi +2 -1
- bpy/app/timers/__init__.pyi +8 -15
- bpy/app/translations/__init__.pyi +2 -1
- bpy/msgbus/__init__.pyi +2 -1
- bpy/ops/__init__.pyi +2 -1
- bpy/ops/action/__init__.pyi +22 -21
- bpy/ops/anim/__init__.pyi +32 -31
- bpy/ops/armature/__init__.pyi +22 -21
- bpy/ops/asset/__init__.pyi +8 -7
- bpy/ops/bl_pkg/__init__.pyi +4 -3
- bpy/ops/boid/__init__.pyi +2 -1
- bpy/ops/brush/__init__.pyi +10 -9
- bpy/ops/buttons/__init__.pyi +10 -9
- bpy/ops/cachefile/__init__.pyi +12 -11
- bpy/ops/camera/__init__.pyi +2 -1
- bpy/ops/clip/__init__.pyi +38 -37
- bpy/ops/cloth/__init__.pyi +2 -1
- bpy/ops/collection/__init__.pyi +8 -7
- bpy/ops/console/__init__.pyi +8 -7
- bpy/ops/constraint/__init__.pyi +30 -29
- bpy/ops/curve/__init__.pyi +32 -31
- bpy/ops/curves/__init__.pyi +10 -9
- bpy/ops/cycles/__init__.pyi +2 -1
- bpy/ops/dpaint/__init__.pyi +4 -3
- bpy/ops/ed/__init__.pyi +6 -5
- bpy/ops/export_anim/__init__.pyi +4 -3
- bpy/ops/export_scene/__init__.pyi +40 -39
- bpy/ops/file/__init__.pyi +20 -19
- bpy/ops/fluid/__init__.pyi +2 -1
- bpy/ops/font/__init__.pyi +22 -21
- bpy/ops/geometry/__init__.pyi +4 -3
- bpy/ops/gizmogroup/__init__.pyi +2 -1
- bpy/ops/gpencil/__init__.pyi +134 -133
- bpy/ops/graph/__init__.pyi +40 -39
- bpy/ops/grease_pencil/__init__.pyi +42 -41
- bpy/ops/image/__init__.pyi +22 -21
- bpy/ops/import_anim/__init__.pyi +10 -9
- bpy/ops/import_curve/__init__.pyi +2 -1
- bpy/ops/import_scene/__init__.pyi +20 -19
- bpy/ops/info/__init__.pyi +6 -5
- bpy/ops/lattice/__init__.pyi +8 -7
- bpy/ops/marker/__init__.pyi +10 -9
- bpy/ops/mask/__init__.pyi +14 -13
- bpy/ops/material/__init__.pyi +2 -1
- bpy/ops/mball/__init__.pyi +8 -7
- bpy/ops/mesh/__init__.pyi +112 -111
- bpy/ops/nla/__init__.pyi +16 -15
- bpy/ops/node/__init__.pyi +32 -31
- bpy/ops/object/__init__.pyi +186 -185
- bpy/ops/outliner/__init__.pyi +38 -37
- bpy/ops/paint/__init__.pyi +50 -49
- bpy/ops/paintcurve/__init__.pyi +2 -1
- bpy/ops/palette/__init__.pyi +6 -5
- bpy/ops/particle/__init__.pyi +16 -15
- bpy/ops/pose/__init__.pyi +32 -31
- bpy/ops/poselib/__init__.pyi +2 -1
- bpy/ops/preferences/__init__.pyi +14 -13
- bpy/ops/ptcache/__init__.pyi +2 -1
- bpy/ops/render/__init__.pyi +4 -3
- bpy/ops/rigidbody/__init__.pyi +10 -9
- bpy/ops/scene/__init__.pyi +18 -17
- bpy/ops/screen/__init__.pyi +16 -15
- bpy/ops/script/__init__.pyi +2 -1
- bpy/ops/sculpt/__init__.pyi +68 -67
- bpy/ops/sculpt_curves/__init__.pyi +4 -3
- bpy/ops/sequencer/__init__.pyi +74 -73
- bpy/ops/sound/__init__.pyi +20 -19
- bpy/ops/spreadsheet/__init__.pyi +2 -1
- bpy/ops/surface/__init__.pyi +14 -13
- bpy/ops/text/__init__.pyi +24 -23
- bpy/ops/text_editor/__init__.pyi +2 -1
- bpy/ops/texture/__init__.pyi +4 -3
- bpy/ops/transform/__init__.pyi +32 -31
- bpy/ops/ui/__init__.pyi +8 -7
- bpy/ops/uilist/__init__.pyi +4 -3
- bpy/ops/uv/__init__.pyi +66 -65
- bpy/ops/view2d/__init__.pyi +2 -1
- bpy/ops/view3d/__init__.pyi +36 -35
- bpy/ops/wm/__init__.pyi +191 -187
- bpy/ops/workspace/__init__.pyi +2 -1
- bpy/ops/world/__init__.pyi +2 -1
- bpy/path/__init__.pyi +2 -1
- bpy/props/__init__.pyi +2 -1
- bpy/types/__init__.pyi +546 -4852
- bpy/utils/__init__.pyi +16 -71
- bpy/utils/previews/__init__.pyi +2 -1
- bpy/utils/units/__init__.pyi +2 -1
- bpy_extras/__init__.pyi +2 -1
- bpy_extras/anim_utils/__init__.pyi +2 -2
- bpy_extras/asset_utils/__init__.pyi +2 -11
- bpy_extras/bmesh_utils/__init__.pyi +3 -5
- bpy_extras/extensions/__init__.pyi +2 -1
- bpy_extras/extensions/junction_module/__init__.pyi +3 -7
- bpy_extras/id_map_utils/__init__.pyi +2 -1
- bpy_extras/image_utils/__init__.pyi +2 -1
- bpy_extras/io_utils/__init__.pyi +6 -25
- bpy_extras/keyconfig_utils/__init__.pyi +4 -10
- bpy_extras/mesh_utils/__init__.pyi +2 -1
- bpy_extras/node_shader_utils/__init__.pyi +46 -286
- bpy_extras/node_utils/__init__.pyi +4 -10
- bpy_extras/object_utils/__init__.pyi +2 -3
- bpy_extras/view3d_utils/__init__.pyi +2 -1
- bpy_extras/wm_utils/__init__.pyi +2 -1
- bpy_extras/wm_utils/progress_report/__init__.pyi +4 -29
- bpy_restrict_state/__init__.pyi +3 -15
- bpy_types/__init__.pyi +10 -275
- console_python/__init__.pyi +8 -37
- console_shell/__init__.pyi +8 -26
- {fake_bpy_module-20240517.dist-info → fake_bpy_module-20240519.dist-info}/METADATA +1 -1
- fake_bpy_module-20240519.dist-info/RECORD +353 -0
- freestyle/__init__.pyi +2 -1
- freestyle/chainingiterators/__init__.pyi +12 -41
- freestyle/functions/__init__.pyi +9 -34
- freestyle/predicates/__init__.pyi +46 -218
- freestyle/shaders/__init__.pyi +2 -11
- freestyle/types/__init__.pyi +2 -1
- freestyle/utils/ContextFunctions/__init__.pyi +2 -1
- freestyle/utils/__init__.pyi +5 -16
- gpu/__init__.pyi +2 -1
- gpu/capabilities/__init__.pyi +2 -1
- gpu/matrix/__init__.pyi +2 -1
- gpu/platform/__init__.pyi +2 -1
- gpu/select/__init__.pyi +2 -1
- gpu/shader/__init__.pyi +2 -1
- gpu/state/__init__.pyi +2 -1
- gpu/texture/__init__.pyi +2 -1
- gpu/types/__init__.pyi +2 -1
- gpu_extras/__init__.pyi +2 -1
- gpu_extras/batch/__init__.pyi +2 -1
- gpu_extras/presets/__init__.pyi +2 -1
- graphviz_export/__init__.pyi +4 -10
- idprop/__init__.pyi +2 -1
- idprop/types/__init__.pyi +8 -34
- imbuf/__init__.pyi +2 -1
- imbuf/types/__init__.pyi +2 -3
- keyingsets_builtins/__init__.pyi +4 -157
- keyingsets_utils/__init__.pyi +17 -71
- mathutils/__init__.pyi +2 -1
- mathutils/bvhtree/__init__.pyi +2 -3
- mathutils/geometry/__init__.pyi +2 -1
- mathutils/interpolate/__init__.pyi +2 -1
- mathutils/kdtree/__init__.pyi +2 -1
- mathutils/noise/__init__.pyi +2 -1
- nodeitems_builtins/__init__.pyi +7 -31
- nodeitems_utils/__init__.pyi +10 -46
- rna_info/__init__.pyi +24 -201
- rna_keymap_ui/__init__.pyi +9 -31
- rna_prop_ui/__init__.pyi +11 -50
- rna_xml/__init__.pyi +8 -30
- sys_info/__init__.pyi +3 -5
- fake_bpy_module-20240517.dist-info/RECORD +0 -353
- {fake_bpy_module-20240517.dist-info → fake_bpy_module-20240519.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240517.dist-info → fake_bpy_module-20240519.dist-info}/top_level.txt +0 -0
bpy/ops/uv/__init__.pyi
CHANGED
|
@@ -2,13 +2,14 @@ import typing
|
|
|
2
2
|
import bpy.ops.transform
|
|
3
3
|
import bpy.types
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
6
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
6
7
|
|
|
7
8
|
def align(
|
|
8
9
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
9
10
|
execution_context: str | int | None = None,
|
|
10
11
|
undo: bool | None = None,
|
|
11
|
-
axis:
|
|
12
|
+
axis: str | int | None = "ALIGN_AUTO",
|
|
12
13
|
):
|
|
13
14
|
"""Aligns selected UV vertices on a line
|
|
14
15
|
|
|
@@ -34,7 +35,7 @@ def align(
|
|
|
34
35
|
|
|
35
36
|
ALIGN_Y
|
|
36
37
|
Align Horizontally -- Align UV vertices on a horizontal line.
|
|
37
|
-
:type axis:
|
|
38
|
+
:type axis: str | int | None
|
|
38
39
|
"""
|
|
39
40
|
|
|
40
41
|
...
|
|
@@ -43,8 +44,8 @@ def align_rotation(
|
|
|
43
44
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
44
45
|
execution_context: str | int | None = None,
|
|
45
46
|
undo: bool | None = None,
|
|
46
|
-
method:
|
|
47
|
-
axis:
|
|
47
|
+
method: str | int | None = "AUTO",
|
|
48
|
+
axis: str | int | None = "X",
|
|
48
49
|
correct_aspect: bool | typing.Any | None = False,
|
|
49
50
|
):
|
|
50
51
|
"""Align the UV island's rotation
|
|
@@ -62,7 +63,7 @@ def align_rotation(
|
|
|
62
63
|
|
|
63
64
|
GEOMETRY
|
|
64
65
|
Geometry -- Align to Geometry axis.
|
|
65
|
-
:type method:
|
|
66
|
+
:type method: str | int | None
|
|
66
67
|
:param axis: Axis, Axis to align to
|
|
67
68
|
|
|
68
69
|
X
|
|
@@ -73,7 +74,7 @@ def align_rotation(
|
|
|
73
74
|
|
|
74
75
|
Z
|
|
75
76
|
Z -- Z axis.
|
|
76
|
-
:type axis:
|
|
77
|
+
:type axis: str | int | None
|
|
77
78
|
:param correct_aspect: Correct Aspect, Take image aspect ratio into account
|
|
78
79
|
:type correct_aspect: bool | typing.Any | None
|
|
79
80
|
"""
|
|
@@ -161,9 +162,9 @@ def cylinder_project(
|
|
|
161
162
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
162
163
|
execution_context: str | int | None = None,
|
|
163
164
|
undo: bool | None = None,
|
|
164
|
-
direction:
|
|
165
|
-
align:
|
|
166
|
-
pole:
|
|
165
|
+
direction: str | int | None = "VIEW_ON_EQUATOR",
|
|
166
|
+
align: str | int | None = "POLAR_ZX",
|
|
167
|
+
pole: str | int | None = "PINCH",
|
|
167
168
|
seam: bool | typing.Any | None = False,
|
|
168
169
|
radius: typing.Any | None = 1.0,
|
|
169
170
|
correct_aspect: bool | typing.Any | None = True,
|
|
@@ -185,7 +186,7 @@ def cylinder_project(
|
|
|
185
186
|
|
|
186
187
|
ALIGN_TO_OBJECT
|
|
187
188
|
Align to Object -- Align according to object transform.
|
|
188
|
-
:type direction:
|
|
189
|
+
:type direction: str | int | None
|
|
189
190
|
:param align: Align, How to determine rotation around the pole
|
|
190
191
|
|
|
191
192
|
POLAR_ZX
|
|
@@ -193,7 +194,7 @@ def cylinder_project(
|
|
|
193
194
|
|
|
194
195
|
POLAR_ZY
|
|
195
196
|
Polar ZY -- Polar 0 is Y.
|
|
196
|
-
:type align:
|
|
197
|
+
:type align: str | int | None
|
|
197
198
|
:param pole: Pole, How to handle faces at the poles
|
|
198
199
|
|
|
199
200
|
PINCH
|
|
@@ -201,7 +202,7 @@ def cylinder_project(
|
|
|
201
202
|
|
|
202
203
|
FAN
|
|
203
204
|
Fan -- UVs are fanned at the poles.
|
|
204
|
-
:type pole:
|
|
205
|
+
:type pole: str | int | None
|
|
205
206
|
:param seam: Preserve Seams, Separate projections by islands isolated by seams
|
|
206
207
|
:type seam: bool | typing.Any | None
|
|
207
208
|
:param radius: Radius, Radius of the sphere or cylinder
|
|
@@ -222,9 +223,9 @@ def export_layout(
|
|
|
222
223
|
undo: bool | None = None,
|
|
223
224
|
filepath: str | typing.Any = "",
|
|
224
225
|
export_all: bool | typing.Any | None = False,
|
|
225
|
-
export_tiles:
|
|
226
|
+
export_tiles: str | int | None = "NONE",
|
|
226
227
|
modified: bool | typing.Any | None = False,
|
|
227
|
-
mode:
|
|
228
|
+
mode: str | int | None = "PNG",
|
|
228
229
|
size: typing.Any | None = (1024, 1024),
|
|
229
230
|
opacity: typing.Any | None = 0.25,
|
|
230
231
|
check_existing: bool | typing.Any | None = True,
|
|
@@ -248,7 +249,7 @@ def export_layout(
|
|
|
248
249
|
|
|
249
250
|
UV
|
|
250
251
|
UVTILE -- Export tiles in the UVTILE numbering scheme: u(u_tile + 1)_v(v_tile + 1).
|
|
251
|
-
:type export_tiles:
|
|
252
|
+
:type export_tiles: str | int | None
|
|
252
253
|
:param modified: Modified, Exports UVs from the modified mesh
|
|
253
254
|
:type modified: bool | typing.Any | None
|
|
254
255
|
:param mode: Format, File format to export the UV layout to
|
|
@@ -261,7 +262,7 @@ def export_layout(
|
|
|
261
262
|
|
|
262
263
|
PNG
|
|
263
264
|
PNG Image (.png) -- Export the UV layout to a bitmap image.
|
|
264
|
-
:type mode:
|
|
265
|
+
:type mode: str | int | None
|
|
265
266
|
:param size: Size, Dimensions of the exported file
|
|
266
267
|
:type size: typing.Any | None
|
|
267
268
|
:param opacity: Fill Opacity, Set amount of opacity for exported UV layout
|
|
@@ -276,7 +277,7 @@ def follow_active_quads(
|
|
|
276
277
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
277
278
|
execution_context: str | int | None = None,
|
|
278
279
|
undo: bool | None = None,
|
|
279
|
-
mode:
|
|
280
|
+
mode: str | int | None = "LENGTH_AVERAGE",
|
|
280
281
|
):
|
|
281
282
|
"""Follow UVs from active quads along continuous face loops
|
|
282
283
|
|
|
@@ -293,7 +294,7 @@ def follow_active_quads(
|
|
|
293
294
|
|
|
294
295
|
LENGTH_AVERAGE
|
|
295
296
|
Length Average -- Average space UVs edge length of each loop.
|
|
296
|
-
:type mode:
|
|
297
|
+
:type mode: str | int | None
|
|
297
298
|
"""
|
|
298
299
|
|
|
299
300
|
...
|
|
@@ -319,7 +320,7 @@ def lightmap_pack(
|
|
|
319
320
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
320
321
|
execution_context: str | int | None = None,
|
|
321
322
|
undo: bool | None = None,
|
|
322
|
-
PREF_CONTEXT:
|
|
323
|
+
PREF_CONTEXT: str | int | None = "SEL_FACES",
|
|
323
324
|
PREF_PACK_IN_ONE: bool | typing.Any | None = True,
|
|
324
325
|
PREF_NEW_UVLAYER: bool | typing.Any | None = False,
|
|
325
326
|
PREF_BOX_DIV: typing.Any | None = 12,
|
|
@@ -337,7 +338,7 @@ def lightmap_pack(
|
|
|
337
338
|
|
|
338
339
|
ALL_FACES
|
|
339
340
|
All Faces -- Average space UVs edge length of each loop.
|
|
340
|
-
:type PREF_CONTEXT:
|
|
341
|
+
:type PREF_CONTEXT: str | int | None
|
|
341
342
|
:param PREF_PACK_IN_ONE: Share Texture Space, Objects share texture space, map all objects into a single UV map
|
|
342
343
|
:type PREF_PACK_IN_ONE: bool | typing.Any | None
|
|
343
344
|
:param PREF_NEW_UVLAYER: New UV Map, Create a new UV map for every mesh packed
|
|
@@ -394,16 +395,16 @@ def pack_islands(
|
|
|
394
395
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
395
396
|
execution_context: str | int | None = None,
|
|
396
397
|
undo: bool | None = None,
|
|
397
|
-
udim_source:
|
|
398
|
+
udim_source: str | int | None = "CLOSEST_UDIM",
|
|
398
399
|
rotate: bool | typing.Any | None = True,
|
|
399
|
-
rotate_method:
|
|
400
|
+
rotate_method: str | int | None = "ANY",
|
|
400
401
|
scale: bool | typing.Any | None = True,
|
|
401
402
|
merge_overlap: bool | typing.Any | None = False,
|
|
402
|
-
margin_method:
|
|
403
|
+
margin_method: str | int | None = "SCALED",
|
|
403
404
|
margin: typing.Any | None = 0.001,
|
|
404
405
|
pin: bool | typing.Any | None = False,
|
|
405
|
-
pin_method:
|
|
406
|
-
shape_method:
|
|
406
|
+
pin_method: str | int | None = "LOCKED",
|
|
407
|
+
shape_method: str | int | None = "CONCAVE",
|
|
407
408
|
):
|
|
408
409
|
"""Transform all islands so that they fill up the UV/UDIM space as much as possible
|
|
409
410
|
|
|
@@ -420,7 +421,7 @@ def pack_islands(
|
|
|
420
421
|
|
|
421
422
|
ORIGINAL_AABB
|
|
422
423
|
Original bounding box -- Pack to starting bounding box of islands.
|
|
423
|
-
:type udim_source:
|
|
424
|
+
:type udim_source: str | int | None
|
|
424
425
|
:param rotate: Rotate, Rotate islands to improve layout
|
|
425
426
|
:type rotate: bool | typing.Any | None
|
|
426
427
|
:param rotate_method: Rotation Method
|
|
@@ -439,7 +440,7 @@ def pack_islands(
|
|
|
439
440
|
|
|
440
441
|
AXIS_ALIGNED_Y
|
|
441
442
|
Axis-aligned (Vertical) -- Rotate islands to be aligned vertically.
|
|
442
|
-
:type rotate_method:
|
|
443
|
+
:type rotate_method: str | int | None
|
|
443
444
|
:param scale: Scale, Scale islands to fill unit square
|
|
444
445
|
:type scale: bool | typing.Any | None
|
|
445
446
|
:param merge_overlap: Merge Overlapping, Overlapping islands stick together
|
|
@@ -454,7 +455,7 @@ def pack_islands(
|
|
|
454
455
|
|
|
455
456
|
FRACTION
|
|
456
457
|
Fraction -- Specify a precise fraction of final UV output.
|
|
457
|
-
:type margin_method:
|
|
458
|
+
:type margin_method: str | int | None
|
|
458
459
|
:param margin: Margin, Space between islands
|
|
459
460
|
:type margin: typing.Any | None
|
|
460
461
|
:param pin: Lock Pinned Islands, Constrain islands containing any pinned UV's
|
|
@@ -472,7 +473,7 @@ def pack_islands(
|
|
|
472
473
|
|
|
473
474
|
LOCKED
|
|
474
475
|
All -- Pinned islands are locked in place.
|
|
475
|
-
:type pin_method:
|
|
476
|
+
:type pin_method: str | int | None
|
|
476
477
|
:param shape_method: Shape Method
|
|
477
478
|
|
|
478
479
|
CONCAVE
|
|
@@ -483,7 +484,7 @@ def pack_islands(
|
|
|
483
484
|
|
|
484
485
|
AABB
|
|
485
486
|
Bounding Box -- Uses bounding boxes.
|
|
486
|
-
:type shape_method:
|
|
487
|
+
:type shape_method: str | int | None
|
|
487
488
|
"""
|
|
488
489
|
|
|
489
490
|
...
|
|
@@ -742,7 +743,7 @@ def select_all(
|
|
|
742
743
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
743
744
|
execution_context: str | int | None = None,
|
|
744
745
|
undo: bool | None = None,
|
|
745
|
-
action:
|
|
746
|
+
action: str | int | None = "TOGGLE",
|
|
746
747
|
):
|
|
747
748
|
"""Change selection of all UV vertices
|
|
748
749
|
|
|
@@ -762,7 +763,7 @@ def select_all(
|
|
|
762
763
|
|
|
763
764
|
INVERT
|
|
764
765
|
Invert -- Invert selection of all elements.
|
|
765
|
-
:type action:
|
|
766
|
+
:type action: str | int | None
|
|
766
767
|
"""
|
|
767
768
|
|
|
768
769
|
...
|
|
@@ -777,7 +778,7 @@ def select_box(
|
|
|
777
778
|
ymin: typing.Any | None = 0,
|
|
778
779
|
ymax: typing.Any | None = 0,
|
|
779
780
|
wait_for_input: bool | typing.Any | None = True,
|
|
780
|
-
mode:
|
|
781
|
+
mode: str | int | None = "SET",
|
|
781
782
|
):
|
|
782
783
|
"""Select UV vertices using box selection
|
|
783
784
|
|
|
@@ -806,7 +807,7 @@ def select_box(
|
|
|
806
807
|
|
|
807
808
|
SUB
|
|
808
809
|
Subtract -- Subtract existing selection.
|
|
809
|
-
:type mode:
|
|
810
|
+
:type mode: str | int | None
|
|
810
811
|
"""
|
|
811
812
|
|
|
812
813
|
...
|
|
@@ -819,7 +820,7 @@ def select_circle(
|
|
|
819
820
|
y: typing.Any | None = 0,
|
|
820
821
|
radius: typing.Any | None = 25,
|
|
821
822
|
wait_for_input: bool | typing.Any | None = True,
|
|
822
|
-
mode:
|
|
823
|
+
mode: str | int | None = "SET",
|
|
823
824
|
):
|
|
824
825
|
"""Select UV vertices using circle selection
|
|
825
826
|
|
|
@@ -844,7 +845,7 @@ def select_circle(
|
|
|
844
845
|
|
|
845
846
|
SUB
|
|
846
847
|
Subtract -- Subtract existing selection.
|
|
847
|
-
:type mode:
|
|
848
|
+
:type mode: str | int | None
|
|
848
849
|
"""
|
|
849
850
|
|
|
850
851
|
...
|
|
@@ -874,7 +875,7 @@ def select_lasso(
|
|
|
874
875
|
execution_context: str | int | None = None,
|
|
875
876
|
undo: bool | None = None,
|
|
876
877
|
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
|
|
877
|
-
mode:
|
|
878
|
+
mode: str | int | None = "SET",
|
|
878
879
|
):
|
|
879
880
|
"""Select UVs using lasso selection
|
|
880
881
|
|
|
@@ -893,7 +894,7 @@ def select_lasso(
|
|
|
893
894
|
|
|
894
895
|
SUB
|
|
895
896
|
Subtract -- Subtract existing selection.
|
|
896
|
-
:type mode:
|
|
897
|
+
:type mode: str | int | None
|
|
897
898
|
"""
|
|
898
899
|
|
|
899
900
|
...
|
|
@@ -1035,8 +1036,8 @@ def select_similar(
|
|
|
1035
1036
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1036
1037
|
execution_context: str | int | None = None,
|
|
1037
1038
|
undo: bool | None = None,
|
|
1038
|
-
type:
|
|
1039
|
-
compare:
|
|
1039
|
+
type: str | int | None = "PIN",
|
|
1040
|
+
compare: str | int | None = "EQUAL",
|
|
1040
1041
|
threshold: typing.Any | None = 0.0,
|
|
1041
1042
|
):
|
|
1042
1043
|
"""Select similar UVs by property types
|
|
@@ -1045,9 +1046,9 @@ def select_similar(
|
|
|
1045
1046
|
:type execution_context: str | int | None
|
|
1046
1047
|
:type undo: bool | None
|
|
1047
1048
|
:param type: Type
|
|
1048
|
-
:type type:
|
|
1049
|
+
:type type: str | int | None
|
|
1049
1050
|
:param compare: Compare
|
|
1050
|
-
:type compare:
|
|
1051
|
+
:type compare: str | int | None
|
|
1051
1052
|
:param threshold: Threshold
|
|
1052
1053
|
:type threshold: typing.Any | None
|
|
1053
1054
|
"""
|
|
@@ -1141,8 +1142,8 @@ def smart_project(
|
|
|
1141
1142
|
execution_context: str | int | None = None,
|
|
1142
1143
|
undo: bool | None = None,
|
|
1143
1144
|
angle_limit: typing.Any | None = 1.15192,
|
|
1144
|
-
margin_method:
|
|
1145
|
-
rotate_method:
|
|
1145
|
+
margin_method: str | int | None = "SCALED",
|
|
1146
|
+
rotate_method: str | int | None = "AXIS_ALIGNED_Y",
|
|
1146
1147
|
island_margin: typing.Any | None = 0.0,
|
|
1147
1148
|
area_weight: typing.Any | None = 0.0,
|
|
1148
1149
|
correct_aspect: bool | typing.Any | None = True,
|
|
@@ -1165,7 +1166,7 @@ def smart_project(
|
|
|
1165
1166
|
|
|
1166
1167
|
FRACTION
|
|
1167
1168
|
Fraction -- Specify a precise fraction of final UV output.
|
|
1168
|
-
:type margin_method:
|
|
1169
|
+
:type margin_method: str | int | None
|
|
1169
1170
|
:param rotate_method: Rotation Method
|
|
1170
1171
|
|
|
1171
1172
|
AXIS_ALIGNED
|
|
@@ -1176,7 +1177,7 @@ def smart_project(
|
|
|
1176
1177
|
|
|
1177
1178
|
AXIS_ALIGNED_Y
|
|
1178
1179
|
Axis-aligned (Vertical) -- Rotate islands to be aligned vertically.
|
|
1179
|
-
:type rotate_method:
|
|
1180
|
+
:type rotate_method: str | int | None
|
|
1180
1181
|
:param island_margin: Island Margin, Margin to reduce bleed from adjacent islands
|
|
1181
1182
|
:type island_margin: typing.Any | None
|
|
1182
1183
|
:param area_weight: Area Weight, Weight projection's vector by faces with larger areas
|
|
@@ -1193,7 +1194,7 @@ def snap_cursor(
|
|
|
1193
1194
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1194
1195
|
execution_context: str | int | None = None,
|
|
1195
1196
|
undo: bool | None = None,
|
|
1196
|
-
target:
|
|
1197
|
+
target: str | int | None = "PIXELS",
|
|
1197
1198
|
):
|
|
1198
1199
|
"""Snap cursor to target type
|
|
1199
1200
|
|
|
@@ -1201,7 +1202,7 @@ def snap_cursor(
|
|
|
1201
1202
|
:type execution_context: str | int | None
|
|
1202
1203
|
:type undo: bool | None
|
|
1203
1204
|
:param target: Target, Target to snap the selected UVs to
|
|
1204
|
-
:type target:
|
|
1205
|
+
:type target: str | int | None
|
|
1205
1206
|
"""
|
|
1206
1207
|
|
|
1207
1208
|
...
|
|
@@ -1210,7 +1211,7 @@ def snap_selected(
|
|
|
1210
1211
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1211
1212
|
execution_context: str | int | None = None,
|
|
1212
1213
|
undo: bool | None = None,
|
|
1213
|
-
target:
|
|
1214
|
+
target: str | int | None = "PIXELS",
|
|
1214
1215
|
):
|
|
1215
1216
|
"""Snap selected UV vertices to target type
|
|
1216
1217
|
|
|
@@ -1218,7 +1219,7 @@ def snap_selected(
|
|
|
1218
1219
|
:type execution_context: str | int | None
|
|
1219
1220
|
:type undo: bool | None
|
|
1220
1221
|
:param target: Target, Target to snap the selected UVs to
|
|
1221
|
-
:type target:
|
|
1222
|
+
:type target: str | int | None
|
|
1222
1223
|
"""
|
|
1223
1224
|
|
|
1224
1225
|
...
|
|
@@ -1227,9 +1228,9 @@ def sphere_project(
|
|
|
1227
1228
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1228
1229
|
execution_context: str | int | None = None,
|
|
1229
1230
|
undo: bool | None = None,
|
|
1230
|
-
direction:
|
|
1231
|
-
align:
|
|
1232
|
-
pole:
|
|
1231
|
+
direction: str | int | None = "VIEW_ON_EQUATOR",
|
|
1232
|
+
align: str | int | None = "POLAR_ZX",
|
|
1233
|
+
pole: str | int | None = "PINCH",
|
|
1233
1234
|
seam: bool | typing.Any | None = False,
|
|
1234
1235
|
correct_aspect: bool | typing.Any | None = True,
|
|
1235
1236
|
clip_to_bounds: bool | typing.Any | None = False,
|
|
@@ -1250,7 +1251,7 @@ def sphere_project(
|
|
|
1250
1251
|
|
|
1251
1252
|
ALIGN_TO_OBJECT
|
|
1252
1253
|
Align to Object -- Align according to object transform.
|
|
1253
|
-
:type direction:
|
|
1254
|
+
:type direction: str | int | None
|
|
1254
1255
|
:param align: Align, How to determine rotation around the pole
|
|
1255
1256
|
|
|
1256
1257
|
POLAR_ZX
|
|
@@ -1258,7 +1259,7 @@ def sphere_project(
|
|
|
1258
1259
|
|
|
1259
1260
|
POLAR_ZY
|
|
1260
1261
|
Polar ZY -- Polar 0 is Y.
|
|
1261
|
-
:type align:
|
|
1262
|
+
:type align: str | int | None
|
|
1262
1263
|
:param pole: Pole, How to handle faces at the poles
|
|
1263
1264
|
|
|
1264
1265
|
PINCH
|
|
@@ -1266,7 +1267,7 @@ def sphere_project(
|
|
|
1266
1267
|
|
|
1267
1268
|
FAN
|
|
1268
1269
|
Fan -- UVs are fanned at the poles.
|
|
1269
|
-
:type pole:
|
|
1270
|
+
:type pole: str | int | None
|
|
1270
1271
|
:param seam: Preserve Seams, Separate projections by islands isolated by seams
|
|
1271
1272
|
:type seam: bool | typing.Any | None
|
|
1272
1273
|
:param correct_aspect: Correct Aspect, Map UVs taking image aspect ratio into account
|
|
@@ -1290,8 +1291,8 @@ def stitch(
|
|
|
1290
1291
|
active_object_index: typing.Any | None = 0,
|
|
1291
1292
|
midpoint_snap: bool | typing.Any | None = False,
|
|
1292
1293
|
clear_seams: bool | typing.Any | None = True,
|
|
1293
|
-
mode:
|
|
1294
|
-
stored_mode:
|
|
1294
|
+
mode: str | int | None = "VERTEX",
|
|
1295
|
+
stored_mode: str | int | None = "VERTEX",
|
|
1295
1296
|
selection: bpy.types.bpy_prop_collection[bpy.types.SelectedUvElement] | None = None,
|
|
1296
1297
|
objects_selection_count: typing.Any | None = (0, 0, 0, 0, 0, 0),
|
|
1297
1298
|
):
|
|
@@ -1315,9 +1316,9 @@ def stitch(
|
|
|
1315
1316
|
:param clear_seams: Clear Seams, Clear seams of stitched edges
|
|
1316
1317
|
:type clear_seams: bool | typing.Any | None
|
|
1317
1318
|
:param mode: Operation Mode, Use vertex or edge stitching
|
|
1318
|
-
:type mode:
|
|
1319
|
+
:type mode: str | int | None
|
|
1319
1320
|
:param stored_mode: Stored Operation Mode, Use vertex or edge stitching
|
|
1320
|
-
:type stored_mode:
|
|
1321
|
+
:type stored_mode: str | int | None
|
|
1321
1322
|
:param selection: Selection
|
|
1322
1323
|
:type selection: bpy.types.bpy_prop_collection[bpy.types.SelectedUvElement] | None
|
|
1323
1324
|
:param objects_selection_count: Objects Selection Count
|
|
@@ -1330,11 +1331,11 @@ def unwrap(
|
|
|
1330
1331
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1331
1332
|
execution_context: str | int | None = None,
|
|
1332
1333
|
undo: bool | None = None,
|
|
1333
|
-
method:
|
|
1334
|
+
method: str | int | None = "ANGLE_BASED",
|
|
1334
1335
|
fill_holes: bool | typing.Any | None = True,
|
|
1335
1336
|
correct_aspect: bool | typing.Any | None = True,
|
|
1336
1337
|
use_subsurf_data: bool | typing.Any | None = False,
|
|
1337
|
-
margin_method:
|
|
1338
|
+
margin_method: str | int | None = "SCALED",
|
|
1338
1339
|
margin: typing.Any | None = 0.001,
|
|
1339
1340
|
):
|
|
1340
1341
|
"""Unwrap the mesh of the object being edited
|
|
@@ -1343,7 +1344,7 @@ def unwrap(
|
|
|
1343
1344
|
:type execution_context: str | int | None
|
|
1344
1345
|
:type undo: bool | None
|
|
1345
1346
|
:param method: Method, Unwrapping method (Angle Based usually gives better results than Conformal, while being somewhat slower)
|
|
1346
|
-
:type method:
|
|
1347
|
+
:type method: str | int | None
|
|
1347
1348
|
:param fill_holes: Fill Holes, Virtually fill holes in mesh before unwrapping, to better avoid overlaps and preserve symmetry
|
|
1348
1349
|
:type fill_holes: bool | typing.Any | None
|
|
1349
1350
|
:param correct_aspect: Correct Aspect, Map UVs taking image aspect ratio into account
|
|
@@ -1360,7 +1361,7 @@ def unwrap(
|
|
|
1360
1361
|
|
|
1361
1362
|
FRACTION
|
|
1362
1363
|
Fraction -- Specify a precise fraction of final UV output.
|
|
1363
|
-
:type margin_method:
|
|
1364
|
+
:type margin_method: str | int | None
|
|
1364
1365
|
:param margin: Margin, Space between islands
|
|
1365
1366
|
:type margin: typing.Any | None
|
|
1366
1367
|
"""
|
bpy/ops/view2d/__init__.pyi
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import bpy.types
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
5
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
6
|
|
|
6
7
|
def edge_pan(
|
|
7
8
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|