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