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