fake-bpy-module 20240210__py3-none-any.whl → 20240326__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fake-bpy-module might be problematic. Click here for more details.
- addon_utils/__init__.pyi +54 -11
- animsys_refactor/__init__.pyi +36 -7
- aud/__init__.pyi +307 -321
- bgl/__init__.pyi +2926 -865
- bl_app_override/__init__.pyi +14 -4
- bl_app_override/helpers/__init__.pyi +24 -3
- bl_app_template_utils/__init__.pyi +19 -5
- bl_console_utils/__init__.pyi +0 -1
- bl_console_utils/autocomplete/__init__.pyi +2 -3
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +24 -6
- bl_console_utils/autocomplete/complete_import/__init__.pyi +14 -4
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +24 -6
- bl_console_utils/autocomplete/intellisense/__init__.pyi +9 -3
- bl_i18n_utils/__init__.pyi +2 -3
- bl_i18n_utils/bl_extract_messages/__init__.pyi +74 -16
- bl_i18n_utils/merge_po/__init__.pyi +4 -2
- bl_i18n_utils/settings/__init__.pyi +53 -7
- bl_i18n_utils/utils/__init__.pyi +332 -45
- bl_i18n_utils/utils_cli/__init__.pyi +29 -7
- bl_i18n_utils/utils_languages_menu/__init__.pyi +4 -2
- bl_i18n_utils/utils_rtl/__init__.pyi +9 -3
- bl_keymap_utils/__init__.pyi +2 -3
- bl_keymap_utils/io/__init__.pyi +44 -10
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +4 -2
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +4 -2
- bl_keymap_utils/platform_helpers/__init__.pyi +9 -3
- bl_keymap_utils/versioning/__init__.pyi +4 -2
- bl_math/__init__.pyi +21 -22
- bl_operators/__init__.pyi +30 -24
- bl_operators/add_mesh_torus/__init__.pyi +171 -38
- bl_operators/anim/__init__.pyi +1065 -227
- bl_operators/assets/__init__.pyi +427 -93
- bl_operators/bmesh/__init__.pyi +0 -1
- bl_operators/bmesh/find_adjacent/__init__.pyi +44 -10
- bl_operators/clip/__init__.pyi +1342 -288
- bl_operators/console/__init__.pyi +647 -141
- bl_operators/constraint/__init__.pyi +524 -113
- bl_operators/file/__init__.pyi +396 -85
- bl_operators/freestyle/__init__.pyi +532 -114
- bl_operators/geometry_nodes/__init__.pyi +2412 -597
- bl_operators/image/__init__.pyi +380 -83
- bl_operators/mesh/__init__.pyi +401 -86
- bl_operators/node/__init__.pyi +1756 -385
- bl_operators/object/__init__.pyi +2022 -553
- bl_operators/object_align/__init__.pyi +145 -32
- bl_operators/object_quick_effects/__init__.pyi +555 -125
- bl_operators/object_randomize_transform/__init__.pyi +136 -33
- bl_operators/presets/__init__.pyi +3516 -709
- bl_operators/rigidbody/__init__.pyi +401 -86
- bl_operators/screen_play_rendered_anim/__init__.pyi +129 -30
- bl_operators/sequencer/__init__.pyi +731 -150
- bl_operators/spreadsheet/__init__.pyi +145 -31
- bl_operators/userpref/__init__.pyi +3416 -825
- bl_operators/uvcalc_follow_active/__init__.pyi +149 -33
- bl_operators/uvcalc_lightmap/__init__.pyi +187 -35
- bl_operators/uvcalc_transform/__init__.pyi +344 -74
- bl_operators/vertexpaint_dirt/__init__.pyi +140 -31
- bl_operators/view3d/__init__.pyi +697 -147
- bl_operators/wm/__init__.pyi +6287 -1534
- bl_previews_utils/__init__.pyi +0 -1
- bl_previews_utils/bl_previews_render/__init__.pyi +34 -8
- bl_rna_utils/__init__.pyi +0 -1
- bl_rna_utils/data_path/__init__.pyi +12 -3
- bl_text_utils/__init__.pyi +0 -1
- bl_text_utils/external_editor/__init__.pyi +4 -2
- bl_ui/__init__.pyi +567 -170
- bl_ui/anim/__init__.pyi +164 -34
- bl_ui/asset_shelf/__init__.pyi +146 -32
- bl_ui/generic_ui_list/__init__.pyi +471 -100
- bl_ui/node_add_menu/__init__.pyi +196 -41
- bl_ui/node_add_menu_compositor/__init__.pyi +3017 -622
- bl_ui/node_add_menu_geometry/__init__.pyi +8075 -1592
- bl_ui/node_add_menu_shader/__init__.pyi +1709 -349
- bl_ui/node_add_menu_texture/__init__.pyi +1502 -306
- bl_ui/properties_animviz/__init__.pyi +32 -3
- bl_ui/properties_collection/__init__.pyi +787 -180
- bl_ui/properties_constraint/__init__.pyi +28635 -5524
- bl_ui/properties_data_armature/__init__.pyi +1905 -449
- bl_ui/properties_data_bone/__init__.pyi +1560 -337
- bl_ui/properties_data_camera/__init__.pyi +2269 -495
- bl_ui/properties_data_curve/__init__.pyi +2362 -535
- bl_ui/properties_data_curves/__init__.pyi +951 -204
- bl_ui/properties_data_empty/__init__.pyi +317 -70
- bl_ui/properties_data_gpencil/__init__.pyi +2924 -735
- bl_ui/properties_data_grease_pencil/__init__.pyi +1631 -189
- bl_ui/properties_data_lattice/__init__.pyi +472 -105
- bl_ui/properties_data_light/__init__.pyi +1570 -338
- bl_ui/properties_data_lightprobe/__init__.pyi +938 -209
- bl_ui/properties_data_mesh/__init__.pyi +3205 -768
- bl_ui/properties_data_metaball/__init__.pyi +774 -171
- bl_ui/properties_data_modifier/__init__.pyi +1554 -329
- bl_ui/properties_data_pointcloud/__init__.pyi +821 -195
- bl_ui/properties_data_shaderfx/__init__.pyi +154 -35
- bl_ui/properties_data_speaker/__init__.pyi +782 -169
- bl_ui/properties_data_volume/__init__.pyi +1243 -282
- bl_ui/properties_freestyle/__init__.pyi +4071 -1031
- bl_ui/properties_grease_pencil_common/__init__.pyi +2399 -484
- bl_ui/properties_mask_common/__init__.pyi +1256 -250
- bl_ui/properties_material/__init__.pyi +2351 -543
- bl_ui/properties_material_gpencil/__init__.pyi +1590 -366
- bl_ui/properties_object/__init__.pyi +2179 -513
- bl_ui/properties_output/__init__.pyi +2956 -706
- bl_ui/properties_paint_common/__init__.pyi +947 -141
- bl_ui/properties_particle/__init__.pyi +8322 -1971
- bl_ui/properties_physics_cloth/__init__.pyi +2254 -509
- bl_ui/properties_physics_common/__init__.pyi +200 -45
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +4454 -966
- bl_ui/properties_physics_field/__init__.pyi +1695 -365
- bl_ui/properties_physics_fluid/__init__.pyi +6127 -1281
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +157 -33
- bl_ui/properties_physics_rigidbody/__init__.pyi +1254 -279
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2053 -484
- bl_ui/properties_physics_softbody/__init__.pyi +2394 -543
- bl_ui/properties_render/__init__.pyi +8312 -1934
- bl_ui/properties_scene/__init__.pyi +2211 -540
- bl_ui/properties_texture/__init__.pyi +4185 -1014
- bl_ui/properties_view_layer/__init__.pyi +2803 -665
- bl_ui/properties_workspace/__init__.pyi +626 -149
- bl_ui/properties_world/__init__.pyi +1092 -235
- bl_ui/space_clip/__init__.pyi +11475 -2806
- bl_ui/space_console/__init__.pyi +967 -203
- bl_ui/space_dopesheet/__init__.pyi +4260 -967
- bl_ui/space_filebrowser/__init__.pyi +4852 -1188
- bl_ui/space_graph/__init__.pyi +3251 -703
- bl_ui/space_image/__init__.pyi +12218 -2968
- bl_ui/space_info/__init__.pyi +964 -201
- bl_ui/space_nla/__init__.pyi +2756 -585
- bl_ui/space_node/__init__.pyi +5661 -1266
- bl_ui/space_outliner/__init__.pyi +2294 -479
- bl_ui/space_properties/__init__.pyi +417 -93
- bl_ui/space_sequencer/__init__.pyi +12436 -3010
- bl_ui/space_spreadsheet/__init__.pyi +184 -37
- bl_ui/space_statusbar/__init__.pyi +135 -31
- bl_ui/space_text/__init__.pyi +2556 -543
- bl_ui/space_time/__init__.pyi +1151 -244
- bl_ui/space_toolsystem_common/__init__.pyi +368 -67
- bl_ui/space_toolsystem_toolbar/__init__.pyi +1378 -229
- bl_ui/space_topbar/__init__.pyi +4214 -888
- bl_ui/space_userpref/__init__.pyi +13920 -3468
- bl_ui/space_view3d/__init__.pyi +42751 -9613
- bl_ui/space_view3d_toolbar/__init__.pyi +16379 -3860
- bl_ui/utils/__init__.pyi +42 -5
- bl_ui_utils/__init__.pyi +0 -1
- bl_ui_utils/bug_report_url/__init__.pyi +4 -2
- bl_ui_utils/layout/__init__.pyi +4 -2
- blend_render_info/__init__.pyi +13 -4
- blf/__init__.pyi +15 -18
- bmesh/__init__.pyi +18 -18
- bmesh/geometry/__init__.pyi +5 -6
- bmesh/ops/__init__.pyi +1337 -1158
- bmesh/types/__init__.pyi +464 -374
- bmesh/utils/__init__.pyi +64 -70
- bpy/__init__.pyi +6 -7
- bpy/app/__init__.pyi +36 -38
- bpy/app/handlers/__init__.pyi +37 -38
- bpy/app/icons/__init__.pyi +8 -11
- bpy/app/timers/__init__.pyi +18 -17
- bpy/app/translations/__init__.pyi +32 -30
- bpy/msgbus/__init__.pyi +25 -20
- bpy/ops/__init__.pyi +63 -64
- bpy/ops/action/__init__.pyi +408 -436
- bpy/ops/anim/__init__.pyi +459 -577
- bpy/ops/armature/__init__.pyi +396 -498
- bpy/ops/asset/__init__.pyi +187 -213
- bpy/ops/boid/__init__.pyi +50 -68
- bpy/ops/brush/__init__.pyi +72 -97
- bpy/ops/buttons/__init__.pyi +202 -193
- bpy/ops/cachefile/__init__.pyi +198 -188
- bpy/ops/camera/__init__.pyi +24 -31
- bpy/ops/clip/__init__.pyi +1021 -1082
- bpy/ops/cloth/__init__.pyi +11 -15
- bpy/ops/collection/__init__.pyi +36 -51
- bpy/ops/console/__init__.pyi +155 -209
- bpy/ops/constraint/__init__.pyi +286 -254
- bpy/ops/curve/__init__.pyi +597 -659
- bpy/ops/curves/__init__.pyi +191 -225
- bpy/ops/cycles/__init__.pyi +21 -30
- bpy/ops/dpaint/__init__.pyi +34 -47
- bpy/ops/ed/__init__.pyi +160 -176
- bpy/ops/export_anim/__init__.pyi +51 -34
- bpy/ops/export_mesh/__init__.pyi +47 -45
- bpy/ops/export_scene/__init__.pyi +659 -504
- bpy/ops/file/__init__.pyi +469 -474
- bpy/ops/fluid/__init__.pyi +89 -119
- bpy/ops/font/__init__.pyi +325 -361
- bpy/ops/geometry/__init__.pyi +86 -114
- bpy/ops/gizmogroup/__init__.pyi +22 -28
- bpy/ops/gpencil/__init__.pyi +1900 -1976
- bpy/ops/graph/__init__.pyi +875 -894
- bpy/ops/grease_pencil/__init__.pyi +572 -508
- bpy/ops/image/__init__.pyi +805 -855
- bpy/ops/import_anim/__init__.pyi +66 -46
- bpy/ops/import_curve/__init__.pyi +7 -11
- bpy/ops/import_mesh/__init__.pyi +19 -25
- bpy/ops/import_scene/__init__.pyi +164 -147
- bpy/ops/info/__init__.pyi +88 -85
- bpy/ops/lattice/__init__.pyi +86 -90
- bpy/ops/marker/__init__.pyi +135 -146
- bpy/ops/mask/__init__.pyi +372 -436
- bpy/ops/material/__init__.pyi +18 -25
- bpy/ops/mball/__init__.pyi +93 -99
- bpy/ops/mesh/__init__.pyi +2525 -2664
- bpy/ops/nla/__init__.pyi +398 -455
- bpy/ops/node/__init__.pyi +1015 -1207
- bpy/ops/object/__init__.pyi +3423 -3390
- bpy/ops/outliner/__init__.pyi +667 -685
- bpy/ops/paint/__init__.pyi +719 -672
- bpy/ops/paintcurve/__init__.pyi +64 -85
- bpy/ops/palette/__init__.pyi +48 -67
- bpy/ops/particle/__init__.pyi +323 -367
- bpy/ops/pose/__init__.pyi +569 -474
- bpy/ops/poselib/__init__.pyi +77 -100
- bpy/ops/preferences/__init__.pyi +460 -512
- bpy/ops/ptcache/__init__.pyi +46 -63
- bpy/ops/render/__init__.pyi +121 -155
- bpy/ops/rigidbody/__init__.pyi +148 -143
- bpy/ops/scene/__init__.pyi +336 -380
- bpy/ops/screen/__init__.pyi +454 -530
- bpy/ops/script/__init__.pyi +19 -28
- bpy/ops/sculpt/__init__.pyi +734 -587
- bpy/ops/sculpt_curves/__init__.pyi +51 -56
- bpy/ops/sequencer/__init__.pyi +1617 -1500
- bpy/ops/sound/__init__.pyi +392 -315
- bpy/ops/spreadsheet/__init__.pyi +31 -42
- bpy/ops/surface/__init__.pyi +198 -163
- bpy/ops/text/__init__.pyi +479 -545
- bpy/ops/text_editor/__init__.pyi +11 -15
- bpy/ops/texture/__init__.pyi +26 -36
- bpy/ops/transform/__init__.pyi +825 -941
- bpy/ops/ui/__init__.pyi +246 -295
- bpy/ops/uilist/__init__.pyi +34 -38
- bpy/ops/uv/__init__.pyi +912 -824
- bpy/ops/view2d/__init__.pyi +157 -197
- bpy/ops/view3d/__init__.pyi +777 -878
- bpy/ops/wm/__init__.pyi +4102 -3595
- bpy/ops/workspace/__init__.pyi +42 -58
- bpy/ops/world/__init__.pyi +6 -9
- bpy/path/__init__.pyi +166 -109
- bpy/props/__init__.pyi +478 -395
- bpy/types/__init__.pyi +87194 -81467
- bpy/utils/__init__.pyi +325 -169
- bpy/utils/previews/__init__.pyi +108 -21
- bpy/utils/units/__init__.pyi +37 -39
- bpy_extras/__init__.pyi +4 -9
- bpy_extras/anim_utils/__init__.pyi +25 -55
- bpy_extras/asset_utils/__init__.pyi +3 -13
- bpy_extras/id_map_utils/__init__.pyi +1 -4
- bpy_extras/image_utils/__init__.pyi +33 -23
- bpy_extras/io_utils/__init__.pyi +116 -66
- bpy_extras/keyconfig_utils/__init__.pyi +5 -3
- bpy_extras/mesh_utils/__init__.pyi +42 -34
- bpy_extras/node_utils/__init__.pyi +4 -4
- bpy_extras/object_utils/__init__.pyi +58 -43
- bpy_extras/view3d_utils/__init__.pyi +64 -63
- bpy_restrict_state/__init__.pyi +14 -2
- bpy_types/__init__.pyi +3873 -998
- console_python/__init__.pyi +41 -8
- console_shell/__init__.pyi +24 -6
- {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/METADATA +1 -1
- fake_bpy_module-20240326.dist-info/RECORD +343 -0
- {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/WHEEL +1 -1
- freestyle/__init__.pyi +4 -5
- freestyle/chainingiterators/__init__.pyi +229 -73
- freestyle/functions/__init__.pyi +624 -402
- freestyle/predicates/__init__.pyi +381 -169
- freestyle/shaders/__init__.pyi +424 -155
- freestyle/types/__init__.pyi +1572 -726
- freestyle/utils/ContextFunctions/__init__.pyi +54 -43
- freestyle/utils/__init__.pyi +67 -31
- gpu/__init__.pyi +3 -4
- gpu/capabilities/__init__.pyi +57 -37
- gpu/matrix/__init__.pyi +14 -17
- gpu/platform/__init__.pyi +5 -6
- gpu/select/__init__.pyi +2 -5
- gpu/shader/__init__.pyi +14 -12
- gpu/state/__init__.pyi +48 -62
- gpu/texture/__init__.pyi +7 -7
- gpu/types/__init__.pyi +670 -229
- gpu_extras/__init__.pyi +1 -2
- gpu_extras/batch/__init__.pyi +27 -6
- gpu_extras/presets/__init__.pyi +67 -27
- graphviz_export/__init__.pyi +9 -3
- idprop/__init__.pyi +0 -1
- idprop/types/__init__.pyi +42 -13
- imbuf/__init__.pyi +6 -10
- imbuf/types/__init__.pyi +8 -16
- keyingsets_builtins/__init__.pyi +3149 -702
- keyingsets_utils/__init__.pyi +69 -15
- mathutils/__init__.pyi +951 -876
- mathutils/bvhtree/__init__.pyi +47 -48
- mathutils/geometry/__init__.pyi +237 -242
- mathutils/interpolate/__init__.pyi +3 -6
- mathutils/kdtree/__init__.pyi +23 -26
- mathutils/noise/__init__.pyi +50 -51
- nodeitems_builtins/__init__.pyi +50 -11
- nodeitems_utils/__init__.pyi +58 -11
- rna_info/__init__.pyi +230 -27
- rna_keymap_ui/__init__.pyi +29 -7
- rna_prop_ui/__init__.pyi +69 -13
- rna_xml/__init__.pyi +29 -7
- sys_info/__init__.pyi +4 -2
- bpy_extras/bmesh_utils/__init__.pyi +0 -7
- bpy_extras/extensions/__init__.pyi +0 -5
- bpy_extras/extensions/junction_module/__init__.pyi +0 -13
- bpy_extras/node_shader_utils/__init__.pyi +0 -132
- bpy_extras/wm_utils/__init__.pyi +0 -5
- bpy_extras/wm_utils/progress_report/__init__.pyi +0 -30
- fake_bpy_module-20240210.dist-info/RECORD +0 -349
- {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/top_level.txt +0 -0
bpy/ops/paint/__init__.pyi
CHANGED
|
@@ -1,372 +1,440 @@
|
|
|
1
|
-
import sys
|
|
2
1
|
import typing
|
|
3
2
|
import bpy.types
|
|
4
3
|
|
|
5
4
|
GenericType = typing.TypeVar("GenericType")
|
|
6
5
|
|
|
7
6
|
def add_simple_uvs(
|
|
8
|
-
override_context: typing.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
12
|
-
undo: typing.Optional[bool] = None,
|
|
7
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
+
execution_context: typing.Union[str, int] = None,
|
|
9
|
+
undo: bool = None,
|
|
13
10
|
):
|
|
14
11
|
"""Add cube map UVs on mesh
|
|
15
12
|
|
|
16
|
-
:type override_context: typing.
|
|
17
|
-
:type execution_context: typing.
|
|
18
|
-
:type undo:
|
|
13
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
14
|
+
:type execution_context: typing.Union[str, int]
|
|
15
|
+
:type undo: bool
|
|
19
16
|
"""
|
|
20
17
|
|
|
21
18
|
...
|
|
22
19
|
|
|
23
20
|
def add_texture_paint_slot(
|
|
24
|
-
override_context: typing.
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
*,
|
|
30
|
-
type: typing.Optional[typing.Any] = "BASE_COLOR",
|
|
31
|
-
slot_type: typing.Optional[typing.Any] = "IMAGE",
|
|
21
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
22
|
+
execution_context: typing.Union[str, int] = None,
|
|
23
|
+
undo: bool = None,
|
|
24
|
+
type: typing.Any = "BASE_COLOR",
|
|
25
|
+
slot_type: typing.Any = "IMAGE",
|
|
32
26
|
name: typing.Union[str, typing.Any] = "Untitled",
|
|
33
|
-
color: typing.
|
|
34
|
-
width: typing.
|
|
35
|
-
height: typing.
|
|
36
|
-
alpha: typing.
|
|
37
|
-
generated_type: typing.
|
|
38
|
-
float: typing.
|
|
39
|
-
domain: typing.
|
|
40
|
-
data_type: typing.
|
|
27
|
+
color: typing.Any = (0.0, 0.0, 0.0, 1.0),
|
|
28
|
+
width: typing.Any = 1024,
|
|
29
|
+
height: typing.Any = 1024,
|
|
30
|
+
alpha: typing.Union[bool, typing.Any] = True,
|
|
31
|
+
generated_type: typing.Any = "BLANK",
|
|
32
|
+
float: typing.Union[bool, typing.Any] = False,
|
|
33
|
+
domain: typing.Any = "POINT",
|
|
34
|
+
data_type: typing.Any = "FLOAT_COLOR",
|
|
41
35
|
):
|
|
42
36
|
"""Add a paint slot
|
|
43
37
|
|
|
44
|
-
:type override_context: typing.
|
|
45
|
-
:type execution_context: typing.
|
|
46
|
-
:type undo:
|
|
38
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
39
|
+
:type execution_context: typing.Union[str, int]
|
|
40
|
+
:type undo: bool
|
|
47
41
|
:param type: Material Layer Type, Material layer type of new paint slot
|
|
48
|
-
:type type: typing.
|
|
42
|
+
:type type: typing.Any
|
|
49
43
|
:param slot_type: Slot Type, Type of new paint slot
|
|
50
|
-
:type slot_type: typing.
|
|
44
|
+
:type slot_type: typing.Any
|
|
51
45
|
:param name: Name, Name for new paint slot source
|
|
52
46
|
:type name: typing.Union[str, typing.Any]
|
|
53
47
|
:param color: Color, Default fill color
|
|
54
|
-
:type color: typing.
|
|
48
|
+
:type color: typing.Any
|
|
55
49
|
:param width: Width, Image width
|
|
56
|
-
:type width: typing.
|
|
50
|
+
:type width: typing.Any
|
|
57
51
|
:param height: Height, Image height
|
|
58
|
-
:type height: typing.
|
|
52
|
+
:type height: typing.Any
|
|
59
53
|
:param alpha: Alpha, Create an image with an alpha channel
|
|
60
|
-
:type alpha: typing.
|
|
54
|
+
:type alpha: typing.Union[bool, typing.Any]
|
|
61
55
|
:param generated_type: Generated Type, Fill the image with a grid for UV map testing
|
|
62
|
-
:type generated_type: typing.
|
|
56
|
+
:type generated_type: typing.Any
|
|
63
57
|
:param float: 32-bit Float, Create image with 32-bit floating-point bit depth
|
|
64
|
-
:type float: typing.
|
|
58
|
+
:type float: typing.Union[bool, typing.Any]
|
|
65
59
|
:param domain: Domain, Type of element that attribute is stored on
|
|
66
|
-
:type domain: typing.
|
|
60
|
+
:type domain: typing.Any
|
|
67
61
|
:param data_type: Data Type, Type of data stored in attribute
|
|
68
|
-
:type data_type: typing.
|
|
62
|
+
:type data_type: typing.Any
|
|
69
63
|
"""
|
|
70
64
|
|
|
71
65
|
...
|
|
72
66
|
|
|
73
67
|
def brush_colors_flip(
|
|
74
|
-
override_context: typing.
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
78
|
-
undo: typing.Optional[bool] = None,
|
|
68
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
69
|
+
execution_context: typing.Union[str, int] = None,
|
|
70
|
+
undo: bool = None,
|
|
79
71
|
):
|
|
80
72
|
"""Swap primary and secondary brush colors
|
|
81
73
|
|
|
82
|
-
:type override_context: typing.
|
|
83
|
-
:type execution_context: typing.
|
|
84
|
-
:type undo:
|
|
74
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
75
|
+
:type execution_context: typing.Union[str, int]
|
|
76
|
+
:type undo: bool
|
|
85
77
|
"""
|
|
86
78
|
|
|
87
79
|
...
|
|
88
80
|
|
|
89
81
|
def brush_select(
|
|
90
|
-
override_context: typing.
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
curves_sculpt_tool: typing.Optional[typing.Union[str, int]] = "COMB",
|
|
105
|
-
toggle: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
106
|
-
create_missing: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
82
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
83
|
+
execution_context: typing.Union[str, int] = None,
|
|
84
|
+
undo: bool = None,
|
|
85
|
+
sculpt_tool: typing.Any = "DRAW",
|
|
86
|
+
vertex_tool: typing.Any = "DRAW",
|
|
87
|
+
weight_tool: typing.Any = "DRAW",
|
|
88
|
+
image_tool: typing.Any = "DRAW",
|
|
89
|
+
gpencil_tool: typing.Any = "DRAW",
|
|
90
|
+
gpencil_vertex_tool: typing.Any = "DRAW",
|
|
91
|
+
gpencil_sculpt_tool: typing.Any = "SMOOTH",
|
|
92
|
+
gpencil_weight_tool: typing.Any = "WEIGHT",
|
|
93
|
+
curves_sculpt_tool: typing.Any = "COMB",
|
|
94
|
+
toggle: typing.Union[bool, typing.Any] = False,
|
|
95
|
+
create_missing: typing.Union[bool, typing.Any] = False,
|
|
107
96
|
):
|
|
108
97
|
"""Select a paint mode's brush by tool type
|
|
109
98
|
|
|
110
|
-
:type override_context: typing.
|
|
111
|
-
:type execution_context: typing.
|
|
112
|
-
:type undo:
|
|
99
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
100
|
+
:type execution_context: typing.Union[str, int]
|
|
101
|
+
:type undo: bool
|
|
113
102
|
:param sculpt_tool: sculpt_tool
|
|
114
|
-
:type sculpt_tool: typing.
|
|
103
|
+
:type sculpt_tool: typing.Any
|
|
115
104
|
:param vertex_tool: vertex_tool
|
|
116
|
-
:type vertex_tool: typing.
|
|
105
|
+
:type vertex_tool: typing.Any
|
|
117
106
|
:param weight_tool: weight_tool
|
|
118
|
-
:type weight_tool: typing.
|
|
107
|
+
:type weight_tool: typing.Any
|
|
119
108
|
:param image_tool: image_tool
|
|
120
|
-
:type image_tool: typing.
|
|
109
|
+
:type image_tool: typing.Any
|
|
121
110
|
:param gpencil_tool: gpencil_tool
|
|
122
|
-
:type gpencil_tool: typing.
|
|
111
|
+
:type gpencil_tool: typing.Any
|
|
123
112
|
:param gpencil_vertex_tool: gpencil_vertex_tool
|
|
124
|
-
:type gpencil_vertex_tool: typing.
|
|
113
|
+
:type gpencil_vertex_tool: typing.Any
|
|
125
114
|
:param gpencil_sculpt_tool: gpencil_sculpt_tool
|
|
126
|
-
:type gpencil_sculpt_tool: typing.
|
|
115
|
+
:type gpencil_sculpt_tool: typing.Any
|
|
127
116
|
:param gpencil_weight_tool: gpencil_weight_tool
|
|
128
|
-
:type gpencil_weight_tool: typing.
|
|
117
|
+
:type gpencil_weight_tool: typing.Any
|
|
129
118
|
:param curves_sculpt_tool: curves_sculpt_tool
|
|
130
|
-
:type curves_sculpt_tool: typing.
|
|
119
|
+
:type curves_sculpt_tool: typing.Any
|
|
131
120
|
:param toggle: Toggle, Toggle between two brushes rather than cycling
|
|
132
|
-
:type toggle: typing.
|
|
121
|
+
:type toggle: typing.Union[bool, typing.Any]
|
|
133
122
|
:param create_missing: Create Missing, If the requested brush type does not exist, create a new brush
|
|
134
|
-
:type create_missing: typing.
|
|
123
|
+
:type create_missing: typing.Union[bool, typing.Any]
|
|
135
124
|
"""
|
|
136
125
|
|
|
137
126
|
...
|
|
138
127
|
|
|
139
128
|
def face_select_all(
|
|
140
|
-
override_context: typing.
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
undo: typing.Optional[bool] = None,
|
|
145
|
-
*,
|
|
146
|
-
action: typing.Optional[typing.Any] = "TOGGLE",
|
|
129
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
130
|
+
execution_context: typing.Union[str, int] = None,
|
|
131
|
+
undo: bool = None,
|
|
132
|
+
action: typing.Any = "TOGGLE",
|
|
147
133
|
):
|
|
148
134
|
"""Change selection for all faces
|
|
149
135
|
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
136
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
137
|
+
:type execution_context: typing.Union[str, int]
|
|
138
|
+
:type undo: bool
|
|
139
|
+
:param action: Action, Selection action to execute
|
|
140
|
+
|
|
141
|
+
TOGGLE
|
|
142
|
+
Toggle -- Toggle selection for all elements.
|
|
143
|
+
|
|
144
|
+
SELECT
|
|
145
|
+
Select -- Select all elements.
|
|
146
|
+
|
|
147
|
+
DESELECT
|
|
148
|
+
Deselect -- Deselect all elements.
|
|
149
|
+
|
|
150
|
+
INVERT
|
|
151
|
+
Invert -- Invert selection of all elements.
|
|
152
|
+
:type action: typing.Any
|
|
155
153
|
"""
|
|
156
154
|
|
|
157
155
|
...
|
|
158
156
|
|
|
159
157
|
def face_select_hide(
|
|
160
|
-
override_context: typing.
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
undo: typing.Optional[bool] = None,
|
|
165
|
-
*,
|
|
166
|
-
unselected: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
158
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
159
|
+
execution_context: typing.Union[str, int] = None,
|
|
160
|
+
undo: bool = None,
|
|
161
|
+
unselected: typing.Union[bool, typing.Any] = False,
|
|
167
162
|
):
|
|
168
163
|
"""Hide selected faces
|
|
169
164
|
|
|
170
|
-
:type override_context: typing.
|
|
171
|
-
:type execution_context: typing.
|
|
172
|
-
:type undo:
|
|
165
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
166
|
+
:type execution_context: typing.Union[str, int]
|
|
167
|
+
:type undo: bool
|
|
173
168
|
:param unselected: Unselected, Hide unselected rather than selected objects
|
|
174
|
-
:type unselected: typing.
|
|
169
|
+
:type unselected: typing.Union[bool, typing.Any]
|
|
175
170
|
"""
|
|
176
171
|
|
|
177
172
|
...
|
|
178
173
|
|
|
179
174
|
def face_select_less(
|
|
180
|
-
override_context: typing.
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
undo: typing.Optional[bool] = None,
|
|
185
|
-
*,
|
|
186
|
-
face_step: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
175
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
176
|
+
execution_context: typing.Union[str, int] = None,
|
|
177
|
+
undo: bool = None,
|
|
178
|
+
face_step: typing.Union[bool, typing.Any] = True,
|
|
187
179
|
):
|
|
188
180
|
"""Deselect Faces connected to existing selection
|
|
189
181
|
|
|
190
|
-
:type override_context: typing.
|
|
191
|
-
:type execution_context: typing.
|
|
192
|
-
:type undo:
|
|
182
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
183
|
+
:type execution_context: typing.Union[str, int]
|
|
184
|
+
:type undo: bool
|
|
193
185
|
:param face_step: Face Step, Also deselect faces that only touch on a corner
|
|
194
|
-
:type face_step: typing.
|
|
186
|
+
:type face_step: typing.Union[bool, typing.Any]
|
|
195
187
|
"""
|
|
196
188
|
|
|
197
189
|
...
|
|
198
190
|
|
|
199
191
|
def face_select_linked(
|
|
200
|
-
override_context: typing.
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
204
|
-
undo: typing.Optional[bool] = None,
|
|
192
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
193
|
+
execution_context: typing.Union[str, int] = None,
|
|
194
|
+
undo: bool = None,
|
|
205
195
|
):
|
|
206
196
|
"""Select linked faces
|
|
207
197
|
|
|
208
|
-
:type override_context: typing.
|
|
209
|
-
:type execution_context: typing.
|
|
210
|
-
:type undo:
|
|
198
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
199
|
+
:type execution_context: typing.Union[str, int]
|
|
200
|
+
:type undo: bool
|
|
211
201
|
"""
|
|
212
202
|
|
|
213
203
|
...
|
|
214
204
|
|
|
215
205
|
def face_select_linked_pick(
|
|
216
|
-
override_context: typing.
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
undo: typing.Optional[bool] = None,
|
|
221
|
-
*,
|
|
222
|
-
deselect: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
206
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
207
|
+
execution_context: typing.Union[str, int] = None,
|
|
208
|
+
undo: bool = None,
|
|
209
|
+
deselect: typing.Union[bool, typing.Any] = False,
|
|
223
210
|
):
|
|
224
211
|
"""Select linked faces under the cursor
|
|
225
212
|
|
|
226
|
-
:type override_context: typing.
|
|
227
|
-
:type execution_context: typing.
|
|
228
|
-
:type undo:
|
|
213
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
214
|
+
:type execution_context: typing.Union[str, int]
|
|
215
|
+
:type undo: bool
|
|
229
216
|
:param deselect: Deselect, Deselect rather than select items
|
|
230
|
-
:type deselect: typing.
|
|
217
|
+
:type deselect: typing.Union[bool, typing.Any]
|
|
231
218
|
"""
|
|
232
219
|
|
|
233
220
|
...
|
|
234
221
|
|
|
235
222
|
def face_select_loop(
|
|
236
|
-
override_context: typing.
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
*,
|
|
242
|
-
select: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
243
|
-
extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
223
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
224
|
+
execution_context: typing.Union[str, int] = None,
|
|
225
|
+
undo: bool = None,
|
|
226
|
+
select: typing.Union[bool, typing.Any] = True,
|
|
227
|
+
extend: typing.Union[bool, typing.Any] = False,
|
|
244
228
|
):
|
|
245
229
|
"""Select face loop under the cursor
|
|
246
230
|
|
|
247
|
-
:type override_context: typing.
|
|
248
|
-
:type execution_context: typing.
|
|
249
|
-
:type undo:
|
|
231
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
232
|
+
:type execution_context: typing.Union[str, int]
|
|
233
|
+
:type undo: bool
|
|
250
234
|
:param select: Select, If false, faces will be deselected
|
|
251
|
-
:type select: typing.
|
|
235
|
+
:type select: typing.Union[bool, typing.Any]
|
|
252
236
|
:param extend: Extend, Extend the selection
|
|
253
|
-
:type extend: typing.
|
|
237
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
254
238
|
"""
|
|
255
239
|
|
|
256
240
|
...
|
|
257
241
|
|
|
258
242
|
def face_select_more(
|
|
259
|
-
override_context: typing.
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
undo: typing.Optional[bool] = None,
|
|
264
|
-
*,
|
|
265
|
-
face_step: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
243
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
244
|
+
execution_context: typing.Union[str, int] = None,
|
|
245
|
+
undo: bool = None,
|
|
246
|
+
face_step: typing.Union[bool, typing.Any] = True,
|
|
266
247
|
):
|
|
267
248
|
"""Select Faces connected to existing selection
|
|
268
249
|
|
|
269
|
-
:type override_context: typing.
|
|
270
|
-
:type execution_context: typing.
|
|
271
|
-
:type undo:
|
|
250
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
251
|
+
:type execution_context: typing.Union[str, int]
|
|
252
|
+
:type undo: bool
|
|
272
253
|
:param face_step: Face Step, Also select faces that only touch on a corner
|
|
273
|
-
:type face_step: typing.
|
|
254
|
+
:type face_step: typing.Union[bool, typing.Any]
|
|
274
255
|
"""
|
|
275
256
|
|
|
276
257
|
...
|
|
277
258
|
|
|
278
259
|
def face_vert_reveal(
|
|
279
|
-
override_context: typing.
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
undo: typing.Optional[bool] = None,
|
|
284
|
-
*,
|
|
285
|
-
select: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
260
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
261
|
+
execution_context: typing.Union[str, int] = None,
|
|
262
|
+
undo: bool = None,
|
|
263
|
+
select: typing.Union[bool, typing.Any] = True,
|
|
286
264
|
):
|
|
287
265
|
"""Reveal hidden faces and vertices
|
|
288
266
|
|
|
289
|
-
:type override_context: typing.
|
|
290
|
-
:type execution_context: typing.
|
|
291
|
-
:type undo:
|
|
267
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
268
|
+
:type execution_context: typing.Union[str, int]
|
|
269
|
+
:type undo: bool
|
|
292
270
|
:param select: Select, Specifies whether the newly revealed geometry should be selected
|
|
293
|
-
:type select: typing.
|
|
271
|
+
:type select: typing.Union[bool, typing.Any]
|
|
294
272
|
"""
|
|
295
273
|
|
|
296
274
|
...
|
|
297
275
|
|
|
298
276
|
def grab_clone(
|
|
299
|
-
override_context: typing.
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
undo: typing.Optional[bool] = None,
|
|
304
|
-
*,
|
|
305
|
-
delta: typing.Optional[typing.Any] = (0.0, 0.0),
|
|
277
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
278
|
+
execution_context: typing.Union[str, int] = None,
|
|
279
|
+
undo: bool = None,
|
|
280
|
+
delta: typing.Any = (0.0, 0.0),
|
|
306
281
|
):
|
|
307
282
|
"""Move the clone source image
|
|
308
283
|
|
|
309
|
-
:type override_context: typing.
|
|
310
|
-
:type execution_context: typing.
|
|
311
|
-
:type undo:
|
|
284
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
285
|
+
:type execution_context: typing.Union[str, int]
|
|
286
|
+
:type undo: bool
|
|
312
287
|
:param delta: Delta, Delta offset of clone image in 0.0 to 1.0 coordinates
|
|
313
|
-
:type delta: typing.
|
|
288
|
+
:type delta: typing.Any
|
|
314
289
|
"""
|
|
315
290
|
|
|
316
291
|
...
|
|
317
292
|
|
|
318
293
|
def hide_show(
|
|
319
|
-
override_context: typing.
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
294
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
295
|
+
execution_context: typing.Union[str, int] = None,
|
|
296
|
+
undo: bool = None,
|
|
297
|
+
xmin: typing.Any = 0,
|
|
298
|
+
xmax: typing.Any = 0,
|
|
299
|
+
ymin: typing.Any = 0,
|
|
300
|
+
ymax: typing.Any = 0,
|
|
301
|
+
wait_for_input: typing.Union[bool, typing.Any] = True,
|
|
302
|
+
action: typing.Any = "HIDE",
|
|
303
|
+
area: typing.Any = "Inside",
|
|
304
|
+
use_front_faces_only: typing.Union[bool, typing.Any] = False,
|
|
305
|
+
):
|
|
306
|
+
"""Hide/show some vertices
|
|
307
|
+
|
|
308
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
309
|
+
:type execution_context: typing.Union[str, int]
|
|
310
|
+
:type undo: bool
|
|
311
|
+
:param xmin: X Min
|
|
312
|
+
:type xmin: typing.Any
|
|
313
|
+
:param xmax: X Max
|
|
314
|
+
:type xmax: typing.Any
|
|
315
|
+
:param ymin: Y Min
|
|
316
|
+
:type ymin: typing.Any
|
|
317
|
+
:param ymax: Y Max
|
|
318
|
+
:type ymax: typing.Any
|
|
319
|
+
:param wait_for_input: Wait for Input
|
|
320
|
+
:type wait_for_input: typing.Union[bool, typing.Any]
|
|
321
|
+
:param action: Visibility Action, Whether to hide or show vertices
|
|
322
|
+
|
|
323
|
+
HIDE
|
|
324
|
+
Hide -- Hide vertices.
|
|
325
|
+
|
|
326
|
+
SHOW
|
|
327
|
+
Show -- Show vertices.
|
|
328
|
+
:type action: typing.Any
|
|
329
|
+
:param area: Visibility Area, Which vertices to hide or show
|
|
330
|
+
|
|
331
|
+
OUTSIDE
|
|
332
|
+
Outside -- Hide or show vertices outside the selection.
|
|
333
|
+
|
|
334
|
+
Inside
|
|
335
|
+
Inside -- Hide or show vertices inside the selection.
|
|
336
|
+
:type area: typing.Any
|
|
337
|
+
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
338
|
+
:type use_front_faces_only: typing.Union[bool, typing.Any]
|
|
339
|
+
"""
|
|
340
|
+
|
|
341
|
+
...
|
|
342
|
+
|
|
343
|
+
def hide_show_all(
|
|
344
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
345
|
+
execution_context: typing.Union[str, int] = None,
|
|
346
|
+
undo: bool = None,
|
|
347
|
+
action: typing.Any = "HIDE",
|
|
348
|
+
):
|
|
349
|
+
"""Hide/show all vertices
|
|
350
|
+
|
|
351
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
352
|
+
:type execution_context: typing.Union[str, int]
|
|
353
|
+
:type undo: bool
|
|
354
|
+
:param action: Visibility Action, Whether to hide or show vertices
|
|
355
|
+
|
|
356
|
+
HIDE
|
|
357
|
+
Hide -- Hide vertices.
|
|
358
|
+
|
|
359
|
+
SHOW
|
|
360
|
+
Show -- Show vertices.
|
|
361
|
+
:type action: typing.Any
|
|
362
|
+
"""
|
|
363
|
+
|
|
364
|
+
...
|
|
365
|
+
|
|
366
|
+
def hide_show_lasso_gesture(
|
|
367
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
368
|
+
execution_context: typing.Union[str, int] = None,
|
|
369
|
+
undo: bool = None,
|
|
370
|
+
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] = None,
|
|
371
|
+
action: typing.Any = "HIDE",
|
|
372
|
+
area: typing.Any = "Inside",
|
|
373
|
+
use_front_faces_only: typing.Union[bool, typing.Any] = False,
|
|
332
374
|
):
|
|
333
375
|
"""Hide/show some vertices
|
|
334
376
|
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
377
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
378
|
+
:type execution_context: typing.Union[str, int]
|
|
379
|
+
:type undo: bool
|
|
380
|
+
:param path: Path
|
|
381
|
+
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
|
|
382
|
+
:param action: Visibility Action, Whether to hide or show vertices
|
|
383
|
+
|
|
384
|
+
HIDE
|
|
385
|
+
Hide -- Hide vertices.
|
|
386
|
+
|
|
387
|
+
SHOW
|
|
388
|
+
Show -- Show vertices.
|
|
389
|
+
:type action: typing.Any
|
|
390
|
+
:param area: Visibility Area, Which vertices to hide or show
|
|
391
|
+
|
|
392
|
+
OUTSIDE
|
|
393
|
+
Outside -- Hide or show vertices outside the selection.
|
|
394
|
+
|
|
395
|
+
Inside
|
|
396
|
+
Inside -- Hide or show vertices inside the selection.
|
|
397
|
+
:type area: typing.Any
|
|
398
|
+
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
399
|
+
:type use_front_faces_only: typing.Union[bool, typing.Any]
|
|
400
|
+
"""
|
|
401
|
+
|
|
402
|
+
...
|
|
403
|
+
|
|
404
|
+
def hide_show_masked(
|
|
405
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
406
|
+
execution_context: typing.Union[str, int] = None,
|
|
407
|
+
undo: bool = None,
|
|
408
|
+
action: typing.Any = "HIDE",
|
|
409
|
+
):
|
|
410
|
+
"""Hide/show all masked vertices above a threshold
|
|
411
|
+
|
|
412
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
413
|
+
:type execution_context: typing.Union[str, int]
|
|
414
|
+
:type undo: bool
|
|
415
|
+
:param action: Visibility Action, Whether to hide or show vertices
|
|
416
|
+
|
|
417
|
+
HIDE
|
|
418
|
+
Hide -- Hide vertices.
|
|
419
|
+
|
|
420
|
+
SHOW
|
|
421
|
+
Show -- Show vertices.
|
|
422
|
+
:type action: typing.Any
|
|
352
423
|
"""
|
|
353
424
|
|
|
354
425
|
...
|
|
355
426
|
|
|
356
427
|
def image_from_view(
|
|
357
|
-
override_context: typing.
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
361
|
-
undo: typing.Optional[bool] = None,
|
|
362
|
-
*,
|
|
428
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
429
|
+
execution_context: typing.Union[str, int] = None,
|
|
430
|
+
undo: bool = None,
|
|
363
431
|
filepath: typing.Union[str, typing.Any] = "",
|
|
364
432
|
):
|
|
365
433
|
"""Make an image from biggest 3D view for reprojection
|
|
366
434
|
|
|
367
|
-
:type override_context: typing.
|
|
368
|
-
:type execution_context: typing.
|
|
369
|
-
:type undo:
|
|
435
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
436
|
+
:type execution_context: typing.Union[str, int]
|
|
437
|
+
:type undo: bool
|
|
370
438
|
:param filepath: File Path, Name of the file
|
|
371
439
|
:type filepath: typing.Union[str, typing.Any]
|
|
372
440
|
"""
|
|
@@ -374,751 +442,730 @@ def image_from_view(
|
|
|
374
442
|
...
|
|
375
443
|
|
|
376
444
|
def image_paint(
|
|
377
|
-
override_context: typing.
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
*,
|
|
383
|
-
stroke: typing.Optional[
|
|
384
|
-
bpy.types.bpy_prop_collection["bpy.types.OperatorStrokeElement"]
|
|
385
|
-
] = None,
|
|
386
|
-
mode: typing.Optional[typing.Any] = "NORMAL",
|
|
445
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
446
|
+
execution_context: typing.Union[str, int] = None,
|
|
447
|
+
undo: bool = None,
|
|
448
|
+
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] = None,
|
|
449
|
+
mode: typing.Any = "NORMAL",
|
|
387
450
|
):
|
|
388
451
|
"""Paint a stroke into the image
|
|
389
452
|
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
453
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
454
|
+
:type execution_context: typing.Union[str, int]
|
|
455
|
+
:type undo: bool
|
|
456
|
+
:param stroke: Stroke
|
|
457
|
+
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
458
|
+
:param mode: Stroke Mode, Action taken when a paint stroke is made
|
|
459
|
+
|
|
460
|
+
NORMAL
|
|
461
|
+
Regular -- Apply brush normally.
|
|
462
|
+
|
|
463
|
+
INVERT
|
|
464
|
+
Invert -- Invert action of brush for duration of stroke.
|
|
465
|
+
|
|
466
|
+
SMOOTH
|
|
467
|
+
Smooth -- Switch brush to smooth mode for duration of stroke.
|
|
468
|
+
:type mode: typing.Any
|
|
397
469
|
"""
|
|
398
470
|
|
|
399
471
|
...
|
|
400
472
|
|
|
401
473
|
def mask_box_gesture(
|
|
402
|
-
override_context: typing.
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
414
|
-
use_limit_to_segment: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
415
|
-
mode: typing.Optional[typing.Any] = "VALUE",
|
|
416
|
-
value: typing.Optional[typing.Any] = 1.0,
|
|
474
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
475
|
+
execution_context: typing.Union[str, int] = None,
|
|
476
|
+
undo: bool = None,
|
|
477
|
+
xmin: typing.Any = 0,
|
|
478
|
+
xmax: typing.Any = 0,
|
|
479
|
+
ymin: typing.Any = 0,
|
|
480
|
+
ymax: typing.Any = 0,
|
|
481
|
+
wait_for_input: typing.Union[bool, typing.Any] = True,
|
|
482
|
+
use_front_faces_only: typing.Union[bool, typing.Any] = False,
|
|
483
|
+
mode: typing.Any = "VALUE",
|
|
484
|
+
value: typing.Any = 1.0,
|
|
417
485
|
):
|
|
418
486
|
"""Add mask within the box as you move the brush
|
|
419
487
|
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
488
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
489
|
+
:type execution_context: typing.Union[str, int]
|
|
490
|
+
:type undo: bool
|
|
491
|
+
:param xmin: X Min
|
|
492
|
+
:type xmin: typing.Any
|
|
493
|
+
:param xmax: X Max
|
|
494
|
+
:type xmax: typing.Any
|
|
495
|
+
:param ymin: Y Min
|
|
496
|
+
:type ymin: typing.Any
|
|
497
|
+
:param ymax: Y Max
|
|
498
|
+
:type ymax: typing.Any
|
|
499
|
+
:param wait_for_input: Wait for Input
|
|
500
|
+
:type wait_for_input: typing.Union[bool, typing.Any]
|
|
501
|
+
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
502
|
+
:type use_front_faces_only: typing.Union[bool, typing.Any]
|
|
503
|
+
:param mode: Mode
|
|
504
|
+
|
|
505
|
+
VALUE
|
|
506
|
+
Value -- Set mask to the level specified by the 'value' property.
|
|
507
|
+
|
|
508
|
+
VALUE_INVERSE
|
|
509
|
+
Value Inverted -- Set mask to the level specified by the inverted 'value' property.
|
|
510
|
+
|
|
511
|
+
INVERT
|
|
512
|
+
Invert -- Invert the mask.
|
|
513
|
+
:type mode: typing.Any
|
|
514
|
+
:param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
|
|
515
|
+
:type value: typing.Any
|
|
441
516
|
"""
|
|
442
517
|
|
|
443
518
|
...
|
|
444
519
|
|
|
445
520
|
def mask_flood_fill(
|
|
446
|
-
override_context: typing.
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
*,
|
|
452
|
-
mode: typing.Optional[typing.Any] = "VALUE",
|
|
453
|
-
value: typing.Optional[typing.Any] = 0.0,
|
|
521
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
522
|
+
execution_context: typing.Union[str, int] = None,
|
|
523
|
+
undo: bool = None,
|
|
524
|
+
mode: typing.Any = "VALUE",
|
|
525
|
+
value: typing.Any = 0.0,
|
|
454
526
|
):
|
|
455
527
|
"""Fill the whole mask with a given value, or invert its values
|
|
456
528
|
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
529
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
530
|
+
:type execution_context: typing.Union[str, int]
|
|
531
|
+
:type undo: bool
|
|
532
|
+
:param mode: Mode
|
|
533
|
+
|
|
534
|
+
VALUE
|
|
535
|
+
Value -- Set mask to the level specified by the 'value' property.
|
|
536
|
+
|
|
537
|
+
VALUE_INVERSE
|
|
538
|
+
Value Inverted -- Set mask to the level specified by the inverted 'value' property.
|
|
539
|
+
|
|
540
|
+
INVERT
|
|
541
|
+
Invert -- Invert the mask.
|
|
542
|
+
:type mode: typing.Any
|
|
543
|
+
:param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
|
|
544
|
+
:type value: typing.Any
|
|
464
545
|
"""
|
|
465
546
|
|
|
466
547
|
...
|
|
467
548
|
|
|
468
549
|
def mask_lasso_gesture(
|
|
469
|
-
override_context: typing.
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
bpy.types.bpy_prop_collection["bpy.types.OperatorMousePath"]
|
|
477
|
-
] = None,
|
|
478
|
-
use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
479
|
-
use_limit_to_segment: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
480
|
-
mode: typing.Optional[typing.Any] = "VALUE",
|
|
481
|
-
value: typing.Optional[typing.Any] = 1.0,
|
|
550
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
551
|
+
execution_context: typing.Union[str, int] = None,
|
|
552
|
+
undo: bool = None,
|
|
553
|
+
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] = None,
|
|
554
|
+
use_front_faces_only: typing.Union[bool, typing.Any] = False,
|
|
555
|
+
mode: typing.Any = "VALUE",
|
|
556
|
+
value: typing.Any = 1.0,
|
|
482
557
|
):
|
|
483
558
|
"""Add mask within the lasso as you move the brush
|
|
484
559
|
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
560
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
561
|
+
:type execution_context: typing.Union[str, int]
|
|
562
|
+
:type undo: bool
|
|
563
|
+
:param path: Path
|
|
564
|
+
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
|
|
565
|
+
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
566
|
+
:type use_front_faces_only: typing.Union[bool, typing.Any]
|
|
567
|
+
:param mode: Mode
|
|
568
|
+
|
|
569
|
+
VALUE
|
|
570
|
+
Value -- Set mask to the level specified by the 'value' property.
|
|
571
|
+
|
|
572
|
+
VALUE_INVERSE
|
|
573
|
+
Value Inverted -- Set mask to the level specified by the inverted 'value' property.
|
|
574
|
+
|
|
575
|
+
INVERT
|
|
576
|
+
Invert -- Invert the mask.
|
|
577
|
+
:type mode: typing.Any
|
|
578
|
+
:param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
|
|
579
|
+
:type value: typing.Any
|
|
498
580
|
"""
|
|
499
581
|
|
|
500
582
|
...
|
|
501
583
|
|
|
502
584
|
def mask_line_gesture(
|
|
503
|
-
override_context: typing.
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
use_limit_to_segment: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
517
|
-
mode: typing.Optional[typing.Any] = "VALUE",
|
|
518
|
-
value: typing.Optional[typing.Any] = 1.0,
|
|
585
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
586
|
+
execution_context: typing.Union[str, int] = None,
|
|
587
|
+
undo: bool = None,
|
|
588
|
+
xstart: typing.Any = 0,
|
|
589
|
+
xend: typing.Any = 0,
|
|
590
|
+
ystart: typing.Any = 0,
|
|
591
|
+
yend: typing.Any = 0,
|
|
592
|
+
flip: typing.Union[bool, typing.Any] = False,
|
|
593
|
+
cursor: typing.Any = 5,
|
|
594
|
+
use_front_faces_only: typing.Union[bool, typing.Any] = False,
|
|
595
|
+
use_limit_to_segment: typing.Union[bool, typing.Any] = False,
|
|
596
|
+
mode: typing.Any = "VALUE",
|
|
597
|
+
value: typing.Any = 1.0,
|
|
519
598
|
):
|
|
520
599
|
"""Add mask to the right of a line as you move the brush
|
|
521
600
|
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
601
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
602
|
+
:type execution_context: typing.Union[str, int]
|
|
603
|
+
:type undo: bool
|
|
604
|
+
:param xstart: X Start
|
|
605
|
+
:type xstart: typing.Any
|
|
606
|
+
:param xend: X End
|
|
607
|
+
:type xend: typing.Any
|
|
608
|
+
:param ystart: Y Start
|
|
609
|
+
:type ystart: typing.Any
|
|
610
|
+
:param yend: Y End
|
|
611
|
+
:type yend: typing.Any
|
|
612
|
+
:param flip: Flip
|
|
613
|
+
:type flip: typing.Union[bool, typing.Any]
|
|
614
|
+
:param cursor: Cursor, Mouse cursor style to use during the modal operator
|
|
615
|
+
:type cursor: typing.Any
|
|
616
|
+
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
617
|
+
:type use_front_faces_only: typing.Union[bool, typing.Any]
|
|
618
|
+
: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
|
|
619
|
+
:type use_limit_to_segment: typing.Union[bool, typing.Any]
|
|
620
|
+
:param mode: Mode
|
|
621
|
+
|
|
622
|
+
VALUE
|
|
623
|
+
Value -- Set mask to the level specified by the 'value' property.
|
|
624
|
+
|
|
625
|
+
VALUE_INVERSE
|
|
626
|
+
Value Inverted -- Set mask to the level specified by the inverted 'value' property.
|
|
627
|
+
|
|
628
|
+
INVERT
|
|
629
|
+
Invert -- Invert the mask.
|
|
630
|
+
:type mode: typing.Any
|
|
631
|
+
:param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
|
|
632
|
+
:type value: typing.Any
|
|
545
633
|
"""
|
|
546
634
|
|
|
547
635
|
...
|
|
548
636
|
|
|
549
637
|
def project_image(
|
|
550
|
-
override_context: typing.
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
undo: typing.Optional[bool] = None,
|
|
555
|
-
*,
|
|
556
|
-
image: typing.Optional[typing.Union[str, int, typing.Any]] = "",
|
|
638
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
639
|
+
execution_context: typing.Union[str, int] = None,
|
|
640
|
+
undo: bool = None,
|
|
641
|
+
image: typing.Union[str, int, typing.Any] = "",
|
|
557
642
|
):
|
|
558
643
|
"""Project an edited render from the active camera back onto the object
|
|
559
644
|
|
|
560
|
-
:type override_context: typing.
|
|
561
|
-
:type execution_context: typing.
|
|
562
|
-
:type undo:
|
|
645
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
646
|
+
:type execution_context: typing.Union[str, int]
|
|
647
|
+
:type undo: bool
|
|
563
648
|
:param image: Image
|
|
564
|
-
:type image: typing.
|
|
649
|
+
:type image: typing.Union[str, int, typing.Any]
|
|
565
650
|
"""
|
|
566
651
|
|
|
567
652
|
...
|
|
568
653
|
|
|
569
654
|
def sample_color(
|
|
570
|
-
override_context: typing.
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
location: typing.Optional[typing.Any] = (0, 0),
|
|
577
|
-
merged: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
578
|
-
palette: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
655
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
656
|
+
execution_context: typing.Union[str, int] = None,
|
|
657
|
+
undo: bool = None,
|
|
658
|
+
location: typing.Any = (0, 0),
|
|
659
|
+
merged: typing.Union[bool, typing.Any] = False,
|
|
660
|
+
palette: typing.Union[bool, typing.Any] = False,
|
|
579
661
|
):
|
|
580
662
|
"""Use the mouse to sample a color in the image
|
|
581
663
|
|
|
582
|
-
:type override_context: typing.
|
|
583
|
-
:type execution_context: typing.
|
|
584
|
-
:type undo:
|
|
664
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
665
|
+
:type execution_context: typing.Union[str, int]
|
|
666
|
+
:type undo: bool
|
|
585
667
|
:param location: Location
|
|
586
|
-
:type location: typing.
|
|
668
|
+
:type location: typing.Any
|
|
587
669
|
:param merged: Sample Merged, Sample the output display color
|
|
588
|
-
:type merged: typing.
|
|
670
|
+
:type merged: typing.Union[bool, typing.Any]
|
|
589
671
|
:param palette: Add to Palette
|
|
590
|
-
:type palette: typing.
|
|
672
|
+
:type palette: typing.Union[bool, typing.Any]
|
|
591
673
|
"""
|
|
592
674
|
|
|
593
675
|
...
|
|
594
676
|
|
|
595
677
|
def texture_paint_toggle(
|
|
596
|
-
override_context: typing.
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
600
|
-
undo: typing.Optional[bool] = None,
|
|
678
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
679
|
+
execution_context: typing.Union[str, int] = None,
|
|
680
|
+
undo: bool = None,
|
|
601
681
|
):
|
|
602
682
|
"""Toggle texture paint mode in 3D view
|
|
603
683
|
|
|
604
|
-
:type override_context: typing.
|
|
605
|
-
:type execution_context: typing.
|
|
606
|
-
:type undo:
|
|
684
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
685
|
+
:type execution_context: typing.Union[str, int]
|
|
686
|
+
:type undo: bool
|
|
607
687
|
"""
|
|
608
688
|
|
|
609
689
|
...
|
|
610
690
|
|
|
611
691
|
def vert_select_all(
|
|
612
|
-
override_context: typing.
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
undo: typing.Optional[bool] = None,
|
|
617
|
-
*,
|
|
618
|
-
action: typing.Optional[typing.Any] = "TOGGLE",
|
|
692
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
693
|
+
execution_context: typing.Union[str, int] = None,
|
|
694
|
+
undo: bool = None,
|
|
695
|
+
action: typing.Any = "TOGGLE",
|
|
619
696
|
):
|
|
620
697
|
"""Change selection for all vertices
|
|
621
698
|
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
699
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
700
|
+
:type execution_context: typing.Union[str, int]
|
|
701
|
+
:type undo: bool
|
|
702
|
+
:param action: Action, Selection action to execute
|
|
703
|
+
|
|
704
|
+
TOGGLE
|
|
705
|
+
Toggle -- Toggle selection for all elements.
|
|
706
|
+
|
|
707
|
+
SELECT
|
|
708
|
+
Select -- Select all elements.
|
|
709
|
+
|
|
710
|
+
DESELECT
|
|
711
|
+
Deselect -- Deselect all elements.
|
|
712
|
+
|
|
713
|
+
INVERT
|
|
714
|
+
Invert -- Invert selection of all elements.
|
|
715
|
+
:type action: typing.Any
|
|
627
716
|
"""
|
|
628
717
|
|
|
629
718
|
...
|
|
630
719
|
|
|
631
720
|
def vert_select_hide(
|
|
632
|
-
override_context: typing.
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
undo: typing.Optional[bool] = None,
|
|
637
|
-
*,
|
|
638
|
-
unselected: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
721
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
722
|
+
execution_context: typing.Union[str, int] = None,
|
|
723
|
+
undo: bool = None,
|
|
724
|
+
unselected: typing.Union[bool, typing.Any] = False,
|
|
639
725
|
):
|
|
640
726
|
"""Hide selected vertices
|
|
641
727
|
|
|
642
|
-
:type override_context: typing.
|
|
643
|
-
:type execution_context: typing.
|
|
644
|
-
:type undo:
|
|
728
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
729
|
+
:type execution_context: typing.Union[str, int]
|
|
730
|
+
:type undo: bool
|
|
645
731
|
:param unselected: Unselected, Hide unselected rather than selected vertices
|
|
646
|
-
:type unselected: typing.
|
|
732
|
+
:type unselected: typing.Union[bool, typing.Any]
|
|
647
733
|
"""
|
|
648
734
|
|
|
649
735
|
...
|
|
650
736
|
|
|
651
737
|
def vert_select_less(
|
|
652
|
-
override_context: typing.
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
undo: typing.Optional[bool] = None,
|
|
657
|
-
*,
|
|
658
|
-
face_step: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
738
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
739
|
+
execution_context: typing.Union[str, int] = None,
|
|
740
|
+
undo: bool = None,
|
|
741
|
+
face_step: typing.Union[bool, typing.Any] = True,
|
|
659
742
|
):
|
|
660
743
|
"""Deselect Vertices connected to existing selection
|
|
661
744
|
|
|
662
|
-
:type override_context: typing.
|
|
663
|
-
:type execution_context: typing.
|
|
664
|
-
:type undo:
|
|
745
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
746
|
+
:type execution_context: typing.Union[str, int]
|
|
747
|
+
:type undo: bool
|
|
665
748
|
:param face_step: Face Step, Also deselect faces that only touch on a corner
|
|
666
|
-
:type face_step: typing.
|
|
749
|
+
:type face_step: typing.Union[bool, typing.Any]
|
|
667
750
|
"""
|
|
668
751
|
|
|
669
752
|
...
|
|
670
753
|
|
|
671
754
|
def vert_select_linked(
|
|
672
|
-
override_context: typing.
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
676
|
-
undo: typing.Optional[bool] = None,
|
|
755
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
756
|
+
execution_context: typing.Union[str, int] = None,
|
|
757
|
+
undo: bool = None,
|
|
677
758
|
):
|
|
678
759
|
"""Select linked vertices
|
|
679
760
|
|
|
680
|
-
:type override_context: typing.
|
|
681
|
-
:type execution_context: typing.
|
|
682
|
-
:type undo:
|
|
761
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
762
|
+
:type execution_context: typing.Union[str, int]
|
|
763
|
+
:type undo: bool
|
|
683
764
|
"""
|
|
684
765
|
|
|
685
766
|
...
|
|
686
767
|
|
|
687
768
|
def vert_select_linked_pick(
|
|
688
|
-
override_context: typing.
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
undo: typing.Optional[bool] = None,
|
|
693
|
-
*,
|
|
694
|
-
select: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
769
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
770
|
+
execution_context: typing.Union[str, int] = None,
|
|
771
|
+
undo: bool = None,
|
|
772
|
+
select: typing.Union[bool, typing.Any] = True,
|
|
695
773
|
):
|
|
696
774
|
"""Select linked vertices under the cursor
|
|
697
775
|
|
|
698
|
-
:type override_context: typing.
|
|
699
|
-
:type execution_context: typing.
|
|
700
|
-
:type undo:
|
|
776
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
777
|
+
:type execution_context: typing.Union[str, int]
|
|
778
|
+
:type undo: bool
|
|
701
779
|
:param select: Select, Whether to select or deselect linked vertices under the cursor
|
|
702
|
-
:type select: typing.
|
|
780
|
+
:type select: typing.Union[bool, typing.Any]
|
|
703
781
|
"""
|
|
704
782
|
|
|
705
783
|
...
|
|
706
784
|
|
|
707
785
|
def vert_select_more(
|
|
708
|
-
override_context: typing.
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
undo: typing.Optional[bool] = None,
|
|
713
|
-
*,
|
|
714
|
-
face_step: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
786
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
787
|
+
execution_context: typing.Union[str, int] = None,
|
|
788
|
+
undo: bool = None,
|
|
789
|
+
face_step: typing.Union[bool, typing.Any] = True,
|
|
715
790
|
):
|
|
716
791
|
"""Select Vertices connected to existing selection
|
|
717
792
|
|
|
718
|
-
:type override_context: typing.
|
|
719
|
-
:type execution_context: typing.
|
|
720
|
-
:type undo:
|
|
793
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
794
|
+
:type execution_context: typing.Union[str, int]
|
|
795
|
+
:type undo: bool
|
|
721
796
|
:param face_step: Face Step, Also select faces that only touch on a corner
|
|
722
|
-
:type face_step: typing.
|
|
797
|
+
:type face_step: typing.Union[bool, typing.Any]
|
|
723
798
|
"""
|
|
724
799
|
|
|
725
800
|
...
|
|
726
801
|
|
|
727
802
|
def vert_select_ungrouped(
|
|
728
|
-
override_context: typing.
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
undo: typing.Optional[bool] = None,
|
|
733
|
-
*,
|
|
734
|
-
extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
803
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
804
|
+
execution_context: typing.Union[str, int] = None,
|
|
805
|
+
undo: bool = None,
|
|
806
|
+
extend: typing.Union[bool, typing.Any] = False,
|
|
735
807
|
):
|
|
736
808
|
"""Select vertices without a group
|
|
737
809
|
|
|
738
|
-
:type override_context: typing.
|
|
739
|
-
:type execution_context: typing.
|
|
740
|
-
:type undo:
|
|
810
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
811
|
+
:type execution_context: typing.Union[str, int]
|
|
812
|
+
:type undo: bool
|
|
741
813
|
:param extend: Extend, Extend the selection
|
|
742
|
-
:type extend: typing.
|
|
814
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
743
815
|
"""
|
|
744
816
|
|
|
745
817
|
...
|
|
746
818
|
|
|
747
819
|
def vertex_color_brightness_contrast(
|
|
748
|
-
override_context: typing.
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
*,
|
|
754
|
-
brightness: typing.Optional[typing.Any] = 0.0,
|
|
755
|
-
contrast: typing.Optional[typing.Any] = 0.0,
|
|
820
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
821
|
+
execution_context: typing.Union[str, int] = None,
|
|
822
|
+
undo: bool = None,
|
|
823
|
+
brightness: typing.Any = 0.0,
|
|
824
|
+
contrast: typing.Any = 0.0,
|
|
756
825
|
):
|
|
757
826
|
"""Adjust vertex color brightness/contrast
|
|
758
827
|
|
|
759
|
-
:type override_context: typing.
|
|
760
|
-
:type execution_context: typing.
|
|
761
|
-
:type undo:
|
|
828
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
829
|
+
:type execution_context: typing.Union[str, int]
|
|
830
|
+
:type undo: bool
|
|
762
831
|
:param brightness: Brightness
|
|
763
|
-
:type brightness: typing.
|
|
832
|
+
:type brightness: typing.Any
|
|
764
833
|
:param contrast: Contrast
|
|
765
|
-
:type contrast: typing.
|
|
834
|
+
:type contrast: typing.Any
|
|
766
835
|
"""
|
|
767
836
|
|
|
768
837
|
...
|
|
769
838
|
|
|
770
839
|
def vertex_color_dirt(
|
|
771
|
-
override_context: typing.
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
dirt_angle: typing.Optional[typing.Any] = 0.0,
|
|
781
|
-
dirt_only: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
782
|
-
normalize: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
840
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
841
|
+
execution_context: typing.Union[str, int] = None,
|
|
842
|
+
undo: bool = None,
|
|
843
|
+
blur_strength: typing.Any = 1.0,
|
|
844
|
+
blur_iterations: typing.Any = 1,
|
|
845
|
+
clean_angle: typing.Any = 3.14159,
|
|
846
|
+
dirt_angle: typing.Any = 0.0,
|
|
847
|
+
dirt_only: typing.Union[bool, typing.Any] = False,
|
|
848
|
+
normalize: typing.Union[bool, typing.Any] = True,
|
|
783
849
|
):
|
|
784
|
-
"""Generate a dirt map gradient based on cavity
|
|
850
|
+
"""Generate a dirt map gradient based on cavity
|
|
785
851
|
|
|
786
|
-
:type override_context: typing.
|
|
787
|
-
:type execution_context: typing.
|
|
788
|
-
:type undo:
|
|
852
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
853
|
+
:type execution_context: typing.Union[str, int]
|
|
854
|
+
:type undo: bool
|
|
789
855
|
:param blur_strength: Blur Strength, Blur strength per iteration
|
|
790
|
-
:type blur_strength: typing.
|
|
856
|
+
:type blur_strength: typing.Any
|
|
791
857
|
:param blur_iterations: Blur Iterations, Number of times to blur the colors (higher blurs more)
|
|
792
|
-
:type blur_iterations: typing.
|
|
858
|
+
:type blur_iterations: typing.Any
|
|
793
859
|
:param clean_angle: Highlight Angle, Less than 90 limits the angle used in the tonal range
|
|
794
|
-
:type clean_angle: typing.
|
|
860
|
+
:type clean_angle: typing.Any
|
|
795
861
|
:param dirt_angle: Dirt Angle, Less than 90 limits the angle used in the tonal range
|
|
796
|
-
:type dirt_angle: typing.
|
|
862
|
+
:type dirt_angle: typing.Any
|
|
797
863
|
:param dirt_only: Dirt Only, Don't calculate cleans for convex areas
|
|
798
|
-
:type dirt_only: typing.
|
|
864
|
+
:type dirt_only: typing.Union[bool, typing.Any]
|
|
799
865
|
:param normalize: Normalize, Normalize the colors, increasing the contrast
|
|
800
|
-
:type normalize: typing.
|
|
866
|
+
:type normalize: typing.Union[bool, typing.Any]
|
|
801
867
|
"""
|
|
802
868
|
|
|
803
869
|
...
|
|
804
870
|
|
|
805
871
|
def vertex_color_from_weight(
|
|
806
|
-
override_context: typing.
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
810
|
-
undo: typing.Optional[bool] = None,
|
|
872
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
873
|
+
execution_context: typing.Union[str, int] = None,
|
|
874
|
+
undo: bool = None,
|
|
811
875
|
):
|
|
812
876
|
"""Convert active weight into gray scale vertex colors
|
|
813
877
|
|
|
814
|
-
:type override_context: typing.
|
|
815
|
-
:type execution_context: typing.
|
|
816
|
-
:type undo:
|
|
878
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
879
|
+
:type execution_context: typing.Union[str, int]
|
|
880
|
+
:type undo: bool
|
|
817
881
|
"""
|
|
818
882
|
|
|
819
883
|
...
|
|
820
884
|
|
|
821
885
|
def vertex_color_hsv(
|
|
822
|
-
override_context: typing.
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
h: typing.Optional[typing.Any] = 0.5,
|
|
829
|
-
s: typing.Optional[typing.Any] = 1.0,
|
|
830
|
-
v: typing.Optional[typing.Any] = 1.0,
|
|
886
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
887
|
+
execution_context: typing.Union[str, int] = None,
|
|
888
|
+
undo: bool = None,
|
|
889
|
+
h: typing.Any = 0.5,
|
|
890
|
+
s: typing.Any = 1.0,
|
|
891
|
+
v: typing.Any = 1.0,
|
|
831
892
|
):
|
|
832
893
|
"""Adjust vertex color Hue/Saturation/Value
|
|
833
894
|
|
|
834
|
-
:type override_context: typing.
|
|
835
|
-
:type execution_context: typing.
|
|
836
|
-
:type undo:
|
|
895
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
896
|
+
:type execution_context: typing.Union[str, int]
|
|
897
|
+
:type undo: bool
|
|
837
898
|
:param h: Hue
|
|
838
|
-
:type h: typing.
|
|
899
|
+
:type h: typing.Any
|
|
839
900
|
:param s: Saturation
|
|
840
|
-
:type s: typing.
|
|
901
|
+
:type s: typing.Any
|
|
841
902
|
:param v: Value
|
|
842
|
-
:type v: typing.
|
|
903
|
+
:type v: typing.Any
|
|
843
904
|
"""
|
|
844
905
|
|
|
845
906
|
...
|
|
846
907
|
|
|
847
908
|
def vertex_color_invert(
|
|
848
|
-
override_context: typing.
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
852
|
-
undo: typing.Optional[bool] = None,
|
|
909
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
910
|
+
execution_context: typing.Union[str, int] = None,
|
|
911
|
+
undo: bool = None,
|
|
853
912
|
):
|
|
854
913
|
"""Invert RGB values
|
|
855
914
|
|
|
856
|
-
:type override_context: typing.
|
|
857
|
-
:type execution_context: typing.
|
|
858
|
-
:type undo:
|
|
915
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
916
|
+
:type execution_context: typing.Union[str, int]
|
|
917
|
+
:type undo: bool
|
|
859
918
|
"""
|
|
860
919
|
|
|
861
920
|
...
|
|
862
921
|
|
|
863
922
|
def vertex_color_levels(
|
|
864
|
-
override_context: typing.
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
*,
|
|
870
|
-
offset: typing.Optional[typing.Any] = 0.0,
|
|
871
|
-
gain: typing.Optional[typing.Any] = 1.0,
|
|
923
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
924
|
+
execution_context: typing.Union[str, int] = None,
|
|
925
|
+
undo: bool = None,
|
|
926
|
+
offset: typing.Any = 0.0,
|
|
927
|
+
gain: typing.Any = 1.0,
|
|
872
928
|
):
|
|
873
929
|
"""Adjust levels of vertex colors
|
|
874
930
|
|
|
875
|
-
:type override_context: typing.
|
|
876
|
-
:type execution_context: typing.
|
|
877
|
-
:type undo:
|
|
931
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
932
|
+
:type execution_context: typing.Union[str, int]
|
|
933
|
+
:type undo: bool
|
|
878
934
|
:param offset: Offset, Value to add to colors
|
|
879
|
-
:type offset: typing.
|
|
935
|
+
:type offset: typing.Any
|
|
880
936
|
:param gain: Gain, Value to multiply colors by
|
|
881
|
-
:type gain: typing.
|
|
937
|
+
:type gain: typing.Any
|
|
882
938
|
"""
|
|
883
939
|
|
|
884
940
|
...
|
|
885
941
|
|
|
886
942
|
def vertex_color_set(
|
|
887
|
-
override_context: typing.
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
undo: typing.Optional[bool] = None,
|
|
892
|
-
*,
|
|
893
|
-
use_alpha: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
943
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
944
|
+
execution_context: typing.Union[str, int] = None,
|
|
945
|
+
undo: bool = None,
|
|
946
|
+
use_alpha: typing.Union[bool, typing.Any] = True,
|
|
894
947
|
):
|
|
895
948
|
"""Fill the active vertex color layer with the current paint color
|
|
896
949
|
|
|
897
|
-
:type override_context: typing.
|
|
898
|
-
:type execution_context: typing.
|
|
899
|
-
:type undo:
|
|
950
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
951
|
+
:type execution_context: typing.Union[str, int]
|
|
952
|
+
:type undo: bool
|
|
900
953
|
:param use_alpha: Affect Alpha, Set color completely opaque instead of reusing existing alpha
|
|
901
|
-
:type use_alpha: typing.
|
|
954
|
+
:type use_alpha: typing.Union[bool, typing.Any]
|
|
902
955
|
"""
|
|
903
956
|
|
|
904
957
|
...
|
|
905
958
|
|
|
906
959
|
def vertex_color_smooth(
|
|
907
|
-
override_context: typing.
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
911
|
-
undo: typing.Optional[bool] = None,
|
|
960
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
961
|
+
execution_context: typing.Union[str, int] = None,
|
|
962
|
+
undo: bool = None,
|
|
912
963
|
):
|
|
913
964
|
"""Smooth colors across vertices
|
|
914
965
|
|
|
915
|
-
:type override_context: typing.
|
|
916
|
-
:type execution_context: typing.
|
|
917
|
-
:type undo:
|
|
966
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
967
|
+
:type execution_context: typing.Union[str, int]
|
|
968
|
+
:type undo: bool
|
|
918
969
|
"""
|
|
919
970
|
|
|
920
971
|
...
|
|
921
972
|
|
|
922
973
|
def vertex_paint(
|
|
923
|
-
override_context: typing.
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
*,
|
|
929
|
-
stroke: typing.Optional[
|
|
930
|
-
bpy.types.bpy_prop_collection["bpy.types.OperatorStrokeElement"]
|
|
931
|
-
] = None,
|
|
932
|
-
mode: typing.Optional[typing.Any] = "NORMAL",
|
|
974
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
975
|
+
execution_context: typing.Union[str, int] = None,
|
|
976
|
+
undo: bool = None,
|
|
977
|
+
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] = None,
|
|
978
|
+
mode: typing.Any = "NORMAL",
|
|
933
979
|
):
|
|
934
980
|
"""Paint a stroke in the active color attribute layer
|
|
935
981
|
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
982
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
983
|
+
:type execution_context: typing.Union[str, int]
|
|
984
|
+
:type undo: bool
|
|
985
|
+
:param stroke: Stroke
|
|
986
|
+
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
987
|
+
:param mode: Stroke Mode, Action taken when a paint stroke is made
|
|
988
|
+
|
|
989
|
+
NORMAL
|
|
990
|
+
Regular -- Apply brush normally.
|
|
991
|
+
|
|
992
|
+
INVERT
|
|
993
|
+
Invert -- Invert action of brush for duration of stroke.
|
|
994
|
+
|
|
995
|
+
SMOOTH
|
|
996
|
+
Smooth -- Switch brush to smooth mode for duration of stroke.
|
|
997
|
+
:type mode: typing.Any
|
|
943
998
|
"""
|
|
944
999
|
|
|
945
1000
|
...
|
|
946
1001
|
|
|
947
1002
|
def vertex_paint_toggle(
|
|
948
|
-
override_context: typing.
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
952
|
-
undo: typing.Optional[bool] = None,
|
|
1003
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1004
|
+
execution_context: typing.Union[str, int] = None,
|
|
1005
|
+
undo: bool = None,
|
|
953
1006
|
):
|
|
954
1007
|
"""Toggle the vertex paint mode in 3D view
|
|
955
1008
|
|
|
956
|
-
:type override_context: typing.
|
|
957
|
-
:type execution_context: typing.
|
|
958
|
-
:type undo:
|
|
1009
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1010
|
+
:type execution_context: typing.Union[str, int]
|
|
1011
|
+
:type undo: bool
|
|
959
1012
|
"""
|
|
960
1013
|
|
|
961
1014
|
...
|
|
962
1015
|
|
|
963
1016
|
def visibility_invert(
|
|
964
|
-
override_context: typing.
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
968
|
-
undo: typing.Optional[bool] = None,
|
|
1017
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1018
|
+
execution_context: typing.Union[str, int] = None,
|
|
1019
|
+
undo: bool = None,
|
|
969
1020
|
):
|
|
970
1021
|
"""Invert the visibility of all vertices
|
|
971
1022
|
|
|
972
|
-
:type override_context: typing.
|
|
973
|
-
:type execution_context: typing.
|
|
974
|
-
:type undo:
|
|
1023
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1024
|
+
:type execution_context: typing.Union[str, int]
|
|
1025
|
+
:type undo: bool
|
|
975
1026
|
"""
|
|
976
1027
|
|
|
977
1028
|
...
|
|
978
1029
|
|
|
979
1030
|
def weight_from_bones(
|
|
980
|
-
override_context: typing.
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
undo: typing.Optional[bool] = None,
|
|
985
|
-
*,
|
|
986
|
-
type: typing.Optional[typing.Any] = "AUTOMATIC",
|
|
1031
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1032
|
+
execution_context: typing.Union[str, int] = None,
|
|
1033
|
+
undo: bool = None,
|
|
1034
|
+
type: typing.Any = "AUTOMATIC",
|
|
987
1035
|
):
|
|
988
1036
|
"""Set the weights of the groups matching the attached armature's selected bones, using the distance between the vertices and the bones
|
|
989
1037
|
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
1038
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1039
|
+
:type execution_context: typing.Union[str, int]
|
|
1040
|
+
:type undo: bool
|
|
1041
|
+
:param type: Type, Method to use for assigning weights
|
|
1042
|
+
|
|
1043
|
+
AUTOMATIC
|
|
1044
|
+
Automatic -- Automatic weights from bones.
|
|
1045
|
+
|
|
1046
|
+
ENVELOPES
|
|
1047
|
+
From Envelopes -- Weights from envelopes with user defined radius.
|
|
1048
|
+
:type type: typing.Any
|
|
995
1049
|
"""
|
|
996
1050
|
|
|
997
1051
|
...
|
|
998
1052
|
|
|
999
1053
|
def weight_gradient(
|
|
1000
|
-
override_context: typing.
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
yend: typing.Optional[typing.Any] = 0,
|
|
1011
|
-
flip: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1012
|
-
cursor: typing.Optional[typing.Any] = 5,
|
|
1054
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1055
|
+
execution_context: typing.Union[str, int] = None,
|
|
1056
|
+
undo: bool = None,
|
|
1057
|
+
type: typing.Any = "LINEAR",
|
|
1058
|
+
xstart: typing.Any = 0,
|
|
1059
|
+
xend: typing.Any = 0,
|
|
1060
|
+
ystart: typing.Any = 0,
|
|
1061
|
+
yend: typing.Any = 0,
|
|
1062
|
+
flip: typing.Union[bool, typing.Any] = False,
|
|
1063
|
+
cursor: typing.Any = 5,
|
|
1013
1064
|
):
|
|
1014
1065
|
"""Draw a line to apply a weight gradient to selected vertices
|
|
1015
1066
|
|
|
1016
|
-
:type override_context: typing.
|
|
1017
|
-
:type execution_context: typing.
|
|
1018
|
-
:type undo:
|
|
1067
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1068
|
+
:type execution_context: typing.Union[str, int]
|
|
1069
|
+
:type undo: bool
|
|
1019
1070
|
:param type: Type
|
|
1020
|
-
:type type: typing.
|
|
1071
|
+
:type type: typing.Any
|
|
1021
1072
|
:param xstart: X Start
|
|
1022
|
-
:type xstart: typing.
|
|
1073
|
+
:type xstart: typing.Any
|
|
1023
1074
|
:param xend: X End
|
|
1024
|
-
:type xend: typing.
|
|
1075
|
+
:type xend: typing.Any
|
|
1025
1076
|
:param ystart: Y Start
|
|
1026
|
-
:type ystart: typing.
|
|
1077
|
+
:type ystart: typing.Any
|
|
1027
1078
|
:param yend: Y End
|
|
1028
|
-
:type yend: typing.
|
|
1079
|
+
:type yend: typing.Any
|
|
1029
1080
|
:param flip: Flip
|
|
1030
|
-
:type flip: typing.
|
|
1081
|
+
:type flip: typing.Union[bool, typing.Any]
|
|
1031
1082
|
:param cursor: Cursor, Mouse cursor style to use during the modal operator
|
|
1032
|
-
:type cursor: typing.
|
|
1083
|
+
:type cursor: typing.Any
|
|
1033
1084
|
"""
|
|
1034
1085
|
|
|
1035
1086
|
...
|
|
1036
1087
|
|
|
1037
1088
|
def weight_paint(
|
|
1038
|
-
override_context: typing.
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
*,
|
|
1044
|
-
stroke: typing.Optional[
|
|
1045
|
-
bpy.types.bpy_prop_collection["bpy.types.OperatorStrokeElement"]
|
|
1046
|
-
] = None,
|
|
1047
|
-
mode: typing.Optional[typing.Any] = "NORMAL",
|
|
1089
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1090
|
+
execution_context: typing.Union[str, int] = None,
|
|
1091
|
+
undo: bool = None,
|
|
1092
|
+
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] = None,
|
|
1093
|
+
mode: typing.Any = "NORMAL",
|
|
1048
1094
|
):
|
|
1049
1095
|
"""Paint a stroke in the current vertex group's weights
|
|
1050
1096
|
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1097
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1098
|
+
:type execution_context: typing.Union[str, int]
|
|
1099
|
+
:type undo: bool
|
|
1100
|
+
:param stroke: Stroke
|
|
1101
|
+
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
1102
|
+
:param mode: Stroke Mode, Action taken when a paint stroke is made
|
|
1103
|
+
|
|
1104
|
+
NORMAL
|
|
1105
|
+
Regular -- Apply brush normally.
|
|
1106
|
+
|
|
1107
|
+
INVERT
|
|
1108
|
+
Invert -- Invert action of brush for duration of stroke.
|
|
1109
|
+
|
|
1110
|
+
SMOOTH
|
|
1111
|
+
Smooth -- Switch brush to smooth mode for duration of stroke.
|
|
1112
|
+
:type mode: typing.Any
|
|
1058
1113
|
"""
|
|
1059
1114
|
|
|
1060
1115
|
...
|
|
1061
1116
|
|
|
1062
1117
|
def weight_paint_toggle(
|
|
1063
|
-
override_context: typing.
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1067
|
-
undo: typing.Optional[bool] = None,
|
|
1118
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1119
|
+
execution_context: typing.Union[str, int] = None,
|
|
1120
|
+
undo: bool = None,
|
|
1068
1121
|
):
|
|
1069
1122
|
"""Toggle weight paint mode in 3D view
|
|
1070
1123
|
|
|
1071
|
-
:type override_context: typing.
|
|
1072
|
-
:type execution_context: typing.
|
|
1073
|
-
:type undo:
|
|
1124
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1125
|
+
:type execution_context: typing.Union[str, int]
|
|
1126
|
+
:type undo: bool
|
|
1074
1127
|
"""
|
|
1075
1128
|
|
|
1076
1129
|
...
|
|
1077
1130
|
|
|
1078
1131
|
def weight_sample(
|
|
1079
|
-
override_context: typing.
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1083
|
-
undo: typing.Optional[bool] = None,
|
|
1132
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1133
|
+
execution_context: typing.Union[str, int] = None,
|
|
1134
|
+
undo: bool = None,
|
|
1084
1135
|
):
|
|
1085
1136
|
"""Use the mouse to sample a weight in the 3D view
|
|
1086
1137
|
|
|
1087
|
-
:type override_context: typing.
|
|
1088
|
-
:type execution_context: typing.
|
|
1089
|
-
:type undo:
|
|
1138
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1139
|
+
:type execution_context: typing.Union[str, int]
|
|
1140
|
+
:type undo: bool
|
|
1090
1141
|
"""
|
|
1091
1142
|
|
|
1092
1143
|
...
|
|
1093
1144
|
|
|
1094
1145
|
def weight_sample_group(
|
|
1095
|
-
override_context: typing.
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1099
|
-
undo: typing.Optional[bool] = None,
|
|
1146
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1147
|
+
execution_context: typing.Union[str, int] = None,
|
|
1148
|
+
undo: bool = None,
|
|
1100
1149
|
):
|
|
1101
1150
|
"""Select one of the vertex groups available under current mouse position
|
|
1102
1151
|
|
|
1103
|
-
:type override_context: typing.
|
|
1104
|
-
:type execution_context: typing.
|
|
1105
|
-
:type undo:
|
|
1152
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1153
|
+
:type execution_context: typing.Union[str, int]
|
|
1154
|
+
:type undo: bool
|
|
1106
1155
|
"""
|
|
1107
1156
|
|
|
1108
1157
|
...
|
|
1109
1158
|
|
|
1110
1159
|
def weight_set(
|
|
1111
|
-
override_context: typing.
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1115
|
-
undo: typing.Optional[bool] = None,
|
|
1160
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1161
|
+
execution_context: typing.Union[str, int] = None,
|
|
1162
|
+
undo: bool = None,
|
|
1116
1163
|
):
|
|
1117
1164
|
"""Fill the active vertex group with the current paint weight
|
|
1118
1165
|
|
|
1119
|
-
:type override_context: typing.
|
|
1120
|
-
:type execution_context: typing.
|
|
1121
|
-
:type undo:
|
|
1166
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1167
|
+
:type execution_context: typing.Union[str, int]
|
|
1168
|
+
:type undo: bool
|
|
1122
1169
|
"""
|
|
1123
1170
|
|
|
1124
1171
|
...
|