fake-bpy-module 20240326__py3-none-any.whl → 20240329__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.
- aud/__init__.pyi +34 -96
- bgl/__init__.pyi +1265 -2417
- bl_math/__init__.pyi +3 -14
- bl_operators/presets/__init__.pyi +167 -0
- bl_operators/view3d/__init__.pyi +248 -0
- bl_ui/space_toolsystem_toolbar/__init__.pyi +3 -0
- blf/__init__.pyi +13 -50
- bmesh/ops/__init__.pyi +68 -142
- bmesh/types/__init__.pyi +18 -44
- bmesh/utils/__init__.pyi +2 -6
- bpy/app/icons/__init__.pyi +2 -4
- bpy/app/timers/__init__.pyi +2 -6
- bpy/ops/action/__init__.pyi +92 -93
- bpy/ops/anim/__init__.pyi +104 -104
- bpy/ops/armature/__init__.pyi +108 -112
- bpy/ops/asset/__init__.pyi +32 -32
- bpy/ops/boid/__init__.pyi +18 -18
- bpy/ops/brush/__init__.pyi +18 -18
- bpy/ops/buttons/__init__.pyi +12 -12
- bpy/ops/cachefile/__init__.pyi +10 -10
- bpy/ops/camera/__init__.pyi +4 -4
- bpy/ops/clip/__init__.pyi +194 -195
- bpy/ops/cloth/__init__.pyi +2 -2
- bpy/ops/collection/__init__.pyi +10 -10
- bpy/ops/console/__init__.pyi +42 -42
- bpy/ops/constraint/__init__.pyi +36 -36
- bpy/ops/curve/__init__.pyi +114 -118
- bpy/ops/curves/__init__.pyi +55 -53
- bpy/ops/cycles/__init__.pyi +6 -6
- bpy/ops/dpaint/__init__.pyi +12 -12
- bpy/ops/ed/__init__.pyi +24 -24
- bpy/ops/export_anim/__init__.pyi +2 -2
- bpy/ops/export_mesh/__init__.pyi +2 -2
- bpy/ops/export_scene/__init__.pyi +7 -7
- bpy/ops/file/__init__.pyi +80 -83
- bpy/ops/fluid/__init__.pyi +28 -28
- bpy/ops/font/__init__.pyi +46 -46
- bpy/ops/geometry/__init__.pyi +38 -38
- bpy/ops/gizmogroup/__init__.pyi +4 -4
- bpy/ops/gpencil/__init__.pyi +308 -309
- bpy/ops/graph/__init__.pyi +150 -151
- bpy/ops/grease_pencil/__init__.pyi +114 -115
- bpy/ops/image/__init__.pyi +100 -100
- bpy/ops/import_anim/__init__.pyi +2 -2
- bpy/ops/import_curve/__init__.pyi +2 -2
- bpy/ops/import_mesh/__init__.pyi +2 -2
- bpy/ops/import_scene/__init__.pyi +6 -6
- bpy/ops/info/__init__.pyi +14 -14
- bpy/ops/lattice/__init__.pyi +16 -16
- bpy/ops/marker/__init__.pyi +22 -22
- bpy/ops/mask/__init__.pyi +90 -91
- bpy/ops/material/__init__.pyi +6 -6
- bpy/ops/mball/__init__.pyi +20 -21
- bpy/ops/mesh/__init__.pyi +429 -427
- bpy/ops/nla/__init__.pyi +90 -91
- bpy/ops/node/__init__.pyi +242 -243
- bpy/ops/object/__init__.pyi +572 -567
- bpy/ops/outliner/__init__.pyi +142 -142
- bpy/ops/paint/__init__.pyi +182 -126
- bpy/ops/paintcurve/__init__.pyi +20 -20
- bpy/ops/palette/__init__.pyi +14 -14
- bpy/ops/particle/__init__.pyi +72 -72
- bpy/ops/pose/__init__.pyi +90 -90
- bpy/ops/poselib/__init__.pyi +18 -18
- bpy/ops/preferences/__init__.pyi +76 -76
- bpy/ops/ptcache/__init__.pyi +14 -14
- bpy/ops/render/__init__.pyi +24 -24
- bpy/ops/rigidbody/__init__.pyi +34 -34
- bpy/ops/scene/__init__.pyi +86 -86
- bpy/ops/screen/__init__.pyi +84 -84
- bpy/ops/script/__init__.pyi +6 -6
- bpy/ops/sculpt/__init__.pyi +80 -62
- bpy/ops/sculpt_curves/__init__.pyi +8 -8
- bpy/ops/sequencer/__init__.pyi +184 -185
- bpy/ops/sound/__init__.pyi +16 -16
- bpy/ops/spreadsheet/__init__.pyi +8 -8
- bpy/ops/surface/__init__.pyi +12 -12
- bpy/ops/text/__init__.pyi +86 -86
- bpy/ops/text_editor/__init__.pyi +2 -2
- bpy/ops/texture/__init__.pyi +8 -8
- bpy/ops/transform/__init__.pyi +112 -112
- bpy/ops/ui/__init__.pyi +64 -64
- bpy/ops/uilist/__init__.pyi +6 -6
- bpy/ops/uv/__init__.pyi +104 -105
- bpy/ops/view2d/__init__.pyi +28 -28
- bpy/ops/view3d/__init__.pyi +134 -134
- bpy/ops/wm/__init__.pyi +253 -230
- bpy/ops/workspace/__init__.pyi +14 -14
- bpy/ops/world/__init__.pyi +2 -2
- bpy/props/__init__.pyi +29 -52
- bpy/types/__init__.pyi +4648 -3095
- bpy/utils/__init__.pyi +3 -6
- bpy/utils/units/__init__.pyi +3 -6
- bpy_extras/io_utils/__init__.pyi +8 -0
- bpy_types/__init__.pyi +3 -0
- {fake_bpy_module-20240326.dist-info → fake_bpy_module-20240329.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240326.dist-info → fake_bpy_module-20240329.dist-info}/RECORD +117 -117
- freestyle/chainingiterators/__init__.pyi +5 -12
- freestyle/functions/__init__.pyi +19 -73
- freestyle/predicates/__init__.pyi +8 -21
- freestyle/shaders/__init__.pyi +32 -81
- freestyle/types/__init__.pyi +100 -270
- freestyle/utils/ContextFunctions/__init__.pyi +7 -27
- freestyle/utils/__init__.pyi +1 -2
- gpu/capabilities/__init__.pyi +15 -32
- gpu/matrix/__init__.pyi +1 -2
- gpu/state/__init__.pyi +4 -10
- gpu/types/__init__.pyi +29 -87
- gpu_extras/presets/__init__.pyi +4 -16
- imbuf/types/__init__.pyi +4 -10
- mathutils/__init__.pyi +106 -257
- mathutils/bvhtree/__init__.pyi +7 -15
- mathutils/geometry/__init__.pyi +9 -18
- mathutils/kdtree/__init__.pyi +4 -11
- mathutils/noise/__init__.pyi +41 -82
- {fake_bpy_module-20240326.dist-info → fake_bpy_module-20240329.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240326.dist-info → fake_bpy_module-20240329.dist-info}/top_level.txt +0 -0
bpy/ops/paint/__init__.pyi
CHANGED
|
@@ -5,13 +5,13 @@ GenericType = typing.TypeVar("GenericType")
|
|
|
5
5
|
|
|
6
6
|
def add_simple_uvs(
|
|
7
7
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
-
execution_context:
|
|
8
|
+
execution_context: str = None,
|
|
9
9
|
undo: bool = None,
|
|
10
10
|
):
|
|
11
11
|
"""Add cube map UVs on mesh
|
|
12
12
|
|
|
13
13
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
14
|
-
:type execution_context:
|
|
14
|
+
:type execution_context: str
|
|
15
15
|
:type undo: bool
|
|
16
16
|
"""
|
|
17
17
|
|
|
@@ -19,7 +19,7 @@ def add_simple_uvs(
|
|
|
19
19
|
|
|
20
20
|
def add_texture_paint_slot(
|
|
21
21
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
22
|
-
execution_context:
|
|
22
|
+
execution_context: str = None,
|
|
23
23
|
undo: bool = None,
|
|
24
24
|
type: typing.Any = "BASE_COLOR",
|
|
25
25
|
slot_type: typing.Any = "IMAGE",
|
|
@@ -28,15 +28,15 @@ def add_texture_paint_slot(
|
|
|
28
28
|
width: typing.Any = 1024,
|
|
29
29
|
height: typing.Any = 1024,
|
|
30
30
|
alpha: typing.Union[bool, typing.Any] = True,
|
|
31
|
-
generated_type: typing.
|
|
31
|
+
generated_type: typing.Union[str, int] = "BLANK",
|
|
32
32
|
float: typing.Union[bool, typing.Any] = False,
|
|
33
|
-
domain: typing.
|
|
34
|
-
data_type: typing.
|
|
33
|
+
domain: typing.Union[str, int] = "POINT",
|
|
34
|
+
data_type: typing.Union[str, int] = "FLOAT_COLOR",
|
|
35
35
|
):
|
|
36
36
|
"""Add a paint slot
|
|
37
37
|
|
|
38
38
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
39
|
-
:type execution_context:
|
|
39
|
+
:type execution_context: str
|
|
40
40
|
:type undo: bool
|
|
41
41
|
:param type: Material Layer Type, Material layer type of new paint slot
|
|
42
42
|
:type type: typing.Any
|
|
@@ -53,26 +53,26 @@ def add_texture_paint_slot(
|
|
|
53
53
|
:param alpha: Alpha, Create an image with an alpha channel
|
|
54
54
|
:type alpha: typing.Union[bool, typing.Any]
|
|
55
55
|
:param generated_type: Generated Type, Fill the image with a grid for UV map testing
|
|
56
|
-
:type generated_type: typing.
|
|
56
|
+
:type generated_type: typing.Union[str, int]
|
|
57
57
|
:param float: 32-bit Float, Create image with 32-bit floating-point bit depth
|
|
58
58
|
:type float: typing.Union[bool, typing.Any]
|
|
59
59
|
:param domain: Domain, Type of element that attribute is stored on
|
|
60
|
-
:type domain: typing.
|
|
60
|
+
:type domain: typing.Union[str, int]
|
|
61
61
|
:param data_type: Data Type, Type of data stored in attribute
|
|
62
|
-
:type data_type: typing.
|
|
62
|
+
:type data_type: typing.Union[str, int]
|
|
63
63
|
"""
|
|
64
64
|
|
|
65
65
|
...
|
|
66
66
|
|
|
67
67
|
def brush_colors_flip(
|
|
68
68
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
69
|
-
execution_context:
|
|
69
|
+
execution_context: str = None,
|
|
70
70
|
undo: bool = None,
|
|
71
71
|
):
|
|
72
72
|
"""Swap primary and secondary brush colors
|
|
73
73
|
|
|
74
74
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
75
|
-
:type execution_context:
|
|
75
|
+
:type execution_context: str
|
|
76
76
|
:type undo: bool
|
|
77
77
|
"""
|
|
78
78
|
|
|
@@ -80,43 +80,43 @@ def brush_colors_flip(
|
|
|
80
80
|
|
|
81
81
|
def brush_select(
|
|
82
82
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
83
|
-
execution_context:
|
|
83
|
+
execution_context: str = None,
|
|
84
84
|
undo: bool = None,
|
|
85
|
-
sculpt_tool: typing.
|
|
86
|
-
vertex_tool: typing.
|
|
87
|
-
weight_tool: typing.
|
|
88
|
-
image_tool: typing.
|
|
89
|
-
gpencil_tool: typing.
|
|
90
|
-
gpencil_vertex_tool: typing.
|
|
91
|
-
gpencil_sculpt_tool: typing.
|
|
92
|
-
gpencil_weight_tool: typing.
|
|
93
|
-
curves_sculpt_tool: typing.
|
|
85
|
+
sculpt_tool: typing.Union[str, int] = "DRAW",
|
|
86
|
+
vertex_tool: typing.Union[str, int] = "DRAW",
|
|
87
|
+
weight_tool: typing.Union[str, int] = "DRAW",
|
|
88
|
+
image_tool: typing.Union[str, int] = "DRAW",
|
|
89
|
+
gpencil_tool: typing.Union[str, int] = "DRAW",
|
|
90
|
+
gpencil_vertex_tool: typing.Union[str, int] = "DRAW",
|
|
91
|
+
gpencil_sculpt_tool: typing.Union[str, int] = "SMOOTH",
|
|
92
|
+
gpencil_weight_tool: typing.Union[str, int] = "WEIGHT",
|
|
93
|
+
curves_sculpt_tool: typing.Union[str, int] = "COMB",
|
|
94
94
|
toggle: typing.Union[bool, typing.Any] = False,
|
|
95
95
|
create_missing: typing.Union[bool, typing.Any] = False,
|
|
96
96
|
):
|
|
97
97
|
"""Select a paint mode's brush by tool type
|
|
98
98
|
|
|
99
99
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
100
|
-
:type execution_context:
|
|
100
|
+
:type execution_context: str
|
|
101
101
|
:type undo: bool
|
|
102
102
|
:param sculpt_tool: sculpt_tool
|
|
103
|
-
:type sculpt_tool: typing.
|
|
103
|
+
:type sculpt_tool: typing.Union[str, int]
|
|
104
104
|
:param vertex_tool: vertex_tool
|
|
105
|
-
:type vertex_tool: typing.
|
|
105
|
+
:type vertex_tool: typing.Union[str, int]
|
|
106
106
|
:param weight_tool: weight_tool
|
|
107
|
-
:type weight_tool: typing.
|
|
107
|
+
:type weight_tool: typing.Union[str, int]
|
|
108
108
|
:param image_tool: image_tool
|
|
109
|
-
:type image_tool: typing.
|
|
109
|
+
:type image_tool: typing.Union[str, int]
|
|
110
110
|
:param gpencil_tool: gpencil_tool
|
|
111
|
-
:type gpencil_tool: typing.
|
|
111
|
+
:type gpencil_tool: typing.Union[str, int]
|
|
112
112
|
:param gpencil_vertex_tool: gpencil_vertex_tool
|
|
113
|
-
:type gpencil_vertex_tool: typing.
|
|
113
|
+
:type gpencil_vertex_tool: typing.Union[str, int]
|
|
114
114
|
:param gpencil_sculpt_tool: gpencil_sculpt_tool
|
|
115
|
-
:type gpencil_sculpt_tool: typing.
|
|
115
|
+
:type gpencil_sculpt_tool: typing.Union[str, int]
|
|
116
116
|
:param gpencil_weight_tool: gpencil_weight_tool
|
|
117
|
-
:type gpencil_weight_tool: typing.
|
|
117
|
+
:type gpencil_weight_tool: typing.Union[str, int]
|
|
118
118
|
:param curves_sculpt_tool: curves_sculpt_tool
|
|
119
|
-
:type curves_sculpt_tool: typing.
|
|
119
|
+
:type curves_sculpt_tool: typing.Union[str, int]
|
|
120
120
|
:param toggle: Toggle, Toggle between two brushes rather than cycling
|
|
121
121
|
:type toggle: typing.Union[bool, typing.Any]
|
|
122
122
|
:param create_missing: Create Missing, If the requested brush type does not exist, create a new brush
|
|
@@ -127,14 +127,14 @@ def brush_select(
|
|
|
127
127
|
|
|
128
128
|
def face_select_all(
|
|
129
129
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
130
|
-
execution_context:
|
|
130
|
+
execution_context: str = None,
|
|
131
131
|
undo: bool = None,
|
|
132
132
|
action: typing.Any = "TOGGLE",
|
|
133
133
|
):
|
|
134
134
|
"""Change selection for all faces
|
|
135
135
|
|
|
136
136
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
137
|
-
:type execution_context:
|
|
137
|
+
:type execution_context: str
|
|
138
138
|
:type undo: bool
|
|
139
139
|
:param action: Action, Selection action to execute
|
|
140
140
|
|
|
@@ -156,14 +156,14 @@ def face_select_all(
|
|
|
156
156
|
|
|
157
157
|
def face_select_hide(
|
|
158
158
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
159
|
-
execution_context:
|
|
159
|
+
execution_context: str = None,
|
|
160
160
|
undo: bool = None,
|
|
161
161
|
unselected: typing.Union[bool, typing.Any] = False,
|
|
162
162
|
):
|
|
163
163
|
"""Hide selected faces
|
|
164
164
|
|
|
165
165
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
166
|
-
:type execution_context:
|
|
166
|
+
:type execution_context: str
|
|
167
167
|
:type undo: bool
|
|
168
168
|
:param unselected: Unselected, Hide unselected rather than selected objects
|
|
169
169
|
:type unselected: typing.Union[bool, typing.Any]
|
|
@@ -173,14 +173,14 @@ def face_select_hide(
|
|
|
173
173
|
|
|
174
174
|
def face_select_less(
|
|
175
175
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
176
|
-
execution_context:
|
|
176
|
+
execution_context: str = None,
|
|
177
177
|
undo: bool = None,
|
|
178
178
|
face_step: typing.Union[bool, typing.Any] = True,
|
|
179
179
|
):
|
|
180
180
|
"""Deselect Faces connected to existing selection
|
|
181
181
|
|
|
182
182
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
183
|
-
:type execution_context:
|
|
183
|
+
:type execution_context: str
|
|
184
184
|
:type undo: bool
|
|
185
185
|
:param face_step: Face Step, Also deselect faces that only touch on a corner
|
|
186
186
|
:type face_step: typing.Union[bool, typing.Any]
|
|
@@ -190,13 +190,13 @@ def face_select_less(
|
|
|
190
190
|
|
|
191
191
|
def face_select_linked(
|
|
192
192
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
193
|
-
execution_context:
|
|
193
|
+
execution_context: str = None,
|
|
194
194
|
undo: bool = None,
|
|
195
195
|
):
|
|
196
196
|
"""Select linked faces
|
|
197
197
|
|
|
198
198
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
199
|
-
:type execution_context:
|
|
199
|
+
:type execution_context: str
|
|
200
200
|
:type undo: bool
|
|
201
201
|
"""
|
|
202
202
|
|
|
@@ -204,14 +204,14 @@ def face_select_linked(
|
|
|
204
204
|
|
|
205
205
|
def face_select_linked_pick(
|
|
206
206
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
207
|
-
execution_context:
|
|
207
|
+
execution_context: str = None,
|
|
208
208
|
undo: bool = None,
|
|
209
209
|
deselect: typing.Union[bool, typing.Any] = False,
|
|
210
210
|
):
|
|
211
211
|
"""Select linked faces under the cursor
|
|
212
212
|
|
|
213
213
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
214
|
-
:type execution_context:
|
|
214
|
+
:type execution_context: str
|
|
215
215
|
:type undo: bool
|
|
216
216
|
:param deselect: Deselect, Deselect rather than select items
|
|
217
217
|
:type deselect: typing.Union[bool, typing.Any]
|
|
@@ -221,7 +221,7 @@ def face_select_linked_pick(
|
|
|
221
221
|
|
|
222
222
|
def face_select_loop(
|
|
223
223
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
224
|
-
execution_context:
|
|
224
|
+
execution_context: str = None,
|
|
225
225
|
undo: bool = None,
|
|
226
226
|
select: typing.Union[bool, typing.Any] = True,
|
|
227
227
|
extend: typing.Union[bool, typing.Any] = False,
|
|
@@ -229,7 +229,7 @@ def face_select_loop(
|
|
|
229
229
|
"""Select face loop under the cursor
|
|
230
230
|
|
|
231
231
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
232
|
-
:type execution_context:
|
|
232
|
+
:type execution_context: str
|
|
233
233
|
:type undo: bool
|
|
234
234
|
:param select: Select, If false, faces will be deselected
|
|
235
235
|
:type select: typing.Union[bool, typing.Any]
|
|
@@ -241,14 +241,14 @@ def face_select_loop(
|
|
|
241
241
|
|
|
242
242
|
def face_select_more(
|
|
243
243
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
244
|
-
execution_context:
|
|
244
|
+
execution_context: str = None,
|
|
245
245
|
undo: bool = None,
|
|
246
246
|
face_step: typing.Union[bool, typing.Any] = True,
|
|
247
247
|
):
|
|
248
248
|
"""Select Faces connected to existing selection
|
|
249
249
|
|
|
250
250
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
251
|
-
:type execution_context:
|
|
251
|
+
:type execution_context: str
|
|
252
252
|
:type undo: bool
|
|
253
253
|
:param face_step: Face Step, Also select faces that only touch on a corner
|
|
254
254
|
:type face_step: typing.Union[bool, typing.Any]
|
|
@@ -258,14 +258,14 @@ def face_select_more(
|
|
|
258
258
|
|
|
259
259
|
def face_vert_reveal(
|
|
260
260
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
261
|
-
execution_context:
|
|
261
|
+
execution_context: str = None,
|
|
262
262
|
undo: bool = None,
|
|
263
263
|
select: typing.Union[bool, typing.Any] = True,
|
|
264
264
|
):
|
|
265
265
|
"""Reveal hidden faces and vertices
|
|
266
266
|
|
|
267
267
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
268
|
-
:type execution_context:
|
|
268
|
+
:type execution_context: str
|
|
269
269
|
:type undo: bool
|
|
270
270
|
:param select: Select, Specifies whether the newly revealed geometry should be selected
|
|
271
271
|
:type select: typing.Union[bool, typing.Any]
|
|
@@ -275,14 +275,14 @@ def face_vert_reveal(
|
|
|
275
275
|
|
|
276
276
|
def grab_clone(
|
|
277
277
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
278
|
-
execution_context:
|
|
278
|
+
execution_context: str = None,
|
|
279
279
|
undo: bool = None,
|
|
280
280
|
delta: typing.Any = (0.0, 0.0),
|
|
281
281
|
):
|
|
282
282
|
"""Move the clone source image
|
|
283
283
|
|
|
284
284
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
285
|
-
:type execution_context:
|
|
285
|
+
:type execution_context: str
|
|
286
286
|
:type undo: bool
|
|
287
287
|
:param delta: Delta, Delta offset of clone image in 0.0 to 1.0 coordinates
|
|
288
288
|
:type delta: typing.Any
|
|
@@ -292,7 +292,7 @@ def grab_clone(
|
|
|
292
292
|
|
|
293
293
|
def hide_show(
|
|
294
294
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
295
|
-
execution_context:
|
|
295
|
+
execution_context: str = None,
|
|
296
296
|
undo: bool = None,
|
|
297
297
|
xmin: typing.Any = 0,
|
|
298
298
|
xmax: typing.Any = 0,
|
|
@@ -306,7 +306,7 @@ def hide_show(
|
|
|
306
306
|
"""Hide/show some vertices
|
|
307
307
|
|
|
308
308
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
309
|
-
:type execution_context:
|
|
309
|
+
:type execution_context: str
|
|
310
310
|
:type undo: bool
|
|
311
311
|
:param xmin: X Min
|
|
312
312
|
:type xmin: typing.Any
|
|
@@ -342,14 +342,14 @@ def hide_show(
|
|
|
342
342
|
|
|
343
343
|
def hide_show_all(
|
|
344
344
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
345
|
-
execution_context:
|
|
345
|
+
execution_context: str = None,
|
|
346
346
|
undo: bool = None,
|
|
347
347
|
action: typing.Any = "HIDE",
|
|
348
348
|
):
|
|
349
349
|
"""Hide/show all vertices
|
|
350
350
|
|
|
351
351
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
352
|
-
:type execution_context:
|
|
352
|
+
:type execution_context: str
|
|
353
353
|
:type undo: bool
|
|
354
354
|
:param action: Visibility Action, Whether to hide or show vertices
|
|
355
355
|
|
|
@@ -365,7 +365,7 @@ def hide_show_all(
|
|
|
365
365
|
|
|
366
366
|
def hide_show_lasso_gesture(
|
|
367
367
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
368
|
-
execution_context:
|
|
368
|
+
execution_context: str = None,
|
|
369
369
|
undo: bool = None,
|
|
370
370
|
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] = None,
|
|
371
371
|
action: typing.Any = "HIDE",
|
|
@@ -375,7 +375,7 @@ def hide_show_lasso_gesture(
|
|
|
375
375
|
"""Hide/show some vertices
|
|
376
376
|
|
|
377
377
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
378
|
-
:type execution_context:
|
|
378
|
+
:type execution_context: str
|
|
379
379
|
:type undo: bool
|
|
380
380
|
:param path: Path
|
|
381
381
|
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
|
|
@@ -401,16 +401,72 @@ def hide_show_lasso_gesture(
|
|
|
401
401
|
|
|
402
402
|
...
|
|
403
403
|
|
|
404
|
+
def hide_show_line_gesture(
|
|
405
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
406
|
+
execution_context: str = None,
|
|
407
|
+
undo: bool = None,
|
|
408
|
+
xstart: typing.Any = 0,
|
|
409
|
+
xend: typing.Any = 0,
|
|
410
|
+
ystart: typing.Any = 0,
|
|
411
|
+
yend: typing.Any = 0,
|
|
412
|
+
flip: typing.Union[bool, typing.Any] = False,
|
|
413
|
+
cursor: typing.Any = 5,
|
|
414
|
+
action: typing.Any = "HIDE",
|
|
415
|
+
area: typing.Any = "Inside",
|
|
416
|
+
use_front_faces_only: typing.Union[bool, typing.Any] = False,
|
|
417
|
+
use_limit_to_segment: typing.Union[bool, typing.Any] = False,
|
|
418
|
+
):
|
|
419
|
+
"""Hide/show some vertices
|
|
420
|
+
|
|
421
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
422
|
+
:type execution_context: str
|
|
423
|
+
:type undo: bool
|
|
424
|
+
:param xstart: X Start
|
|
425
|
+
:type xstart: typing.Any
|
|
426
|
+
:param xend: X End
|
|
427
|
+
:type xend: typing.Any
|
|
428
|
+
:param ystart: Y Start
|
|
429
|
+
:type ystart: typing.Any
|
|
430
|
+
:param yend: Y End
|
|
431
|
+
:type yend: typing.Any
|
|
432
|
+
:param flip: Flip
|
|
433
|
+
:type flip: typing.Union[bool, typing.Any]
|
|
434
|
+
:param cursor: Cursor, Mouse cursor style to use during the modal operator
|
|
435
|
+
:type cursor: typing.Any
|
|
436
|
+
:param action: Visibility Action, Whether to hide or show vertices
|
|
437
|
+
|
|
438
|
+
HIDE
|
|
439
|
+
Hide -- Hide vertices.
|
|
440
|
+
|
|
441
|
+
SHOW
|
|
442
|
+
Show -- Show vertices.
|
|
443
|
+
:type action: typing.Any
|
|
444
|
+
:param area: Visibility Area, Which vertices to hide or show
|
|
445
|
+
|
|
446
|
+
OUTSIDE
|
|
447
|
+
Outside -- Hide or show vertices outside the selection.
|
|
448
|
+
|
|
449
|
+
Inside
|
|
450
|
+
Inside -- Hide or show vertices inside the selection.
|
|
451
|
+
:type area: typing.Any
|
|
452
|
+
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
453
|
+
:type use_front_faces_only: typing.Union[bool, typing.Any]
|
|
454
|
+
: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
|
|
455
|
+
:type use_limit_to_segment: typing.Union[bool, typing.Any]
|
|
456
|
+
"""
|
|
457
|
+
|
|
458
|
+
...
|
|
459
|
+
|
|
404
460
|
def hide_show_masked(
|
|
405
461
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
406
|
-
execution_context:
|
|
462
|
+
execution_context: str = None,
|
|
407
463
|
undo: bool = None,
|
|
408
464
|
action: typing.Any = "HIDE",
|
|
409
465
|
):
|
|
410
466
|
"""Hide/show all masked vertices above a threshold
|
|
411
467
|
|
|
412
468
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
413
|
-
:type execution_context:
|
|
469
|
+
:type execution_context: str
|
|
414
470
|
:type undo: bool
|
|
415
471
|
:param action: Visibility Action, Whether to hide or show vertices
|
|
416
472
|
|
|
@@ -426,14 +482,14 @@ def hide_show_masked(
|
|
|
426
482
|
|
|
427
483
|
def image_from_view(
|
|
428
484
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
429
|
-
execution_context:
|
|
485
|
+
execution_context: str = None,
|
|
430
486
|
undo: bool = None,
|
|
431
487
|
filepath: typing.Union[str, typing.Any] = "",
|
|
432
488
|
):
|
|
433
489
|
"""Make an image from biggest 3D view for reprojection
|
|
434
490
|
|
|
435
491
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
436
|
-
:type execution_context:
|
|
492
|
+
:type execution_context: str
|
|
437
493
|
:type undo: bool
|
|
438
494
|
:param filepath: File Path, Name of the file
|
|
439
495
|
:type filepath: typing.Union[str, typing.Any]
|
|
@@ -443,7 +499,7 @@ def image_from_view(
|
|
|
443
499
|
|
|
444
500
|
def image_paint(
|
|
445
501
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
446
|
-
execution_context:
|
|
502
|
+
execution_context: str = None,
|
|
447
503
|
undo: bool = None,
|
|
448
504
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] = None,
|
|
449
505
|
mode: typing.Any = "NORMAL",
|
|
@@ -451,7 +507,7 @@ def image_paint(
|
|
|
451
507
|
"""Paint a stroke into the image
|
|
452
508
|
|
|
453
509
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
454
|
-
:type execution_context:
|
|
510
|
+
:type execution_context: str
|
|
455
511
|
:type undo: bool
|
|
456
512
|
:param stroke: Stroke
|
|
457
513
|
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
@@ -472,7 +528,7 @@ def image_paint(
|
|
|
472
528
|
|
|
473
529
|
def mask_box_gesture(
|
|
474
530
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
475
|
-
execution_context:
|
|
531
|
+
execution_context: str = None,
|
|
476
532
|
undo: bool = None,
|
|
477
533
|
xmin: typing.Any = 0,
|
|
478
534
|
xmax: typing.Any = 0,
|
|
@@ -486,7 +542,7 @@ def mask_box_gesture(
|
|
|
486
542
|
"""Add mask within the box as you move the brush
|
|
487
543
|
|
|
488
544
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
489
|
-
:type execution_context:
|
|
545
|
+
:type execution_context: str
|
|
490
546
|
:type undo: bool
|
|
491
547
|
:param xmin: X Min
|
|
492
548
|
:type xmin: typing.Any
|
|
@@ -519,7 +575,7 @@ def mask_box_gesture(
|
|
|
519
575
|
|
|
520
576
|
def mask_flood_fill(
|
|
521
577
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
522
|
-
execution_context:
|
|
578
|
+
execution_context: str = None,
|
|
523
579
|
undo: bool = None,
|
|
524
580
|
mode: typing.Any = "VALUE",
|
|
525
581
|
value: typing.Any = 0.0,
|
|
@@ -527,7 +583,7 @@ def mask_flood_fill(
|
|
|
527
583
|
"""Fill the whole mask with a given value, or invert its values
|
|
528
584
|
|
|
529
585
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
530
|
-
:type execution_context:
|
|
586
|
+
:type execution_context: str
|
|
531
587
|
:type undo: bool
|
|
532
588
|
:param mode: Mode
|
|
533
589
|
|
|
@@ -548,7 +604,7 @@ def mask_flood_fill(
|
|
|
548
604
|
|
|
549
605
|
def mask_lasso_gesture(
|
|
550
606
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
551
|
-
execution_context:
|
|
607
|
+
execution_context: str = None,
|
|
552
608
|
undo: bool = None,
|
|
553
609
|
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] = None,
|
|
554
610
|
use_front_faces_only: typing.Union[bool, typing.Any] = False,
|
|
@@ -558,7 +614,7 @@ def mask_lasso_gesture(
|
|
|
558
614
|
"""Add mask within the lasso as you move the brush
|
|
559
615
|
|
|
560
616
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
561
|
-
:type execution_context:
|
|
617
|
+
:type execution_context: str
|
|
562
618
|
:type undo: bool
|
|
563
619
|
:param path: Path
|
|
564
620
|
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
|
|
@@ -583,7 +639,7 @@ def mask_lasso_gesture(
|
|
|
583
639
|
|
|
584
640
|
def mask_line_gesture(
|
|
585
641
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
586
|
-
execution_context:
|
|
642
|
+
execution_context: str = None,
|
|
587
643
|
undo: bool = None,
|
|
588
644
|
xstart: typing.Any = 0,
|
|
589
645
|
xend: typing.Any = 0,
|
|
@@ -599,7 +655,7 @@ def mask_line_gesture(
|
|
|
599
655
|
"""Add mask to the right of a line as you move the brush
|
|
600
656
|
|
|
601
657
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
602
|
-
:type execution_context:
|
|
658
|
+
:type execution_context: str
|
|
603
659
|
:type undo: bool
|
|
604
660
|
:param xstart: X Start
|
|
605
661
|
:type xstart: typing.Any
|
|
@@ -636,14 +692,14 @@ def mask_line_gesture(
|
|
|
636
692
|
|
|
637
693
|
def project_image(
|
|
638
694
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
639
|
-
execution_context:
|
|
695
|
+
execution_context: str = None,
|
|
640
696
|
undo: bool = None,
|
|
641
697
|
image: typing.Union[str, int, typing.Any] = "",
|
|
642
698
|
):
|
|
643
699
|
"""Project an edited render from the active camera back onto the object
|
|
644
700
|
|
|
645
701
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
646
|
-
:type execution_context:
|
|
702
|
+
:type execution_context: str
|
|
647
703
|
:type undo: bool
|
|
648
704
|
:param image: Image
|
|
649
705
|
:type image: typing.Union[str, int, typing.Any]
|
|
@@ -653,7 +709,7 @@ def project_image(
|
|
|
653
709
|
|
|
654
710
|
def sample_color(
|
|
655
711
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
656
|
-
execution_context:
|
|
712
|
+
execution_context: str = None,
|
|
657
713
|
undo: bool = None,
|
|
658
714
|
location: typing.Any = (0, 0),
|
|
659
715
|
merged: typing.Union[bool, typing.Any] = False,
|
|
@@ -662,7 +718,7 @@ def sample_color(
|
|
|
662
718
|
"""Use the mouse to sample a color in the image
|
|
663
719
|
|
|
664
720
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
665
|
-
:type execution_context:
|
|
721
|
+
:type execution_context: str
|
|
666
722
|
:type undo: bool
|
|
667
723
|
:param location: Location
|
|
668
724
|
:type location: typing.Any
|
|
@@ -676,13 +732,13 @@ def sample_color(
|
|
|
676
732
|
|
|
677
733
|
def texture_paint_toggle(
|
|
678
734
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
679
|
-
execution_context:
|
|
735
|
+
execution_context: str = None,
|
|
680
736
|
undo: bool = None,
|
|
681
737
|
):
|
|
682
738
|
"""Toggle texture paint mode in 3D view
|
|
683
739
|
|
|
684
740
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
685
|
-
:type execution_context:
|
|
741
|
+
:type execution_context: str
|
|
686
742
|
:type undo: bool
|
|
687
743
|
"""
|
|
688
744
|
|
|
@@ -690,14 +746,14 @@ def texture_paint_toggle(
|
|
|
690
746
|
|
|
691
747
|
def vert_select_all(
|
|
692
748
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
693
|
-
execution_context:
|
|
749
|
+
execution_context: str = None,
|
|
694
750
|
undo: bool = None,
|
|
695
751
|
action: typing.Any = "TOGGLE",
|
|
696
752
|
):
|
|
697
753
|
"""Change selection for all vertices
|
|
698
754
|
|
|
699
755
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
700
|
-
:type execution_context:
|
|
756
|
+
:type execution_context: str
|
|
701
757
|
:type undo: bool
|
|
702
758
|
:param action: Action, Selection action to execute
|
|
703
759
|
|
|
@@ -719,14 +775,14 @@ def vert_select_all(
|
|
|
719
775
|
|
|
720
776
|
def vert_select_hide(
|
|
721
777
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
722
|
-
execution_context:
|
|
778
|
+
execution_context: str = None,
|
|
723
779
|
undo: bool = None,
|
|
724
780
|
unselected: typing.Union[bool, typing.Any] = False,
|
|
725
781
|
):
|
|
726
782
|
"""Hide selected vertices
|
|
727
783
|
|
|
728
784
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
729
|
-
:type execution_context:
|
|
785
|
+
:type execution_context: str
|
|
730
786
|
:type undo: bool
|
|
731
787
|
:param unselected: Unselected, Hide unselected rather than selected vertices
|
|
732
788
|
:type unselected: typing.Union[bool, typing.Any]
|
|
@@ -736,14 +792,14 @@ def vert_select_hide(
|
|
|
736
792
|
|
|
737
793
|
def vert_select_less(
|
|
738
794
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
739
|
-
execution_context:
|
|
795
|
+
execution_context: str = None,
|
|
740
796
|
undo: bool = None,
|
|
741
797
|
face_step: typing.Union[bool, typing.Any] = True,
|
|
742
798
|
):
|
|
743
799
|
"""Deselect Vertices connected to existing selection
|
|
744
800
|
|
|
745
801
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
746
|
-
:type execution_context:
|
|
802
|
+
:type execution_context: str
|
|
747
803
|
:type undo: bool
|
|
748
804
|
:param face_step: Face Step, Also deselect faces that only touch on a corner
|
|
749
805
|
:type face_step: typing.Union[bool, typing.Any]
|
|
@@ -753,13 +809,13 @@ def vert_select_less(
|
|
|
753
809
|
|
|
754
810
|
def vert_select_linked(
|
|
755
811
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
756
|
-
execution_context:
|
|
812
|
+
execution_context: str = None,
|
|
757
813
|
undo: bool = None,
|
|
758
814
|
):
|
|
759
815
|
"""Select linked vertices
|
|
760
816
|
|
|
761
817
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
762
|
-
:type execution_context:
|
|
818
|
+
:type execution_context: str
|
|
763
819
|
:type undo: bool
|
|
764
820
|
"""
|
|
765
821
|
|
|
@@ -767,14 +823,14 @@ def vert_select_linked(
|
|
|
767
823
|
|
|
768
824
|
def vert_select_linked_pick(
|
|
769
825
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
770
|
-
execution_context:
|
|
826
|
+
execution_context: str = None,
|
|
771
827
|
undo: bool = None,
|
|
772
828
|
select: typing.Union[bool, typing.Any] = True,
|
|
773
829
|
):
|
|
774
830
|
"""Select linked vertices under the cursor
|
|
775
831
|
|
|
776
832
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
777
|
-
:type execution_context:
|
|
833
|
+
:type execution_context: str
|
|
778
834
|
:type undo: bool
|
|
779
835
|
:param select: Select, Whether to select or deselect linked vertices under the cursor
|
|
780
836
|
:type select: typing.Union[bool, typing.Any]
|
|
@@ -784,14 +840,14 @@ def vert_select_linked_pick(
|
|
|
784
840
|
|
|
785
841
|
def vert_select_more(
|
|
786
842
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
787
|
-
execution_context:
|
|
843
|
+
execution_context: str = None,
|
|
788
844
|
undo: bool = None,
|
|
789
845
|
face_step: typing.Union[bool, typing.Any] = True,
|
|
790
846
|
):
|
|
791
847
|
"""Select Vertices connected to existing selection
|
|
792
848
|
|
|
793
849
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
794
|
-
:type execution_context:
|
|
850
|
+
:type execution_context: str
|
|
795
851
|
:type undo: bool
|
|
796
852
|
:param face_step: Face Step, Also select faces that only touch on a corner
|
|
797
853
|
:type face_step: typing.Union[bool, typing.Any]
|
|
@@ -801,14 +857,14 @@ def vert_select_more(
|
|
|
801
857
|
|
|
802
858
|
def vert_select_ungrouped(
|
|
803
859
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
804
|
-
execution_context:
|
|
860
|
+
execution_context: str = None,
|
|
805
861
|
undo: bool = None,
|
|
806
862
|
extend: typing.Union[bool, typing.Any] = False,
|
|
807
863
|
):
|
|
808
864
|
"""Select vertices without a group
|
|
809
865
|
|
|
810
866
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
811
|
-
:type execution_context:
|
|
867
|
+
:type execution_context: str
|
|
812
868
|
:type undo: bool
|
|
813
869
|
:param extend: Extend, Extend the selection
|
|
814
870
|
:type extend: typing.Union[bool, typing.Any]
|
|
@@ -818,7 +874,7 @@ def vert_select_ungrouped(
|
|
|
818
874
|
|
|
819
875
|
def vertex_color_brightness_contrast(
|
|
820
876
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
821
|
-
execution_context:
|
|
877
|
+
execution_context: str = None,
|
|
822
878
|
undo: bool = None,
|
|
823
879
|
brightness: typing.Any = 0.0,
|
|
824
880
|
contrast: typing.Any = 0.0,
|
|
@@ -826,7 +882,7 @@ def vertex_color_brightness_contrast(
|
|
|
826
882
|
"""Adjust vertex color brightness/contrast
|
|
827
883
|
|
|
828
884
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
829
|
-
:type execution_context:
|
|
885
|
+
:type execution_context: str
|
|
830
886
|
:type undo: bool
|
|
831
887
|
:param brightness: Brightness
|
|
832
888
|
:type brightness: typing.Any
|
|
@@ -838,7 +894,7 @@ def vertex_color_brightness_contrast(
|
|
|
838
894
|
|
|
839
895
|
def vertex_color_dirt(
|
|
840
896
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
841
|
-
execution_context:
|
|
897
|
+
execution_context: str = None,
|
|
842
898
|
undo: bool = None,
|
|
843
899
|
blur_strength: typing.Any = 1.0,
|
|
844
900
|
blur_iterations: typing.Any = 1,
|
|
@@ -850,7 +906,7 @@ def vertex_color_dirt(
|
|
|
850
906
|
"""Generate a dirt map gradient based on cavity
|
|
851
907
|
|
|
852
908
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
853
|
-
:type execution_context:
|
|
909
|
+
:type execution_context: str
|
|
854
910
|
:type undo: bool
|
|
855
911
|
:param blur_strength: Blur Strength, Blur strength per iteration
|
|
856
912
|
:type blur_strength: typing.Any
|
|
@@ -870,13 +926,13 @@ def vertex_color_dirt(
|
|
|
870
926
|
|
|
871
927
|
def vertex_color_from_weight(
|
|
872
928
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
873
|
-
execution_context:
|
|
929
|
+
execution_context: str = None,
|
|
874
930
|
undo: bool = None,
|
|
875
931
|
):
|
|
876
932
|
"""Convert active weight into gray scale vertex colors
|
|
877
933
|
|
|
878
934
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
879
|
-
:type execution_context:
|
|
935
|
+
:type execution_context: str
|
|
880
936
|
:type undo: bool
|
|
881
937
|
"""
|
|
882
938
|
|
|
@@ -884,7 +940,7 @@ def vertex_color_from_weight(
|
|
|
884
940
|
|
|
885
941
|
def vertex_color_hsv(
|
|
886
942
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
887
|
-
execution_context:
|
|
943
|
+
execution_context: str = None,
|
|
888
944
|
undo: bool = None,
|
|
889
945
|
h: typing.Any = 0.5,
|
|
890
946
|
s: typing.Any = 1.0,
|
|
@@ -893,7 +949,7 @@ def vertex_color_hsv(
|
|
|
893
949
|
"""Adjust vertex color Hue/Saturation/Value
|
|
894
950
|
|
|
895
951
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
896
|
-
:type execution_context:
|
|
952
|
+
:type execution_context: str
|
|
897
953
|
:type undo: bool
|
|
898
954
|
:param h: Hue
|
|
899
955
|
:type h: typing.Any
|
|
@@ -907,13 +963,13 @@ def vertex_color_hsv(
|
|
|
907
963
|
|
|
908
964
|
def vertex_color_invert(
|
|
909
965
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
910
|
-
execution_context:
|
|
966
|
+
execution_context: str = None,
|
|
911
967
|
undo: bool = None,
|
|
912
968
|
):
|
|
913
969
|
"""Invert RGB values
|
|
914
970
|
|
|
915
971
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
916
|
-
:type execution_context:
|
|
972
|
+
:type execution_context: str
|
|
917
973
|
:type undo: bool
|
|
918
974
|
"""
|
|
919
975
|
|
|
@@ -921,7 +977,7 @@ def vertex_color_invert(
|
|
|
921
977
|
|
|
922
978
|
def vertex_color_levels(
|
|
923
979
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
924
|
-
execution_context:
|
|
980
|
+
execution_context: str = None,
|
|
925
981
|
undo: bool = None,
|
|
926
982
|
offset: typing.Any = 0.0,
|
|
927
983
|
gain: typing.Any = 1.0,
|
|
@@ -929,7 +985,7 @@ def vertex_color_levels(
|
|
|
929
985
|
"""Adjust levels of vertex colors
|
|
930
986
|
|
|
931
987
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
932
|
-
:type execution_context:
|
|
988
|
+
:type execution_context: str
|
|
933
989
|
:type undo: bool
|
|
934
990
|
:param offset: Offset, Value to add to colors
|
|
935
991
|
:type offset: typing.Any
|
|
@@ -941,14 +997,14 @@ def vertex_color_levels(
|
|
|
941
997
|
|
|
942
998
|
def vertex_color_set(
|
|
943
999
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
944
|
-
execution_context:
|
|
1000
|
+
execution_context: str = None,
|
|
945
1001
|
undo: bool = None,
|
|
946
1002
|
use_alpha: typing.Union[bool, typing.Any] = True,
|
|
947
1003
|
):
|
|
948
1004
|
"""Fill the active vertex color layer with the current paint color
|
|
949
1005
|
|
|
950
1006
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
951
|
-
:type execution_context:
|
|
1007
|
+
:type execution_context: str
|
|
952
1008
|
:type undo: bool
|
|
953
1009
|
:param use_alpha: Affect Alpha, Set color completely opaque instead of reusing existing alpha
|
|
954
1010
|
:type use_alpha: typing.Union[bool, typing.Any]
|
|
@@ -958,13 +1014,13 @@ def vertex_color_set(
|
|
|
958
1014
|
|
|
959
1015
|
def vertex_color_smooth(
|
|
960
1016
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
961
|
-
execution_context:
|
|
1017
|
+
execution_context: str = None,
|
|
962
1018
|
undo: bool = None,
|
|
963
1019
|
):
|
|
964
1020
|
"""Smooth colors across vertices
|
|
965
1021
|
|
|
966
1022
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
967
|
-
:type execution_context:
|
|
1023
|
+
:type execution_context: str
|
|
968
1024
|
:type undo: bool
|
|
969
1025
|
"""
|
|
970
1026
|
|
|
@@ -972,7 +1028,7 @@ def vertex_color_smooth(
|
|
|
972
1028
|
|
|
973
1029
|
def vertex_paint(
|
|
974
1030
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
975
|
-
execution_context:
|
|
1031
|
+
execution_context: str = None,
|
|
976
1032
|
undo: bool = None,
|
|
977
1033
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] = None,
|
|
978
1034
|
mode: typing.Any = "NORMAL",
|
|
@@ -980,7 +1036,7 @@ def vertex_paint(
|
|
|
980
1036
|
"""Paint a stroke in the active color attribute layer
|
|
981
1037
|
|
|
982
1038
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
983
|
-
:type execution_context:
|
|
1039
|
+
:type execution_context: str
|
|
984
1040
|
:type undo: bool
|
|
985
1041
|
:param stroke: Stroke
|
|
986
1042
|
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
@@ -1001,13 +1057,13 @@ def vertex_paint(
|
|
|
1001
1057
|
|
|
1002
1058
|
def vertex_paint_toggle(
|
|
1003
1059
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1004
|
-
execution_context:
|
|
1060
|
+
execution_context: str = None,
|
|
1005
1061
|
undo: bool = None,
|
|
1006
1062
|
):
|
|
1007
1063
|
"""Toggle the vertex paint mode in 3D view
|
|
1008
1064
|
|
|
1009
1065
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1010
|
-
:type execution_context:
|
|
1066
|
+
:type execution_context: str
|
|
1011
1067
|
:type undo: bool
|
|
1012
1068
|
"""
|
|
1013
1069
|
|
|
@@ -1015,13 +1071,13 @@ def vertex_paint_toggle(
|
|
|
1015
1071
|
|
|
1016
1072
|
def visibility_invert(
|
|
1017
1073
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1018
|
-
execution_context:
|
|
1074
|
+
execution_context: str = None,
|
|
1019
1075
|
undo: bool = None,
|
|
1020
1076
|
):
|
|
1021
1077
|
"""Invert the visibility of all vertices
|
|
1022
1078
|
|
|
1023
1079
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1024
|
-
:type execution_context:
|
|
1080
|
+
:type execution_context: str
|
|
1025
1081
|
:type undo: bool
|
|
1026
1082
|
"""
|
|
1027
1083
|
|
|
@@ -1029,14 +1085,14 @@ def visibility_invert(
|
|
|
1029
1085
|
|
|
1030
1086
|
def weight_from_bones(
|
|
1031
1087
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1032
|
-
execution_context:
|
|
1088
|
+
execution_context: str = None,
|
|
1033
1089
|
undo: bool = None,
|
|
1034
1090
|
type: typing.Any = "AUTOMATIC",
|
|
1035
1091
|
):
|
|
1036
1092
|
"""Set the weights of the groups matching the attached armature's selected bones, using the distance between the vertices and the bones
|
|
1037
1093
|
|
|
1038
1094
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1039
|
-
:type execution_context:
|
|
1095
|
+
:type execution_context: str
|
|
1040
1096
|
:type undo: bool
|
|
1041
1097
|
:param type: Type, Method to use for assigning weights
|
|
1042
1098
|
|
|
@@ -1052,7 +1108,7 @@ def weight_from_bones(
|
|
|
1052
1108
|
|
|
1053
1109
|
def weight_gradient(
|
|
1054
1110
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1055
|
-
execution_context:
|
|
1111
|
+
execution_context: str = None,
|
|
1056
1112
|
undo: bool = None,
|
|
1057
1113
|
type: typing.Any = "LINEAR",
|
|
1058
1114
|
xstart: typing.Any = 0,
|
|
@@ -1065,7 +1121,7 @@ def weight_gradient(
|
|
|
1065
1121
|
"""Draw a line to apply a weight gradient to selected vertices
|
|
1066
1122
|
|
|
1067
1123
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1068
|
-
:type execution_context:
|
|
1124
|
+
:type execution_context: str
|
|
1069
1125
|
:type undo: bool
|
|
1070
1126
|
:param type: Type
|
|
1071
1127
|
:type type: typing.Any
|
|
@@ -1087,7 +1143,7 @@ def weight_gradient(
|
|
|
1087
1143
|
|
|
1088
1144
|
def weight_paint(
|
|
1089
1145
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1090
|
-
execution_context:
|
|
1146
|
+
execution_context: str = None,
|
|
1091
1147
|
undo: bool = None,
|
|
1092
1148
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] = None,
|
|
1093
1149
|
mode: typing.Any = "NORMAL",
|
|
@@ -1095,7 +1151,7 @@ def weight_paint(
|
|
|
1095
1151
|
"""Paint a stroke in the current vertex group's weights
|
|
1096
1152
|
|
|
1097
1153
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1098
|
-
:type execution_context:
|
|
1154
|
+
:type execution_context: str
|
|
1099
1155
|
:type undo: bool
|
|
1100
1156
|
:param stroke: Stroke
|
|
1101
1157
|
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
@@ -1116,13 +1172,13 @@ def weight_paint(
|
|
|
1116
1172
|
|
|
1117
1173
|
def weight_paint_toggle(
|
|
1118
1174
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1119
|
-
execution_context:
|
|
1175
|
+
execution_context: str = None,
|
|
1120
1176
|
undo: bool = None,
|
|
1121
1177
|
):
|
|
1122
1178
|
"""Toggle weight paint mode in 3D view
|
|
1123
1179
|
|
|
1124
1180
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1125
|
-
:type execution_context:
|
|
1181
|
+
:type execution_context: str
|
|
1126
1182
|
:type undo: bool
|
|
1127
1183
|
"""
|
|
1128
1184
|
|
|
@@ -1130,13 +1186,13 @@ def weight_paint_toggle(
|
|
|
1130
1186
|
|
|
1131
1187
|
def weight_sample(
|
|
1132
1188
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1133
|
-
execution_context:
|
|
1189
|
+
execution_context: str = None,
|
|
1134
1190
|
undo: bool = None,
|
|
1135
1191
|
):
|
|
1136
1192
|
"""Use the mouse to sample a weight in the 3D view
|
|
1137
1193
|
|
|
1138
1194
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1139
|
-
:type execution_context:
|
|
1195
|
+
:type execution_context: str
|
|
1140
1196
|
:type undo: bool
|
|
1141
1197
|
"""
|
|
1142
1198
|
|
|
@@ -1144,13 +1200,13 @@ def weight_sample(
|
|
|
1144
1200
|
|
|
1145
1201
|
def weight_sample_group(
|
|
1146
1202
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1147
|
-
execution_context:
|
|
1203
|
+
execution_context: str = None,
|
|
1148
1204
|
undo: bool = None,
|
|
1149
1205
|
):
|
|
1150
1206
|
"""Select one of the vertex groups available under current mouse position
|
|
1151
1207
|
|
|
1152
1208
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1153
|
-
:type execution_context:
|
|
1209
|
+
:type execution_context: str
|
|
1154
1210
|
:type undo: bool
|
|
1155
1211
|
"""
|
|
1156
1212
|
|
|
@@ -1158,13 +1214,13 @@ def weight_sample_group(
|
|
|
1158
1214
|
|
|
1159
1215
|
def weight_set(
|
|
1160
1216
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1161
|
-
execution_context:
|
|
1217
|
+
execution_context: str = None,
|
|
1162
1218
|
undo: bool = None,
|
|
1163
1219
|
):
|
|
1164
1220
|
"""Fill the active vertex group with the current paint weight
|
|
1165
1221
|
|
|
1166
1222
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1167
|
-
:type execution_context:
|
|
1223
|
+
:type execution_context: str
|
|
1168
1224
|
:type undo: bool
|
|
1169
1225
|
"""
|
|
1170
1226
|
|