fake-bpy-module 20240518__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 +2 -1
- addon_utils/__init__.pyi +2 -1
- animsys_refactor/__init__.pyi +2 -1
- aud/__init__.pyi +2 -1
- bgl/__init__.pyi +2 -1
- bl_app_override/__init__.pyi +2 -1
- bl_app_override/helpers/__init__.pyi +2 -1
- bl_app_template_utils/__init__.pyi +2 -1
- 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 +2 -1
- bl_i18n_utils/merge_po/__init__.pyi +2 -1
- bl_i18n_utils/settings/__init__.pyi +2 -1
- bl_i18n_utils/utils/__init__.pyi +2 -1
- bl_i18n_utils/utils_cli/__init__.pyi +2 -1
- bl_i18n_utils/utils_languages_menu/__init__.pyi +2 -1
- bl_i18n_utils/utils_rtl/__init__.pyi +2 -1
- bl_keymap_utils/__init__.pyi +2 -1
- bl_keymap_utils/io/__init__.pyi +2 -1
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +2 -1
- bl_keymap_utils/platform_helpers/__init__.pyi +2 -1
- bl_keymap_utils/versioning/__init__.pyi +2 -1
- bl_math/__init__.pyi +2 -1
- bl_operators/__init__.pyi +2 -1
- bl_operators/add_mesh_torus/__init__.pyi +2 -1
- bl_operators/anim/__init__.pyi +2 -1
- bl_operators/assets/__init__.pyi +2 -1
- bl_operators/bmesh/__init__.pyi +2 -1
- bl_operators/bmesh/find_adjacent/__init__.pyi +2 -1
- bl_operators/clip/__init__.pyi +2 -1
- bl_operators/console/__init__.pyi +2 -1
- bl_operators/constraint/__init__.pyi +2 -1
- bl_operators/file/__init__.pyi +2 -1
- bl_operators/freestyle/__init__.pyi +2 -1
- bl_operators/geometry_nodes/__init__.pyi +2 -1
- bl_operators/image/__init__.pyi +2 -1
- bl_operators/mesh/__init__.pyi +2 -1
- bl_operators/node/__init__.pyi +2 -1
- bl_operators/object/__init__.pyi +2 -1
- bl_operators/object_align/__init__.pyi +2 -1
- bl_operators/object_quick_effects/__init__.pyi +2 -1
- bl_operators/object_randomize_transform/__init__.pyi +2 -1
- bl_operators/presets/__init__.pyi +2 -1
- bl_operators/rigidbody/__init__.pyi +2 -1
- bl_operators/screen_play_rendered_anim/__init__.pyi +2 -1
- bl_operators/sequencer/__init__.pyi +2 -1
- bl_operators/spreadsheet/__init__.pyi +2 -1
- bl_operators/userpref/__init__.pyi +2 -1
- bl_operators/uvcalc_follow_active/__init__.pyi +2 -1
- bl_operators/uvcalc_lightmap/__init__.pyi +2 -1
- bl_operators/uvcalc_transform/__init__.pyi +2 -1
- bl_operators/vertexpaint_dirt/__init__.pyi +2 -1
- bl_operators/view3d/__init__.pyi +2 -1
- bl_operators/wm/__init__.pyi +2 -1
- bl_operators/world/__init__.pyi +2 -1
- bl_previews_utils/__init__.pyi +2 -1
- bl_previews_utils/bl_previews_render/__init__.pyi +2 -1
- bl_rna_utils/__init__.pyi +2 -1
- bl_rna_utils/data_path/__init__.pyi +2 -1
- bl_text_utils/__init__.pyi +2 -1
- bl_text_utils/external_editor/__init__.pyi +2 -1
- bl_ui/__init__.pyi +2 -1
- bl_ui/anim/__init__.pyi +2 -1
- bl_ui/asset_shelf/__init__.pyi +2 -1
- bl_ui/generic_ui_list/__init__.pyi +2 -1
- bl_ui/node_add_menu/__init__.pyi +2 -1
- bl_ui/node_add_menu_compositor/__init__.pyi +2 -1
- bl_ui/node_add_menu_geometry/__init__.pyi +2 -1
- bl_ui/node_add_menu_shader/__init__.pyi +2 -1
- bl_ui/node_add_menu_texture/__init__.pyi +2 -1
- bl_ui/properties_animviz/__init__.pyi +2 -1
- bl_ui/properties_collection/__init__.pyi +2 -1
- bl_ui/properties_constraint/__init__.pyi +2 -1
- bl_ui/properties_data_armature/__init__.pyi +2 -1
- bl_ui/properties_data_bone/__init__.pyi +2 -1
- bl_ui/properties_data_camera/__init__.pyi +2 -1
- bl_ui/properties_data_curve/__init__.pyi +2 -1
- bl_ui/properties_data_curves/__init__.pyi +2 -1
- bl_ui/properties_data_empty/__init__.pyi +2 -1
- bl_ui/properties_data_gpencil/__init__.pyi +2 -1
- bl_ui/properties_data_grease_pencil/__init__.pyi +2 -1
- bl_ui/properties_data_lattice/__init__.pyi +2 -1
- bl_ui/properties_data_light/__init__.pyi +2 -1
- bl_ui/properties_data_lightprobe/__init__.pyi +2 -1
- bl_ui/properties_data_mesh/__init__.pyi +2 -1
- bl_ui/properties_data_metaball/__init__.pyi +2 -1
- bl_ui/properties_data_modifier/__init__.pyi +2 -1
- bl_ui/properties_data_pointcloud/__init__.pyi +2 -1
- bl_ui/properties_data_shaderfx/__init__.pyi +2 -1
- bl_ui/properties_data_speaker/__init__.pyi +2 -1
- bl_ui/properties_data_volume/__init__.pyi +2 -1
- bl_ui/properties_freestyle/__init__.pyi +2 -1
- bl_ui/properties_grease_pencil_common/__init__.pyi +2 -1
- bl_ui/properties_mask_common/__init__.pyi +2 -1
- bl_ui/properties_material/__init__.pyi +2 -1
- bl_ui/properties_material_gpencil/__init__.pyi +2 -1
- bl_ui/properties_object/__init__.pyi +2 -1
- bl_ui/properties_output/__init__.pyi +2 -1
- bl_ui/properties_paint_common/__init__.pyi +2 -1
- bl_ui/properties_particle/__init__.pyi +2 -1
- bl_ui/properties_physics_cloth/__init__.pyi +2 -1
- bl_ui/properties_physics_common/__init__.pyi +2 -1
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +2 -1
- bl_ui/properties_physics_field/__init__.pyi +2 -1
- bl_ui/properties_physics_fluid/__init__.pyi +2 -1
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +2 -1
- bl_ui/properties_physics_rigidbody/__init__.pyi +2 -1
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2 -1
- bl_ui/properties_physics_softbody/__init__.pyi +2 -1
- bl_ui/properties_render/__init__.pyi +2 -1
- bl_ui/properties_scene/__init__.pyi +2 -1
- bl_ui/properties_texture/__init__.pyi +2 -1
- bl_ui/properties_view_layer/__init__.pyi +2 -1
- bl_ui/properties_workspace/__init__.pyi +2 -1
- bl_ui/properties_world/__init__.pyi +2 -1
- bl_ui/space_clip/__init__.pyi +2 -1
- bl_ui/space_console/__init__.pyi +2 -1
- bl_ui/space_dopesheet/__init__.pyi +2 -1
- bl_ui/space_filebrowser/__init__.pyi +2 -1
- bl_ui/space_graph/__init__.pyi +2 -1
- bl_ui/space_image/__init__.pyi +2 -1
- bl_ui/space_info/__init__.pyi +2 -1
- bl_ui/space_nla/__init__.pyi +2 -1
- bl_ui/space_node/__init__.pyi +2 -1
- bl_ui/space_outliner/__init__.pyi +2 -1
- bl_ui/space_properties/__init__.pyi +2 -1
- bl_ui/space_sequencer/__init__.pyi +2 -1
- bl_ui/space_spreadsheet/__init__.pyi +2 -1
- bl_ui/space_statusbar/__init__.pyi +2 -1
- bl_ui/space_text/__init__.pyi +2 -1
- bl_ui/space_time/__init__.pyi +2 -1
- bl_ui/space_toolsystem_common/__init__.pyi +2 -1
- bl_ui/space_toolsystem_toolbar/__init__.pyi +2 -1
- bl_ui/space_topbar/__init__.pyi +2 -1
- bl_ui/space_userpref/__init__.pyi +2 -1
- bl_ui/space_view3d/__init__.pyi +2 -1
- bl_ui/space_view3d_toolbar/__init__.pyi +2 -1
- bl_ui/temp_anim_layers/__init__.pyi +2 -1
- bl_ui/utils/__init__.pyi +2 -1
- bl_ui_utils/__init__.pyi +2 -1
- bl_ui_utils/bug_report_url/__init__.pyi +2 -1
- bl_ui_utils/layout/__init__.pyi +2 -1
- blend_render_info/__init__.pyi +2 -1
- 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 +28 -27
- 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 +188 -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 +131 -79
- bpy/utils/__init__.pyi +2 -1
- 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 -1
- bpy_extras/asset_utils/__init__.pyi +2 -1
- bpy_extras/bmesh_utils/__init__.pyi +2 -1
- bpy_extras/extensions/__init__.pyi +2 -1
- bpy_extras/extensions/junction_module/__init__.pyi +2 -1
- bpy_extras/id_map_utils/__init__.pyi +2 -1
- bpy_extras/image_utils/__init__.pyi +2 -1
- bpy_extras/io_utils/__init__.pyi +2 -1
- bpy_extras/keyconfig_utils/__init__.pyi +2 -1
- bpy_extras/mesh_utils/__init__.pyi +2 -1
- bpy_extras/node_shader_utils/__init__.pyi +2 -1
- bpy_extras/node_utils/__init__.pyi +2 -1
- bpy_extras/object_utils/__init__.pyi +2 -1
- bpy_extras/view3d_utils/__init__.pyi +2 -1
- bpy_extras/wm_utils/__init__.pyi +2 -1
- bpy_extras/wm_utils/progress_report/__init__.pyi +2 -1
- bpy_restrict_state/__init__.pyi +2 -1
- bpy_types/__init__.pyi +2 -1
- console_python/__init__.pyi +2 -1
- console_shell/__init__.pyi +2 -1
- {fake_bpy_module-20240518.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 +2 -1
- freestyle/functions/__init__.pyi +2 -1
- freestyle/predicates/__init__.pyi +2 -1
- freestyle/shaders/__init__.pyi +2 -1
- freestyle/types/__init__.pyi +2 -1
- freestyle/utils/ContextFunctions/__init__.pyi +2 -1
- freestyle/utils/__init__.pyi +2 -1
- 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 +2 -1
- idprop/__init__.pyi +2 -1
- idprop/types/__init__.pyi +2 -1
- imbuf/__init__.pyi +2 -1
- imbuf/types/__init__.pyi +2 -1
- keyingsets_builtins/__init__.pyi +2 -1
- keyingsets_utils/__init__.pyi +2 -1
- mathutils/__init__.pyi +2 -1
- mathutils/bvhtree/__init__.pyi +2 -1
- 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 +2 -1
- nodeitems_utils/__init__.pyi +2 -1
- rna_info/__init__.pyi +2 -1
- rna_keymap_ui/__init__.pyi +2 -1
- rna_prop_ui/__init__.pyi +2 -1
- rna_xml/__init__.pyi +2 -1
- sys_info/__init__.pyi +2 -1
- fake_bpy_module-20240518.dist-info/RECORD +0 -353
- {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240519.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240519.dist-info}/top_level.txt +0 -0
bpy/ops/outliner/__init__.pyi
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
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 action_set(
|
|
7
8
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
8
9
|
execution_context: str | int | None = None,
|
|
9
10
|
undo: bool | None = None,
|
|
10
|
-
action: str | int |
|
|
11
|
+
action: str | int | None = "",
|
|
11
12
|
):
|
|
12
13
|
"""Change the active action used
|
|
13
14
|
|
|
@@ -15,7 +16,7 @@ def action_set(
|
|
|
15
16
|
:type execution_context: str | int | None
|
|
16
17
|
:type undo: bool | None
|
|
17
18
|
:param action: Action
|
|
18
|
-
:type action: str | int |
|
|
19
|
+
:type action: str | int | None
|
|
19
20
|
"""
|
|
20
21
|
|
|
21
22
|
...
|
|
@@ -24,7 +25,7 @@ def animdata_operation(
|
|
|
24
25
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
25
26
|
execution_context: str | int | None = None,
|
|
26
27
|
undo: bool | None = None,
|
|
27
|
-
type:
|
|
28
|
+
type: str | int | None = "CLEAR_ANIMDATA",
|
|
28
29
|
):
|
|
29
30
|
"""Undocumented, consider contributing.
|
|
30
31
|
|
|
@@ -47,7 +48,7 @@ def animdata_operation(
|
|
|
47
48
|
|
|
48
49
|
CLEAR_DRIVERS
|
|
49
50
|
Clear Drivers.
|
|
50
|
-
:type type:
|
|
51
|
+
:type type: str | int | None
|
|
51
52
|
"""
|
|
52
53
|
|
|
53
54
|
...
|
|
@@ -415,7 +416,7 @@ def constraint_operation(
|
|
|
415
416
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
416
417
|
execution_context: str | int | None = None,
|
|
417
418
|
undo: bool | None = None,
|
|
418
|
-
type:
|
|
419
|
+
type: str | int | None = "ENABLE",
|
|
419
420
|
):
|
|
420
421
|
"""Undocumented, consider contributing.
|
|
421
422
|
|
|
@@ -423,7 +424,7 @@ def constraint_operation(
|
|
|
423
424
|
:type execution_context: str | int | None
|
|
424
425
|
:type undo: bool | None
|
|
425
426
|
:param type: Constraint Operation
|
|
426
|
-
:type type:
|
|
427
|
+
:type type: str | int | None
|
|
427
428
|
"""
|
|
428
429
|
|
|
429
430
|
...
|
|
@@ -432,7 +433,7 @@ def data_operation(
|
|
|
432
433
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
433
434
|
execution_context: str | int | None = None,
|
|
434
435
|
undo: bool | None = None,
|
|
435
|
-
type: str | int |
|
|
436
|
+
type: str | int | None = "DEFAULT",
|
|
436
437
|
):
|
|
437
438
|
"""Undocumented, consider contributing.
|
|
438
439
|
|
|
@@ -440,7 +441,7 @@ def data_operation(
|
|
|
440
441
|
:type execution_context: str | int | None
|
|
441
442
|
:type undo: bool | None
|
|
442
443
|
:param type: Data Operation
|
|
443
|
-
:type type: str | int |
|
|
444
|
+
:type type: str | int | None
|
|
444
445
|
"""
|
|
445
446
|
|
|
446
447
|
...
|
|
@@ -578,7 +579,7 @@ def id_operation(
|
|
|
578
579
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
579
580
|
execution_context: str | int | None = None,
|
|
580
581
|
undo: bool | None = None,
|
|
581
|
-
type:
|
|
582
|
+
type: str | int | None = "UNLINK",
|
|
582
583
|
):
|
|
583
584
|
"""General data-block management operations
|
|
584
585
|
|
|
@@ -619,7 +620,7 @@ def id_operation(
|
|
|
619
620
|
|
|
620
621
|
SELECT_LINKED
|
|
621
622
|
Select Linked.
|
|
622
|
-
:type type:
|
|
623
|
+
:type type: str | int | None
|
|
623
624
|
"""
|
|
624
625
|
|
|
625
626
|
...
|
|
@@ -643,8 +644,8 @@ def id_remap(
|
|
|
643
644
|
execution_context: str | int | None = None,
|
|
644
645
|
undo: bool | None = None,
|
|
645
646
|
id_type: str | int | None = "OBJECT",
|
|
646
|
-
old_id: str | int |
|
|
647
|
-
new_id: str | int |
|
|
647
|
+
old_id: str | int | None = "",
|
|
648
|
+
new_id: str | int | None = "",
|
|
648
649
|
):
|
|
649
650
|
"""Undocumented, consider contributing.
|
|
650
651
|
|
|
@@ -654,9 +655,9 @@ def id_remap(
|
|
|
654
655
|
:param id_type: ID Type
|
|
655
656
|
:type id_type: str | int | None
|
|
656
657
|
:param old_id: Old ID, Old ID to replace
|
|
657
|
-
:type old_id: str | int |
|
|
658
|
+
:type old_id: str | int | None
|
|
658
659
|
:param new_id: New ID, New ID to remap all selected IDs' users to
|
|
659
|
-
:type new_id: str | int |
|
|
660
|
+
:type new_id: str | int | None
|
|
660
661
|
"""
|
|
661
662
|
|
|
662
663
|
...
|
|
@@ -767,7 +768,7 @@ def lib_operation(
|
|
|
767
768
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
768
769
|
execution_context: str | int | None = None,
|
|
769
770
|
undo: bool | None = None,
|
|
770
|
-
type:
|
|
771
|
+
type: str | int | None = "DELETE",
|
|
771
772
|
):
|
|
772
773
|
"""Undocumented, consider contributing.
|
|
773
774
|
|
|
@@ -785,7 +786,7 @@ def lib_operation(
|
|
|
785
786
|
|
|
786
787
|
RELOAD
|
|
787
788
|
Reload -- Reload all data from this library.
|
|
788
|
-
:type type:
|
|
789
|
+
:type type: str | int | None
|
|
789
790
|
"""
|
|
790
791
|
|
|
791
792
|
...
|
|
@@ -808,8 +809,8 @@ def liboverride_operation(
|
|
|
808
809
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
809
810
|
execution_context: str | int | None = None,
|
|
810
811
|
undo: bool | None = None,
|
|
811
|
-
type:
|
|
812
|
-
selection_set:
|
|
812
|
+
type: str | int | None = "OVERRIDE_LIBRARY_CREATE_HIERARCHY",
|
|
813
|
+
selection_set: str | int | None = "SELECTED",
|
|
813
814
|
):
|
|
814
815
|
"""Create, reset or clear library override hierarchies
|
|
815
816
|
|
|
@@ -826,7 +827,7 @@ def liboverride_operation(
|
|
|
826
827
|
|
|
827
828
|
OVERRIDE_LIBRARY_CLEAR_SINGLE
|
|
828
829
|
Clear -- Delete the selected local overrides and relink their usages to the linked data-blocks if possible, else reset them and mark them as non editable.
|
|
829
|
-
:type type:
|
|
830
|
+
:type type: str | int | None
|
|
830
831
|
:param selection_set: Selection Set, Over which part of the tree items to apply the operation
|
|
831
832
|
|
|
832
833
|
SELECTED
|
|
@@ -837,7 +838,7 @@ def liboverride_operation(
|
|
|
837
838
|
|
|
838
839
|
SELECTED_AND_CONTENT
|
|
839
840
|
Selected & Content -- Apply the operation over selected data-blocks and all their dependencies.
|
|
840
|
-
:type selection_set:
|
|
841
|
+
:type selection_set: str | int | None
|
|
841
842
|
"""
|
|
842
843
|
|
|
843
844
|
...
|
|
@@ -846,8 +847,8 @@ def liboverride_troubleshoot_operation(
|
|
|
846
847
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
847
848
|
execution_context: str | int | None = None,
|
|
848
849
|
undo: bool | None = None,
|
|
849
|
-
type:
|
|
850
|
-
selection_set:
|
|
850
|
+
type: str | int | None = "OVERRIDE_LIBRARY_RESYNC_HIERARCHY",
|
|
851
|
+
selection_set: str | int | None = "SELECTED",
|
|
851
852
|
):
|
|
852
853
|
"""Advanced operations over library override to help fix broken hierarchies
|
|
853
854
|
|
|
@@ -864,7 +865,7 @@ def liboverride_troubleshoot_operation(
|
|
|
864
865
|
|
|
865
866
|
OVERRIDE_LIBRARY_DELETE_HIERARCHY
|
|
866
867
|
Delete -- Delete the selected local overrides (including their hierarchies of override dependencies) and relink their usages to the linked data-blocks.
|
|
867
|
-
:type type:
|
|
868
|
+
:type type: str | int | None
|
|
868
869
|
:param selection_set: Selection Set, Over which part of the tree items to apply the operation
|
|
869
870
|
|
|
870
871
|
SELECTED
|
|
@@ -875,7 +876,7 @@ def liboverride_troubleshoot_operation(
|
|
|
875
876
|
|
|
876
877
|
SELECTED_AND_CONTENT
|
|
877
878
|
Selected & Content -- Apply the operation over selected data-blocks and all their dependencies.
|
|
878
|
-
:type selection_set:
|
|
879
|
+
:type selection_set: str | int | None
|
|
879
880
|
"""
|
|
880
881
|
|
|
881
882
|
...
|
|
@@ -898,7 +899,7 @@ def modifier_operation(
|
|
|
898
899
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
899
900
|
execution_context: str | int | None = None,
|
|
900
901
|
undo: bool | None = None,
|
|
901
|
-
type:
|
|
902
|
+
type: str | int | None = "APPLY",
|
|
902
903
|
):
|
|
903
904
|
"""Undocumented, consider contributing.
|
|
904
905
|
|
|
@@ -906,7 +907,7 @@ def modifier_operation(
|
|
|
906
907
|
:type execution_context: str | int | None
|
|
907
908
|
:type undo: bool | None
|
|
908
909
|
:param type: Modifier Operation
|
|
909
|
-
:type type:
|
|
910
|
+
:type type: str | int | None
|
|
910
911
|
"""
|
|
911
912
|
|
|
912
913
|
...
|
|
@@ -915,7 +916,7 @@ def object_operation(
|
|
|
915
916
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
916
917
|
execution_context: str | int | None = None,
|
|
917
918
|
undo: bool | None = None,
|
|
918
|
-
type:
|
|
919
|
+
type: str | int | None = "SELECT",
|
|
919
920
|
):
|
|
920
921
|
"""Undocumented, consider contributing.
|
|
921
922
|
|
|
@@ -938,7 +939,7 @@ def object_operation(
|
|
|
938
939
|
|
|
939
940
|
RENAME
|
|
940
941
|
Rename.
|
|
941
|
-
:type type:
|
|
942
|
+
:type type: str | int | None
|
|
942
943
|
"""
|
|
943
944
|
|
|
944
945
|
...
|
|
@@ -1040,7 +1041,7 @@ def scene_operation(
|
|
|
1040
1041
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1041
1042
|
execution_context: str | int | None = None,
|
|
1042
1043
|
undo: bool | None = None,
|
|
1043
|
-
type: str | int |
|
|
1044
|
+
type: str | int | None = "DELETE",
|
|
1044
1045
|
):
|
|
1045
1046
|
"""Context menu for scene operations
|
|
1046
1047
|
|
|
@@ -1048,7 +1049,7 @@ def scene_operation(
|
|
|
1048
1049
|
:type execution_context: str | int | None
|
|
1049
1050
|
:type undo: bool | None
|
|
1050
1051
|
:param type: Scene Operation
|
|
1051
|
-
:type type: str | int |
|
|
1052
|
+
:type type: str | int | None
|
|
1052
1053
|
"""
|
|
1053
1054
|
|
|
1054
1055
|
...
|
|
@@ -1074,7 +1075,7 @@ def select_all(
|
|
|
1074
1075
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1075
1076
|
execution_context: str | int | None = None,
|
|
1076
1077
|
undo: bool | None = None,
|
|
1077
|
-
action:
|
|
1078
|
+
action: str | int | None = "TOGGLE",
|
|
1078
1079
|
):
|
|
1079
1080
|
"""Toggle the Outliner selection of items
|
|
1080
1081
|
|
|
@@ -1094,7 +1095,7 @@ def select_all(
|
|
|
1094
1095
|
|
|
1095
1096
|
INVERT
|
|
1096
1097
|
Invert -- Invert selection of all elements.
|
|
1097
|
-
:type action:
|
|
1098
|
+
:type action: str | int | None
|
|
1098
1099
|
"""
|
|
1099
1100
|
|
|
1100
1101
|
...
|
|
@@ -1109,7 +1110,7 @@ def select_box(
|
|
|
1109
1110
|
ymin: typing.Any | None = 0,
|
|
1110
1111
|
ymax: typing.Any | None = 0,
|
|
1111
1112
|
wait_for_input: bool | typing.Any | None = True,
|
|
1112
|
-
mode:
|
|
1113
|
+
mode: str | int | None = "SET",
|
|
1113
1114
|
):
|
|
1114
1115
|
"""Use box selection to select tree elements
|
|
1115
1116
|
|
|
@@ -1138,7 +1139,7 @@ def select_box(
|
|
|
1138
1139
|
|
|
1139
1140
|
SUB
|
|
1140
1141
|
Subtract -- Subtract existing selection.
|
|
1141
|
-
:type mode:
|
|
1142
|
+
:type mode: str | int | None
|
|
1142
1143
|
"""
|
|
1143
1144
|
|
|
1144
1145
|
...
|
|
@@ -1147,7 +1148,7 @@ def select_walk(
|
|
|
1147
1148
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1148
1149
|
execution_context: str | int | None = None,
|
|
1149
1150
|
undo: bool | None = None,
|
|
1150
|
-
direction:
|
|
1151
|
+
direction: str | int | None = "UP",
|
|
1151
1152
|
extend: bool | typing.Any | None = False,
|
|
1152
1153
|
toggle_all: bool | typing.Any | None = False,
|
|
1153
1154
|
):
|
|
@@ -1157,7 +1158,7 @@ def select_walk(
|
|
|
1157
1158
|
:type execution_context: str | int | None
|
|
1158
1159
|
:type undo: bool | None
|
|
1159
1160
|
:param direction: Walk Direction, Select/Deselect element in this direction
|
|
1160
|
-
:type direction:
|
|
1161
|
+
:type direction: str | int | None
|
|
1161
1162
|
:param extend: Extend, Extend selection on walk
|
|
1162
1163
|
:type extend: bool | typing.Any | None
|
|
1163
1164
|
:param toggle_all: Toggle All, Toggle open/close hierarchy
|
bpy/ops/paint/__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 add_simple_uvs(
|
|
7
8
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -21,8 +22,8 @@ def add_texture_paint_slot(
|
|
|
21
22
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
22
23
|
execution_context: str | int | None = None,
|
|
23
24
|
undo: bool | None = None,
|
|
24
|
-
type:
|
|
25
|
-
slot_type:
|
|
25
|
+
type: str | int | None = "BASE_COLOR",
|
|
26
|
+
slot_type: str | int | None = "IMAGE",
|
|
26
27
|
name: str | typing.Any = "Untitled",
|
|
27
28
|
color: typing.Any | None = (0.0, 0.0, 0.0, 1.0),
|
|
28
29
|
width: typing.Any | None = 1024,
|
|
@@ -39,9 +40,9 @@ def add_texture_paint_slot(
|
|
|
39
40
|
:type execution_context: str | int | None
|
|
40
41
|
:type undo: bool | None
|
|
41
42
|
:param type: Material Layer Type, Material layer type of new paint slot
|
|
42
|
-
:type type:
|
|
43
|
+
:type type: str | int | None
|
|
43
44
|
:param slot_type: Slot Type, Type of new paint slot
|
|
44
|
-
:type slot_type:
|
|
45
|
+
:type slot_type: str | int | None
|
|
45
46
|
:param name: Name, Name for new paint slot source
|
|
46
47
|
:type name: str | typing.Any
|
|
47
48
|
:param color: Color, Default fill color
|
|
@@ -129,7 +130,7 @@ def face_select_all(
|
|
|
129
130
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
130
131
|
execution_context: str | int | None = None,
|
|
131
132
|
undo: bool | None = None,
|
|
132
|
-
action:
|
|
133
|
+
action: str | int | None = "TOGGLE",
|
|
133
134
|
):
|
|
134
135
|
"""Change selection for all faces
|
|
135
136
|
|
|
@@ -149,7 +150,7 @@ def face_select_all(
|
|
|
149
150
|
|
|
150
151
|
INVERT
|
|
151
152
|
Invert -- Invert selection of all elements.
|
|
152
|
-
:type action:
|
|
153
|
+
:type action: str | int | None
|
|
153
154
|
"""
|
|
154
155
|
|
|
155
156
|
...
|
|
@@ -299,8 +300,8 @@ def hide_show(
|
|
|
299
300
|
ymin: typing.Any | None = 0,
|
|
300
301
|
ymax: typing.Any | None = 0,
|
|
301
302
|
wait_for_input: bool | typing.Any | None = True,
|
|
302
|
-
action:
|
|
303
|
-
area:
|
|
303
|
+
action: str | int | None = "HIDE",
|
|
304
|
+
area: str | int | None = "Inside",
|
|
304
305
|
use_front_faces_only: bool | typing.Any | None = False,
|
|
305
306
|
):
|
|
306
307
|
"""Hide/show some vertices
|
|
@@ -325,7 +326,7 @@ def hide_show(
|
|
|
325
326
|
|
|
326
327
|
SHOW
|
|
327
328
|
Show -- Show vertices.
|
|
328
|
-
:type action:
|
|
329
|
+
:type action: str | int | None
|
|
329
330
|
:param area: Visibility Area, Which vertices to hide or show
|
|
330
331
|
|
|
331
332
|
OUTSIDE
|
|
@@ -333,7 +334,7 @@ def hide_show(
|
|
|
333
334
|
|
|
334
335
|
Inside
|
|
335
336
|
Inside -- Hide or show vertices inside the selection.
|
|
336
|
-
:type area:
|
|
337
|
+
:type area: str | int | None
|
|
337
338
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
338
339
|
:type use_front_faces_only: bool | typing.Any | None
|
|
339
340
|
"""
|
|
@@ -344,7 +345,7 @@ def hide_show_all(
|
|
|
344
345
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
345
346
|
execution_context: str | int | None = None,
|
|
346
347
|
undo: bool | None = None,
|
|
347
|
-
action:
|
|
348
|
+
action: str | int | None = "HIDE",
|
|
348
349
|
):
|
|
349
350
|
"""Hide/show all vertices
|
|
350
351
|
|
|
@@ -358,7 +359,7 @@ def hide_show_all(
|
|
|
358
359
|
|
|
359
360
|
SHOW
|
|
360
361
|
Show -- Show vertices.
|
|
361
|
-
:type action:
|
|
362
|
+
:type action: str | int | None
|
|
362
363
|
"""
|
|
363
364
|
|
|
364
365
|
...
|
|
@@ -368,8 +369,8 @@ def hide_show_lasso_gesture(
|
|
|
368
369
|
execution_context: str | int | None = None,
|
|
369
370
|
undo: bool | None = None,
|
|
370
371
|
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
|
|
371
|
-
action:
|
|
372
|
-
area:
|
|
372
|
+
action: str | int | None = "HIDE",
|
|
373
|
+
area: str | int | None = "Inside",
|
|
373
374
|
use_front_faces_only: bool | typing.Any | None = False,
|
|
374
375
|
):
|
|
375
376
|
"""Hide/show some vertices
|
|
@@ -386,7 +387,7 @@ def hide_show_lasso_gesture(
|
|
|
386
387
|
|
|
387
388
|
SHOW
|
|
388
389
|
Show -- Show vertices.
|
|
389
|
-
:type action:
|
|
390
|
+
:type action: str | int | None
|
|
390
391
|
:param area: Visibility Area, Which vertices to hide or show
|
|
391
392
|
|
|
392
393
|
OUTSIDE
|
|
@@ -394,7 +395,7 @@ def hide_show_lasso_gesture(
|
|
|
394
395
|
|
|
395
396
|
Inside
|
|
396
397
|
Inside -- Hide or show vertices inside the selection.
|
|
397
|
-
:type area:
|
|
398
|
+
:type area: str | int | None
|
|
398
399
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
399
400
|
:type use_front_faces_only: bool | typing.Any | None
|
|
400
401
|
"""
|
|
@@ -411,8 +412,8 @@ def hide_show_line_gesture(
|
|
|
411
412
|
yend: typing.Any | None = 0,
|
|
412
413
|
flip: bool | typing.Any | None = False,
|
|
413
414
|
cursor: typing.Any | None = 5,
|
|
414
|
-
action:
|
|
415
|
-
area:
|
|
415
|
+
action: str | int | None = "HIDE",
|
|
416
|
+
area: str | int | None = "Inside",
|
|
416
417
|
use_front_faces_only: bool | typing.Any | None = False,
|
|
417
418
|
use_limit_to_segment: bool | typing.Any | None = False,
|
|
418
419
|
):
|
|
@@ -440,7 +441,7 @@ def hide_show_line_gesture(
|
|
|
440
441
|
|
|
441
442
|
SHOW
|
|
442
443
|
Show -- Show vertices.
|
|
443
|
-
:type action:
|
|
444
|
+
:type action: str | int | None
|
|
444
445
|
:param area: Visibility Area, Which vertices to hide or show
|
|
445
446
|
|
|
446
447
|
OUTSIDE
|
|
@@ -448,7 +449,7 @@ def hide_show_line_gesture(
|
|
|
448
449
|
|
|
449
450
|
Inside
|
|
450
451
|
Inside -- Hide or show vertices inside the selection.
|
|
451
|
-
:type area:
|
|
452
|
+
:type area: str | int | None
|
|
452
453
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
453
454
|
:type use_front_faces_only: bool | typing.Any | None
|
|
454
455
|
:param use_limit_to_segment: Limit to Segment, Apply the gesture action only to the area that is contained within the segment without extending its effect to the entire line
|
|
@@ -461,7 +462,7 @@ def hide_show_masked(
|
|
|
461
462
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
462
463
|
execution_context: str | int | None = None,
|
|
463
464
|
undo: bool | None = None,
|
|
464
|
-
action:
|
|
465
|
+
action: str | int | None = "HIDE",
|
|
465
466
|
):
|
|
466
467
|
"""Hide/show all masked vertices above a threshold
|
|
467
468
|
|
|
@@ -475,7 +476,7 @@ def hide_show_masked(
|
|
|
475
476
|
|
|
476
477
|
SHOW
|
|
477
478
|
Show -- Show vertices.
|
|
478
|
-
:type action:
|
|
479
|
+
:type action: str | int | None
|
|
479
480
|
"""
|
|
480
481
|
|
|
481
482
|
...
|
|
@@ -485,8 +486,8 @@ def hide_show_polyline_gesture(
|
|
|
485
486
|
execution_context: str | int | None = None,
|
|
486
487
|
undo: bool | None = None,
|
|
487
488
|
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
|
|
488
|
-
action:
|
|
489
|
-
area:
|
|
489
|
+
action: str | int | None = "HIDE",
|
|
490
|
+
area: str | int | None = "Inside",
|
|
490
491
|
use_front_faces_only: bool | typing.Any | None = False,
|
|
491
492
|
):
|
|
492
493
|
"""Hide/show some vertices
|
|
@@ -503,7 +504,7 @@ def hide_show_polyline_gesture(
|
|
|
503
504
|
|
|
504
505
|
SHOW
|
|
505
506
|
Show -- Show vertices.
|
|
506
|
-
:type action:
|
|
507
|
+
:type action: str | int | None
|
|
507
508
|
:param area: Visibility Area, Which vertices to hide or show
|
|
508
509
|
|
|
509
510
|
OUTSIDE
|
|
@@ -511,7 +512,7 @@ def hide_show_polyline_gesture(
|
|
|
511
512
|
|
|
512
513
|
Inside
|
|
513
514
|
Inside -- Hide or show vertices inside the selection.
|
|
514
|
-
:type area:
|
|
515
|
+
:type area: str | int | None
|
|
515
516
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
516
517
|
:type use_front_faces_only: bool | typing.Any | None
|
|
517
518
|
"""
|
|
@@ -541,7 +542,7 @@ def image_paint(
|
|
|
541
542
|
undo: bool | None = None,
|
|
542
543
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
543
544
|
| None = None,
|
|
544
|
-
mode:
|
|
545
|
+
mode: str | int | None = "NORMAL",
|
|
545
546
|
):
|
|
546
547
|
"""Paint a stroke into the image
|
|
547
548
|
|
|
@@ -560,7 +561,7 @@ def image_paint(
|
|
|
560
561
|
|
|
561
562
|
SMOOTH
|
|
562
563
|
Smooth -- Switch brush to smooth mode for duration of stroke.
|
|
563
|
-
:type mode:
|
|
564
|
+
:type mode: str | int | None
|
|
564
565
|
"""
|
|
565
566
|
|
|
566
567
|
...
|
|
@@ -575,7 +576,7 @@ def mask_box_gesture(
|
|
|
575
576
|
ymax: typing.Any | None = 0,
|
|
576
577
|
wait_for_input: bool | typing.Any | None = True,
|
|
577
578
|
use_front_faces_only: bool | typing.Any | None = False,
|
|
578
|
-
mode:
|
|
579
|
+
mode: str | int | None = "VALUE",
|
|
579
580
|
value: typing.Any | None = 1.0,
|
|
580
581
|
):
|
|
581
582
|
"""Mask within a rectangle defined by the cursor
|
|
@@ -605,7 +606,7 @@ def mask_box_gesture(
|
|
|
605
606
|
|
|
606
607
|
INVERT
|
|
607
608
|
Invert -- Invert the mask.
|
|
608
|
-
:type mode:
|
|
609
|
+
:type mode: str | int | None
|
|
609
610
|
:param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
|
|
610
611
|
:type value: typing.Any | None
|
|
611
612
|
"""
|
|
@@ -616,7 +617,7 @@ def mask_flood_fill(
|
|
|
616
617
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
617
618
|
execution_context: str | int | None = None,
|
|
618
619
|
undo: bool | None = None,
|
|
619
|
-
mode:
|
|
620
|
+
mode: str | int | None = "VALUE",
|
|
620
621
|
value: typing.Any | None = 0.0,
|
|
621
622
|
):
|
|
622
623
|
"""Fill the whole mask with a given value, or invert its values
|
|
@@ -634,7 +635,7 @@ def mask_flood_fill(
|
|
|
634
635
|
|
|
635
636
|
INVERT
|
|
636
637
|
Invert -- Invert the mask.
|
|
637
|
-
:type mode:
|
|
638
|
+
:type mode: str | int | None
|
|
638
639
|
:param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
|
|
639
640
|
:type value: typing.Any | None
|
|
640
641
|
"""
|
|
@@ -647,7 +648,7 @@ def mask_lasso_gesture(
|
|
|
647
648
|
undo: bool | None = None,
|
|
648
649
|
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
|
|
649
650
|
use_front_faces_only: bool | typing.Any | None = False,
|
|
650
|
-
mode:
|
|
651
|
+
mode: str | int | None = "VALUE",
|
|
651
652
|
value: typing.Any | None = 1.0,
|
|
652
653
|
):
|
|
653
654
|
"""Mask within a shape defined by the cursor
|
|
@@ -669,7 +670,7 @@ def mask_lasso_gesture(
|
|
|
669
670
|
|
|
670
671
|
INVERT
|
|
671
672
|
Invert -- Invert the mask.
|
|
672
|
-
:type mode:
|
|
673
|
+
:type mode: str | int | None
|
|
673
674
|
:param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
|
|
674
675
|
:type value: typing.Any | None
|
|
675
676
|
"""
|
|
@@ -688,7 +689,7 @@ def mask_line_gesture(
|
|
|
688
689
|
cursor: typing.Any | None = 5,
|
|
689
690
|
use_front_faces_only: bool | typing.Any | None = False,
|
|
690
691
|
use_limit_to_segment: bool | typing.Any | None = False,
|
|
691
|
-
mode:
|
|
692
|
+
mode: str | int | None = "VALUE",
|
|
692
693
|
value: typing.Any | None = 1.0,
|
|
693
694
|
):
|
|
694
695
|
"""Mask to one side of a line defined by the cursor
|
|
@@ -722,7 +723,7 @@ def mask_line_gesture(
|
|
|
722
723
|
|
|
723
724
|
INVERT
|
|
724
725
|
Invert -- Invert the mask.
|
|
725
|
-
:type mode:
|
|
726
|
+
:type mode: str | int | None
|
|
726
727
|
:param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
|
|
727
728
|
:type value: typing.Any | None
|
|
728
729
|
"""
|
|
@@ -733,7 +734,7 @@ def project_image(
|
|
|
733
734
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
734
735
|
execution_context: str | int | None = None,
|
|
735
736
|
undo: bool | None = None,
|
|
736
|
-
image: str | int |
|
|
737
|
+
image: str | int | None = "",
|
|
737
738
|
):
|
|
738
739
|
"""Project an edited render from the active camera back onto the object
|
|
739
740
|
|
|
@@ -741,7 +742,7 @@ def project_image(
|
|
|
741
742
|
:type execution_context: str | int | None
|
|
742
743
|
:type undo: bool | None
|
|
743
744
|
:param image: Image
|
|
744
|
-
:type image: str | int |
|
|
745
|
+
:type image: str | int | None
|
|
745
746
|
"""
|
|
746
747
|
|
|
747
748
|
...
|
|
@@ -787,7 +788,7 @@ def vert_select_all(
|
|
|
787
788
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
788
789
|
execution_context: str | int | None = None,
|
|
789
790
|
undo: bool | None = None,
|
|
790
|
-
action:
|
|
791
|
+
action: str | int | None = "TOGGLE",
|
|
791
792
|
):
|
|
792
793
|
"""Change selection for all vertices
|
|
793
794
|
|
|
@@ -807,7 +808,7 @@ def vert_select_all(
|
|
|
807
808
|
|
|
808
809
|
INVERT
|
|
809
810
|
Invert -- Invert selection of all elements.
|
|
810
|
-
:type action:
|
|
811
|
+
:type action: str | int | None
|
|
811
812
|
"""
|
|
812
813
|
|
|
813
814
|
...
|
|
@@ -1071,7 +1072,7 @@ def vertex_paint(
|
|
|
1071
1072
|
undo: bool | None = None,
|
|
1072
1073
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
1073
1074
|
| None = None,
|
|
1074
|
-
mode:
|
|
1075
|
+
mode: str | int | None = "NORMAL",
|
|
1075
1076
|
):
|
|
1076
1077
|
"""Paint a stroke in the active color attribute layer
|
|
1077
1078
|
|
|
@@ -1090,7 +1091,7 @@ def vertex_paint(
|
|
|
1090
1091
|
|
|
1091
1092
|
SMOOTH
|
|
1092
1093
|
Smooth -- Switch brush to smooth mode for duration of stroke.
|
|
1093
|
-
:type mode:
|
|
1094
|
+
:type mode: str | int | None
|
|
1094
1095
|
"""
|
|
1095
1096
|
|
|
1096
1097
|
...
|
|
@@ -1127,7 +1128,7 @@ def weight_from_bones(
|
|
|
1127
1128
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1128
1129
|
execution_context: str | int | None = None,
|
|
1129
1130
|
undo: bool | None = None,
|
|
1130
|
-
type:
|
|
1131
|
+
type: str | int | None = "AUTOMATIC",
|
|
1131
1132
|
):
|
|
1132
1133
|
"""Set the weights of the groups matching the attached armature's selected bones, using the distance between the vertices and the bones
|
|
1133
1134
|
|
|
@@ -1141,7 +1142,7 @@ def weight_from_bones(
|
|
|
1141
1142
|
|
|
1142
1143
|
ENVELOPES
|
|
1143
1144
|
From Envelopes -- Weights from envelopes with user defined radius.
|
|
1144
|
-
:type type:
|
|
1145
|
+
:type type: str | int | None
|
|
1145
1146
|
"""
|
|
1146
1147
|
|
|
1147
1148
|
...
|
|
@@ -1150,7 +1151,7 @@ def weight_gradient(
|
|
|
1150
1151
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1151
1152
|
execution_context: str | int | None = None,
|
|
1152
1153
|
undo: bool | None = None,
|
|
1153
|
-
type:
|
|
1154
|
+
type: str | int | None = "LINEAR",
|
|
1154
1155
|
xstart: typing.Any | None = 0,
|
|
1155
1156
|
xend: typing.Any | None = 0,
|
|
1156
1157
|
ystart: typing.Any | None = 0,
|
|
@@ -1164,7 +1165,7 @@ def weight_gradient(
|
|
|
1164
1165
|
:type execution_context: str | int | None
|
|
1165
1166
|
:type undo: bool | None
|
|
1166
1167
|
:param type: Type
|
|
1167
|
-
:type type:
|
|
1168
|
+
:type type: str | int | None
|
|
1168
1169
|
:param xstart: X Start
|
|
1169
1170
|
:type xstart: typing.Any | None
|
|
1170
1171
|
:param xend: X End
|
|
@@ -1187,7 +1188,7 @@ def weight_paint(
|
|
|
1187
1188
|
undo: bool | None = None,
|
|
1188
1189
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
1189
1190
|
| None = None,
|
|
1190
|
-
mode:
|
|
1191
|
+
mode: str | int | None = "NORMAL",
|
|
1191
1192
|
):
|
|
1192
1193
|
"""Paint a stroke in the current vertex group's weights
|
|
1193
1194
|
|
|
@@ -1206,7 +1207,7 @@ def weight_paint(
|
|
|
1206
1207
|
|
|
1207
1208
|
SMOOTH
|
|
1208
1209
|
Smooth -- Switch brush to smooth mode for duration of stroke.
|
|
1209
|
-
:type mode:
|
|
1210
|
+
:type mode: str | int | None
|
|
1210
1211
|
"""
|
|
1211
1212
|
|
|
1212
1213
|
...
|
bpy/ops/paintcurve/__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 add_point(
|
|
7
8
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|