fake-bpy-module 20240619__py3-none-any.whl → 20240621__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.
- bl_ui/space_userpref/__init__.pyi +225 -0
- bpy/ops/action/__init__.pyi +50 -50
- bpy/ops/anim/__init__.pyi +94 -94
- bpy/ops/armature/__init__.pyi +54 -54
- bpy/ops/asset/__init__.pyi +50 -50
- bpy/ops/brush/__init__.pyi +10 -10
- bpy/ops/buttons/__init__.pyi +88 -88
- bpy/ops/cachefile/__init__.pyi +88 -88
- bpy/ops/camera/__init__.pyi +14 -14
- bpy/ops/clip/__init__.pyi +175 -174
- bpy/ops/cloth/__init__.pyi +6 -6
- bpy/ops/collection/__init__.pyi +8 -8
- bpy/ops/console/__init__.pyi +26 -26
- bpy/ops/constraint/__init__.pyi +42 -42
- bpy/ops/curve/__init__.pyi +167 -122
- bpy/ops/curves/__init__.pyi +75 -58
- bpy/ops/cycles/__init__.pyi +10 -10
- bpy/ops/ed/__init__.pyi +50 -50
- bpy/ops/export_anim/__init__.pyi +14 -14
- bpy/ops/export_scene/__init__.pyi +250 -250
- bpy/ops/extensions/__init__.pyi +73 -73
- bpy/ops/file/__init__.pyi +94 -94
- bpy/ops/fluid/__init__.pyi +6 -6
- bpy/ops/font/__init__.pyi +100 -100
- bpy/ops/geometry/__init__.pyi +20 -20
- bpy/ops/gizmogroup/__init__.pyi +10 -10
- bpy/ops/gpencil/__init__.pyi +411 -410
- bpy/ops/graph/__init__.pyi +194 -194
- bpy/ops/grease_pencil/__init__.pyi +100 -100
- bpy/ops/image/__init__.pyi +399 -390
- bpy/ops/import_anim/__init__.pyi +16 -16
- bpy/ops/import_curve/__init__.pyi +4 -4
- bpy/ops/import_scene/__init__.pyi +56 -56
- bpy/ops/info/__init__.pyi +14 -14
- bpy/ops/lattice/__init__.pyi +10 -10
- bpy/ops/marker/__init__.pyi +34 -34
- bpy/ops/mask/__init__.pyi +63 -62
- bpy/ops/mball/__init__.pyi +12 -12
- bpy/ops/mesh/__init__.pyi +901 -798
- bpy/ops/nla/__init__.pyi +70 -70
- bpy/ops/node/__init__.pyi +192 -192
- bpy/ops/object/__init__.pyi +1017 -844
- bpy/ops/outliner/__init__.pyi +44 -44
- bpy/ops/paint/__init__.pyi +169 -168
- bpy/ops/paintcurve/__init__.pyi +12 -12
- bpy/ops/palette/__init__.pyi +4 -4
- bpy/ops/particle/__init__.pyi +34 -34
- bpy/ops/pose/__init__.pyi +60 -60
- bpy/ops/poselib/__init__.pyi +18 -18
- bpy/ops/preferences/__init__.pyi +150 -150
- bpy/ops/ptcache/__init__.pyi +4 -4
- bpy/ops/render/__init__.pyi +56 -56
- bpy/ops/rigidbody/__init__.pyi +8 -8
- bpy/ops/scene/__init__.pyi +20 -20
- bpy/ops/screen/__init__.pyi +128 -128
- bpy/ops/script/__init__.pyi +6 -6
- bpy/ops/sculpt/__init__.pyi +207 -202
- bpy/ops/sculpt_curves/__init__.pyi +12 -12
- bpy/ops/sequencer/__init__.pyi +465 -464
- bpy/ops/sound/__init__.pyi +154 -154
- bpy/ops/spreadsheet/__init__.pyi +6 -6
- bpy/ops/surface/__init__.pyi +109 -60
- bpy/ops/text/__init__.pyi +110 -110
- bpy/ops/text_editor/__init__.pyi +6 -6
- bpy/ops/transform/__init__.pyi +642 -580
- bpy/ops/ui/__init__.pyi +25 -24
- bpy/ops/uilist/__init__.pyi +12 -12
- bpy/ops/uv/__init__.pyi +235 -234
- bpy/ops/view2d/__init__.pyi +72 -72
- bpy/ops/view3d/__init__.pyi +144 -144
- bpy/ops/wm/__init__.pyi +1814 -1804
- bpy/ops/workspace/__init__.pyi +4 -4
- bpy/types/__init__.pyi +30115 -30082
- {fake_bpy_module-20240619.dist-info → fake_bpy_module-20240621.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240619.dist-info → fake_bpy_module-20240621.dist-info}/RECORD +78 -78
- {fake_bpy_module-20240619.dist-info → fake_bpy_module-20240621.dist-info}/WHEEL +1 -1
- freestyle/utils/__init__.pyi +1 -1
- {fake_bpy_module-20240619.dist-info → fake_bpy_module-20240621.dist-info}/top_level.txt +0 -0
bpy/ops/sculpt/__init__.pyi
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import collections.abc
|
|
3
3
|
import bpy.types
|
|
4
|
+
import mathutils
|
|
4
5
|
|
|
5
6
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
6
7
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
@@ -13,7 +14,7 @@ def brush_stroke(
|
|
|
13
14
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
14
15
|
| None = None,
|
|
15
16
|
mode: str | None = "NORMAL",
|
|
16
|
-
ignore_background_click: bool |
|
|
17
|
+
ignore_background_click: bool | None = False,
|
|
17
18
|
):
|
|
18
19
|
"""Sculpt a stroke into the geometry
|
|
19
20
|
|
|
@@ -34,7 +35,7 @@ def brush_stroke(
|
|
|
34
35
|
Smooth -- Switch brush to smooth mode for duration of stroke.
|
|
35
36
|
:type mode: str | None
|
|
36
37
|
:param ignore_background_click: Ignore Background Click, Clicks on the background do not start the stroke
|
|
37
|
-
:type ignore_background_click: bool |
|
|
38
|
+
:type ignore_background_click: bool | None
|
|
38
39
|
"""
|
|
39
40
|
|
|
40
41
|
...
|
|
@@ -44,19 +45,19 @@ def cloth_filter(
|
|
|
44
45
|
execution_context: int | str | None = None,
|
|
45
46
|
undo: bool | None = None,
|
|
46
47
|
*,
|
|
47
|
-
start_mouse:
|
|
48
|
-
area_normal_radius:
|
|
49
|
-
strength:
|
|
50
|
-
iteration_count:
|
|
48
|
+
start_mouse: collections.abc.Iterable[int] | None = (0, 0),
|
|
49
|
+
area_normal_radius: float | None = 0.25,
|
|
50
|
+
strength: float | None = 1.0,
|
|
51
|
+
iteration_count: int | None = 1,
|
|
51
52
|
event_history: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
52
53
|
| None = None,
|
|
53
54
|
type: str | None = "GRAVITY",
|
|
54
55
|
force_axis: set[str] | None = {"X", "Y", "Z"},
|
|
55
56
|
orientation: str | None = "LOCAL",
|
|
56
|
-
cloth_mass:
|
|
57
|
-
cloth_damping:
|
|
58
|
-
use_face_sets: bool |
|
|
59
|
-
use_collisions: bool |
|
|
57
|
+
cloth_mass: float | None = 1.0,
|
|
58
|
+
cloth_damping: float | None = 0.0,
|
|
59
|
+
use_face_sets: bool | None = False,
|
|
60
|
+
use_collisions: bool | None = False,
|
|
60
61
|
):
|
|
61
62
|
"""Applies a cloth simulation deformation to the entire mesh
|
|
62
63
|
|
|
@@ -64,13 +65,13 @@ def cloth_filter(
|
|
|
64
65
|
:type execution_context: int | str | None
|
|
65
66
|
:type undo: bool | None
|
|
66
67
|
:param start_mouse: Starting Mouse
|
|
67
|
-
:type start_mouse:
|
|
68
|
+
:type start_mouse: collections.abc.Iterable[int] | None
|
|
68
69
|
:param area_normal_radius: Normal Radius, Radius used for calculating area normal on initial click,in percentage of brush radius
|
|
69
|
-
:type area_normal_radius:
|
|
70
|
+
:type area_normal_radius: float | None
|
|
70
71
|
:param strength: Strength, Filter strength
|
|
71
|
-
:type strength:
|
|
72
|
+
:type strength: float | None
|
|
72
73
|
:param iteration_count: Repeat, How many times to repeat the filter
|
|
73
|
-
:type iteration_count:
|
|
74
|
+
:type iteration_count: int | None
|
|
74
75
|
:type event_history: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
|
|
75
76
|
:param type: Filter Type, Operation that is going to be applied to the mesh
|
|
76
77
|
|
|
@@ -112,13 +113,13 @@ def cloth_filter(
|
|
|
112
113
|
View -- Use the view axis to limit the force and set the gravity direction.
|
|
113
114
|
:type orientation: str | None
|
|
114
115
|
:param cloth_mass: Cloth Mass, Mass of each simulation particle
|
|
115
|
-
:type cloth_mass:
|
|
116
|
+
:type cloth_mass: float | None
|
|
116
117
|
:param cloth_damping: Cloth Damping, How much the applied forces are propagated through the cloth
|
|
117
|
-
:type cloth_damping:
|
|
118
|
+
:type cloth_damping: float | None
|
|
118
119
|
:param use_face_sets: Use Face Sets, Apply the filter only to the Face Set under the cursor
|
|
119
|
-
:type use_face_sets: bool |
|
|
120
|
+
:type use_face_sets: bool | None
|
|
120
121
|
:param use_collisions: Use Collisions, Collide with other collider objects in the scene
|
|
121
|
-
:type use_collisions: bool |
|
|
122
|
+
:type use_collisions: bool | None
|
|
122
123
|
"""
|
|
123
124
|
|
|
124
125
|
...
|
|
@@ -128,14 +129,18 @@ def color_filter(
|
|
|
128
129
|
execution_context: int | str | None = None,
|
|
129
130
|
undo: bool | None = None,
|
|
130
131
|
*,
|
|
131
|
-
start_mouse:
|
|
132
|
-
area_normal_radius:
|
|
133
|
-
strength:
|
|
134
|
-
iteration_count:
|
|
132
|
+
start_mouse: collections.abc.Iterable[int] | None = (0, 0),
|
|
133
|
+
area_normal_radius: float | None = 0.25,
|
|
134
|
+
strength: float | None = 1.0,
|
|
135
|
+
iteration_count: int | None = 1,
|
|
135
136
|
event_history: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
136
137
|
| None = None,
|
|
137
138
|
type: str | None = "FILL",
|
|
138
|
-
fill_color:
|
|
139
|
+
fill_color: collections.abc.Sequence[float] | mathutils.Color | None = (
|
|
140
|
+
1.0,
|
|
141
|
+
1.0,
|
|
142
|
+
1.0,
|
|
143
|
+
),
|
|
139
144
|
):
|
|
140
145
|
"""Applies a filter to modify the active color attribute
|
|
141
146
|
|
|
@@ -143,13 +148,13 @@ def color_filter(
|
|
|
143
148
|
:type execution_context: int | str | None
|
|
144
149
|
:type undo: bool | None
|
|
145
150
|
:param start_mouse: Starting Mouse
|
|
146
|
-
:type start_mouse:
|
|
151
|
+
:type start_mouse: collections.abc.Iterable[int] | None
|
|
147
152
|
:param area_normal_radius: Normal Radius, Radius used for calculating area normal on initial click,in percentage of brush radius
|
|
148
|
-
:type area_normal_radius:
|
|
153
|
+
:type area_normal_radius: float | None
|
|
149
154
|
:param strength: Strength, Filter strength
|
|
150
|
-
:type strength:
|
|
155
|
+
:type strength: float | None
|
|
151
156
|
:param iteration_count: Repeat, How many times to repeat the filter
|
|
152
|
-
:type iteration_count:
|
|
157
|
+
:type iteration_count: int | None
|
|
153
158
|
:type event_history: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
|
|
154
159
|
:param type: Filter Type
|
|
155
160
|
|
|
@@ -184,7 +189,7 @@ def color_filter(
|
|
|
184
189
|
Blue -- Change blue channel.
|
|
185
190
|
:type type: str | None
|
|
186
191
|
:param fill_color: Fill Color
|
|
187
|
-
:type fill_color:
|
|
192
|
+
:type fill_color: collections.abc.Sequence[float] | mathutils.Color | None
|
|
188
193
|
"""
|
|
189
194
|
|
|
190
195
|
...
|
|
@@ -238,14 +243,14 @@ def expand(
|
|
|
238
243
|
*,
|
|
239
244
|
target: str | None = "MASK",
|
|
240
245
|
falloff_type: str | None = "GEODESIC",
|
|
241
|
-
invert: bool |
|
|
242
|
-
use_mask_preserve: bool |
|
|
243
|
-
use_falloff_gradient: bool |
|
|
244
|
-
use_modify_active: bool |
|
|
245
|
-
use_reposition_pivot: bool |
|
|
246
|
-
max_geodesic_move_preview:
|
|
247
|
-
use_auto_mask: bool |
|
|
248
|
-
normal_falloff_smooth:
|
|
246
|
+
invert: bool | None = False,
|
|
247
|
+
use_mask_preserve: bool | None = False,
|
|
248
|
+
use_falloff_gradient: bool | None = False,
|
|
249
|
+
use_modify_active: bool | None = False,
|
|
250
|
+
use_reposition_pivot: bool | None = True,
|
|
251
|
+
max_geodesic_move_preview: int | None = 10000,
|
|
252
|
+
use_auto_mask: bool | None = False,
|
|
253
|
+
normal_falloff_smooth: int | None = 2,
|
|
249
254
|
):
|
|
250
255
|
"""Generic sculpt expand operator
|
|
251
256
|
|
|
@@ -257,21 +262,21 @@ def expand(
|
|
|
257
262
|
:param falloff_type: Falloff Type, Initial falloff of the expand operation
|
|
258
263
|
:type falloff_type: str | None
|
|
259
264
|
:param invert: Invert, Invert the expand active elements
|
|
260
|
-
:type invert: bool |
|
|
265
|
+
:type invert: bool | None
|
|
261
266
|
:param use_mask_preserve: Preserve Previous, Preserve the previous state of the target data
|
|
262
|
-
:type use_mask_preserve: bool |
|
|
267
|
+
:type use_mask_preserve: bool | None
|
|
263
268
|
:param use_falloff_gradient: Falloff Gradient, Expand Using a linear falloff
|
|
264
|
-
:type use_falloff_gradient: bool |
|
|
269
|
+
:type use_falloff_gradient: bool | None
|
|
265
270
|
:param use_modify_active: Modify Active, Modify the active Face Set instead of creating a new one
|
|
266
|
-
:type use_modify_active: bool |
|
|
271
|
+
:type use_modify_active: bool | None
|
|
267
272
|
:param use_reposition_pivot: Reposition Pivot, Reposition the sculpt transform pivot to the boundary of the expand active area
|
|
268
|
-
:type use_reposition_pivot: bool |
|
|
273
|
+
:type use_reposition_pivot: bool | None
|
|
269
274
|
:param max_geodesic_move_preview: Max Vertex Count for Geodesic Move Preview, Maximum number of vertices in the mesh for using geodesic falloff when moving the origin of expand. If the total number of vertices is greater than this value, the falloff will be set to spherical when moving
|
|
270
|
-
:type max_geodesic_move_preview:
|
|
275
|
+
:type max_geodesic_move_preview: int | None
|
|
271
276
|
:param use_auto_mask: Auto Create, Fill in mask if nothing is already masked
|
|
272
|
-
:type use_auto_mask: bool |
|
|
277
|
+
:type use_auto_mask: bool | None
|
|
273
278
|
:param normal_falloff_smooth: Normal Smooth, Blurring steps for normal falloff
|
|
274
|
-
:type normal_falloff_smooth:
|
|
279
|
+
:type normal_falloff_smooth: int | None
|
|
275
280
|
"""
|
|
276
281
|
|
|
277
282
|
...
|
|
@@ -281,12 +286,12 @@ def face_set_box_gesture(
|
|
|
281
286
|
execution_context: int | str | None = None,
|
|
282
287
|
undo: bool | None = None,
|
|
283
288
|
*,
|
|
284
|
-
xmin:
|
|
285
|
-
xmax:
|
|
286
|
-
ymin:
|
|
287
|
-
ymax:
|
|
288
|
-
wait_for_input: bool |
|
|
289
|
-
use_front_faces_only: bool |
|
|
289
|
+
xmin: int | None = 0,
|
|
290
|
+
xmax: int | None = 0,
|
|
291
|
+
ymin: int | None = 0,
|
|
292
|
+
ymax: int | None = 0,
|
|
293
|
+
wait_for_input: bool | None = True,
|
|
294
|
+
use_front_faces_only: bool | None = False,
|
|
290
295
|
):
|
|
291
296
|
"""Add a face set in a rectangle defined by the cursor
|
|
292
297
|
|
|
@@ -294,17 +299,17 @@ def face_set_box_gesture(
|
|
|
294
299
|
:type execution_context: int | str | None
|
|
295
300
|
:type undo: bool | None
|
|
296
301
|
:param xmin: X Min
|
|
297
|
-
:type xmin:
|
|
302
|
+
:type xmin: int | None
|
|
298
303
|
:param xmax: X Max
|
|
299
|
-
:type xmax:
|
|
304
|
+
:type xmax: int | None
|
|
300
305
|
:param ymin: Y Min
|
|
301
|
-
:type ymin:
|
|
306
|
+
:type ymin: int | None
|
|
302
307
|
:param ymax: Y Max
|
|
303
|
-
:type ymax:
|
|
308
|
+
:type ymax: int | None
|
|
304
309
|
:param wait_for_input: Wait for Input
|
|
305
|
-
:type wait_for_input: bool |
|
|
310
|
+
:type wait_for_input: bool | None
|
|
306
311
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
307
|
-
:type use_front_faces_only: bool |
|
|
312
|
+
:type use_front_faces_only: bool | None
|
|
308
313
|
"""
|
|
309
314
|
|
|
310
315
|
...
|
|
@@ -341,10 +346,10 @@ def face_set_edit(
|
|
|
341
346
|
execution_context: int | str | None = None,
|
|
342
347
|
undo: bool | None = None,
|
|
343
348
|
*,
|
|
344
|
-
active_face_set:
|
|
349
|
+
active_face_set: int | None = 1,
|
|
345
350
|
mode: str | None = "GROW",
|
|
346
|
-
strength:
|
|
347
|
-
modify_hidden: bool |
|
|
351
|
+
strength: float | None = 1.0,
|
|
352
|
+
modify_hidden: bool | None = False,
|
|
348
353
|
):
|
|
349
354
|
"""Edits the current active Face Set
|
|
350
355
|
|
|
@@ -352,7 +357,7 @@ def face_set_edit(
|
|
|
352
357
|
:type execution_context: int | str | None
|
|
353
358
|
:type undo: bool | None
|
|
354
359
|
:param active_face_set: Active Face Set
|
|
355
|
-
:type active_face_set:
|
|
360
|
+
:type active_face_set: int | None
|
|
356
361
|
:param mode: Mode
|
|
357
362
|
|
|
358
363
|
GROW
|
|
@@ -371,9 +376,9 @@ def face_set_edit(
|
|
|
371
376
|
Fair Tangency -- Creates a smooth as possible geometry patch from the Face Set minimizing changes in vertex tangents.
|
|
372
377
|
:type mode: str | None
|
|
373
378
|
:param strength: Strength
|
|
374
|
-
:type strength:
|
|
379
|
+
:type strength: float | None
|
|
375
380
|
:param modify_hidden: Modify Hidden, Apply the edit operation to hidden geometry
|
|
376
|
-
:type modify_hidden: bool |
|
|
381
|
+
:type modify_hidden: bool | None
|
|
377
382
|
"""
|
|
378
383
|
|
|
379
384
|
...
|
|
@@ -384,7 +389,7 @@ def face_set_lasso_gesture(
|
|
|
384
389
|
undo: bool | None = None,
|
|
385
390
|
*,
|
|
386
391
|
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
|
|
387
|
-
use_front_faces_only: bool |
|
|
392
|
+
use_front_faces_only: bool | None = False,
|
|
388
393
|
):
|
|
389
394
|
"""Add a face set in a shape defined by the cursor
|
|
390
395
|
|
|
@@ -394,7 +399,7 @@ def face_set_lasso_gesture(
|
|
|
394
399
|
:param path: Path
|
|
395
400
|
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None
|
|
396
401
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
397
|
-
:type use_front_faces_only: bool |
|
|
402
|
+
:type use_front_faces_only: bool | None
|
|
398
403
|
"""
|
|
399
404
|
|
|
400
405
|
...
|
|
@@ -404,14 +409,14 @@ def face_set_line_gesture(
|
|
|
404
409
|
execution_context: int | str | None = None,
|
|
405
410
|
undo: bool | None = None,
|
|
406
411
|
*,
|
|
407
|
-
xstart:
|
|
408
|
-
xend:
|
|
409
|
-
ystart:
|
|
410
|
-
yend:
|
|
411
|
-
flip: bool |
|
|
412
|
-
cursor:
|
|
413
|
-
use_front_faces_only: bool |
|
|
414
|
-
use_limit_to_segment: bool |
|
|
412
|
+
xstart: int | None = 0,
|
|
413
|
+
xend: int | None = 0,
|
|
414
|
+
ystart: int | None = 0,
|
|
415
|
+
yend: int | None = 0,
|
|
416
|
+
flip: bool | None = False,
|
|
417
|
+
cursor: int | None = 5,
|
|
418
|
+
use_front_faces_only: bool | None = False,
|
|
419
|
+
use_limit_to_segment: bool | None = False,
|
|
415
420
|
):
|
|
416
421
|
"""Add a face set to one side of a line defined by the cursor
|
|
417
422
|
|
|
@@ -419,21 +424,21 @@ def face_set_line_gesture(
|
|
|
419
424
|
:type execution_context: int | str | None
|
|
420
425
|
:type undo: bool | None
|
|
421
426
|
:param xstart: X Start
|
|
422
|
-
:type xstart:
|
|
427
|
+
:type xstart: int | None
|
|
423
428
|
:param xend: X End
|
|
424
|
-
:type xend:
|
|
429
|
+
:type xend: int | None
|
|
425
430
|
:param ystart: Y Start
|
|
426
|
-
:type ystart:
|
|
431
|
+
:type ystart: int | None
|
|
427
432
|
:param yend: Y End
|
|
428
|
-
:type yend:
|
|
433
|
+
:type yend: int | None
|
|
429
434
|
:param flip: Flip
|
|
430
|
-
:type flip: bool |
|
|
435
|
+
:type flip: bool | None
|
|
431
436
|
:param cursor: Cursor, Mouse cursor style to use during the modal operator
|
|
432
|
-
:type cursor:
|
|
437
|
+
:type cursor: int | None
|
|
433
438
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
434
|
-
:type use_front_faces_only: bool |
|
|
439
|
+
:type use_front_faces_only: bool | None
|
|
435
440
|
: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
|
|
436
|
-
:type use_limit_to_segment: bool |
|
|
441
|
+
:type use_limit_to_segment: bool | None
|
|
437
442
|
"""
|
|
438
443
|
|
|
439
444
|
...
|
|
@@ -444,7 +449,7 @@ def face_set_polyline_gesture(
|
|
|
444
449
|
undo: bool | None = None,
|
|
445
450
|
*,
|
|
446
451
|
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
|
|
447
|
-
use_front_faces_only: bool |
|
|
452
|
+
use_front_faces_only: bool | None = False,
|
|
448
453
|
):
|
|
449
454
|
"""Add a face set in a shape defined by the cursor
|
|
450
455
|
|
|
@@ -454,7 +459,7 @@ def face_set_polyline_gesture(
|
|
|
454
459
|
:param path: Path
|
|
455
460
|
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None
|
|
456
461
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
457
|
-
:type use_front_faces_only: bool |
|
|
462
|
+
:type use_front_faces_only: bool | None
|
|
458
463
|
"""
|
|
459
464
|
|
|
460
465
|
...
|
|
@@ -495,7 +500,7 @@ def face_sets_init(
|
|
|
495
500
|
undo: bool | None = None,
|
|
496
501
|
*,
|
|
497
502
|
mode: str | None = "LOOSE_PARTS",
|
|
498
|
-
threshold:
|
|
503
|
+
threshold: float | None = 0.5,
|
|
499
504
|
):
|
|
500
505
|
"""Initializes all Face Sets in the mesh
|
|
501
506
|
|
|
@@ -529,7 +534,7 @@ def face_sets_init(
|
|
|
529
534
|
Face Sets from Face Set Boundaries -- Create a Face Set per isolated Face Set.
|
|
530
535
|
:type mode: str | None
|
|
531
536
|
:param threshold: Threshold, Minimum value to consider a certain attribute a boundary when creating the Face Sets
|
|
532
|
-
:type threshold:
|
|
537
|
+
:type threshold: float | None
|
|
533
538
|
"""
|
|
534
539
|
|
|
535
540
|
...
|
|
@@ -553,10 +558,10 @@ def mask_by_color(
|
|
|
553
558
|
execution_context: int | str | None = None,
|
|
554
559
|
undo: bool | None = None,
|
|
555
560
|
*,
|
|
556
|
-
contiguous: bool |
|
|
557
|
-
invert: bool |
|
|
558
|
-
preserve_previous_mask: bool |
|
|
559
|
-
threshold:
|
|
561
|
+
contiguous: bool | None = False,
|
|
562
|
+
invert: bool | None = False,
|
|
563
|
+
preserve_previous_mask: bool | None = False,
|
|
564
|
+
threshold: float | None = 0.35,
|
|
560
565
|
):
|
|
561
566
|
"""Creates a mask based on the active color attribute
|
|
562
567
|
|
|
@@ -564,13 +569,13 @@ def mask_by_color(
|
|
|
564
569
|
:type execution_context: int | str | None
|
|
565
570
|
:type undo: bool | None
|
|
566
571
|
:param contiguous: Contiguous, Mask only contiguous color areas
|
|
567
|
-
:type contiguous: bool |
|
|
572
|
+
:type contiguous: bool | None
|
|
568
573
|
:param invert: Invert, Invert the generated mask
|
|
569
|
-
:type invert: bool |
|
|
574
|
+
:type invert: bool | None
|
|
570
575
|
:param preserve_previous_mask: Preserve Previous Mask, Preserve the previous mask and add or subtract the new one generated by the colors
|
|
571
|
-
:type preserve_previous_mask: bool |
|
|
576
|
+
:type preserve_previous_mask: bool | None
|
|
572
577
|
:param threshold: Threshold, How much changes in color affect the mask generation
|
|
573
|
-
:type threshold:
|
|
578
|
+
:type threshold: float | None
|
|
574
579
|
"""
|
|
575
580
|
|
|
576
581
|
...
|
|
@@ -581,8 +586,8 @@ def mask_filter(
|
|
|
581
586
|
undo: bool | None = None,
|
|
582
587
|
*,
|
|
583
588
|
filter_type: str | None = "SMOOTH",
|
|
584
|
-
iterations:
|
|
585
|
-
auto_iteration_count: bool |
|
|
589
|
+
iterations: int | None = 1,
|
|
590
|
+
auto_iteration_count: bool | None = True,
|
|
586
591
|
):
|
|
587
592
|
"""Applies a filter to modify the current mask
|
|
588
593
|
|
|
@@ -592,9 +597,9 @@ def mask_filter(
|
|
|
592
597
|
:param filter_type: Type, Filter that is going to be applied to the mask
|
|
593
598
|
:type filter_type: str | None
|
|
594
599
|
:param iterations: Iterations, Number of times that the filter is going to be applied
|
|
595
|
-
:type iterations:
|
|
600
|
+
:type iterations: int | None
|
|
596
601
|
:param auto_iteration_count: Auto Iteration Count, Use an automatic number of iterations based on the number of vertices of the sculpt
|
|
597
|
-
:type auto_iteration_count: bool |
|
|
602
|
+
:type auto_iteration_count: bool | None
|
|
598
603
|
"""
|
|
599
604
|
|
|
600
605
|
...
|
|
@@ -605,12 +610,12 @@ def mask_from_cavity(
|
|
|
605
610
|
undo: bool | None = None,
|
|
606
611
|
*,
|
|
607
612
|
mix_mode: str | None = "MIX",
|
|
608
|
-
mix_factor:
|
|
613
|
+
mix_factor: float | None = 1.0,
|
|
609
614
|
settings_source: str | None = "OPERATOR",
|
|
610
|
-
factor:
|
|
611
|
-
blur_steps:
|
|
612
|
-
use_curve: bool |
|
|
613
|
-
invert: bool |
|
|
615
|
+
factor: float | None = 0.5,
|
|
616
|
+
blur_steps: int | None = 2,
|
|
617
|
+
use_curve: bool | None = False,
|
|
618
|
+
invert: bool | None = False,
|
|
614
619
|
):
|
|
615
620
|
"""Creates a mask based on the curvature of the surface
|
|
616
621
|
|
|
@@ -620,7 +625,7 @@ def mask_from_cavity(
|
|
|
620
625
|
:param mix_mode: Mode, Mix mode
|
|
621
626
|
:type mix_mode: str | None
|
|
622
627
|
:param mix_factor: Mix Factor
|
|
623
|
-
:type mix_factor:
|
|
628
|
+
:type mix_factor: float | None
|
|
624
629
|
:param settings_source: Settings, Use settings from here
|
|
625
630
|
|
|
626
631
|
OPERATOR
|
|
@@ -633,13 +638,13 @@ def mask_from_cavity(
|
|
|
633
638
|
Scene -- Use settings from scene.
|
|
634
639
|
:type settings_source: str | None
|
|
635
640
|
:param factor: Factor, The contrast of the cavity mask
|
|
636
|
-
:type factor:
|
|
641
|
+
:type factor: float | None
|
|
637
642
|
:param blur_steps: Blur, The number of times the cavity mask is blurred
|
|
638
|
-
:type blur_steps:
|
|
643
|
+
:type blur_steps: int | None
|
|
639
644
|
:param use_curve: Custom Curve
|
|
640
|
-
:type use_curve: bool |
|
|
645
|
+
:type use_curve: bool | None
|
|
641
646
|
:param invert: Cavity (Inverted)
|
|
642
|
-
:type invert: bool |
|
|
647
|
+
:type invert: bool | None
|
|
643
648
|
"""
|
|
644
649
|
|
|
645
650
|
...
|
|
@@ -667,20 +672,20 @@ def mesh_filter(
|
|
|
667
672
|
execution_context: int | str | None = None,
|
|
668
673
|
undo: bool | None = None,
|
|
669
674
|
*,
|
|
670
|
-
start_mouse:
|
|
671
|
-
area_normal_radius:
|
|
672
|
-
strength:
|
|
673
|
-
iteration_count:
|
|
675
|
+
start_mouse: collections.abc.Iterable[int] | None = (0, 0),
|
|
676
|
+
area_normal_radius: float | None = 0.25,
|
|
677
|
+
strength: float | None = 1.0,
|
|
678
|
+
iteration_count: int | None = 1,
|
|
674
679
|
event_history: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
675
680
|
| None = None,
|
|
676
681
|
type: str | None = "INFLATE",
|
|
677
682
|
deform_axis: set[str] | None = {"X", "Y", "Z"},
|
|
678
683
|
orientation: str | None = "LOCAL",
|
|
679
|
-
surface_smooth_shape_preservation:
|
|
680
|
-
surface_smooth_current_vertex:
|
|
681
|
-
sharpen_smooth_ratio:
|
|
682
|
-
sharpen_intensify_detail_strength:
|
|
683
|
-
sharpen_curvature_smooth_iterations:
|
|
684
|
+
surface_smooth_shape_preservation: float | None = 0.5,
|
|
685
|
+
surface_smooth_current_vertex: float | None = 0.5,
|
|
686
|
+
sharpen_smooth_ratio: float | None = 0.35,
|
|
687
|
+
sharpen_intensify_detail_strength: float | None = 0.0,
|
|
688
|
+
sharpen_curvature_smooth_iterations: int | None = 0,
|
|
684
689
|
):
|
|
685
690
|
"""Applies a filter to modify the current mesh
|
|
686
691
|
|
|
@@ -688,13 +693,13 @@ def mesh_filter(
|
|
|
688
693
|
:type execution_context: int | str | None
|
|
689
694
|
:type undo: bool | None
|
|
690
695
|
:param start_mouse: Starting Mouse
|
|
691
|
-
:type start_mouse:
|
|
696
|
+
:type start_mouse: collections.abc.Iterable[int] | None
|
|
692
697
|
:param area_normal_radius: Normal Radius, Radius used for calculating area normal on initial click,in percentage of brush radius
|
|
693
|
-
:type area_normal_radius:
|
|
698
|
+
:type area_normal_radius: float | None
|
|
694
699
|
:param strength: Strength, Filter strength
|
|
695
|
-
:type strength:
|
|
700
|
+
:type strength: float | None
|
|
696
701
|
:param iteration_count: Repeat, How many times to repeat the filter
|
|
697
|
-
:type iteration_count:
|
|
702
|
+
:type iteration_count: int | None
|
|
698
703
|
:type event_history: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
|
|
699
704
|
:param type: Filter Type, Operation that is going to be applied to the mesh
|
|
700
705
|
|
|
@@ -754,15 +759,15 @@ def mesh_filter(
|
|
|
754
759
|
View -- Use the view axis to limit the displacement.
|
|
755
760
|
:type orientation: str | None
|
|
756
761
|
:param surface_smooth_shape_preservation: Shape Preservation, How much of the original shape is preserved when smoothing
|
|
757
|
-
:type surface_smooth_shape_preservation:
|
|
762
|
+
:type surface_smooth_shape_preservation: float | None
|
|
758
763
|
:param surface_smooth_current_vertex: Per Vertex Displacement, How much the position of each individual vertex influences the final result
|
|
759
|
-
:type surface_smooth_current_vertex:
|
|
764
|
+
:type surface_smooth_current_vertex: float | None
|
|
760
765
|
:param sharpen_smooth_ratio: Smooth Ratio, How much smoothing is applied to polished surfaces
|
|
761
|
-
:type sharpen_smooth_ratio:
|
|
766
|
+
:type sharpen_smooth_ratio: float | None
|
|
762
767
|
:param sharpen_intensify_detail_strength: Intensify Details, How much creases and valleys are intensified
|
|
763
|
-
:type sharpen_intensify_detail_strength:
|
|
768
|
+
:type sharpen_intensify_detail_strength: float | None
|
|
764
769
|
:param sharpen_curvature_smooth_iterations: Curvature Smooth Iterations, How much smooth the resulting shape is, ignoring high frequency details
|
|
765
|
-
:type sharpen_curvature_smooth_iterations:
|
|
770
|
+
:type sharpen_curvature_smooth_iterations: int | None
|
|
766
771
|
"""
|
|
767
772
|
|
|
768
773
|
...
|
|
@@ -786,14 +791,14 @@ def project_line_gesture(
|
|
|
786
791
|
execution_context: int | str | None = None,
|
|
787
792
|
undo: bool | None = None,
|
|
788
793
|
*,
|
|
789
|
-
xstart:
|
|
790
|
-
xend:
|
|
791
|
-
ystart:
|
|
792
|
-
yend:
|
|
793
|
-
flip: bool |
|
|
794
|
-
cursor:
|
|
795
|
-
use_front_faces_only: bool |
|
|
796
|
-
use_limit_to_segment: bool |
|
|
794
|
+
xstart: int | None = 0,
|
|
795
|
+
xend: int | None = 0,
|
|
796
|
+
ystart: int | None = 0,
|
|
797
|
+
yend: int | None = 0,
|
|
798
|
+
flip: bool | None = False,
|
|
799
|
+
cursor: int | None = 5,
|
|
800
|
+
use_front_faces_only: bool | None = False,
|
|
801
|
+
use_limit_to_segment: bool | None = False,
|
|
797
802
|
):
|
|
798
803
|
"""Project the geometry onto a plane defined by a line
|
|
799
804
|
|
|
@@ -801,21 +806,21 @@ def project_line_gesture(
|
|
|
801
806
|
:type execution_context: int | str | None
|
|
802
807
|
:type undo: bool | None
|
|
803
808
|
:param xstart: X Start
|
|
804
|
-
:type xstart:
|
|
809
|
+
:type xstart: int | None
|
|
805
810
|
:param xend: X End
|
|
806
|
-
:type xend:
|
|
811
|
+
:type xend: int | None
|
|
807
812
|
:param ystart: Y Start
|
|
808
|
-
:type ystart:
|
|
813
|
+
:type ystart: int | None
|
|
809
814
|
:param yend: Y End
|
|
810
|
-
:type yend:
|
|
815
|
+
:type yend: int | None
|
|
811
816
|
:param flip: Flip
|
|
812
|
-
:type flip: bool |
|
|
817
|
+
:type flip: bool | None
|
|
813
818
|
:param cursor: Cursor, Mouse cursor style to use during the modal operator
|
|
814
|
-
:type cursor:
|
|
819
|
+
:type cursor: int | None
|
|
815
820
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
816
|
-
:type use_front_faces_only: bool |
|
|
821
|
+
:type use_front_faces_only: bool | None
|
|
817
822
|
: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
|
|
818
|
-
:type use_limit_to_segment: bool |
|
|
823
|
+
:type use_limit_to_segment: bool | None
|
|
819
824
|
"""
|
|
820
825
|
|
|
821
826
|
...
|
|
@@ -839,7 +844,7 @@ def sample_detail_size(
|
|
|
839
844
|
execution_context: int | str | None = None,
|
|
840
845
|
undo: bool | None = None,
|
|
841
846
|
*,
|
|
842
|
-
location:
|
|
847
|
+
location: collections.abc.Iterable[int] | None = (0, 0),
|
|
843
848
|
mode: str | None = "DYNTOPO",
|
|
844
849
|
):
|
|
845
850
|
"""Sample the mesh detail on clicked point
|
|
@@ -848,7 +853,7 @@ def sample_detail_size(
|
|
|
848
853
|
:type execution_context: int | str | None
|
|
849
854
|
:type undo: bool | None
|
|
850
855
|
:param location: Location, Screen coordinates of sampling
|
|
851
|
-
:type location:
|
|
856
|
+
:type location: collections.abc.Iterable[int] | None
|
|
852
857
|
:param mode: Detail Mode, Target sculpting workflow that is going to use the sampled size
|
|
853
858
|
|
|
854
859
|
DYNTOPO
|
|
@@ -895,8 +900,8 @@ def set_pivot_position(
|
|
|
895
900
|
undo: bool | None = None,
|
|
896
901
|
*,
|
|
897
902
|
mode: str | None = "UNMASKED",
|
|
898
|
-
mouse_x:
|
|
899
|
-
mouse_y:
|
|
903
|
+
mouse_x: float | None = 0.0,
|
|
904
|
+
mouse_y: float | None = 0.0,
|
|
900
905
|
):
|
|
901
906
|
"""Sets the sculpt transform pivot position
|
|
902
907
|
|
|
@@ -921,9 +926,9 @@ def set_pivot_position(
|
|
|
921
926
|
Surface -- Sets the pivot position to the surface under the cursor.
|
|
922
927
|
:type mode: str | None
|
|
923
928
|
:param mouse_x: Mouse Position X, Position of the mouse used for "Surface" mode
|
|
924
|
-
:type mouse_x:
|
|
929
|
+
:type mouse_x: float | None
|
|
925
930
|
:param mouse_y: Mouse Position Y, Position of the mouse used for "Surface" mode
|
|
926
|
-
:type mouse_y:
|
|
931
|
+
:type mouse_y: float | None
|
|
927
932
|
"""
|
|
928
933
|
|
|
929
934
|
...
|
|
@@ -933,7 +938,7 @@ def symmetrize(
|
|
|
933
938
|
execution_context: int | str | None = None,
|
|
934
939
|
undo: bool | None = None,
|
|
935
940
|
*,
|
|
936
|
-
merge_tolerance:
|
|
941
|
+
merge_tolerance: float | None = 0.0005,
|
|
937
942
|
):
|
|
938
943
|
"""Symmetrize the topology modifications
|
|
939
944
|
|
|
@@ -941,7 +946,7 @@ def symmetrize(
|
|
|
941
946
|
:type execution_context: int | str | None
|
|
942
947
|
:type undo: bool | None
|
|
943
948
|
:param merge_tolerance: Merge Distance, Distance within which symmetrical vertices are merged
|
|
944
|
-
:type merge_tolerance:
|
|
949
|
+
:type merge_tolerance: float | None
|
|
945
950
|
"""
|
|
946
951
|
|
|
947
952
|
...
|
|
@@ -951,15 +956,15 @@ def trim_box_gesture(
|
|
|
951
956
|
execution_context: int | str | None = None,
|
|
952
957
|
undo: bool | None = None,
|
|
953
958
|
*,
|
|
954
|
-
xmin:
|
|
955
|
-
xmax:
|
|
956
|
-
ymin:
|
|
957
|
-
ymax:
|
|
958
|
-
wait_for_input: bool |
|
|
959
|
-
use_front_faces_only: bool |
|
|
960
|
-
location:
|
|
959
|
+
xmin: int | None = 0,
|
|
960
|
+
xmax: int | None = 0,
|
|
961
|
+
ymin: int | None = 0,
|
|
962
|
+
ymax: int | None = 0,
|
|
963
|
+
wait_for_input: bool | None = True,
|
|
964
|
+
use_front_faces_only: bool | None = False,
|
|
965
|
+
location: collections.abc.Iterable[int] | None = (0, 0),
|
|
961
966
|
trim_mode: str | None = "DIFFERENCE",
|
|
962
|
-
use_cursor_depth: bool |
|
|
967
|
+
use_cursor_depth: bool | None = False,
|
|
963
968
|
trim_orientation: str | None = "VIEW",
|
|
964
969
|
trim_extrude_mode: str | None = "FIXED",
|
|
965
970
|
trim_solver: str | None = "FAST",
|
|
@@ -970,19 +975,19 @@ def trim_box_gesture(
|
|
|
970
975
|
:type execution_context: int | str | None
|
|
971
976
|
:type undo: bool | None
|
|
972
977
|
:param xmin: X Min
|
|
973
|
-
:type xmin:
|
|
978
|
+
:type xmin: int | None
|
|
974
979
|
:param xmax: X Max
|
|
975
|
-
:type xmax:
|
|
980
|
+
:type xmax: int | None
|
|
976
981
|
:param ymin: Y Min
|
|
977
|
-
:type ymin:
|
|
982
|
+
:type ymin: int | None
|
|
978
983
|
:param ymax: Y Max
|
|
979
|
-
:type ymax:
|
|
984
|
+
:type ymax: int | None
|
|
980
985
|
:param wait_for_input: Wait for Input
|
|
981
|
-
:type wait_for_input: bool |
|
|
986
|
+
:type wait_for_input: bool | None
|
|
982
987
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
983
|
-
:type use_front_faces_only: bool |
|
|
988
|
+
:type use_front_faces_only: bool | None
|
|
984
989
|
:param location: Location, Mouse location
|
|
985
|
-
:type location:
|
|
990
|
+
:type location: collections.abc.Iterable[int] | None
|
|
986
991
|
:param trim_mode: Trim Mode
|
|
987
992
|
|
|
988
993
|
DIFFERENCE
|
|
@@ -995,7 +1000,7 @@ def trim_box_gesture(
|
|
|
995
1000
|
Join -- Join the new mesh as separate geometry, without performing any boolean operation.
|
|
996
1001
|
:type trim_mode: str | None
|
|
997
1002
|
:param use_cursor_depth: Use Cursor for Depth, Use cursor location and radius for the dimensions and position of the trimming shape
|
|
998
|
-
:type use_cursor_depth: bool |
|
|
1003
|
+
:type use_cursor_depth: bool | None
|
|
999
1004
|
:param trim_orientation: Shape Orientation
|
|
1000
1005
|
|
|
1001
1006
|
VIEW
|
|
@@ -1030,10 +1035,10 @@ def trim_lasso_gesture(
|
|
|
1030
1035
|
undo: bool | None = None,
|
|
1031
1036
|
*,
|
|
1032
1037
|
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
|
|
1033
|
-
use_front_faces_only: bool |
|
|
1034
|
-
location:
|
|
1038
|
+
use_front_faces_only: bool | None = False,
|
|
1039
|
+
location: collections.abc.Iterable[int] | None = (0, 0),
|
|
1035
1040
|
trim_mode: str | None = "DIFFERENCE",
|
|
1036
|
-
use_cursor_depth: bool |
|
|
1041
|
+
use_cursor_depth: bool | None = False,
|
|
1037
1042
|
trim_orientation: str | None = "VIEW",
|
|
1038
1043
|
trim_extrude_mode: str | None = "FIXED",
|
|
1039
1044
|
trim_solver: str | None = "FAST",
|
|
@@ -1046,9 +1051,9 @@ def trim_lasso_gesture(
|
|
|
1046
1051
|
:param path: Path
|
|
1047
1052
|
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None
|
|
1048
1053
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
1049
|
-
:type use_front_faces_only: bool |
|
|
1054
|
+
:type use_front_faces_only: bool | None
|
|
1050
1055
|
:param location: Location, Mouse location
|
|
1051
|
-
:type location:
|
|
1056
|
+
:type location: collections.abc.Iterable[int] | None
|
|
1052
1057
|
:param trim_mode: Trim Mode
|
|
1053
1058
|
|
|
1054
1059
|
DIFFERENCE
|
|
@@ -1061,7 +1066,7 @@ def trim_lasso_gesture(
|
|
|
1061
1066
|
Join -- Join the new mesh as separate geometry, without performing any boolean operation.
|
|
1062
1067
|
:type trim_mode: str | None
|
|
1063
1068
|
:param use_cursor_depth: Use Cursor for Depth, Use cursor location and radius for the dimensions and position of the trimming shape
|
|
1064
|
-
:type use_cursor_depth: bool |
|
|
1069
|
+
:type use_cursor_depth: bool | None
|
|
1065
1070
|
:param trim_orientation: Shape Orientation
|
|
1066
1071
|
|
|
1067
1072
|
VIEW
|
|
@@ -1095,17 +1100,17 @@ def trim_line_gesture(
|
|
|
1095
1100
|
execution_context: int | str | None = None,
|
|
1096
1101
|
undo: bool | None = None,
|
|
1097
1102
|
*,
|
|
1098
|
-
xstart:
|
|
1099
|
-
xend:
|
|
1100
|
-
ystart:
|
|
1101
|
-
yend:
|
|
1102
|
-
flip: bool |
|
|
1103
|
-
cursor:
|
|
1104
|
-
use_front_faces_only: bool |
|
|
1105
|
-
use_limit_to_segment: bool |
|
|
1106
|
-
location:
|
|
1103
|
+
xstart: int | None = 0,
|
|
1104
|
+
xend: int | None = 0,
|
|
1105
|
+
ystart: int | None = 0,
|
|
1106
|
+
yend: int | None = 0,
|
|
1107
|
+
flip: bool | None = False,
|
|
1108
|
+
cursor: int | None = 5,
|
|
1109
|
+
use_front_faces_only: bool | None = False,
|
|
1110
|
+
use_limit_to_segment: bool | None = False,
|
|
1111
|
+
location: collections.abc.Iterable[int] | None = (0, 0),
|
|
1107
1112
|
trim_mode: str | None = "DIFFERENCE",
|
|
1108
|
-
use_cursor_depth: bool |
|
|
1113
|
+
use_cursor_depth: bool | None = False,
|
|
1109
1114
|
trim_orientation: str | None = "VIEW",
|
|
1110
1115
|
trim_extrude_mode: str | None = "FIXED",
|
|
1111
1116
|
trim_solver: str | None = "FAST",
|
|
@@ -1116,23 +1121,23 @@ def trim_line_gesture(
|
|
|
1116
1121
|
:type execution_context: int | str | None
|
|
1117
1122
|
:type undo: bool | None
|
|
1118
1123
|
:param xstart: X Start
|
|
1119
|
-
:type xstart:
|
|
1124
|
+
:type xstart: int | None
|
|
1120
1125
|
:param xend: X End
|
|
1121
|
-
:type xend:
|
|
1126
|
+
:type xend: int | None
|
|
1122
1127
|
:param ystart: Y Start
|
|
1123
|
-
:type ystart:
|
|
1128
|
+
:type ystart: int | None
|
|
1124
1129
|
:param yend: Y End
|
|
1125
|
-
:type yend:
|
|
1130
|
+
:type yend: int | None
|
|
1126
1131
|
:param flip: Flip
|
|
1127
|
-
:type flip: bool |
|
|
1132
|
+
:type flip: bool | None
|
|
1128
1133
|
:param cursor: Cursor, Mouse cursor style to use during the modal operator
|
|
1129
|
-
:type cursor:
|
|
1134
|
+
:type cursor: int | None
|
|
1130
1135
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
1131
|
-
:type use_front_faces_only: bool |
|
|
1136
|
+
:type use_front_faces_only: bool | None
|
|
1132
1137
|
: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
|
|
1133
|
-
:type use_limit_to_segment: bool |
|
|
1138
|
+
:type use_limit_to_segment: bool | None
|
|
1134
1139
|
:param location: Location, Mouse location
|
|
1135
|
-
:type location:
|
|
1140
|
+
:type location: collections.abc.Iterable[int] | None
|
|
1136
1141
|
:param trim_mode: Trim Mode
|
|
1137
1142
|
|
|
1138
1143
|
DIFFERENCE
|
|
@@ -1145,7 +1150,7 @@ def trim_line_gesture(
|
|
|
1145
1150
|
Join -- Join the new mesh as separate geometry, without performing any boolean operation.
|
|
1146
1151
|
:type trim_mode: str | None
|
|
1147
1152
|
:param use_cursor_depth: Use Cursor for Depth, Use cursor location and radius for the dimensions and position of the trimming shape
|
|
1148
|
-
:type use_cursor_depth: bool |
|
|
1153
|
+
:type use_cursor_depth: bool | None
|
|
1149
1154
|
:param trim_orientation: Shape Orientation
|
|
1150
1155
|
|
|
1151
1156
|
VIEW
|
|
@@ -1180,10 +1185,10 @@ def trim_polyline_gesture(
|
|
|
1180
1185
|
undo: bool | None = None,
|
|
1181
1186
|
*,
|
|
1182
1187
|
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
|
|
1183
|
-
use_front_faces_only: bool |
|
|
1184
|
-
location:
|
|
1188
|
+
use_front_faces_only: bool | None = False,
|
|
1189
|
+
location: collections.abc.Iterable[int] | None = (0, 0),
|
|
1185
1190
|
trim_mode: str | None = "DIFFERENCE",
|
|
1186
|
-
use_cursor_depth: bool |
|
|
1191
|
+
use_cursor_depth: bool | None = False,
|
|
1187
1192
|
trim_orientation: str | None = "VIEW",
|
|
1188
1193
|
trim_extrude_mode: str | None = "FIXED",
|
|
1189
1194
|
trim_solver: str | None = "FAST",
|
|
@@ -1196,9 +1201,9 @@ def trim_polyline_gesture(
|
|
|
1196
1201
|
:param path: Path
|
|
1197
1202
|
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None
|
|
1198
1203
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
1199
|
-
:type use_front_faces_only: bool |
|
|
1204
|
+
:type use_front_faces_only: bool | None
|
|
1200
1205
|
:param location: Location, Mouse location
|
|
1201
|
-
:type location:
|
|
1206
|
+
:type location: collections.abc.Iterable[int] | None
|
|
1202
1207
|
:param trim_mode: Trim Mode
|
|
1203
1208
|
|
|
1204
1209
|
DIFFERENCE
|
|
@@ -1211,7 +1216,7 @@ def trim_polyline_gesture(
|
|
|
1211
1216
|
Join -- Join the new mesh as separate geometry, without performing any boolean operation.
|
|
1212
1217
|
:type trim_mode: str | None
|
|
1213
1218
|
:param use_cursor_depth: Use Cursor for Depth, Use cursor location and radius for the dimensions and position of the trimming shape
|
|
1214
|
-
:type use_cursor_depth: bool |
|
|
1219
|
+
:type use_cursor_depth: bool | None
|
|
1215
1220
|
:param trim_orientation: Shape Orientation
|
|
1216
1221
|
|
|
1217
1222
|
VIEW
|
|
@@ -1245,7 +1250,7 @@ def uv_sculpt_grab(
|
|
|
1245
1250
|
execution_context: int | str | None = None,
|
|
1246
1251
|
undo: bool | None = None,
|
|
1247
1252
|
*,
|
|
1248
|
-
use_invert: bool |
|
|
1253
|
+
use_invert: bool | None = False,
|
|
1249
1254
|
):
|
|
1250
1255
|
"""Grab UVs
|
|
1251
1256
|
|
|
@@ -1253,7 +1258,7 @@ def uv_sculpt_grab(
|
|
|
1253
1258
|
:type execution_context: int | str | None
|
|
1254
1259
|
:type undo: bool | None
|
|
1255
1260
|
:param use_invert: Invert, Invert action for the duration of the stroke
|
|
1256
|
-
:type use_invert: bool |
|
|
1261
|
+
:type use_invert: bool | None
|
|
1257
1262
|
"""
|
|
1258
1263
|
|
|
1259
1264
|
...
|
|
@@ -1263,7 +1268,7 @@ def uv_sculpt_pinch(
|
|
|
1263
1268
|
execution_context: int | str | None = None,
|
|
1264
1269
|
undo: bool | None = None,
|
|
1265
1270
|
*,
|
|
1266
|
-
use_invert: bool |
|
|
1271
|
+
use_invert: bool | None = False,
|
|
1267
1272
|
):
|
|
1268
1273
|
"""Pinch UVs
|
|
1269
1274
|
|
|
@@ -1271,7 +1276,7 @@ def uv_sculpt_pinch(
|
|
|
1271
1276
|
:type execution_context: int | str | None
|
|
1272
1277
|
:type undo: bool | None
|
|
1273
1278
|
:param use_invert: Invert, Invert action for the duration of the stroke
|
|
1274
|
-
:type use_invert: bool |
|
|
1279
|
+
:type use_invert: bool | None
|
|
1275
1280
|
"""
|
|
1276
1281
|
|
|
1277
1282
|
...
|
|
@@ -1281,7 +1286,7 @@ def uv_sculpt_relax(
|
|
|
1281
1286
|
execution_context: int | str | None = None,
|
|
1282
1287
|
undo: bool | None = None,
|
|
1283
1288
|
*,
|
|
1284
|
-
use_invert: bool |
|
|
1289
|
+
use_invert: bool | None = False,
|
|
1285
1290
|
relax_method: str | None = "COTAN",
|
|
1286
1291
|
):
|
|
1287
1292
|
"""Relax UVs
|
|
@@ -1290,7 +1295,7 @@ def uv_sculpt_relax(
|
|
|
1290
1295
|
:type execution_context: int | str | None
|
|
1291
1296
|
:type undo: bool | None
|
|
1292
1297
|
:param use_invert: Invert, Invert action for the duration of the stroke
|
|
1293
|
-
:type use_invert: bool |
|
|
1298
|
+
:type use_invert: bool | None
|
|
1294
1299
|
:param relax_method: Relax Method, Algorithm used for UV relaxation
|
|
1295
1300
|
|
|
1296
1301
|
LAPLACIAN
|