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/mesh/__init__.pyi
CHANGED
|
@@ -2,6 +2,7 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import bpy.ops.transform
|
|
4
4
|
import bpy.types
|
|
5
|
+
import mathutils
|
|
5
6
|
|
|
6
7
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
7
8
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
@@ -11,13 +12,13 @@ def attribute_set(
|
|
|
11
12
|
execution_context: int | str | None = None,
|
|
12
13
|
undo: bool | None = None,
|
|
13
14
|
*,
|
|
14
|
-
value_float:
|
|
15
|
-
value_float_vector_2d:
|
|
16
|
-
value_float_vector_3d:
|
|
17
|
-
value_int:
|
|
18
|
-
value_int_vector_2d:
|
|
19
|
-
value_color:
|
|
20
|
-
value_bool: bool |
|
|
15
|
+
value_float: float | None = 0.0,
|
|
16
|
+
value_float_vector_2d: collections.abc.Iterable[float] | None = (0.0, 0.0),
|
|
17
|
+
value_float_vector_3d: collections.abc.Iterable[float] | None = (0.0, 0.0, 0.0),
|
|
18
|
+
value_int: int | None = 0,
|
|
19
|
+
value_int_vector_2d: collections.abc.Iterable[int] | None = (0, 0),
|
|
20
|
+
value_color: collections.abc.Iterable[float] | None = (1.0, 1.0, 1.0, 1.0),
|
|
21
|
+
value_bool: bool | None = False,
|
|
21
22
|
):
|
|
22
23
|
"""Set values of the active attribute for selected elements
|
|
23
24
|
|
|
@@ -25,19 +26,19 @@ def attribute_set(
|
|
|
25
26
|
:type execution_context: int | str | None
|
|
26
27
|
:type undo: bool | None
|
|
27
28
|
:param value_float: Value
|
|
28
|
-
:type value_float:
|
|
29
|
+
:type value_float: float | None
|
|
29
30
|
:param value_float_vector_2d: Value
|
|
30
|
-
:type value_float_vector_2d:
|
|
31
|
+
:type value_float_vector_2d: collections.abc.Iterable[float] | None
|
|
31
32
|
:param value_float_vector_3d: Value
|
|
32
|
-
:type value_float_vector_3d:
|
|
33
|
+
:type value_float_vector_3d: collections.abc.Iterable[float] | None
|
|
33
34
|
:param value_int: Value
|
|
34
|
-
:type value_int:
|
|
35
|
+
:type value_int: int | None
|
|
35
36
|
:param value_int_vector_2d: Value
|
|
36
|
-
:type value_int_vector_2d:
|
|
37
|
+
:type value_int_vector_2d: collections.abc.Iterable[int] | None
|
|
37
38
|
:param value_color: Value
|
|
38
|
-
:type value_color:
|
|
39
|
+
:type value_color: collections.abc.Iterable[float] | None
|
|
39
40
|
:param value_bool: Value
|
|
40
|
-
:type value_bool: bool |
|
|
41
|
+
:type value_bool: bool | None
|
|
41
42
|
"""
|
|
42
43
|
|
|
43
44
|
...
|
|
@@ -48,8 +49,8 @@ def average_normals(
|
|
|
48
49
|
undo: bool | None = None,
|
|
49
50
|
*,
|
|
50
51
|
average_type: str | None = "CUSTOM_NORMAL",
|
|
51
|
-
weight:
|
|
52
|
-
threshold:
|
|
52
|
+
weight: int | None = 50,
|
|
53
|
+
threshold: float | None = 0.01,
|
|
53
54
|
):
|
|
54
55
|
"""Average custom normals of selected vertices
|
|
55
56
|
|
|
@@ -68,9 +69,9 @@ def average_normals(
|
|
|
68
69
|
Corner Angle -- Set all vertex normals by corner angle.
|
|
69
70
|
:type average_type: str | None
|
|
70
71
|
:param weight: Weight, Weight applied per face
|
|
71
|
-
:type weight:
|
|
72
|
+
:type weight: int | None
|
|
72
73
|
:param threshold: Threshold, Threshold value for different weights to be considered equal
|
|
73
|
-
:type threshold:
|
|
74
|
+
:type threshold: float | None
|
|
74
75
|
"""
|
|
75
76
|
|
|
76
77
|
...
|
|
@@ -80,7 +81,7 @@ def beautify_fill(
|
|
|
80
81
|
execution_context: int | str | None = None,
|
|
81
82
|
undo: bool | None = None,
|
|
82
83
|
*,
|
|
83
|
-
angle_limit:
|
|
84
|
+
angle_limit: float | None = 3.14159,
|
|
84
85
|
):
|
|
85
86
|
"""Rearrange some faces to try to get less degenerated geometry
|
|
86
87
|
|
|
@@ -88,7 +89,7 @@ def beautify_fill(
|
|
|
88
89
|
:type execution_context: int | str | None
|
|
89
90
|
:type undo: bool | None
|
|
90
91
|
:param angle_limit: Max Angle, Angle limit
|
|
91
|
-
:type angle_limit:
|
|
92
|
+
:type angle_limit: float | None
|
|
92
93
|
"""
|
|
93
94
|
|
|
94
95
|
...
|
|
@@ -99,24 +100,24 @@ def bevel(
|
|
|
99
100
|
undo: bool | None = None,
|
|
100
101
|
*,
|
|
101
102
|
offset_type: str | None = "OFFSET",
|
|
102
|
-
offset:
|
|
103
|
+
offset: float | None = 0.0,
|
|
103
104
|
profile_type: str | None = "SUPERELLIPSE",
|
|
104
|
-
offset_pct:
|
|
105
|
-
segments:
|
|
106
|
-
profile:
|
|
105
|
+
offset_pct: float | None = 0.0,
|
|
106
|
+
segments: int | None = 1,
|
|
107
|
+
profile: float | None = 0.5,
|
|
107
108
|
affect: str | None = "EDGES",
|
|
108
|
-
clamp_overlap: bool |
|
|
109
|
-
loop_slide: bool |
|
|
110
|
-
mark_seam: bool |
|
|
111
|
-
mark_sharp: bool |
|
|
112
|
-
material:
|
|
113
|
-
harden_normals: bool |
|
|
109
|
+
clamp_overlap: bool | None = False,
|
|
110
|
+
loop_slide: bool | None = True,
|
|
111
|
+
mark_seam: bool | None = False,
|
|
112
|
+
mark_sharp: bool | None = False,
|
|
113
|
+
material: int | None = -1,
|
|
114
|
+
harden_normals: bool | None = False,
|
|
114
115
|
face_strength_mode: str | None = "NONE",
|
|
115
116
|
miter_outer: str | None = "SHARP",
|
|
116
117
|
miter_inner: str | None = "SHARP",
|
|
117
|
-
spread:
|
|
118
|
+
spread: float | None = 0.1,
|
|
118
119
|
vmesh_method: str | None = "ADJ",
|
|
119
|
-
release_confirm: bool |
|
|
120
|
+
release_confirm: bool | None = False,
|
|
120
121
|
):
|
|
121
122
|
"""Cut into selected items at an angle to create bevel or chamfer
|
|
122
123
|
|
|
@@ -141,7 +142,7 @@ def bevel(
|
|
|
141
142
|
Absolute -- Amount is absolute distance along adjacent edge.
|
|
142
143
|
:type offset_type: str | None
|
|
143
144
|
:param offset: Width, Bevel amount
|
|
144
|
-
:type offset:
|
|
145
|
+
:type offset: float | None
|
|
145
146
|
:param profile_type: Profile Type, The type of shape used to rebuild a beveled section
|
|
146
147
|
|
|
147
148
|
SUPERELLIPSE
|
|
@@ -151,11 +152,11 @@ def bevel(
|
|
|
151
152
|
Custom -- The profile can be any arbitrary path between its endpoints.
|
|
152
153
|
:type profile_type: str | None
|
|
153
154
|
:param offset_pct: Width Percent, Bevel amount for percentage method
|
|
154
|
-
:type offset_pct:
|
|
155
|
+
:type offset_pct: float | None
|
|
155
156
|
:param segments: Segments, Segments for curved edge
|
|
156
|
-
:type segments:
|
|
157
|
+
:type segments: int | None
|
|
157
158
|
:param profile: Profile, Controls profile shape (0.5 = round)
|
|
158
|
-
:type profile:
|
|
159
|
+
:type profile: float | None
|
|
159
160
|
:param affect: Affect, Affect edges or vertices
|
|
160
161
|
|
|
161
162
|
VERTICES
|
|
@@ -165,17 +166,17 @@ def bevel(
|
|
|
165
166
|
Edges -- Affect only edges.
|
|
166
167
|
:type affect: str | None
|
|
167
168
|
:param clamp_overlap: Clamp Overlap, Do not allow beveled edges/vertices to overlap each other
|
|
168
|
-
:type clamp_overlap: bool |
|
|
169
|
+
:type clamp_overlap: bool | None
|
|
169
170
|
:param loop_slide: Loop Slide, Prefer sliding along edges to even widths
|
|
170
|
-
:type loop_slide: bool |
|
|
171
|
+
:type loop_slide: bool | None
|
|
171
172
|
:param mark_seam: Mark Seams, Mark Seams along beveled edges
|
|
172
|
-
:type mark_seam: bool |
|
|
173
|
+
:type mark_seam: bool | None
|
|
173
174
|
:param mark_sharp: Mark Sharp, Mark beveled edges as sharp
|
|
174
|
-
:type mark_sharp: bool |
|
|
175
|
+
:type mark_sharp: bool | None
|
|
175
176
|
:param material: Material Index, Material for bevel faces (-1 means use adjacent faces)
|
|
176
|
-
:type material:
|
|
177
|
+
:type material: int | None
|
|
177
178
|
:param harden_normals: Harden Normals, Match normals of new faces to adjacent faces
|
|
178
|
-
:type harden_normals: bool |
|
|
179
|
+
:type harden_normals: bool | None
|
|
179
180
|
:param face_strength_mode: Face Strength Mode, Whether to set face strength, and which faces to set face strength on
|
|
180
181
|
|
|
181
182
|
NONE
|
|
@@ -210,7 +211,7 @@ def bevel(
|
|
|
210
211
|
Arc -- Inside of miter is arc.
|
|
211
212
|
:type miter_inner: str | None
|
|
212
213
|
:param spread: Spread, Amount to spread arcs for arc inner miters
|
|
213
|
-
:type spread:
|
|
214
|
+
:type spread: float | None
|
|
214
215
|
:param vmesh_method: Vertex Mesh Method, The method to use to create meshes at intersections
|
|
215
216
|
|
|
216
217
|
ADJ
|
|
@@ -220,7 +221,7 @@ def bevel(
|
|
|
220
221
|
Cutoff -- A cutoff at each profile's end before the intersection.
|
|
221
222
|
:type vmesh_method: str | None
|
|
222
223
|
:param release_confirm: Confirm on Release
|
|
223
|
-
:type release_confirm: bool |
|
|
224
|
+
:type release_confirm: bool | None
|
|
224
225
|
"""
|
|
225
226
|
|
|
226
227
|
...
|
|
@@ -230,18 +231,26 @@ def bisect(
|
|
|
230
231
|
execution_context: int | str | None = None,
|
|
231
232
|
undo: bool | None = None,
|
|
232
233
|
*,
|
|
233
|
-
plane_co:
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
234
|
+
plane_co: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
235
|
+
0.0,
|
|
236
|
+
0.0,
|
|
237
|
+
0.0,
|
|
238
|
+
),
|
|
239
|
+
plane_no: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
240
|
+
0.0,
|
|
241
|
+
0.0,
|
|
242
|
+
0.0,
|
|
243
|
+
),
|
|
244
|
+
use_fill: bool | None = False,
|
|
245
|
+
clear_inner: bool | None = False,
|
|
246
|
+
clear_outer: bool | None = False,
|
|
247
|
+
threshold: float | None = 0.0001,
|
|
248
|
+
xstart: int | None = 0,
|
|
249
|
+
xend: int | None = 0,
|
|
250
|
+
ystart: int | None = 0,
|
|
251
|
+
yend: int | None = 0,
|
|
252
|
+
flip: bool | None = False,
|
|
253
|
+
cursor: int | None = 5,
|
|
245
254
|
):
|
|
246
255
|
"""Cut geometry along a plane (click-drag to define plane)
|
|
247
256
|
|
|
@@ -249,29 +258,29 @@ def bisect(
|
|
|
249
258
|
:type execution_context: int | str | None
|
|
250
259
|
:type undo: bool | None
|
|
251
260
|
:param plane_co: Plane Point, A point on the plane
|
|
252
|
-
:type plane_co:
|
|
261
|
+
:type plane_co: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
253
262
|
:param plane_no: Plane Normal, The direction the plane points
|
|
254
|
-
:type plane_no:
|
|
263
|
+
:type plane_no: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
255
264
|
:param use_fill: Fill, Fill in the cut
|
|
256
|
-
:type use_fill: bool |
|
|
265
|
+
:type use_fill: bool | None
|
|
257
266
|
:param clear_inner: Clear Inner, Remove geometry behind the plane
|
|
258
|
-
:type clear_inner: bool |
|
|
267
|
+
:type clear_inner: bool | None
|
|
259
268
|
:param clear_outer: Clear Outer, Remove geometry in front of the plane
|
|
260
|
-
:type clear_outer: bool |
|
|
269
|
+
:type clear_outer: bool | None
|
|
261
270
|
:param threshold: Axis Threshold, Preserves the existing geometry along the cut plane
|
|
262
|
-
:type threshold:
|
|
271
|
+
:type threshold: float | None
|
|
263
272
|
:param xstart: X Start
|
|
264
|
-
:type xstart:
|
|
273
|
+
:type xstart: int | None
|
|
265
274
|
:param xend: X End
|
|
266
|
-
:type xend:
|
|
275
|
+
:type xend: int | None
|
|
267
276
|
:param ystart: Y Start
|
|
268
|
-
:type ystart:
|
|
277
|
+
:type ystart: int | None
|
|
269
278
|
:param yend: Y End
|
|
270
|
-
:type yend:
|
|
279
|
+
:type yend: int | None
|
|
271
280
|
:param flip: Flip
|
|
272
|
-
:type flip: bool |
|
|
281
|
+
:type flip: bool | None
|
|
273
282
|
:param cursor: Cursor, Mouse cursor style to use during the modal operator
|
|
274
|
-
:type cursor:
|
|
283
|
+
:type cursor: int | None
|
|
275
284
|
"""
|
|
276
285
|
|
|
277
286
|
...
|
|
@@ -282,8 +291,8 @@ def blend_from_shape(
|
|
|
282
291
|
undo: bool | None = None,
|
|
283
292
|
*,
|
|
284
293
|
shape: str | None = "",
|
|
285
|
-
blend:
|
|
286
|
-
add: bool |
|
|
294
|
+
blend: float | None = 1.0,
|
|
295
|
+
add: bool | None = True,
|
|
287
296
|
):
|
|
288
297
|
"""Blend in shape from a shape key
|
|
289
298
|
|
|
@@ -293,9 +302,9 @@ def blend_from_shape(
|
|
|
293
302
|
:param shape: Shape, Shape key to use for blending
|
|
294
303
|
:type shape: str | None
|
|
295
304
|
:param blend: Blend, Blending factor
|
|
296
|
-
:type blend:
|
|
305
|
+
:type blend: float | None
|
|
297
306
|
:param add: Add, Add rather than blend between shapes
|
|
298
|
-
:type add: bool |
|
|
307
|
+
:type add: bool | None
|
|
299
308
|
"""
|
|
300
309
|
|
|
301
310
|
...
|
|
@@ -306,13 +315,13 @@ def bridge_edge_loops(
|
|
|
306
315
|
undo: bool | None = None,
|
|
307
316
|
*,
|
|
308
317
|
type: str | None = "SINGLE",
|
|
309
|
-
use_merge: bool |
|
|
310
|
-
merge_factor:
|
|
311
|
-
twist_offset:
|
|
312
|
-
number_cuts:
|
|
318
|
+
use_merge: bool | None = False,
|
|
319
|
+
merge_factor: float | None = 0.5,
|
|
320
|
+
twist_offset: int | None = 0,
|
|
321
|
+
number_cuts: int | None = 0,
|
|
313
322
|
interpolation: str | None = "PATH",
|
|
314
|
-
smoothness:
|
|
315
|
-
profile_shape_factor:
|
|
323
|
+
smoothness: float | None = 1.0,
|
|
324
|
+
profile_shape_factor: float | None = 0.0,
|
|
316
325
|
profile_shape: str | None = "SMOOTH",
|
|
317
326
|
):
|
|
318
327
|
"""Create a bridge of faces between two or more selected edge loops
|
|
@@ -323,19 +332,19 @@ def bridge_edge_loops(
|
|
|
323
332
|
:param type: Connect Loops, Method of bridging multiple loops
|
|
324
333
|
:type type: str | None
|
|
325
334
|
:param use_merge: Merge, Merge rather than creating faces
|
|
326
|
-
:type use_merge: bool |
|
|
335
|
+
:type use_merge: bool | None
|
|
327
336
|
:param merge_factor: Merge Factor
|
|
328
|
-
:type merge_factor:
|
|
337
|
+
:type merge_factor: float | None
|
|
329
338
|
:param twist_offset: Twist, Twist offset for closed loops
|
|
330
|
-
:type twist_offset:
|
|
339
|
+
:type twist_offset: int | None
|
|
331
340
|
:param number_cuts: Number of Cuts
|
|
332
|
-
:type number_cuts:
|
|
341
|
+
:type number_cuts: int | None
|
|
333
342
|
:param interpolation: Interpolation, Interpolation method
|
|
334
343
|
:type interpolation: str | None
|
|
335
344
|
:param smoothness: Smoothness, Smoothness factor
|
|
336
|
-
:type smoothness:
|
|
345
|
+
:type smoothness: float | None
|
|
337
346
|
:param profile_shape_factor: Profile Factor, How much intermediary new edges are shrunk/expanded
|
|
338
|
-
:type profile_shape_factor:
|
|
347
|
+
:type profile_shape_factor: float | None
|
|
339
348
|
:param profile_shape: Profile Shape, Shape of the profile
|
|
340
349
|
:type profile_shape: str | None
|
|
341
350
|
"""
|
|
@@ -361,7 +370,7 @@ def colors_rotate(
|
|
|
361
370
|
execution_context: int | str | None = None,
|
|
362
371
|
undo: bool | None = None,
|
|
363
372
|
*,
|
|
364
|
-
use_ccw: bool |
|
|
373
|
+
use_ccw: bool | None = False,
|
|
365
374
|
):
|
|
366
375
|
"""Rotate face corner color attribute inside faces
|
|
367
376
|
|
|
@@ -369,7 +378,7 @@ def colors_rotate(
|
|
|
369
378
|
:type execution_context: int | str | None
|
|
370
379
|
:type undo: bool | None
|
|
371
380
|
:param use_ccw: Counter Clockwise
|
|
372
|
-
:type use_ccw: bool |
|
|
381
|
+
:type use_ccw: bool | None
|
|
373
382
|
"""
|
|
374
383
|
|
|
375
384
|
...
|
|
@@ -379,17 +388,17 @@ def convex_hull(
|
|
|
379
388
|
execution_context: int | str | None = None,
|
|
380
389
|
undo: bool | None = None,
|
|
381
390
|
*,
|
|
382
|
-
delete_unused: bool |
|
|
383
|
-
use_existing_faces: bool |
|
|
384
|
-
make_holes: bool |
|
|
385
|
-
join_triangles: bool |
|
|
386
|
-
face_threshold:
|
|
387
|
-
shape_threshold:
|
|
388
|
-
uvs: bool |
|
|
389
|
-
vcols: bool |
|
|
390
|
-
seam: bool |
|
|
391
|
-
sharp: bool |
|
|
392
|
-
materials: bool |
|
|
391
|
+
delete_unused: bool | None = True,
|
|
392
|
+
use_existing_faces: bool | None = True,
|
|
393
|
+
make_holes: bool | None = False,
|
|
394
|
+
join_triangles: bool | None = True,
|
|
395
|
+
face_threshold: float | None = 0.698132,
|
|
396
|
+
shape_threshold: float | None = 0.698132,
|
|
397
|
+
uvs: bool | None = False,
|
|
398
|
+
vcols: bool | None = False,
|
|
399
|
+
seam: bool | None = False,
|
|
400
|
+
sharp: bool | None = False,
|
|
401
|
+
materials: bool | None = False,
|
|
393
402
|
):
|
|
394
403
|
"""Enclose selected vertices in a convex polyhedron
|
|
395
404
|
|
|
@@ -397,27 +406,27 @@ def convex_hull(
|
|
|
397
406
|
:type execution_context: int | str | None
|
|
398
407
|
:type undo: bool | None
|
|
399
408
|
:param delete_unused: Delete Unused, Delete selected elements that are not used by the hull
|
|
400
|
-
:type delete_unused: bool |
|
|
409
|
+
:type delete_unused: bool | None
|
|
401
410
|
:param use_existing_faces: Use Existing Faces, Skip hull triangles that are covered by a pre-existing face
|
|
402
|
-
:type use_existing_faces: bool |
|
|
411
|
+
:type use_existing_faces: bool | None
|
|
403
412
|
:param make_holes: Make Holes, Delete selected faces that are used by the hull
|
|
404
|
-
:type make_holes: bool |
|
|
413
|
+
:type make_holes: bool | None
|
|
405
414
|
:param join_triangles: Join Triangles, Merge adjacent triangles into quads
|
|
406
|
-
:type join_triangles: bool |
|
|
415
|
+
:type join_triangles: bool | None
|
|
407
416
|
:param face_threshold: Max Face Angle, Face angle limit
|
|
408
|
-
:type face_threshold:
|
|
417
|
+
:type face_threshold: float | None
|
|
409
418
|
:param shape_threshold: Max Shape Angle, Shape angle limit
|
|
410
|
-
:type shape_threshold:
|
|
419
|
+
:type shape_threshold: float | None
|
|
411
420
|
:param uvs: Compare UVs
|
|
412
|
-
:type uvs: bool |
|
|
421
|
+
:type uvs: bool | None
|
|
413
422
|
:param vcols: Compare Color Attributes
|
|
414
|
-
:type vcols: bool |
|
|
423
|
+
:type vcols: bool | None
|
|
415
424
|
:param seam: Compare Seam
|
|
416
|
-
:type seam: bool |
|
|
425
|
+
:type seam: bool | None
|
|
417
426
|
:param sharp: Compare Sharp
|
|
418
|
-
:type sharp: bool |
|
|
427
|
+
:type sharp: bool | None
|
|
419
428
|
:param materials: Compare Materials
|
|
420
|
-
:type materials: bool |
|
|
429
|
+
:type materials: bool | None
|
|
421
430
|
"""
|
|
422
431
|
|
|
423
432
|
...
|
|
@@ -497,11 +506,11 @@ def decimate(
|
|
|
497
506
|
execution_context: int | str | None = None,
|
|
498
507
|
undo: bool | None = None,
|
|
499
508
|
*,
|
|
500
|
-
ratio:
|
|
501
|
-
use_vertex_group: bool |
|
|
502
|
-
vertex_group_factor:
|
|
503
|
-
invert_vertex_group: bool |
|
|
504
|
-
use_symmetry: bool |
|
|
509
|
+
ratio: float | None = 1.0,
|
|
510
|
+
use_vertex_group: bool | None = False,
|
|
511
|
+
vertex_group_factor: float | None = 1.0,
|
|
512
|
+
invert_vertex_group: bool | None = False,
|
|
513
|
+
use_symmetry: bool | None = False,
|
|
505
514
|
symmetry_axis: str | None = "Y",
|
|
506
515
|
):
|
|
507
516
|
"""Simplify geometry by collapsing edges
|
|
@@ -510,15 +519,15 @@ def decimate(
|
|
|
510
519
|
:type execution_context: int | str | None
|
|
511
520
|
:type undo: bool | None
|
|
512
521
|
:param ratio: Ratio
|
|
513
|
-
:type ratio:
|
|
522
|
+
:type ratio: float | None
|
|
514
523
|
:param use_vertex_group: Vertex Group, Use active vertex group as an influence
|
|
515
|
-
:type use_vertex_group: bool |
|
|
524
|
+
:type use_vertex_group: bool | None
|
|
516
525
|
:param vertex_group_factor: Weight, Vertex group strength
|
|
517
|
-
:type vertex_group_factor:
|
|
526
|
+
:type vertex_group_factor: float | None
|
|
518
527
|
:param invert_vertex_group: Invert, Invert vertex group influence
|
|
519
|
-
:type invert_vertex_group: bool |
|
|
528
|
+
:type invert_vertex_group: bool | None
|
|
520
529
|
:param use_symmetry: Symmetry, Maintain symmetry on an axis
|
|
521
|
-
:type use_symmetry: bool |
|
|
530
|
+
:type use_symmetry: bool | None
|
|
522
531
|
:param symmetry_axis: Axis, Axis of symmetry
|
|
523
532
|
:type symmetry_axis: str | None
|
|
524
533
|
"""
|
|
@@ -548,7 +557,7 @@ def delete_edgeloop(
|
|
|
548
557
|
execution_context: int | str | None = None,
|
|
549
558
|
undo: bool | None = None,
|
|
550
559
|
*,
|
|
551
|
-
use_face_split: bool |
|
|
560
|
+
use_face_split: bool | None = True,
|
|
552
561
|
):
|
|
553
562
|
"""Delete an edge loop by merging the faces on each side
|
|
554
563
|
|
|
@@ -556,7 +565,7 @@ def delete_edgeloop(
|
|
|
556
565
|
:type execution_context: int | str | None
|
|
557
566
|
:type undo: bool | None
|
|
558
567
|
:param use_face_split: Face Split, Split off face corners to maintain surrounding geometry
|
|
559
|
-
:type use_face_split: bool |
|
|
568
|
+
:type use_face_split: bool | None
|
|
560
569
|
"""
|
|
561
570
|
|
|
562
571
|
...
|
|
@@ -566,9 +575,9 @@ def delete_loose(
|
|
|
566
575
|
execution_context: int | str | None = None,
|
|
567
576
|
undo: bool | None = None,
|
|
568
577
|
*,
|
|
569
|
-
use_verts: bool |
|
|
570
|
-
use_edges: bool |
|
|
571
|
-
use_faces: bool |
|
|
578
|
+
use_verts: bool | None = True,
|
|
579
|
+
use_edges: bool | None = True,
|
|
580
|
+
use_faces: bool | None = False,
|
|
572
581
|
):
|
|
573
582
|
"""Delete loose vertices, edges or faces
|
|
574
583
|
|
|
@@ -576,11 +585,11 @@ def delete_loose(
|
|
|
576
585
|
:type execution_context: int | str | None
|
|
577
586
|
:type undo: bool | None
|
|
578
587
|
:param use_verts: Vertices, Remove loose vertices
|
|
579
|
-
:type use_verts: bool |
|
|
588
|
+
:type use_verts: bool | None
|
|
580
589
|
:param use_edges: Edges, Remove loose edges
|
|
581
|
-
:type use_edges: bool |
|
|
590
|
+
:type use_edges: bool | None
|
|
582
591
|
:param use_faces: Faces, Remove loose faces
|
|
583
|
-
:type use_faces: bool |
|
|
592
|
+
:type use_faces: bool | None
|
|
584
593
|
"""
|
|
585
594
|
|
|
586
595
|
...
|
|
@@ -590,7 +599,7 @@ def dissolve_degenerate(
|
|
|
590
599
|
execution_context: int | str | None = None,
|
|
591
600
|
undo: bool | None = None,
|
|
592
601
|
*,
|
|
593
|
-
threshold:
|
|
602
|
+
threshold: float | None = 0.0001,
|
|
594
603
|
):
|
|
595
604
|
"""Dissolve zero area faces and zero length edges
|
|
596
605
|
|
|
@@ -598,7 +607,7 @@ def dissolve_degenerate(
|
|
|
598
607
|
:type execution_context: int | str | None
|
|
599
608
|
:type undo: bool | None
|
|
600
609
|
:param threshold: Merge Distance, Maximum distance between elements to merge
|
|
601
|
-
:type threshold:
|
|
610
|
+
:type threshold: float | None
|
|
602
611
|
"""
|
|
603
612
|
|
|
604
613
|
...
|
|
@@ -608,8 +617,8 @@ def dissolve_edges(
|
|
|
608
617
|
execution_context: int | str | None = None,
|
|
609
618
|
undo: bool | None = None,
|
|
610
619
|
*,
|
|
611
|
-
use_verts: bool |
|
|
612
|
-
use_face_split: bool |
|
|
620
|
+
use_verts: bool | None = True,
|
|
621
|
+
use_face_split: bool | None = False,
|
|
613
622
|
):
|
|
614
623
|
"""Dissolve edges, merging faces
|
|
615
624
|
|
|
@@ -617,9 +626,9 @@ def dissolve_edges(
|
|
|
617
626
|
:type execution_context: int | str | None
|
|
618
627
|
:type undo: bool | None
|
|
619
628
|
:param use_verts: Dissolve Vertices, Dissolve remaining vertices
|
|
620
|
-
:type use_verts: bool |
|
|
629
|
+
:type use_verts: bool | None
|
|
621
630
|
:param use_face_split: Face Split, Split off face corners to maintain surrounding geometry
|
|
622
|
-
:type use_face_split: bool |
|
|
631
|
+
:type use_face_split: bool | None
|
|
623
632
|
"""
|
|
624
633
|
|
|
625
634
|
...
|
|
@@ -629,7 +638,7 @@ def dissolve_faces(
|
|
|
629
638
|
execution_context: int | str | None = None,
|
|
630
639
|
undo: bool | None = None,
|
|
631
640
|
*,
|
|
632
|
-
use_verts: bool |
|
|
641
|
+
use_verts: bool | None = False,
|
|
633
642
|
):
|
|
634
643
|
"""Dissolve faces
|
|
635
644
|
|
|
@@ -637,7 +646,7 @@ def dissolve_faces(
|
|
|
637
646
|
:type execution_context: int | str | None
|
|
638
647
|
:type undo: bool | None
|
|
639
648
|
:param use_verts: Dissolve Vertices, Dissolve remaining vertices
|
|
640
|
-
:type use_verts: bool |
|
|
649
|
+
:type use_verts: bool | None
|
|
641
650
|
"""
|
|
642
651
|
|
|
643
652
|
...
|
|
@@ -647,9 +656,9 @@ def dissolve_limited(
|
|
|
647
656
|
execution_context: int | str | None = None,
|
|
648
657
|
undo: bool | None = None,
|
|
649
658
|
*,
|
|
650
|
-
angle_limit:
|
|
651
|
-
use_dissolve_boundaries: bool |
|
|
652
|
-
delimit:
|
|
659
|
+
angle_limit: float | None = 0.0872665,
|
|
660
|
+
use_dissolve_boundaries: bool | None = False,
|
|
661
|
+
delimit: set[str] | None = {"NORMAL"},
|
|
653
662
|
):
|
|
654
663
|
"""Dissolve selected edges and vertices, limited by the angle of surrounding geometry
|
|
655
664
|
|
|
@@ -657,11 +666,11 @@ def dissolve_limited(
|
|
|
657
666
|
:type execution_context: int | str | None
|
|
658
667
|
:type undo: bool | None
|
|
659
668
|
:param angle_limit: Max Angle, Angle limit
|
|
660
|
-
:type angle_limit:
|
|
669
|
+
:type angle_limit: float | None
|
|
661
670
|
:param use_dissolve_boundaries: All Boundaries, Dissolve all vertices in between face boundaries
|
|
662
|
-
:type use_dissolve_boundaries: bool |
|
|
671
|
+
:type use_dissolve_boundaries: bool | None
|
|
663
672
|
:param delimit: Delimit, Delimit dissolve operation
|
|
664
|
-
:type delimit:
|
|
673
|
+
:type delimit: set[str] | None
|
|
665
674
|
"""
|
|
666
675
|
|
|
667
676
|
...
|
|
@@ -671,9 +680,9 @@ def dissolve_mode(
|
|
|
671
680
|
execution_context: int | str | None = None,
|
|
672
681
|
undo: bool | None = None,
|
|
673
682
|
*,
|
|
674
|
-
use_verts: bool |
|
|
675
|
-
use_face_split: bool |
|
|
676
|
-
use_boundary_tear: bool |
|
|
683
|
+
use_verts: bool | None = False,
|
|
684
|
+
use_face_split: bool | None = False,
|
|
685
|
+
use_boundary_tear: bool | None = False,
|
|
677
686
|
):
|
|
678
687
|
"""Dissolve geometry based on the selection mode
|
|
679
688
|
|
|
@@ -681,11 +690,11 @@ def dissolve_mode(
|
|
|
681
690
|
:type execution_context: int | str | None
|
|
682
691
|
:type undo: bool | None
|
|
683
692
|
:param use_verts: Dissolve Vertices, Dissolve remaining vertices
|
|
684
|
-
:type use_verts: bool |
|
|
693
|
+
:type use_verts: bool | None
|
|
685
694
|
:param use_face_split: Face Split, Split off face corners to maintain surrounding geometry
|
|
686
|
-
:type use_face_split: bool |
|
|
695
|
+
:type use_face_split: bool | None
|
|
687
696
|
:param use_boundary_tear: Tear Boundary, Split off face corners instead of merging faces
|
|
688
|
-
:type use_boundary_tear: bool |
|
|
697
|
+
:type use_boundary_tear: bool | None
|
|
689
698
|
"""
|
|
690
699
|
|
|
691
700
|
...
|
|
@@ -695,8 +704,8 @@ def dissolve_verts(
|
|
|
695
704
|
execution_context: int | str | None = None,
|
|
696
705
|
undo: bool | None = None,
|
|
697
706
|
*,
|
|
698
|
-
use_face_split: bool |
|
|
699
|
-
use_boundary_tear: bool |
|
|
707
|
+
use_face_split: bool | None = False,
|
|
708
|
+
use_boundary_tear: bool | None = False,
|
|
700
709
|
):
|
|
701
710
|
"""Dissolve vertices, merge edges and faces
|
|
702
711
|
|
|
@@ -704,9 +713,9 @@ def dissolve_verts(
|
|
|
704
713
|
:type execution_context: int | str | None
|
|
705
714
|
:type undo: bool | None
|
|
706
715
|
:param use_face_split: Face Split, Split off face corners to maintain surrounding geometry
|
|
707
|
-
:type use_face_split: bool |
|
|
716
|
+
:type use_face_split: bool | None
|
|
708
717
|
:param use_boundary_tear: Tear Boundary, Split off face corners instead of merging faces
|
|
709
|
-
:type use_boundary_tear: bool |
|
|
718
|
+
:type use_boundary_tear: bool | None
|
|
710
719
|
"""
|
|
711
720
|
|
|
712
721
|
...
|
|
@@ -716,7 +725,7 @@ def dupli_extrude_cursor(
|
|
|
716
725
|
execution_context: int | str | None = None,
|
|
717
726
|
undo: bool | None = None,
|
|
718
727
|
*,
|
|
719
|
-
rotate_source: bool |
|
|
728
|
+
rotate_source: bool | None = True,
|
|
720
729
|
):
|
|
721
730
|
"""Duplicate and extrude selected vertices, edges or faces towards the mouse cursor
|
|
722
731
|
|
|
@@ -724,7 +733,7 @@ def dupli_extrude_cursor(
|
|
|
724
733
|
:type execution_context: int | str | None
|
|
725
734
|
:type undo: bool | None
|
|
726
735
|
:param rotate_source: Rotate Source, Rotate initial selection giving better shape
|
|
727
|
-
:type rotate_source: bool |
|
|
736
|
+
:type rotate_source: bool | None
|
|
728
737
|
"""
|
|
729
738
|
|
|
730
739
|
...
|
|
@@ -734,7 +743,7 @@ def duplicate(
|
|
|
734
743
|
execution_context: int | str | None = None,
|
|
735
744
|
undo: bool | None = None,
|
|
736
745
|
*,
|
|
737
|
-
mode:
|
|
746
|
+
mode: int | None = 1,
|
|
738
747
|
):
|
|
739
748
|
"""Duplicate selected vertices, edges or faces
|
|
740
749
|
|
|
@@ -742,7 +751,7 @@ def duplicate(
|
|
|
742
751
|
:type execution_context: int | str | None
|
|
743
752
|
:type undo: bool | None
|
|
744
753
|
:param mode: Mode
|
|
745
|
-
:type mode:
|
|
754
|
+
:type mode: int | None
|
|
746
755
|
"""
|
|
747
756
|
|
|
748
757
|
...
|
|
@@ -801,7 +810,7 @@ def edge_rotate(
|
|
|
801
810
|
execution_context: int | str | None = None,
|
|
802
811
|
undo: bool | None = None,
|
|
803
812
|
*,
|
|
804
|
-
use_ccw: bool |
|
|
813
|
+
use_ccw: bool | None = False,
|
|
805
814
|
):
|
|
806
815
|
"""Rotate selected edge or adjoining faces
|
|
807
816
|
|
|
@@ -809,7 +818,7 @@ def edge_rotate(
|
|
|
809
818
|
:type execution_context: int | str | None
|
|
810
819
|
:type undo: bool | None
|
|
811
820
|
:param use_ccw: Counter Clockwise
|
|
812
|
-
:type use_ccw: bool |
|
|
821
|
+
:type use_ccw: bool | None
|
|
813
822
|
"""
|
|
814
823
|
|
|
815
824
|
...
|
|
@@ -843,10 +852,10 @@ def edgering_select(
|
|
|
843
852
|
execution_context: int | str | None = None,
|
|
844
853
|
undo: bool | None = None,
|
|
845
854
|
*,
|
|
846
|
-
extend: bool |
|
|
847
|
-
deselect: bool |
|
|
848
|
-
toggle: bool |
|
|
849
|
-
ring: bool |
|
|
855
|
+
extend: bool | None = False,
|
|
856
|
+
deselect: bool | None = False,
|
|
857
|
+
toggle: bool | None = False,
|
|
858
|
+
ring: bool | None = True,
|
|
850
859
|
):
|
|
851
860
|
"""Select an edge ring
|
|
852
861
|
|
|
@@ -854,13 +863,13 @@ def edgering_select(
|
|
|
854
863
|
:type execution_context: int | str | None
|
|
855
864
|
:type undo: bool | None
|
|
856
865
|
:param extend: Extend, Extend the selection
|
|
857
|
-
:type extend: bool |
|
|
866
|
+
:type extend: bool | None
|
|
858
867
|
:param deselect: Deselect, Remove from the selection
|
|
859
|
-
:type deselect: bool |
|
|
868
|
+
:type deselect: bool | None
|
|
860
869
|
:param toggle: Toggle Select, Toggle the selection
|
|
861
|
-
:type toggle: bool |
|
|
870
|
+
:type toggle: bool | None
|
|
862
871
|
:param ring: Select Ring, Select ring
|
|
863
|
-
:type ring: bool |
|
|
872
|
+
:type ring: bool | None
|
|
864
873
|
"""
|
|
865
874
|
|
|
866
875
|
...
|
|
@@ -870,7 +879,7 @@ def edges_select_sharp(
|
|
|
870
879
|
execution_context: int | str | None = None,
|
|
871
880
|
undo: bool | None = None,
|
|
872
881
|
*,
|
|
873
|
-
sharpness:
|
|
882
|
+
sharpness: float | None = 0.523599,
|
|
874
883
|
):
|
|
875
884
|
"""Select all sharp enough edges
|
|
876
885
|
|
|
@@ -878,7 +887,7 @@ def edges_select_sharp(
|
|
|
878
887
|
:type execution_context: int | str | None
|
|
879
888
|
:type undo: bool | None
|
|
880
889
|
:param sharpness: Sharpness
|
|
881
|
-
:type sharpness:
|
|
890
|
+
:type sharpness: float | None
|
|
882
891
|
"""
|
|
883
892
|
|
|
884
893
|
...
|
|
@@ -888,9 +897,9 @@ def extrude_context(
|
|
|
888
897
|
execution_context: int | str | None = None,
|
|
889
898
|
undo: bool | None = None,
|
|
890
899
|
*,
|
|
891
|
-
use_normal_flip: bool |
|
|
892
|
-
use_dissolve_ortho_edges: bool |
|
|
893
|
-
mirror: bool |
|
|
900
|
+
use_normal_flip: bool | None = False,
|
|
901
|
+
use_dissolve_ortho_edges: bool | None = False,
|
|
902
|
+
mirror: bool | None = False,
|
|
894
903
|
):
|
|
895
904
|
"""Extrude selection
|
|
896
905
|
|
|
@@ -898,11 +907,11 @@ def extrude_context(
|
|
|
898
907
|
:type execution_context: int | str | None
|
|
899
908
|
:type undo: bool | None
|
|
900
909
|
:param use_normal_flip: Flip Normals
|
|
901
|
-
:type use_normal_flip: bool |
|
|
910
|
+
:type use_normal_flip: bool | None
|
|
902
911
|
:param use_dissolve_ortho_edges: Dissolve Orthogonal Edges
|
|
903
|
-
:type use_dissolve_ortho_edges: bool |
|
|
912
|
+
:type use_dissolve_ortho_edges: bool | None
|
|
904
913
|
:param mirror: Mirror Editing
|
|
905
|
-
:type mirror: bool |
|
|
914
|
+
:type mirror: bool | None
|
|
906
915
|
"""
|
|
907
916
|
|
|
908
917
|
...
|
|
@@ -933,8 +942,8 @@ def extrude_edges_indiv(
|
|
|
933
942
|
execution_context: int | str | None = None,
|
|
934
943
|
undo: bool | None = None,
|
|
935
944
|
*,
|
|
936
|
-
use_normal_flip: bool |
|
|
937
|
-
mirror: bool |
|
|
945
|
+
use_normal_flip: bool | None = False,
|
|
946
|
+
mirror: bool | None = False,
|
|
938
947
|
):
|
|
939
948
|
"""Extrude individual edges only
|
|
940
949
|
|
|
@@ -942,9 +951,9 @@ def extrude_edges_indiv(
|
|
|
942
951
|
:type execution_context: int | str | None
|
|
943
952
|
:type undo: bool | None
|
|
944
953
|
:param use_normal_flip: Flip Normals
|
|
945
|
-
:type use_normal_flip: bool |
|
|
954
|
+
:type use_normal_flip: bool | None
|
|
946
955
|
:param mirror: Mirror Editing
|
|
947
|
-
:type mirror: bool |
|
|
956
|
+
:type mirror: bool | None
|
|
948
957
|
"""
|
|
949
958
|
|
|
950
959
|
...
|
|
@@ -975,7 +984,7 @@ def extrude_faces_indiv(
|
|
|
975
984
|
execution_context: int | str | None = None,
|
|
976
985
|
undo: bool | None = None,
|
|
977
986
|
*,
|
|
978
|
-
mirror: bool |
|
|
987
|
+
mirror: bool | None = False,
|
|
979
988
|
):
|
|
980
989
|
"""Extrude individual faces only
|
|
981
990
|
|
|
@@ -983,7 +992,7 @@ def extrude_faces_indiv(
|
|
|
983
992
|
:type execution_context: int | str | None
|
|
984
993
|
:type undo: bool | None
|
|
985
994
|
:param mirror: Mirror Editing
|
|
986
|
-
:type mirror: bool |
|
|
995
|
+
:type mirror: bool | None
|
|
987
996
|
"""
|
|
988
997
|
|
|
989
998
|
...
|
|
@@ -1035,9 +1044,9 @@ def extrude_region(
|
|
|
1035
1044
|
execution_context: int | str | None = None,
|
|
1036
1045
|
undo: bool | None = None,
|
|
1037
1046
|
*,
|
|
1038
|
-
use_normal_flip: bool |
|
|
1039
|
-
use_dissolve_ortho_edges: bool |
|
|
1040
|
-
mirror: bool |
|
|
1047
|
+
use_normal_flip: bool | None = False,
|
|
1048
|
+
use_dissolve_ortho_edges: bool | None = False,
|
|
1049
|
+
mirror: bool | None = False,
|
|
1041
1050
|
):
|
|
1042
1051
|
"""Extrude region of faces
|
|
1043
1052
|
|
|
@@ -1045,11 +1054,11 @@ def extrude_region(
|
|
|
1045
1054
|
:type execution_context: int | str | None
|
|
1046
1055
|
:type undo: bool | None
|
|
1047
1056
|
:param use_normal_flip: Flip Normals
|
|
1048
|
-
:type use_normal_flip: bool |
|
|
1057
|
+
:type use_normal_flip: bool | None
|
|
1049
1058
|
:param use_dissolve_ortho_edges: Dissolve Orthogonal Edges
|
|
1050
|
-
:type use_dissolve_ortho_edges: bool |
|
|
1059
|
+
:type use_dissolve_ortho_edges: bool | None
|
|
1051
1060
|
:param mirror: Mirror Editing
|
|
1052
|
-
:type mirror: bool |
|
|
1061
|
+
:type mirror: bool | None
|
|
1053
1062
|
"""
|
|
1054
1063
|
|
|
1055
1064
|
...
|
|
@@ -1101,9 +1110,9 @@ def extrude_repeat(
|
|
|
1101
1110
|
execution_context: int | str | None = None,
|
|
1102
1111
|
undo: bool | None = None,
|
|
1103
1112
|
*,
|
|
1104
|
-
steps:
|
|
1105
|
-
offset:
|
|
1106
|
-
scale_offset:
|
|
1113
|
+
steps: int | None = 10,
|
|
1114
|
+
offset: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
1115
|
+
scale_offset: float | None = 1.0,
|
|
1107
1116
|
):
|
|
1108
1117
|
"""Extrude selected vertices, edges or faces repeatedly
|
|
1109
1118
|
|
|
@@ -1111,11 +1120,11 @@ def extrude_repeat(
|
|
|
1111
1120
|
:type execution_context: int | str | None
|
|
1112
1121
|
:type undo: bool | None
|
|
1113
1122
|
:param steps: Steps
|
|
1114
|
-
:type steps:
|
|
1123
|
+
:type steps: int | None
|
|
1115
1124
|
:param offset: Offset, Offset vector
|
|
1116
|
-
:type offset:
|
|
1125
|
+
:type offset: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
1117
1126
|
:param scale_offset: Scale Offset
|
|
1118
|
-
:type scale_offset:
|
|
1127
|
+
:type scale_offset: float | None
|
|
1119
1128
|
"""
|
|
1120
1129
|
|
|
1121
1130
|
...
|
|
@@ -1146,7 +1155,7 @@ def extrude_verts_indiv(
|
|
|
1146
1155
|
execution_context: int | str | None = None,
|
|
1147
1156
|
undo: bool | None = None,
|
|
1148
1157
|
*,
|
|
1149
|
-
mirror: bool |
|
|
1158
|
+
mirror: bool | None = False,
|
|
1150
1159
|
):
|
|
1151
1160
|
"""Extrude individual vertices only
|
|
1152
1161
|
|
|
@@ -1154,7 +1163,7 @@ def extrude_verts_indiv(
|
|
|
1154
1163
|
:type execution_context: int | str | None
|
|
1155
1164
|
:type undo: bool | None
|
|
1156
1165
|
:param mirror: Mirror Editing
|
|
1157
|
-
:type mirror: bool |
|
|
1166
|
+
:type mirror: bool | None
|
|
1158
1167
|
"""
|
|
1159
1168
|
|
|
1160
1169
|
...
|
|
@@ -1164,8 +1173,8 @@ def face_make_planar(
|
|
|
1164
1173
|
execution_context: int | str | None = None,
|
|
1165
1174
|
undo: bool | None = None,
|
|
1166
1175
|
*,
|
|
1167
|
-
factor:
|
|
1168
|
-
repeat:
|
|
1176
|
+
factor: float | None = 1.0,
|
|
1177
|
+
repeat: int | None = 1,
|
|
1169
1178
|
):
|
|
1170
1179
|
"""Flatten selected faces
|
|
1171
1180
|
|
|
@@ -1173,9 +1182,9 @@ def face_make_planar(
|
|
|
1173
1182
|
:type execution_context: int | str | None
|
|
1174
1183
|
:type undo: bool | None
|
|
1175
1184
|
:param factor: Factor
|
|
1176
|
-
:type factor:
|
|
1185
|
+
:type factor: float | None
|
|
1177
1186
|
:param repeat: Iterations
|
|
1178
|
-
:type repeat:
|
|
1187
|
+
:type repeat: int | None
|
|
1179
1188
|
"""
|
|
1180
1189
|
|
|
1181
1190
|
...
|
|
@@ -1185,10 +1194,10 @@ def face_set_extract(
|
|
|
1185
1194
|
execution_context: int | str | None = None,
|
|
1186
1195
|
undo: bool | None = None,
|
|
1187
1196
|
*,
|
|
1188
|
-
add_boundary_loop: bool |
|
|
1189
|
-
smooth_iterations:
|
|
1190
|
-
apply_shrinkwrap: bool |
|
|
1191
|
-
add_solidify: bool |
|
|
1197
|
+
add_boundary_loop: bool | None = True,
|
|
1198
|
+
smooth_iterations: int | None = 4,
|
|
1199
|
+
apply_shrinkwrap: bool | None = True,
|
|
1200
|
+
add_solidify: bool | None = True,
|
|
1192
1201
|
):
|
|
1193
1202
|
"""Create a new mesh object from the selected Face Set
|
|
1194
1203
|
|
|
@@ -1196,13 +1205,13 @@ def face_set_extract(
|
|
|
1196
1205
|
:type execution_context: int | str | None
|
|
1197
1206
|
:type undo: bool | None
|
|
1198
1207
|
:param add_boundary_loop: Add Boundary Loop, Add an extra edge loop to better preserve the shape when applying a subdivision surface modifier
|
|
1199
|
-
:type add_boundary_loop: bool |
|
|
1208
|
+
:type add_boundary_loop: bool | None
|
|
1200
1209
|
:param smooth_iterations: Smooth Iterations, Smooth iterations applied to the extracted mesh
|
|
1201
|
-
:type smooth_iterations:
|
|
1210
|
+
:type smooth_iterations: int | None
|
|
1202
1211
|
:param apply_shrinkwrap: Project to Sculpt, Project the extracted mesh into the original sculpt
|
|
1203
|
-
:type apply_shrinkwrap: bool |
|
|
1212
|
+
:type apply_shrinkwrap: bool | None
|
|
1204
1213
|
:param add_solidify: Extract as Solid, Extract the mask as a solid object with a solidify modifier
|
|
1205
|
-
:type add_solidify: bool |
|
|
1214
|
+
:type add_solidify: bool | None
|
|
1206
1215
|
"""
|
|
1207
1216
|
|
|
1208
1217
|
...
|
|
@@ -1227,7 +1236,7 @@ def faces_mirror_uv(
|
|
|
1227
1236
|
undo: bool | None = None,
|
|
1228
1237
|
*,
|
|
1229
1238
|
direction: str | None = "POSITIVE",
|
|
1230
|
-
precision:
|
|
1239
|
+
precision: int | None = 3,
|
|
1231
1240
|
):
|
|
1232
1241
|
"""Copy mirror UV coordinates on the X axis based on a mirrored mesh
|
|
1233
1242
|
|
|
@@ -1237,7 +1246,7 @@ def faces_mirror_uv(
|
|
|
1237
1246
|
:param direction: Axis Direction
|
|
1238
1247
|
:type direction: str | None
|
|
1239
1248
|
:param precision: Precision, Tolerance for finding vertex duplicates
|
|
1240
|
-
:type precision:
|
|
1249
|
+
:type precision: int | None
|
|
1241
1250
|
"""
|
|
1242
1251
|
|
|
1243
1252
|
...
|
|
@@ -1247,7 +1256,7 @@ def faces_select_linked_flat(
|
|
|
1247
1256
|
execution_context: int | str | None = None,
|
|
1248
1257
|
undo: bool | None = None,
|
|
1249
1258
|
*,
|
|
1250
|
-
sharpness:
|
|
1259
|
+
sharpness: float | None = 0.0174533,
|
|
1251
1260
|
):
|
|
1252
1261
|
"""Select linked faces by angle
|
|
1253
1262
|
|
|
@@ -1255,7 +1264,7 @@ def faces_select_linked_flat(
|
|
|
1255
1264
|
:type execution_context: int | str | None
|
|
1256
1265
|
:type undo: bool | None
|
|
1257
1266
|
:param sharpness: Sharpness
|
|
1258
|
-
:type sharpness:
|
|
1267
|
+
:type sharpness: float | None
|
|
1259
1268
|
"""
|
|
1260
1269
|
|
|
1261
1270
|
...
|
|
@@ -1293,7 +1302,7 @@ def fill(
|
|
|
1293
1302
|
execution_context: int | str | None = None,
|
|
1294
1303
|
undo: bool | None = None,
|
|
1295
1304
|
*,
|
|
1296
|
-
use_beauty: bool |
|
|
1305
|
+
use_beauty: bool | None = True,
|
|
1297
1306
|
):
|
|
1298
1307
|
"""Fill a selected edge loop with faces
|
|
1299
1308
|
|
|
@@ -1301,7 +1310,7 @@ def fill(
|
|
|
1301
1310
|
:type execution_context: int | str | None
|
|
1302
1311
|
:type undo: bool | None
|
|
1303
1312
|
:param use_beauty: Beauty, Use best triangulation division
|
|
1304
|
-
:type use_beauty: bool |
|
|
1313
|
+
:type use_beauty: bool | None
|
|
1305
1314
|
"""
|
|
1306
1315
|
|
|
1307
1316
|
...
|
|
@@ -1311,9 +1320,9 @@ def fill_grid(
|
|
|
1311
1320
|
execution_context: int | str | None = None,
|
|
1312
1321
|
undo: bool | None = None,
|
|
1313
1322
|
*,
|
|
1314
|
-
span:
|
|
1315
|
-
offset:
|
|
1316
|
-
use_interp_simple: bool |
|
|
1323
|
+
span: int | None = 1,
|
|
1324
|
+
offset: int | None = 0,
|
|
1325
|
+
use_interp_simple: bool | None = False,
|
|
1317
1326
|
):
|
|
1318
1327
|
"""Fill grid from two loops
|
|
1319
1328
|
|
|
@@ -1321,11 +1330,11 @@ def fill_grid(
|
|
|
1321
1330
|
:type execution_context: int | str | None
|
|
1322
1331
|
:type undo: bool | None
|
|
1323
1332
|
:param span: Span, Number of grid columns
|
|
1324
|
-
:type span:
|
|
1333
|
+
:type span: int | None
|
|
1325
1334
|
:param offset: Offset, Vertex that is the corner of the grid
|
|
1326
|
-
:type offset:
|
|
1335
|
+
:type offset: int | None
|
|
1327
1336
|
:param use_interp_simple: Simple Blending, Use simple interpolation of grid vertices
|
|
1328
|
-
:type use_interp_simple: bool |
|
|
1337
|
+
:type use_interp_simple: bool | None
|
|
1329
1338
|
"""
|
|
1330
1339
|
|
|
1331
1340
|
...
|
|
@@ -1335,7 +1344,7 @@ def fill_holes(
|
|
|
1335
1344
|
execution_context: int | str | None = None,
|
|
1336
1345
|
undo: bool | None = None,
|
|
1337
1346
|
*,
|
|
1338
|
-
sides:
|
|
1347
|
+
sides: int | None = 4,
|
|
1339
1348
|
):
|
|
1340
1349
|
"""Fill in holes (boundary edge loops)
|
|
1341
1350
|
|
|
@@ -1343,7 +1352,7 @@ def fill_holes(
|
|
|
1343
1352
|
:type execution_context: int | str | None
|
|
1344
1353
|
:type undo: bool | None
|
|
1345
1354
|
:param sides: Sides, Number of sides in hole required to fill (zero fills all holes)
|
|
1346
|
-
:type sides:
|
|
1355
|
+
:type sides: int | None
|
|
1347
1356
|
"""
|
|
1348
1357
|
|
|
1349
1358
|
...
|
|
@@ -1353,7 +1362,7 @@ def flip_normals(
|
|
|
1353
1362
|
execution_context: int | str | None = None,
|
|
1354
1363
|
undo: bool | None = None,
|
|
1355
1364
|
*,
|
|
1356
|
-
only_clnors: bool |
|
|
1365
|
+
only_clnors: bool | None = False,
|
|
1357
1366
|
):
|
|
1358
1367
|
"""Flip the direction of selected faces' normals (and of their vertices)
|
|
1359
1368
|
|
|
@@ -1361,7 +1370,7 @@ def flip_normals(
|
|
|
1361
1370
|
:type execution_context: int | str | None
|
|
1362
1371
|
:type undo: bool | None
|
|
1363
1372
|
:param only_clnors: Custom Normals Only, Only flip the custom loop normals of the selected elements
|
|
1364
|
-
:type only_clnors: bool |
|
|
1373
|
+
:type only_clnors: bool | None
|
|
1365
1374
|
"""
|
|
1366
1375
|
|
|
1367
1376
|
...
|
|
@@ -1385,7 +1394,7 @@ def hide(
|
|
|
1385
1394
|
execution_context: int | str | None = None,
|
|
1386
1395
|
undo: bool | None = None,
|
|
1387
1396
|
*,
|
|
1388
|
-
unselected: bool |
|
|
1397
|
+
unselected: bool | None = False,
|
|
1389
1398
|
):
|
|
1390
1399
|
"""Hide (un)selected vertices, edges or faces
|
|
1391
1400
|
|
|
@@ -1393,7 +1402,7 @@ def hide(
|
|
|
1393
1402
|
:type execution_context: int | str | None
|
|
1394
1403
|
:type undo: bool | None
|
|
1395
1404
|
:param unselected: Unselected, Hide unselected rather than selected
|
|
1396
|
-
:type unselected: bool |
|
|
1405
|
+
:type unselected: bool | None
|
|
1397
1406
|
"""
|
|
1398
1407
|
|
|
1399
1408
|
...
|
|
@@ -1403,17 +1412,17 @@ def inset(
|
|
|
1403
1412
|
execution_context: int | str | None = None,
|
|
1404
1413
|
undo: bool | None = None,
|
|
1405
1414
|
*,
|
|
1406
|
-
use_boundary: bool |
|
|
1407
|
-
use_even_offset: bool |
|
|
1408
|
-
use_relative_offset: bool |
|
|
1409
|
-
use_edge_rail: bool |
|
|
1410
|
-
thickness:
|
|
1411
|
-
depth:
|
|
1412
|
-
use_outset: bool |
|
|
1413
|
-
use_select_inset: bool |
|
|
1414
|
-
use_individual: bool |
|
|
1415
|
-
use_interpolate: bool |
|
|
1416
|
-
release_confirm: bool |
|
|
1415
|
+
use_boundary: bool | None = True,
|
|
1416
|
+
use_even_offset: bool | None = True,
|
|
1417
|
+
use_relative_offset: bool | None = False,
|
|
1418
|
+
use_edge_rail: bool | None = False,
|
|
1419
|
+
thickness: float | None = 0.0,
|
|
1420
|
+
depth: float | None = 0.0,
|
|
1421
|
+
use_outset: bool | None = False,
|
|
1422
|
+
use_select_inset: bool | None = False,
|
|
1423
|
+
use_individual: bool | None = False,
|
|
1424
|
+
use_interpolate: bool | None = True,
|
|
1425
|
+
release_confirm: bool | None = False,
|
|
1417
1426
|
):
|
|
1418
1427
|
"""Inset new faces into selected faces
|
|
1419
1428
|
|
|
@@ -1421,27 +1430,27 @@ def inset(
|
|
|
1421
1430
|
:type execution_context: int | str | None
|
|
1422
1431
|
:type undo: bool | None
|
|
1423
1432
|
:param use_boundary: Boundary, Inset face boundaries
|
|
1424
|
-
:type use_boundary: bool |
|
|
1433
|
+
:type use_boundary: bool | None
|
|
1425
1434
|
:param use_even_offset: Offset Even, Scale the offset to give more even thickness
|
|
1426
|
-
:type use_even_offset: bool |
|
|
1435
|
+
:type use_even_offset: bool | None
|
|
1427
1436
|
:param use_relative_offset: Offset Relative, Scale the offset by surrounding geometry
|
|
1428
|
-
:type use_relative_offset: bool |
|
|
1437
|
+
:type use_relative_offset: bool | None
|
|
1429
1438
|
:param use_edge_rail: Edge Rail, Inset the region along existing edges
|
|
1430
|
-
:type use_edge_rail: bool |
|
|
1439
|
+
:type use_edge_rail: bool | None
|
|
1431
1440
|
:param thickness: Thickness
|
|
1432
|
-
:type thickness:
|
|
1441
|
+
:type thickness: float | None
|
|
1433
1442
|
:param depth: Depth
|
|
1434
|
-
:type depth:
|
|
1443
|
+
:type depth: float | None
|
|
1435
1444
|
:param use_outset: Outset, Outset rather than inset
|
|
1436
|
-
:type use_outset: bool |
|
|
1445
|
+
:type use_outset: bool | None
|
|
1437
1446
|
:param use_select_inset: Select Outer, Select the new inset faces
|
|
1438
|
-
:type use_select_inset: bool |
|
|
1447
|
+
:type use_select_inset: bool | None
|
|
1439
1448
|
:param use_individual: Individual, Individual face inset
|
|
1440
|
-
:type use_individual: bool |
|
|
1449
|
+
:type use_individual: bool | None
|
|
1441
1450
|
:param use_interpolate: Interpolate, Blend face data across the inset
|
|
1442
|
-
:type use_interpolate: bool |
|
|
1451
|
+
:type use_interpolate: bool | None
|
|
1443
1452
|
:param release_confirm: Confirm on Release
|
|
1444
|
-
:type release_confirm: bool |
|
|
1453
|
+
:type release_confirm: bool | None
|
|
1445
1454
|
"""
|
|
1446
1455
|
|
|
1447
1456
|
...
|
|
@@ -1453,7 +1462,7 @@ def intersect(
|
|
|
1453
1462
|
*,
|
|
1454
1463
|
mode: str | None = "SELECT_UNSELECT",
|
|
1455
1464
|
separate_mode: str | None = "CUT",
|
|
1456
|
-
threshold:
|
|
1465
|
+
threshold: float | None = 1e-06,
|
|
1457
1466
|
solver: str | None = "EXACT",
|
|
1458
1467
|
):
|
|
1459
1468
|
"""Cut an intersection into faces
|
|
@@ -1481,7 +1490,7 @@ def intersect(
|
|
|
1481
1490
|
Merge -- Merge all geometry from the intersection.
|
|
1482
1491
|
:type separate_mode: str | None
|
|
1483
1492
|
:param threshold: Merge Threshold
|
|
1484
|
-
:type threshold:
|
|
1493
|
+
:type threshold: float | None
|
|
1485
1494
|
:param solver: Solver, Which Intersect solver to use
|
|
1486
1495
|
|
|
1487
1496
|
FAST
|
|
@@ -1500,9 +1509,9 @@ def intersect_boolean(
|
|
|
1500
1509
|
undo: bool | None = None,
|
|
1501
1510
|
*,
|
|
1502
1511
|
operation: str | None = "DIFFERENCE",
|
|
1503
|
-
use_swap: bool |
|
|
1504
|
-
use_self: bool |
|
|
1505
|
-
threshold:
|
|
1512
|
+
use_swap: bool | None = False,
|
|
1513
|
+
use_self: bool | None = False,
|
|
1514
|
+
threshold: float | None = 1e-06,
|
|
1506
1515
|
solver: str | None = "EXACT",
|
|
1507
1516
|
):
|
|
1508
1517
|
"""Cut solid geometry from selected to unselected
|
|
@@ -1513,11 +1522,11 @@ def intersect_boolean(
|
|
|
1513
1522
|
:param operation: Boolean Operation, Which boolean operation to apply
|
|
1514
1523
|
:type operation: str | None
|
|
1515
1524
|
:param use_swap: Swap, Use with difference intersection to swap which side is kept
|
|
1516
|
-
:type use_swap: bool |
|
|
1525
|
+
:type use_swap: bool | None
|
|
1517
1526
|
:param use_self: Self Intersection, Do self-union or self-intersection
|
|
1518
|
-
:type use_self: bool |
|
|
1527
|
+
:type use_self: bool | None
|
|
1519
1528
|
:param threshold: Merge Threshold
|
|
1520
|
-
:type threshold:
|
|
1529
|
+
:type threshold: float | None
|
|
1521
1530
|
:param solver: Solver, Which Boolean solver to use
|
|
1522
1531
|
|
|
1523
1532
|
FAST
|
|
@@ -1535,7 +1544,7 @@ def knife_project(
|
|
|
1535
1544
|
execution_context: int | str | None = None,
|
|
1536
1545
|
undo: bool | None = None,
|
|
1537
1546
|
*,
|
|
1538
|
-
cut_through: bool |
|
|
1547
|
+
cut_through: bool | None = False,
|
|
1539
1548
|
):
|
|
1540
1549
|
"""Use other objects outlines and boundaries to project knife cuts
|
|
1541
1550
|
|
|
@@ -1543,7 +1552,7 @@ def knife_project(
|
|
|
1543
1552
|
:type execution_context: int | str | None
|
|
1544
1553
|
:type undo: bool | None
|
|
1545
1554
|
:param cut_through: Cut Through, Cut through all faces, not just visible ones
|
|
1546
|
-
:type cut_through: bool |
|
|
1555
|
+
:type cut_through: bool | None
|
|
1547
1556
|
"""
|
|
1548
1557
|
|
|
1549
1558
|
...
|
|
@@ -1553,13 +1562,13 @@ def knife_tool(
|
|
|
1553
1562
|
execution_context: int | str | None = None,
|
|
1554
1563
|
undo: bool | None = None,
|
|
1555
1564
|
*,
|
|
1556
|
-
use_occlude_geometry: bool |
|
|
1557
|
-
only_selected: bool |
|
|
1558
|
-
xray: bool |
|
|
1565
|
+
use_occlude_geometry: bool | None = True,
|
|
1566
|
+
only_selected: bool | None = False,
|
|
1567
|
+
xray: bool | None = True,
|
|
1559
1568
|
visible_measurements: str | None = "NONE",
|
|
1560
1569
|
angle_snapping: str | None = "NONE",
|
|
1561
|
-
angle_snapping_increment:
|
|
1562
|
-
wait_for_input: bool |
|
|
1570
|
+
angle_snapping_increment: float | None = 0.523599,
|
|
1571
|
+
wait_for_input: bool | None = True,
|
|
1563
1572
|
):
|
|
1564
1573
|
"""Cut new topology
|
|
1565
1574
|
|
|
@@ -1567,11 +1576,11 @@ def knife_tool(
|
|
|
1567
1576
|
:type execution_context: int | str | None
|
|
1568
1577
|
:type undo: bool | None
|
|
1569
1578
|
:param use_occlude_geometry: Occlude Geometry, Only cut the front most geometry
|
|
1570
|
-
:type use_occlude_geometry: bool |
|
|
1579
|
+
:type use_occlude_geometry: bool | None
|
|
1571
1580
|
:param only_selected: Only Selected, Only cut selected geometry
|
|
1572
|
-
:type only_selected: bool |
|
|
1581
|
+
:type only_selected: bool | None
|
|
1573
1582
|
:param xray: X-Ray, Show cuts hidden by geometry
|
|
1574
|
-
:type xray: bool |
|
|
1583
|
+
:type xray: bool | None
|
|
1575
1584
|
:param visible_measurements: Measurements, Visible distance and angle measurements
|
|
1576
1585
|
|
|
1577
1586
|
NONE
|
|
@@ -1598,9 +1607,9 @@ def knife_tool(
|
|
|
1598
1607
|
Relative -- Angle snapping relative to the previous cut edge.
|
|
1599
1608
|
:type angle_snapping: str | None
|
|
1600
1609
|
:param angle_snapping_increment: Angle Snap Increment, The angle snap increment used when in constrained angle mode
|
|
1601
|
-
:type angle_snapping_increment:
|
|
1610
|
+
:type angle_snapping_increment: float | None
|
|
1602
1611
|
:param wait_for_input: Wait for Input
|
|
1603
|
-
:type wait_for_input: bool |
|
|
1612
|
+
:type wait_for_input: bool | None
|
|
1604
1613
|
"""
|
|
1605
1614
|
|
|
1606
1615
|
...
|
|
@@ -1610,7 +1619,7 @@ def loop_multi_select(
|
|
|
1610
1619
|
execution_context: int | str | None = None,
|
|
1611
1620
|
undo: bool | None = None,
|
|
1612
1621
|
*,
|
|
1613
|
-
ring: bool |
|
|
1622
|
+
ring: bool | None = False,
|
|
1614
1623
|
):
|
|
1615
1624
|
"""Select a loop of connected edges by connection type
|
|
1616
1625
|
|
|
@@ -1618,7 +1627,7 @@ def loop_multi_select(
|
|
|
1618
1627
|
:type execution_context: int | str | None
|
|
1619
1628
|
:type undo: bool | None
|
|
1620
1629
|
:param ring: Ring
|
|
1621
|
-
:type ring: bool |
|
|
1630
|
+
:type ring: bool | None
|
|
1622
1631
|
"""
|
|
1623
1632
|
|
|
1624
1633
|
...
|
|
@@ -1628,10 +1637,10 @@ def loop_select(
|
|
|
1628
1637
|
execution_context: int | str | None = None,
|
|
1629
1638
|
undo: bool | None = None,
|
|
1630
1639
|
*,
|
|
1631
|
-
extend: bool |
|
|
1632
|
-
deselect: bool |
|
|
1633
|
-
toggle: bool |
|
|
1634
|
-
ring: bool |
|
|
1640
|
+
extend: bool | None = False,
|
|
1641
|
+
deselect: bool | None = False,
|
|
1642
|
+
toggle: bool | None = False,
|
|
1643
|
+
ring: bool | None = False,
|
|
1635
1644
|
):
|
|
1636
1645
|
"""Select a loop of connected edges
|
|
1637
1646
|
|
|
@@ -1639,13 +1648,13 @@ def loop_select(
|
|
|
1639
1648
|
:type execution_context: int | str | None
|
|
1640
1649
|
:type undo: bool | None
|
|
1641
1650
|
:param extend: Extend Select, Extend the selection
|
|
1642
|
-
:type extend: bool |
|
|
1651
|
+
:type extend: bool | None
|
|
1643
1652
|
:param deselect: Deselect, Remove from the selection
|
|
1644
|
-
:type deselect: bool |
|
|
1653
|
+
:type deselect: bool | None
|
|
1645
1654
|
:param toggle: Toggle Select, Toggle the selection
|
|
1646
|
-
:type toggle: bool |
|
|
1655
|
+
:type toggle: bool | None
|
|
1647
1656
|
:param ring: Select Ring, Select ring
|
|
1648
|
-
:type ring: bool |
|
|
1657
|
+
:type ring: bool | None
|
|
1649
1658
|
"""
|
|
1650
1659
|
|
|
1651
1660
|
...
|
|
@@ -1655,7 +1664,7 @@ def loop_to_region(
|
|
|
1655
1664
|
execution_context: int | str | None = None,
|
|
1656
1665
|
undo: bool | None = None,
|
|
1657
1666
|
*,
|
|
1658
|
-
select_bigger: bool |
|
|
1667
|
+
select_bigger: bool | None = False,
|
|
1659
1668
|
):
|
|
1660
1669
|
"""Select region of faces inside of a selected loop of edges
|
|
1661
1670
|
|
|
@@ -1663,7 +1672,7 @@ def loop_to_region(
|
|
|
1663
1672
|
:type execution_context: int | str | None
|
|
1664
1673
|
:type undo: bool | None
|
|
1665
1674
|
:param select_bigger: Select Bigger, Select bigger regions instead of smaller ones
|
|
1666
|
-
:type select_bigger: bool |
|
|
1675
|
+
:type select_bigger: bool | None
|
|
1667
1676
|
"""
|
|
1668
1677
|
|
|
1669
1678
|
...
|
|
@@ -1673,12 +1682,12 @@ def loopcut(
|
|
|
1673
1682
|
execution_context: int | str | None = None,
|
|
1674
1683
|
undo: bool | None = None,
|
|
1675
1684
|
*,
|
|
1676
|
-
number_cuts:
|
|
1677
|
-
smoothness:
|
|
1685
|
+
number_cuts: int | None = 1,
|
|
1686
|
+
smoothness: float | None = 0.0,
|
|
1678
1687
|
falloff: str | None = "INVERSE_SQUARE",
|
|
1679
|
-
object_index:
|
|
1680
|
-
edge_index:
|
|
1681
|
-
mesh_select_mode_init: list[bool] |
|
|
1688
|
+
object_index: int | None = -1,
|
|
1689
|
+
edge_index: int | None = -1,
|
|
1690
|
+
mesh_select_mode_init: list[bool] | None = (False, False, False),
|
|
1682
1691
|
):
|
|
1683
1692
|
"""Add a new loop between existing loops
|
|
1684
1693
|
|
|
@@ -1686,16 +1695,16 @@ def loopcut(
|
|
|
1686
1695
|
:type execution_context: int | str | None
|
|
1687
1696
|
:type undo: bool | None
|
|
1688
1697
|
:param number_cuts: Number of Cuts
|
|
1689
|
-
:type number_cuts:
|
|
1698
|
+
:type number_cuts: int | None
|
|
1690
1699
|
:param smoothness: Smoothness, Smoothness factor
|
|
1691
|
-
:type smoothness:
|
|
1700
|
+
:type smoothness: float | None
|
|
1692
1701
|
:param falloff: Falloff, Falloff type of the feather
|
|
1693
1702
|
:type falloff: str | None
|
|
1694
1703
|
:param object_index: Object Index
|
|
1695
|
-
:type object_index:
|
|
1704
|
+
:type object_index: int | None
|
|
1696
1705
|
:param edge_index: Edge Index
|
|
1697
|
-
:type edge_index:
|
|
1698
|
-
:type mesh_select_mode_init: list[bool] |
|
|
1706
|
+
:type edge_index: int | None
|
|
1707
|
+
:type mesh_select_mode_init: list[bool] | None
|
|
1699
1708
|
"""
|
|
1700
1709
|
|
|
1701
1710
|
...
|
|
@@ -1726,7 +1735,7 @@ def mark_freestyle_edge(
|
|
|
1726
1735
|
execution_context: int | str | None = None,
|
|
1727
1736
|
undo: bool | None = None,
|
|
1728
1737
|
*,
|
|
1729
|
-
clear: bool |
|
|
1738
|
+
clear: bool | None = False,
|
|
1730
1739
|
):
|
|
1731
1740
|
"""(Un)mark selected edges as Freestyle feature edges
|
|
1732
1741
|
|
|
@@ -1734,7 +1743,7 @@ def mark_freestyle_edge(
|
|
|
1734
1743
|
:type execution_context: int | str | None
|
|
1735
1744
|
:type undo: bool | None
|
|
1736
1745
|
:param clear: Clear
|
|
1737
|
-
:type clear: bool |
|
|
1746
|
+
:type clear: bool | None
|
|
1738
1747
|
"""
|
|
1739
1748
|
|
|
1740
1749
|
...
|
|
@@ -1744,7 +1753,7 @@ def mark_freestyle_face(
|
|
|
1744
1753
|
execution_context: int | str | None = None,
|
|
1745
1754
|
undo: bool | None = None,
|
|
1746
1755
|
*,
|
|
1747
|
-
clear: bool |
|
|
1756
|
+
clear: bool | None = False,
|
|
1748
1757
|
):
|
|
1749
1758
|
"""(Un)mark selected faces for exclusion from Freestyle feature edge detection
|
|
1750
1759
|
|
|
@@ -1752,7 +1761,7 @@ def mark_freestyle_face(
|
|
|
1752
1761
|
:type execution_context: int | str | None
|
|
1753
1762
|
:type undo: bool | None
|
|
1754
1763
|
:param clear: Clear
|
|
1755
|
-
:type clear: bool |
|
|
1764
|
+
:type clear: bool | None
|
|
1756
1765
|
"""
|
|
1757
1766
|
|
|
1758
1767
|
...
|
|
@@ -1762,7 +1771,7 @@ def mark_seam(
|
|
|
1762
1771
|
execution_context: int | str | None = None,
|
|
1763
1772
|
undo: bool | None = None,
|
|
1764
1773
|
*,
|
|
1765
|
-
clear: bool |
|
|
1774
|
+
clear: bool | None = False,
|
|
1766
1775
|
):
|
|
1767
1776
|
"""(Un)mark selected edges as a seam
|
|
1768
1777
|
|
|
@@ -1770,7 +1779,7 @@ def mark_seam(
|
|
|
1770
1779
|
:type execution_context: int | str | None
|
|
1771
1780
|
:type undo: bool | None
|
|
1772
1781
|
:param clear: Clear
|
|
1773
|
-
:type clear: bool |
|
|
1782
|
+
:type clear: bool | None
|
|
1774
1783
|
"""
|
|
1775
1784
|
|
|
1776
1785
|
...
|
|
@@ -1780,8 +1789,8 @@ def mark_sharp(
|
|
|
1780
1789
|
execution_context: int | str | None = None,
|
|
1781
1790
|
undo: bool | None = None,
|
|
1782
1791
|
*,
|
|
1783
|
-
clear: bool |
|
|
1784
|
-
use_verts: bool |
|
|
1792
|
+
clear: bool | None = False,
|
|
1793
|
+
use_verts: bool | None = False,
|
|
1785
1794
|
):
|
|
1786
1795
|
"""(Un)mark selected edges as sharp
|
|
1787
1796
|
|
|
@@ -1789,9 +1798,9 @@ def mark_sharp(
|
|
|
1789
1798
|
:type execution_context: int | str | None
|
|
1790
1799
|
:type undo: bool | None
|
|
1791
1800
|
:param clear: Clear
|
|
1792
|
-
:type clear: bool |
|
|
1801
|
+
:type clear: bool | None
|
|
1793
1802
|
:param use_verts: Vertices, Consider vertices instead of edges to select which edges to (un)tag as sharp
|
|
1794
|
-
:type use_verts: bool |
|
|
1803
|
+
:type use_verts: bool | None
|
|
1795
1804
|
"""
|
|
1796
1805
|
|
|
1797
1806
|
...
|
|
@@ -1802,7 +1811,7 @@ def merge(
|
|
|
1802
1811
|
undo: bool | None = None,
|
|
1803
1812
|
*,
|
|
1804
1813
|
type: str | None = "CENTER",
|
|
1805
|
-
uvs: bool |
|
|
1814
|
+
uvs: bool | None = False,
|
|
1806
1815
|
):
|
|
1807
1816
|
"""Merge selected vertices
|
|
1808
1817
|
|
|
@@ -1812,7 +1821,7 @@ def merge(
|
|
|
1812
1821
|
:param type: Type, Merge method to use
|
|
1813
1822
|
:type type: str | None
|
|
1814
1823
|
:param uvs: UVs, Move UVs according to merge
|
|
1815
|
-
:type uvs: bool |
|
|
1824
|
+
:type uvs: bool | None
|
|
1816
1825
|
"""
|
|
1817
1826
|
|
|
1818
1827
|
...
|
|
@@ -1836,7 +1845,7 @@ def mod_weighted_strength(
|
|
|
1836
1845
|
execution_context: int | str | None = None,
|
|
1837
1846
|
undo: bool | None = None,
|
|
1838
1847
|
*,
|
|
1839
|
-
set: bool |
|
|
1848
|
+
set: bool | None = False,
|
|
1840
1849
|
face_strength: str | None = "MEDIUM",
|
|
1841
1850
|
):
|
|
1842
1851
|
"""Set/Get strength of face (used in Weighted Normal modifier)
|
|
@@ -1845,7 +1854,7 @@ def mod_weighted_strength(
|
|
|
1845
1854
|
:type execution_context: int | str | None
|
|
1846
1855
|
:type undo: bool | None
|
|
1847
1856
|
:param set: Set Value, Set value of faces
|
|
1848
|
-
:type set: bool |
|
|
1857
|
+
:type set: bool | None
|
|
1849
1858
|
:param face_strength: Face Strength, Strength to use for assigning or selecting face influence for weighted normal modifier
|
|
1850
1859
|
:type face_strength: str | None
|
|
1851
1860
|
"""
|
|
@@ -1857,7 +1866,7 @@ def normals_make_consistent(
|
|
|
1857
1866
|
execution_context: int | str | None = None,
|
|
1858
1867
|
undo: bool | None = None,
|
|
1859
1868
|
*,
|
|
1860
|
-
inside: bool |
|
|
1869
|
+
inside: bool | None = False,
|
|
1861
1870
|
):
|
|
1862
1871
|
"""Make face and vertex normals point either outside or inside the mesh
|
|
1863
1872
|
|
|
@@ -1865,7 +1874,7 @@ def normals_make_consistent(
|
|
|
1865
1874
|
:type execution_context: int | str | None
|
|
1866
1875
|
:type undo: bool | None
|
|
1867
1876
|
:param inside: Inside
|
|
1868
|
-
:type inside: bool |
|
|
1877
|
+
:type inside: bool | None
|
|
1869
1878
|
"""
|
|
1870
1879
|
|
|
1871
1880
|
...
|
|
@@ -1876,7 +1885,7 @@ def normals_tools(
|
|
|
1876
1885
|
undo: bool | None = None,
|
|
1877
1886
|
*,
|
|
1878
1887
|
mode: str | None = "COPY",
|
|
1879
|
-
absolute: bool |
|
|
1888
|
+
absolute: bool | None = False,
|
|
1880
1889
|
):
|
|
1881
1890
|
"""Custom normals tools using Normal Vector of UI
|
|
1882
1891
|
|
|
@@ -1901,7 +1910,7 @@ def normals_tools(
|
|
|
1901
1910
|
Reset Normal -- Reset the internal clipboard and/or normal of selected element.
|
|
1902
1911
|
:type mode: str | None
|
|
1903
1912
|
:param absolute: Absolute Coordinates, Copy Absolute coordinates of Normal vector
|
|
1904
|
-
:type absolute: bool |
|
|
1913
|
+
:type absolute: bool | None
|
|
1905
1914
|
"""
|
|
1906
1915
|
|
|
1907
1916
|
...
|
|
@@ -1911,7 +1920,7 @@ def offset_edge_loops(
|
|
|
1911
1920
|
execution_context: int | str | None = None,
|
|
1912
1921
|
undo: bool | None = None,
|
|
1913
1922
|
*,
|
|
1914
|
-
use_cap_endpoint: bool |
|
|
1923
|
+
use_cap_endpoint: bool | None = False,
|
|
1915
1924
|
):
|
|
1916
1925
|
"""Create offset edge loop from the current selection
|
|
1917
1926
|
|
|
@@ -1919,7 +1928,7 @@ def offset_edge_loops(
|
|
|
1919
1928
|
:type execution_context: int | str | None
|
|
1920
1929
|
:type undo: bool | None
|
|
1921
1930
|
:param use_cap_endpoint: Cap Endpoint, Extend loop around end-points
|
|
1922
|
-
:type use_cap_endpoint: bool |
|
|
1931
|
+
:type use_cap_endpoint: bool | None
|
|
1923
1932
|
"""
|
|
1924
1933
|
|
|
1925
1934
|
...
|
|
@@ -1950,11 +1959,11 @@ def paint_mask_extract(
|
|
|
1950
1959
|
execution_context: int | str | None = None,
|
|
1951
1960
|
undo: bool | None = None,
|
|
1952
1961
|
*,
|
|
1953
|
-
mask_threshold:
|
|
1954
|
-
add_boundary_loop: bool |
|
|
1955
|
-
smooth_iterations:
|
|
1956
|
-
apply_shrinkwrap: bool |
|
|
1957
|
-
add_solidify: bool |
|
|
1962
|
+
mask_threshold: float | None = 0.5,
|
|
1963
|
+
add_boundary_loop: bool | None = True,
|
|
1964
|
+
smooth_iterations: int | None = 4,
|
|
1965
|
+
apply_shrinkwrap: bool | None = True,
|
|
1966
|
+
add_solidify: bool | None = True,
|
|
1958
1967
|
):
|
|
1959
1968
|
"""Create a new mesh object from the current paint mask
|
|
1960
1969
|
|
|
@@ -1962,15 +1971,15 @@ def paint_mask_extract(
|
|
|
1962
1971
|
:type execution_context: int | str | None
|
|
1963
1972
|
:type undo: bool | None
|
|
1964
1973
|
:param mask_threshold: Threshold, Minimum mask value to consider the vertex valid to extract a face from the original mesh
|
|
1965
|
-
:type mask_threshold:
|
|
1974
|
+
:type mask_threshold: float | None
|
|
1966
1975
|
:param add_boundary_loop: Add Boundary Loop, Add an extra edge loop to better preserve the shape when applying a subdivision surface modifier
|
|
1967
|
-
:type add_boundary_loop: bool |
|
|
1976
|
+
:type add_boundary_loop: bool | None
|
|
1968
1977
|
:param smooth_iterations: Smooth Iterations, Smooth iterations applied to the extracted mesh
|
|
1969
|
-
:type smooth_iterations:
|
|
1978
|
+
:type smooth_iterations: int | None
|
|
1970
1979
|
:param apply_shrinkwrap: Project to Sculpt, Project the extracted mesh into the original sculpt
|
|
1971
|
-
:type apply_shrinkwrap: bool |
|
|
1980
|
+
:type apply_shrinkwrap: bool | None
|
|
1972
1981
|
:param add_solidify: Extract as Solid, Extract the mask as a solid object with a solidify modifier
|
|
1973
|
-
:type add_solidify: bool |
|
|
1982
|
+
:type add_solidify: bool | None
|
|
1974
1983
|
"""
|
|
1975
1984
|
|
|
1976
1985
|
...
|
|
@@ -1980,9 +1989,9 @@ def paint_mask_slice(
|
|
|
1980
1989
|
execution_context: int | str | None = None,
|
|
1981
1990
|
undo: bool | None = None,
|
|
1982
1991
|
*,
|
|
1983
|
-
mask_threshold:
|
|
1984
|
-
fill_holes: bool |
|
|
1985
|
-
new_object: bool |
|
|
1992
|
+
mask_threshold: float | None = 0.5,
|
|
1993
|
+
fill_holes: bool | None = True,
|
|
1994
|
+
new_object: bool | None = True,
|
|
1986
1995
|
):
|
|
1987
1996
|
"""Slices the paint mask from the mesh
|
|
1988
1997
|
|
|
@@ -1990,11 +1999,11 @@ def paint_mask_slice(
|
|
|
1990
1999
|
:type execution_context: int | str | None
|
|
1991
2000
|
:type undo: bool | None
|
|
1992
2001
|
:param mask_threshold: Threshold, Minimum mask value to consider the vertex valid to extract a face from the original mesh
|
|
1993
|
-
:type mask_threshold:
|
|
2002
|
+
:type mask_threshold: float | None
|
|
1994
2003
|
:param fill_holes: Fill Holes, Fill holes after slicing the mask
|
|
1995
|
-
:type fill_holes: bool |
|
|
2004
|
+
:type fill_holes: bool | None
|
|
1996
2005
|
:param new_object: Slice to New Object, Create a new object from the sliced mask
|
|
1997
|
-
:type new_object: bool |
|
|
2006
|
+
:type new_object: bool | None
|
|
1998
2007
|
"""
|
|
1999
2008
|
|
|
2000
2009
|
...
|
|
@@ -2005,11 +2014,15 @@ def point_normals(
|
|
|
2005
2014
|
undo: bool | None = None,
|
|
2006
2015
|
*,
|
|
2007
2016
|
mode: str | None = "COORDINATES",
|
|
2008
|
-
invert: bool |
|
|
2009
|
-
align: bool |
|
|
2010
|
-
target_location:
|
|
2011
|
-
|
|
2012
|
-
|
|
2017
|
+
invert: bool | None = False,
|
|
2018
|
+
align: bool | None = False,
|
|
2019
|
+
target_location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
2020
|
+
0.0,
|
|
2021
|
+
0.0,
|
|
2022
|
+
0.0,
|
|
2023
|
+
),
|
|
2024
|
+
spherize: bool | None = False,
|
|
2025
|
+
spherize_strength: float | None = 0.1,
|
|
2013
2026
|
):
|
|
2014
2027
|
"""Point selected custom normals to specified Target
|
|
2015
2028
|
|
|
@@ -2025,15 +2038,15 @@ def point_normals(
|
|
|
2025
2038
|
Mouse -- Follow mouse cursor.
|
|
2026
2039
|
:type mode: str | None
|
|
2027
2040
|
:param invert: Invert, Invert affected normals
|
|
2028
|
-
:type invert: bool |
|
|
2041
|
+
:type invert: bool | None
|
|
2029
2042
|
:param align: Align, Make all affected normals parallel
|
|
2030
|
-
:type align: bool |
|
|
2043
|
+
:type align: bool | None
|
|
2031
2044
|
:param target_location: Target, Target location to which normals will point
|
|
2032
|
-
:type target_location:
|
|
2045
|
+
:type target_location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
2033
2046
|
:param spherize: Spherize, Interpolate between original and new normals
|
|
2034
|
-
:type spherize: bool |
|
|
2047
|
+
:type spherize: bool | None
|
|
2035
2048
|
:param spherize_strength: Spherize Strength, Ratio of spherized normal to original normal
|
|
2036
|
-
:type spherize_strength:
|
|
2049
|
+
:type spherize_strength: float | None
|
|
2037
2050
|
"""
|
|
2038
2051
|
|
|
2039
2052
|
...
|
|
@@ -2043,8 +2056,8 @@ def poke(
|
|
|
2043
2056
|
execution_context: int | str | None = None,
|
|
2044
2057
|
undo: bool | None = None,
|
|
2045
2058
|
*,
|
|
2046
|
-
offset:
|
|
2047
|
-
use_relative_offset: bool |
|
|
2059
|
+
offset: float | None = 0.0,
|
|
2060
|
+
use_relative_offset: bool | None = False,
|
|
2048
2061
|
center_mode: str | None = "MEDIAN_WEIGHTED",
|
|
2049
2062
|
):
|
|
2050
2063
|
"""Split a face into a fan
|
|
@@ -2053,9 +2066,9 @@ def poke(
|
|
|
2053
2066
|
:type execution_context: int | str | None
|
|
2054
2067
|
:type undo: bool | None
|
|
2055
2068
|
:param offset: Poke Offset, Poke Offset
|
|
2056
|
-
:type offset:
|
|
2069
|
+
:type offset: float | None
|
|
2057
2070
|
:param use_relative_offset: Offset Relative, Scale the offset by surrounding geometry
|
|
2058
|
-
:type use_relative_offset: bool |
|
|
2071
|
+
:type use_relative_offset: bool | None
|
|
2059
2072
|
:param center_mode: Poke Center, Poke face center calculation
|
|
2060
2073
|
|
|
2061
2074
|
MEDIAN_WEIGHTED
|
|
@@ -2076,14 +2089,14 @@ def polybuild_delete_at_cursor(
|
|
|
2076
2089
|
execution_context: int | str | None = None,
|
|
2077
2090
|
undo: bool | None = None,
|
|
2078
2091
|
*,
|
|
2079
|
-
mirror: bool |
|
|
2080
|
-
use_proportional_edit: bool |
|
|
2092
|
+
mirror: bool | None = False,
|
|
2093
|
+
use_proportional_edit: bool | None = False,
|
|
2081
2094
|
proportional_edit_falloff: str | None = "SMOOTH",
|
|
2082
|
-
proportional_size:
|
|
2083
|
-
use_proportional_connected: bool |
|
|
2084
|
-
use_proportional_projected: bool |
|
|
2085
|
-
release_confirm: bool |
|
|
2086
|
-
use_accurate: bool |
|
|
2095
|
+
proportional_size: float | None = 1.0,
|
|
2096
|
+
use_proportional_connected: bool | None = False,
|
|
2097
|
+
use_proportional_projected: bool | None = False,
|
|
2098
|
+
release_confirm: bool | None = False,
|
|
2099
|
+
use_accurate: bool | None = False,
|
|
2087
2100
|
):
|
|
2088
2101
|
"""Undocumented, consider contributing.
|
|
2089
2102
|
|
|
@@ -2091,21 +2104,21 @@ def polybuild_delete_at_cursor(
|
|
|
2091
2104
|
:type execution_context: int | str | None
|
|
2092
2105
|
:type undo: bool | None
|
|
2093
2106
|
:param mirror: Mirror Editing
|
|
2094
|
-
:type mirror: bool |
|
|
2107
|
+
:type mirror: bool | None
|
|
2095
2108
|
:param use_proportional_edit: Proportional Editing
|
|
2096
|
-
:type use_proportional_edit: bool |
|
|
2109
|
+
:type use_proportional_edit: bool | None
|
|
2097
2110
|
:param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode
|
|
2098
2111
|
:type proportional_edit_falloff: str | None
|
|
2099
2112
|
:param proportional_size: Proportional Size
|
|
2100
|
-
:type proportional_size:
|
|
2113
|
+
:type proportional_size: float | None
|
|
2101
2114
|
:param use_proportional_connected: Connected
|
|
2102
|
-
:type use_proportional_connected: bool |
|
|
2115
|
+
:type use_proportional_connected: bool | None
|
|
2103
2116
|
:param use_proportional_projected: Projected (2D)
|
|
2104
|
-
:type use_proportional_projected: bool |
|
|
2117
|
+
:type use_proportional_projected: bool | None
|
|
2105
2118
|
:param release_confirm: Confirm on Release, Always confirm operation when releasing button
|
|
2106
|
-
:type release_confirm: bool |
|
|
2119
|
+
:type release_confirm: bool | None
|
|
2107
2120
|
:param use_accurate: Accurate, Use accurate transformation
|
|
2108
|
-
:type use_accurate: bool |
|
|
2121
|
+
:type use_accurate: bool | None
|
|
2109
2122
|
"""
|
|
2110
2123
|
|
|
2111
2124
|
...
|
|
@@ -2153,15 +2166,15 @@ def polybuild_face_at_cursor(
|
|
|
2153
2166
|
execution_context: int | str | None = None,
|
|
2154
2167
|
undo: bool | None = None,
|
|
2155
2168
|
*,
|
|
2156
|
-
create_quads: bool |
|
|
2157
|
-
mirror: bool |
|
|
2158
|
-
use_proportional_edit: bool |
|
|
2169
|
+
create_quads: bool | None = True,
|
|
2170
|
+
mirror: bool | None = False,
|
|
2171
|
+
use_proportional_edit: bool | None = False,
|
|
2159
2172
|
proportional_edit_falloff: str | None = "SMOOTH",
|
|
2160
|
-
proportional_size:
|
|
2161
|
-
use_proportional_connected: bool |
|
|
2162
|
-
use_proportional_projected: bool |
|
|
2163
|
-
release_confirm: bool |
|
|
2164
|
-
use_accurate: bool |
|
|
2173
|
+
proportional_size: float | None = 1.0,
|
|
2174
|
+
use_proportional_connected: bool | None = False,
|
|
2175
|
+
use_proportional_projected: bool | None = False,
|
|
2176
|
+
release_confirm: bool | None = False,
|
|
2177
|
+
use_accurate: bool | None = False,
|
|
2165
2178
|
):
|
|
2166
2179
|
"""Undocumented, consider contributing.
|
|
2167
2180
|
|
|
@@ -2169,23 +2182,23 @@ def polybuild_face_at_cursor(
|
|
|
2169
2182
|
:type execution_context: int | str | None
|
|
2170
2183
|
:type undo: bool | None
|
|
2171
2184
|
:param create_quads: Create Quads, Automatically split edges in triangles to maintain quad topology
|
|
2172
|
-
:type create_quads: bool |
|
|
2185
|
+
:type create_quads: bool | None
|
|
2173
2186
|
:param mirror: Mirror Editing
|
|
2174
|
-
:type mirror: bool |
|
|
2187
|
+
:type mirror: bool | None
|
|
2175
2188
|
:param use_proportional_edit: Proportional Editing
|
|
2176
|
-
:type use_proportional_edit: bool |
|
|
2189
|
+
:type use_proportional_edit: bool | None
|
|
2177
2190
|
:param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode
|
|
2178
2191
|
:type proportional_edit_falloff: str | None
|
|
2179
2192
|
:param proportional_size: Proportional Size
|
|
2180
|
-
:type proportional_size:
|
|
2193
|
+
:type proportional_size: float | None
|
|
2181
2194
|
:param use_proportional_connected: Connected
|
|
2182
|
-
:type use_proportional_connected: bool |
|
|
2195
|
+
:type use_proportional_connected: bool | None
|
|
2183
2196
|
:param use_proportional_projected: Projected (2D)
|
|
2184
|
-
:type use_proportional_projected: bool |
|
|
2197
|
+
:type use_proportional_projected: bool | None
|
|
2185
2198
|
:param release_confirm: Confirm on Release, Always confirm operation when releasing button
|
|
2186
|
-
:type release_confirm: bool |
|
|
2199
|
+
:type release_confirm: bool | None
|
|
2187
2200
|
:param use_accurate: Accurate, Use accurate transformation
|
|
2188
|
-
:type use_accurate: bool |
|
|
2201
|
+
:type use_accurate: bool | None
|
|
2189
2202
|
"""
|
|
2190
2203
|
|
|
2191
2204
|
...
|
|
@@ -2216,14 +2229,14 @@ def polybuild_split_at_cursor(
|
|
|
2216
2229
|
execution_context: int | str | None = None,
|
|
2217
2230
|
undo: bool | None = None,
|
|
2218
2231
|
*,
|
|
2219
|
-
mirror: bool |
|
|
2220
|
-
use_proportional_edit: bool |
|
|
2232
|
+
mirror: bool | None = False,
|
|
2233
|
+
use_proportional_edit: bool | None = False,
|
|
2221
2234
|
proportional_edit_falloff: str | None = "SMOOTH",
|
|
2222
|
-
proportional_size:
|
|
2223
|
-
use_proportional_connected: bool |
|
|
2224
|
-
use_proportional_projected: bool |
|
|
2225
|
-
release_confirm: bool |
|
|
2226
|
-
use_accurate: bool |
|
|
2235
|
+
proportional_size: float | None = 1.0,
|
|
2236
|
+
use_proportional_connected: bool | None = False,
|
|
2237
|
+
use_proportional_projected: bool | None = False,
|
|
2238
|
+
release_confirm: bool | None = False,
|
|
2239
|
+
use_accurate: bool | None = False,
|
|
2227
2240
|
):
|
|
2228
2241
|
"""Undocumented, consider contributing.
|
|
2229
2242
|
|
|
@@ -2231,21 +2244,21 @@ def polybuild_split_at_cursor(
|
|
|
2231
2244
|
:type execution_context: int | str | None
|
|
2232
2245
|
:type undo: bool | None
|
|
2233
2246
|
:param mirror: Mirror Editing
|
|
2234
|
-
:type mirror: bool |
|
|
2247
|
+
:type mirror: bool | None
|
|
2235
2248
|
:param use_proportional_edit: Proportional Editing
|
|
2236
|
-
:type use_proportional_edit: bool |
|
|
2249
|
+
:type use_proportional_edit: bool | None
|
|
2237
2250
|
:param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode
|
|
2238
2251
|
:type proportional_edit_falloff: str | None
|
|
2239
2252
|
:param proportional_size: Proportional Size
|
|
2240
|
-
:type proportional_size:
|
|
2253
|
+
:type proportional_size: float | None
|
|
2241
2254
|
:param use_proportional_connected: Connected
|
|
2242
|
-
:type use_proportional_connected: bool |
|
|
2255
|
+
:type use_proportional_connected: bool | None
|
|
2243
2256
|
:param use_proportional_projected: Projected (2D)
|
|
2244
|
-
:type use_proportional_projected: bool |
|
|
2257
|
+
:type use_proportional_projected: bool | None
|
|
2245
2258
|
:param release_confirm: Confirm on Release, Always confirm operation when releasing button
|
|
2246
|
-
:type release_confirm: bool |
|
|
2259
|
+
:type release_confirm: bool | None
|
|
2247
2260
|
:param use_accurate: Accurate, Use accurate transformation
|
|
2248
|
-
:type use_accurate: bool |
|
|
2261
|
+
:type use_accurate: bool | None
|
|
2249
2262
|
"""
|
|
2250
2263
|
|
|
2251
2264
|
...
|
|
@@ -2276,14 +2289,14 @@ def polybuild_transform_at_cursor(
|
|
|
2276
2289
|
execution_context: int | str | None = None,
|
|
2277
2290
|
undo: bool | None = None,
|
|
2278
2291
|
*,
|
|
2279
|
-
mirror: bool |
|
|
2280
|
-
use_proportional_edit: bool |
|
|
2292
|
+
mirror: bool | None = False,
|
|
2293
|
+
use_proportional_edit: bool | None = False,
|
|
2281
2294
|
proportional_edit_falloff: str | None = "SMOOTH",
|
|
2282
|
-
proportional_size:
|
|
2283
|
-
use_proportional_connected: bool |
|
|
2284
|
-
use_proportional_projected: bool |
|
|
2285
|
-
release_confirm: bool |
|
|
2286
|
-
use_accurate: bool |
|
|
2295
|
+
proportional_size: float | None = 1.0,
|
|
2296
|
+
use_proportional_connected: bool | None = False,
|
|
2297
|
+
use_proportional_projected: bool | None = False,
|
|
2298
|
+
release_confirm: bool | None = False,
|
|
2299
|
+
use_accurate: bool | None = False,
|
|
2287
2300
|
):
|
|
2288
2301
|
"""Undocumented, consider contributing.
|
|
2289
2302
|
|
|
@@ -2291,21 +2304,21 @@ def polybuild_transform_at_cursor(
|
|
|
2291
2304
|
:type execution_context: int | str | None
|
|
2292
2305
|
:type undo: bool | None
|
|
2293
2306
|
:param mirror: Mirror Editing
|
|
2294
|
-
:type mirror: bool |
|
|
2307
|
+
:type mirror: bool | None
|
|
2295
2308
|
:param use_proportional_edit: Proportional Editing
|
|
2296
|
-
:type use_proportional_edit: bool |
|
|
2309
|
+
:type use_proportional_edit: bool | None
|
|
2297
2310
|
:param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode
|
|
2298
2311
|
:type proportional_edit_falloff: str | None
|
|
2299
2312
|
:param proportional_size: Proportional Size
|
|
2300
|
-
:type proportional_size:
|
|
2313
|
+
:type proportional_size: float | None
|
|
2301
2314
|
:param use_proportional_connected: Connected
|
|
2302
|
-
:type use_proportional_connected: bool |
|
|
2315
|
+
:type use_proportional_connected: bool | None
|
|
2303
2316
|
:param use_proportional_projected: Projected (2D)
|
|
2304
|
-
:type use_proportional_projected: bool |
|
|
2317
|
+
:type use_proportional_projected: bool | None
|
|
2305
2318
|
:param release_confirm: Confirm on Release, Always confirm operation when releasing button
|
|
2306
|
-
:type release_confirm: bool |
|
|
2319
|
+
:type release_confirm: bool | None
|
|
2307
2320
|
:param use_accurate: Accurate, Use accurate transformation
|
|
2308
|
-
:type use_accurate: bool |
|
|
2321
|
+
:type use_accurate: bool | None
|
|
2309
2322
|
"""
|
|
2310
2323
|
|
|
2311
2324
|
...
|
|
@@ -2336,15 +2349,23 @@ def primitive_circle_add(
|
|
|
2336
2349
|
execution_context: int | str | None = None,
|
|
2337
2350
|
undo: bool | None = None,
|
|
2338
2351
|
*,
|
|
2339
|
-
vertices:
|
|
2340
|
-
radius:
|
|
2352
|
+
vertices: int | None = 32,
|
|
2353
|
+
radius: float | None = 1.0,
|
|
2341
2354
|
fill_type: str | None = "NOTHING",
|
|
2342
|
-
calc_uvs: bool |
|
|
2343
|
-
enter_editmode: bool |
|
|
2355
|
+
calc_uvs: bool | None = True,
|
|
2356
|
+
enter_editmode: bool | None = False,
|
|
2344
2357
|
align: str | None = "WORLD",
|
|
2345
|
-
location:
|
|
2346
|
-
|
|
2347
|
-
|
|
2358
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
2359
|
+
0.0,
|
|
2360
|
+
0.0,
|
|
2361
|
+
0.0,
|
|
2362
|
+
),
|
|
2363
|
+
rotation: collections.abc.Sequence[float] | mathutils.Euler | None = (
|
|
2364
|
+
0.0,
|
|
2365
|
+
0.0,
|
|
2366
|
+
0.0,
|
|
2367
|
+
),
|
|
2368
|
+
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
2348
2369
|
):
|
|
2349
2370
|
"""Construct a circle mesh
|
|
2350
2371
|
|
|
@@ -2352,9 +2373,9 @@ def primitive_circle_add(
|
|
|
2352
2373
|
:type execution_context: int | str | None
|
|
2353
2374
|
:type undo: bool | None
|
|
2354
2375
|
:param vertices: Vertices
|
|
2355
|
-
:type vertices:
|
|
2376
|
+
:type vertices: int | None
|
|
2356
2377
|
:param radius: Radius
|
|
2357
|
-
:type radius:
|
|
2378
|
+
:type radius: float | None
|
|
2358
2379
|
:param fill_type: Fill Type
|
|
2359
2380
|
|
|
2360
2381
|
NOTHING
|
|
@@ -2367,9 +2388,9 @@ def primitive_circle_add(
|
|
|
2367
2388
|
Triangle Fan -- Use triangle fans.
|
|
2368
2389
|
:type fill_type: str | None
|
|
2369
2390
|
:param calc_uvs: Generate UVs, Generate a default UV map
|
|
2370
|
-
:type calc_uvs: bool |
|
|
2391
|
+
:type calc_uvs: bool | None
|
|
2371
2392
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
2372
|
-
:type enter_editmode: bool |
|
|
2393
|
+
:type enter_editmode: bool | None
|
|
2373
2394
|
:param align: Align, The alignment of the new object
|
|
2374
2395
|
|
|
2375
2396
|
WORLD
|
|
@@ -2382,11 +2403,11 @@ def primitive_circle_add(
|
|
|
2382
2403
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
2383
2404
|
:type align: str | None
|
|
2384
2405
|
:param location: Location, Location for the newly added object
|
|
2385
|
-
:type location:
|
|
2406
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
2386
2407
|
:param rotation: Rotation, Rotation for the newly added object
|
|
2387
|
-
:type rotation:
|
|
2408
|
+
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
2388
2409
|
:param scale: Scale, Scale for the newly added object
|
|
2389
|
-
:type scale:
|
|
2410
|
+
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
2390
2411
|
"""
|
|
2391
2412
|
|
|
2392
2413
|
...
|
|
@@ -2396,17 +2417,25 @@ def primitive_cone_add(
|
|
|
2396
2417
|
execution_context: int | str | None = None,
|
|
2397
2418
|
undo: bool | None = None,
|
|
2398
2419
|
*,
|
|
2399
|
-
vertices:
|
|
2400
|
-
radius1:
|
|
2401
|
-
radius2:
|
|
2402
|
-
depth:
|
|
2420
|
+
vertices: int | None = 32,
|
|
2421
|
+
radius1: float | None = 1.0,
|
|
2422
|
+
radius2: float | None = 0.0,
|
|
2423
|
+
depth: float | None = 2.0,
|
|
2403
2424
|
end_fill_type: str | None = "NGON",
|
|
2404
|
-
calc_uvs: bool |
|
|
2405
|
-
enter_editmode: bool |
|
|
2425
|
+
calc_uvs: bool | None = True,
|
|
2426
|
+
enter_editmode: bool | None = False,
|
|
2406
2427
|
align: str | None = "WORLD",
|
|
2407
|
-
location:
|
|
2408
|
-
|
|
2409
|
-
|
|
2428
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
2429
|
+
0.0,
|
|
2430
|
+
0.0,
|
|
2431
|
+
0.0,
|
|
2432
|
+
),
|
|
2433
|
+
rotation: collections.abc.Sequence[float] | mathutils.Euler | None = (
|
|
2434
|
+
0.0,
|
|
2435
|
+
0.0,
|
|
2436
|
+
0.0,
|
|
2437
|
+
),
|
|
2438
|
+
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
2410
2439
|
):
|
|
2411
2440
|
"""Construct a conic mesh
|
|
2412
2441
|
|
|
@@ -2414,13 +2443,13 @@ def primitive_cone_add(
|
|
|
2414
2443
|
:type execution_context: int | str | None
|
|
2415
2444
|
:type undo: bool | None
|
|
2416
2445
|
:param vertices: Vertices
|
|
2417
|
-
:type vertices:
|
|
2446
|
+
:type vertices: int | None
|
|
2418
2447
|
:param radius1: Radius 1
|
|
2419
|
-
:type radius1:
|
|
2448
|
+
:type radius1: float | None
|
|
2420
2449
|
:param radius2: Radius 2
|
|
2421
|
-
:type radius2:
|
|
2450
|
+
:type radius2: float | None
|
|
2422
2451
|
:param depth: Depth
|
|
2423
|
-
:type depth:
|
|
2452
|
+
:type depth: float | None
|
|
2424
2453
|
:param end_fill_type: Base Fill Type
|
|
2425
2454
|
|
|
2426
2455
|
NOTHING
|
|
@@ -2433,9 +2462,9 @@ def primitive_cone_add(
|
|
|
2433
2462
|
Triangle Fan -- Use triangle fans.
|
|
2434
2463
|
:type end_fill_type: str | None
|
|
2435
2464
|
:param calc_uvs: Generate UVs, Generate a default UV map
|
|
2436
|
-
:type calc_uvs: bool |
|
|
2465
|
+
:type calc_uvs: bool | None
|
|
2437
2466
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
2438
|
-
:type enter_editmode: bool |
|
|
2467
|
+
:type enter_editmode: bool | None
|
|
2439
2468
|
:param align: Align, The alignment of the new object
|
|
2440
2469
|
|
|
2441
2470
|
WORLD
|
|
@@ -2448,11 +2477,11 @@ def primitive_cone_add(
|
|
|
2448
2477
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
2449
2478
|
:type align: str | None
|
|
2450
2479
|
:param location: Location, Location for the newly added object
|
|
2451
|
-
:type location:
|
|
2480
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
2452
2481
|
:param rotation: Rotation, Rotation for the newly added object
|
|
2453
|
-
:type rotation:
|
|
2482
|
+
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
2454
2483
|
:param scale: Scale, Scale for the newly added object
|
|
2455
|
-
:type scale:
|
|
2484
|
+
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
2456
2485
|
"""
|
|
2457
2486
|
|
|
2458
2487
|
...
|
|
@@ -2462,13 +2491,21 @@ def primitive_cube_add(
|
|
|
2462
2491
|
execution_context: int | str | None = None,
|
|
2463
2492
|
undo: bool | None = None,
|
|
2464
2493
|
*,
|
|
2465
|
-
size:
|
|
2466
|
-
calc_uvs: bool |
|
|
2467
|
-
enter_editmode: bool |
|
|
2494
|
+
size: float | None = 2.0,
|
|
2495
|
+
calc_uvs: bool | None = True,
|
|
2496
|
+
enter_editmode: bool | None = False,
|
|
2468
2497
|
align: str | None = "WORLD",
|
|
2469
|
-
location:
|
|
2470
|
-
|
|
2471
|
-
|
|
2498
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
2499
|
+
0.0,
|
|
2500
|
+
0.0,
|
|
2501
|
+
0.0,
|
|
2502
|
+
),
|
|
2503
|
+
rotation: collections.abc.Sequence[float] | mathutils.Euler | None = (
|
|
2504
|
+
0.0,
|
|
2505
|
+
0.0,
|
|
2506
|
+
0.0,
|
|
2507
|
+
),
|
|
2508
|
+
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
2472
2509
|
):
|
|
2473
2510
|
"""Construct a cube mesh that consists of six square faces
|
|
2474
2511
|
|
|
@@ -2476,11 +2513,11 @@ def primitive_cube_add(
|
|
|
2476
2513
|
:type execution_context: int | str | None
|
|
2477
2514
|
:type undo: bool | None
|
|
2478
2515
|
:param size: Size
|
|
2479
|
-
:type size:
|
|
2516
|
+
:type size: float | None
|
|
2480
2517
|
:param calc_uvs: Generate UVs, Generate a default UV map
|
|
2481
|
-
:type calc_uvs: bool |
|
|
2518
|
+
:type calc_uvs: bool | None
|
|
2482
2519
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
2483
|
-
:type enter_editmode: bool |
|
|
2520
|
+
:type enter_editmode: bool | None
|
|
2484
2521
|
:param align: Align, The alignment of the new object
|
|
2485
2522
|
|
|
2486
2523
|
WORLD
|
|
@@ -2493,11 +2530,11 @@ def primitive_cube_add(
|
|
|
2493
2530
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
2494
2531
|
:type align: str | None
|
|
2495
2532
|
:param location: Location, Location for the newly added object
|
|
2496
|
-
:type location:
|
|
2533
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
2497
2534
|
:param rotation: Rotation, Rotation for the newly added object
|
|
2498
|
-
:type rotation:
|
|
2535
|
+
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
2499
2536
|
:param scale: Scale, Scale for the newly added object
|
|
2500
|
-
:type scale:
|
|
2537
|
+
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
2501
2538
|
"""
|
|
2502
2539
|
|
|
2503
2540
|
...
|
|
@@ -2507,13 +2544,23 @@ def primitive_cube_add_gizmo(
|
|
|
2507
2544
|
execution_context: int | str | None = None,
|
|
2508
2545
|
undo: bool | None = None,
|
|
2509
2546
|
*,
|
|
2510
|
-
calc_uvs: bool |
|
|
2511
|
-
enter_editmode: bool |
|
|
2547
|
+
calc_uvs: bool | None = True,
|
|
2548
|
+
enter_editmode: bool | None = False,
|
|
2512
2549
|
align: str | None = "WORLD",
|
|
2513
|
-
location:
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2550
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
2551
|
+
0.0,
|
|
2552
|
+
0.0,
|
|
2553
|
+
0.0,
|
|
2554
|
+
),
|
|
2555
|
+
rotation: collections.abc.Sequence[float] | mathutils.Euler | None = (
|
|
2556
|
+
0.0,
|
|
2557
|
+
0.0,
|
|
2558
|
+
0.0,
|
|
2559
|
+
),
|
|
2560
|
+
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
2561
|
+
matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
|
|
2562
|
+
| mathutils.Matrix
|
|
2563
|
+
| None = (
|
|
2517
2564
|
(0.0, 0.0, 0.0, 0.0),
|
|
2518
2565
|
(0.0, 0.0, 0.0, 0.0),
|
|
2519
2566
|
(0.0, 0.0, 0.0, 0.0),
|
|
@@ -2526,9 +2573,9 @@ def primitive_cube_add_gizmo(
|
|
|
2526
2573
|
:type execution_context: int | str | None
|
|
2527
2574
|
:type undo: bool | None
|
|
2528
2575
|
:param calc_uvs: Generate UVs, Generate a default UV map
|
|
2529
|
-
:type calc_uvs: bool |
|
|
2576
|
+
:type calc_uvs: bool | None
|
|
2530
2577
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
2531
|
-
:type enter_editmode: bool |
|
|
2578
|
+
:type enter_editmode: bool | None
|
|
2532
2579
|
:param align: Align, The alignment of the new object
|
|
2533
2580
|
|
|
2534
2581
|
WORLD
|
|
@@ -2541,13 +2588,13 @@ def primitive_cube_add_gizmo(
|
|
|
2541
2588
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
2542
2589
|
:type align: str | None
|
|
2543
2590
|
:param location: Location, Location for the newly added object
|
|
2544
|
-
:type location:
|
|
2591
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
2545
2592
|
:param rotation: Rotation, Rotation for the newly added object
|
|
2546
|
-
:type rotation:
|
|
2593
|
+
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
2547
2594
|
:param scale: Scale, Scale for the newly added object
|
|
2548
|
-
:type scale:
|
|
2595
|
+
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
2549
2596
|
:param matrix: Matrix
|
|
2550
|
-
:type matrix:
|
|
2597
|
+
:type matrix: collections.abc.Sequence[collections.abc.Sequence[float]] | mathutils.Matrix | None
|
|
2551
2598
|
"""
|
|
2552
2599
|
|
|
2553
2600
|
...
|
|
@@ -2557,16 +2604,24 @@ def primitive_cylinder_add(
|
|
|
2557
2604
|
execution_context: int | str | None = None,
|
|
2558
2605
|
undo: bool | None = None,
|
|
2559
2606
|
*,
|
|
2560
|
-
vertices:
|
|
2561
|
-
radius:
|
|
2562
|
-
depth:
|
|
2607
|
+
vertices: int | None = 32,
|
|
2608
|
+
radius: float | None = 1.0,
|
|
2609
|
+
depth: float | None = 2.0,
|
|
2563
2610
|
end_fill_type: str | None = "NGON",
|
|
2564
|
-
calc_uvs: bool |
|
|
2565
|
-
enter_editmode: bool |
|
|
2611
|
+
calc_uvs: bool | None = True,
|
|
2612
|
+
enter_editmode: bool | None = False,
|
|
2566
2613
|
align: str | None = "WORLD",
|
|
2567
|
-
location:
|
|
2568
|
-
|
|
2569
|
-
|
|
2614
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
2615
|
+
0.0,
|
|
2616
|
+
0.0,
|
|
2617
|
+
0.0,
|
|
2618
|
+
),
|
|
2619
|
+
rotation: collections.abc.Sequence[float] | mathutils.Euler | None = (
|
|
2620
|
+
0.0,
|
|
2621
|
+
0.0,
|
|
2622
|
+
0.0,
|
|
2623
|
+
),
|
|
2624
|
+
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
2570
2625
|
):
|
|
2571
2626
|
"""Construct a cylinder mesh
|
|
2572
2627
|
|
|
@@ -2574,11 +2629,11 @@ def primitive_cylinder_add(
|
|
|
2574
2629
|
:type execution_context: int | str | None
|
|
2575
2630
|
:type undo: bool | None
|
|
2576
2631
|
:param vertices: Vertices
|
|
2577
|
-
:type vertices:
|
|
2632
|
+
:type vertices: int | None
|
|
2578
2633
|
:param radius: Radius
|
|
2579
|
-
:type radius:
|
|
2634
|
+
:type radius: float | None
|
|
2580
2635
|
:param depth: Depth
|
|
2581
|
-
:type depth:
|
|
2636
|
+
:type depth: float | None
|
|
2582
2637
|
:param end_fill_type: Cap Fill Type
|
|
2583
2638
|
|
|
2584
2639
|
NOTHING
|
|
@@ -2591,9 +2646,9 @@ def primitive_cylinder_add(
|
|
|
2591
2646
|
Triangle Fan -- Use triangle fans.
|
|
2592
2647
|
:type end_fill_type: str | None
|
|
2593
2648
|
:param calc_uvs: Generate UVs, Generate a default UV map
|
|
2594
|
-
:type calc_uvs: bool |
|
|
2649
|
+
:type calc_uvs: bool | None
|
|
2595
2650
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
2596
|
-
:type enter_editmode: bool |
|
|
2651
|
+
:type enter_editmode: bool | None
|
|
2597
2652
|
:param align: Align, The alignment of the new object
|
|
2598
2653
|
|
|
2599
2654
|
WORLD
|
|
@@ -2606,11 +2661,11 @@ def primitive_cylinder_add(
|
|
|
2606
2661
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
2607
2662
|
:type align: str | None
|
|
2608
2663
|
:param location: Location, Location for the newly added object
|
|
2609
|
-
:type location:
|
|
2664
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
2610
2665
|
:param rotation: Rotation, Rotation for the newly added object
|
|
2611
|
-
:type rotation:
|
|
2666
|
+
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
2612
2667
|
:param scale: Scale, Scale for the newly added object
|
|
2613
|
-
:type scale:
|
|
2668
|
+
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
2614
2669
|
"""
|
|
2615
2670
|
|
|
2616
2671
|
...
|
|
@@ -2620,15 +2675,23 @@ def primitive_grid_add(
|
|
|
2620
2675
|
execution_context: int | str | None = None,
|
|
2621
2676
|
undo: bool | None = None,
|
|
2622
2677
|
*,
|
|
2623
|
-
x_subdivisions:
|
|
2624
|
-
y_subdivisions:
|
|
2625
|
-
size:
|
|
2626
|
-
calc_uvs: bool |
|
|
2627
|
-
enter_editmode: bool |
|
|
2678
|
+
x_subdivisions: int | None = 10,
|
|
2679
|
+
y_subdivisions: int | None = 10,
|
|
2680
|
+
size: float | None = 2.0,
|
|
2681
|
+
calc_uvs: bool | None = True,
|
|
2682
|
+
enter_editmode: bool | None = False,
|
|
2628
2683
|
align: str | None = "WORLD",
|
|
2629
|
-
location:
|
|
2630
|
-
|
|
2631
|
-
|
|
2684
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
2685
|
+
0.0,
|
|
2686
|
+
0.0,
|
|
2687
|
+
0.0,
|
|
2688
|
+
),
|
|
2689
|
+
rotation: collections.abc.Sequence[float] | mathutils.Euler | None = (
|
|
2690
|
+
0.0,
|
|
2691
|
+
0.0,
|
|
2692
|
+
0.0,
|
|
2693
|
+
),
|
|
2694
|
+
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
2632
2695
|
):
|
|
2633
2696
|
"""Construct a subdivided plane mesh
|
|
2634
2697
|
|
|
@@ -2636,15 +2699,15 @@ def primitive_grid_add(
|
|
|
2636
2699
|
:type execution_context: int | str | None
|
|
2637
2700
|
:type undo: bool | None
|
|
2638
2701
|
:param x_subdivisions: X Subdivisions
|
|
2639
|
-
:type x_subdivisions:
|
|
2702
|
+
:type x_subdivisions: int | None
|
|
2640
2703
|
:param y_subdivisions: Y Subdivisions
|
|
2641
|
-
:type y_subdivisions:
|
|
2704
|
+
:type y_subdivisions: int | None
|
|
2642
2705
|
:param size: Size
|
|
2643
|
-
:type size:
|
|
2706
|
+
:type size: float | None
|
|
2644
2707
|
:param calc_uvs: Generate UVs, Generate a default UV map
|
|
2645
|
-
:type calc_uvs: bool |
|
|
2708
|
+
:type calc_uvs: bool | None
|
|
2646
2709
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
2647
|
-
:type enter_editmode: bool |
|
|
2710
|
+
:type enter_editmode: bool | None
|
|
2648
2711
|
:param align: Align, The alignment of the new object
|
|
2649
2712
|
|
|
2650
2713
|
WORLD
|
|
@@ -2657,11 +2720,11 @@ def primitive_grid_add(
|
|
|
2657
2720
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
2658
2721
|
:type align: str | None
|
|
2659
2722
|
:param location: Location, Location for the newly added object
|
|
2660
|
-
:type location:
|
|
2723
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
2661
2724
|
:param rotation: Rotation, Rotation for the newly added object
|
|
2662
|
-
:type rotation:
|
|
2725
|
+
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
2663
2726
|
:param scale: Scale, Scale for the newly added object
|
|
2664
|
-
:type scale:
|
|
2727
|
+
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
2665
2728
|
"""
|
|
2666
2729
|
|
|
2667
2730
|
...
|
|
@@ -2671,14 +2734,22 @@ def primitive_ico_sphere_add(
|
|
|
2671
2734
|
execution_context: int | str | None = None,
|
|
2672
2735
|
undo: bool | None = None,
|
|
2673
2736
|
*,
|
|
2674
|
-
subdivisions:
|
|
2675
|
-
radius:
|
|
2676
|
-
calc_uvs: bool |
|
|
2677
|
-
enter_editmode: bool |
|
|
2737
|
+
subdivisions: int | None = 2,
|
|
2738
|
+
radius: float | None = 1.0,
|
|
2739
|
+
calc_uvs: bool | None = True,
|
|
2740
|
+
enter_editmode: bool | None = False,
|
|
2678
2741
|
align: str | None = "WORLD",
|
|
2679
|
-
location:
|
|
2680
|
-
|
|
2681
|
-
|
|
2742
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
2743
|
+
0.0,
|
|
2744
|
+
0.0,
|
|
2745
|
+
0.0,
|
|
2746
|
+
),
|
|
2747
|
+
rotation: collections.abc.Sequence[float] | mathutils.Euler | None = (
|
|
2748
|
+
0.0,
|
|
2749
|
+
0.0,
|
|
2750
|
+
0.0,
|
|
2751
|
+
),
|
|
2752
|
+
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
2682
2753
|
):
|
|
2683
2754
|
"""Construct a spherical mesh that consists of equally sized triangles
|
|
2684
2755
|
|
|
@@ -2686,13 +2757,13 @@ def primitive_ico_sphere_add(
|
|
|
2686
2757
|
:type execution_context: int | str | None
|
|
2687
2758
|
:type undo: bool | None
|
|
2688
2759
|
:param subdivisions: Subdivisions
|
|
2689
|
-
:type subdivisions:
|
|
2760
|
+
:type subdivisions: int | None
|
|
2690
2761
|
:param radius: Radius
|
|
2691
|
-
:type radius:
|
|
2762
|
+
:type radius: float | None
|
|
2692
2763
|
:param calc_uvs: Generate UVs, Generate a default UV map
|
|
2693
|
-
:type calc_uvs: bool |
|
|
2764
|
+
:type calc_uvs: bool | None
|
|
2694
2765
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
2695
|
-
:type enter_editmode: bool |
|
|
2766
|
+
:type enter_editmode: bool | None
|
|
2696
2767
|
:param align: Align, The alignment of the new object
|
|
2697
2768
|
|
|
2698
2769
|
WORLD
|
|
@@ -2705,11 +2776,11 @@ def primitive_ico_sphere_add(
|
|
|
2705
2776
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
2706
2777
|
:type align: str | None
|
|
2707
2778
|
:param location: Location, Location for the newly added object
|
|
2708
|
-
:type location:
|
|
2779
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
2709
2780
|
:param rotation: Rotation, Rotation for the newly added object
|
|
2710
|
-
:type rotation:
|
|
2781
|
+
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
2711
2782
|
:param scale: Scale, Scale for the newly added object
|
|
2712
|
-
:type scale:
|
|
2783
|
+
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
2713
2784
|
"""
|
|
2714
2785
|
|
|
2715
2786
|
...
|
|
@@ -2719,13 +2790,21 @@ def primitive_monkey_add(
|
|
|
2719
2790
|
execution_context: int | str | None = None,
|
|
2720
2791
|
undo: bool | None = None,
|
|
2721
2792
|
*,
|
|
2722
|
-
size:
|
|
2723
|
-
calc_uvs: bool |
|
|
2724
|
-
enter_editmode: bool |
|
|
2793
|
+
size: float | None = 2.0,
|
|
2794
|
+
calc_uvs: bool | None = True,
|
|
2795
|
+
enter_editmode: bool | None = False,
|
|
2725
2796
|
align: str | None = "WORLD",
|
|
2726
|
-
location:
|
|
2727
|
-
|
|
2728
|
-
|
|
2797
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
2798
|
+
0.0,
|
|
2799
|
+
0.0,
|
|
2800
|
+
0.0,
|
|
2801
|
+
),
|
|
2802
|
+
rotation: collections.abc.Sequence[float] | mathutils.Euler | None = (
|
|
2803
|
+
0.0,
|
|
2804
|
+
0.0,
|
|
2805
|
+
0.0,
|
|
2806
|
+
),
|
|
2807
|
+
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
2729
2808
|
):
|
|
2730
2809
|
"""Construct a Suzanne mesh
|
|
2731
2810
|
|
|
@@ -2733,11 +2812,11 @@ def primitive_monkey_add(
|
|
|
2733
2812
|
:type execution_context: int | str | None
|
|
2734
2813
|
:type undo: bool | None
|
|
2735
2814
|
:param size: Size
|
|
2736
|
-
:type size:
|
|
2815
|
+
:type size: float | None
|
|
2737
2816
|
:param calc_uvs: Generate UVs, Generate a default UV map
|
|
2738
|
-
:type calc_uvs: bool |
|
|
2817
|
+
:type calc_uvs: bool | None
|
|
2739
2818
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
2740
|
-
:type enter_editmode: bool |
|
|
2819
|
+
:type enter_editmode: bool | None
|
|
2741
2820
|
:param align: Align, The alignment of the new object
|
|
2742
2821
|
|
|
2743
2822
|
WORLD
|
|
@@ -2750,11 +2829,11 @@ def primitive_monkey_add(
|
|
|
2750
2829
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
2751
2830
|
:type align: str | None
|
|
2752
2831
|
:param location: Location, Location for the newly added object
|
|
2753
|
-
:type location:
|
|
2832
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
2754
2833
|
:param rotation: Rotation, Rotation for the newly added object
|
|
2755
|
-
:type rotation:
|
|
2834
|
+
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
2756
2835
|
:param scale: Scale, Scale for the newly added object
|
|
2757
|
-
:type scale:
|
|
2836
|
+
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
2758
2837
|
"""
|
|
2759
2838
|
|
|
2760
2839
|
...
|
|
@@ -2764,13 +2843,21 @@ def primitive_plane_add(
|
|
|
2764
2843
|
execution_context: int | str | None = None,
|
|
2765
2844
|
undo: bool | None = None,
|
|
2766
2845
|
*,
|
|
2767
|
-
size:
|
|
2768
|
-
calc_uvs: bool |
|
|
2769
|
-
enter_editmode: bool |
|
|
2846
|
+
size: float | None = 2.0,
|
|
2847
|
+
calc_uvs: bool | None = True,
|
|
2848
|
+
enter_editmode: bool | None = False,
|
|
2770
2849
|
align: str | None = "WORLD",
|
|
2771
|
-
location:
|
|
2772
|
-
|
|
2773
|
-
|
|
2850
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
2851
|
+
0.0,
|
|
2852
|
+
0.0,
|
|
2853
|
+
0.0,
|
|
2854
|
+
),
|
|
2855
|
+
rotation: collections.abc.Sequence[float] | mathutils.Euler | None = (
|
|
2856
|
+
0.0,
|
|
2857
|
+
0.0,
|
|
2858
|
+
0.0,
|
|
2859
|
+
),
|
|
2860
|
+
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
2774
2861
|
):
|
|
2775
2862
|
"""Construct a filled planar mesh with 4 vertices
|
|
2776
2863
|
|
|
@@ -2778,11 +2865,11 @@ def primitive_plane_add(
|
|
|
2778
2865
|
:type execution_context: int | str | None
|
|
2779
2866
|
:type undo: bool | None
|
|
2780
2867
|
:param size: Size
|
|
2781
|
-
:type size:
|
|
2868
|
+
:type size: float | None
|
|
2782
2869
|
:param calc_uvs: Generate UVs, Generate a default UV map
|
|
2783
|
-
:type calc_uvs: bool |
|
|
2870
|
+
:type calc_uvs: bool | None
|
|
2784
2871
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
2785
|
-
:type enter_editmode: bool |
|
|
2872
|
+
:type enter_editmode: bool | None
|
|
2786
2873
|
:param align: Align, The alignment of the new object
|
|
2787
2874
|
|
|
2788
2875
|
WORLD
|
|
@@ -2795,11 +2882,11 @@ def primitive_plane_add(
|
|
|
2795
2882
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
2796
2883
|
:type align: str | None
|
|
2797
2884
|
:param location: Location, Location for the newly added object
|
|
2798
|
-
:type location:
|
|
2885
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
2799
2886
|
:param rotation: Rotation, Rotation for the newly added object
|
|
2800
|
-
:type rotation:
|
|
2887
|
+
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
2801
2888
|
:param scale: Scale, Scale for the newly added object
|
|
2802
|
-
:type scale:
|
|
2889
|
+
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
2803
2890
|
"""
|
|
2804
2891
|
|
|
2805
2892
|
...
|
|
@@ -2810,16 +2897,24 @@ def primitive_torus_add(
|
|
|
2810
2897
|
undo: bool | None = None,
|
|
2811
2898
|
*,
|
|
2812
2899
|
align: str | None = "WORLD",
|
|
2813
|
-
location:
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2900
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
2901
|
+
0.0,
|
|
2902
|
+
0.0,
|
|
2903
|
+
0.0,
|
|
2904
|
+
),
|
|
2905
|
+
rotation: collections.abc.Sequence[float] | mathutils.Euler | None = (
|
|
2906
|
+
0.0,
|
|
2907
|
+
0.0,
|
|
2908
|
+
0.0,
|
|
2909
|
+
),
|
|
2910
|
+
major_segments: int | None = 48,
|
|
2911
|
+
minor_segments: int | None = 12,
|
|
2817
2912
|
mode: str | None = "MAJOR_MINOR",
|
|
2818
|
-
major_radius:
|
|
2819
|
-
minor_radius:
|
|
2820
|
-
abso_major_rad:
|
|
2821
|
-
abso_minor_rad:
|
|
2822
|
-
generate_uvs: bool |
|
|
2913
|
+
major_radius: float | None = 1.0,
|
|
2914
|
+
minor_radius: float | None = 0.25,
|
|
2915
|
+
abso_major_rad: float | None = 1.25,
|
|
2916
|
+
abso_minor_rad: float | None = 0.75,
|
|
2917
|
+
generate_uvs: bool | None = True,
|
|
2823
2918
|
):
|
|
2824
2919
|
"""Construct a torus mesh
|
|
2825
2920
|
|
|
@@ -2838,13 +2933,13 @@ def primitive_torus_add(
|
|
|
2838
2933
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
2839
2934
|
:type align: str | None
|
|
2840
2935
|
:param location: Location
|
|
2841
|
-
:type location:
|
|
2936
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
2842
2937
|
:param rotation: Rotation
|
|
2843
|
-
:type rotation:
|
|
2938
|
+
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
2844
2939
|
:param major_segments: Major Segments, Number of segments for the main ring of the torus
|
|
2845
|
-
:type major_segments:
|
|
2940
|
+
:type major_segments: int | None
|
|
2846
2941
|
:param minor_segments: Minor Segments, Number of segments for the minor ring of the torus
|
|
2847
|
-
:type minor_segments:
|
|
2942
|
+
:type minor_segments: int | None
|
|
2848
2943
|
:param mode: Dimensions Mode
|
|
2849
2944
|
|
|
2850
2945
|
MAJOR_MINOR
|
|
@@ -2854,15 +2949,15 @@ def primitive_torus_add(
|
|
|
2854
2949
|
Exterior/Interior -- Use the exterior/interior radii for torus dimensions.
|
|
2855
2950
|
:type mode: str | None
|
|
2856
2951
|
:param major_radius: Major Radius, Radius from the origin to the center of the cross sections
|
|
2857
|
-
:type major_radius:
|
|
2952
|
+
:type major_radius: float | None
|
|
2858
2953
|
:param minor_radius: Minor Radius, Radius of the torus' cross section
|
|
2859
|
-
:type minor_radius:
|
|
2954
|
+
:type minor_radius: float | None
|
|
2860
2955
|
:param abso_major_rad: Exterior Radius, Total Exterior Radius of the torus
|
|
2861
|
-
:type abso_major_rad:
|
|
2956
|
+
:type abso_major_rad: float | None
|
|
2862
2957
|
:param abso_minor_rad: Interior Radius, Total Interior Radius of the torus
|
|
2863
|
-
:type abso_minor_rad:
|
|
2958
|
+
:type abso_minor_rad: float | None
|
|
2864
2959
|
:param generate_uvs: Generate UVs, Generate a default UV map
|
|
2865
|
-
:type generate_uvs: bool |
|
|
2960
|
+
:type generate_uvs: bool | None
|
|
2866
2961
|
"""
|
|
2867
2962
|
|
|
2868
2963
|
...
|
|
@@ -2872,15 +2967,23 @@ def primitive_uv_sphere_add(
|
|
|
2872
2967
|
execution_context: int | str | None = None,
|
|
2873
2968
|
undo: bool | None = None,
|
|
2874
2969
|
*,
|
|
2875
|
-
segments:
|
|
2876
|
-
ring_count:
|
|
2877
|
-
radius:
|
|
2878
|
-
calc_uvs: bool |
|
|
2879
|
-
enter_editmode: bool |
|
|
2970
|
+
segments: int | None = 32,
|
|
2971
|
+
ring_count: int | None = 16,
|
|
2972
|
+
radius: float | None = 1.0,
|
|
2973
|
+
calc_uvs: bool | None = True,
|
|
2974
|
+
enter_editmode: bool | None = False,
|
|
2880
2975
|
align: str | None = "WORLD",
|
|
2881
|
-
location:
|
|
2882
|
-
|
|
2883
|
-
|
|
2976
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
2977
|
+
0.0,
|
|
2978
|
+
0.0,
|
|
2979
|
+
0.0,
|
|
2980
|
+
),
|
|
2981
|
+
rotation: collections.abc.Sequence[float] | mathutils.Euler | None = (
|
|
2982
|
+
0.0,
|
|
2983
|
+
0.0,
|
|
2984
|
+
0.0,
|
|
2985
|
+
),
|
|
2986
|
+
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
2884
2987
|
):
|
|
2885
2988
|
"""Construct a spherical mesh with quad faces, except for triangle faces at the top and bottom
|
|
2886
2989
|
|
|
@@ -2888,15 +2991,15 @@ def primitive_uv_sphere_add(
|
|
|
2888
2991
|
:type execution_context: int | str | None
|
|
2889
2992
|
:type undo: bool | None
|
|
2890
2993
|
:param segments: Segments
|
|
2891
|
-
:type segments:
|
|
2994
|
+
:type segments: int | None
|
|
2892
2995
|
:param ring_count: Rings
|
|
2893
|
-
:type ring_count:
|
|
2996
|
+
:type ring_count: int | None
|
|
2894
2997
|
:param radius: Radius
|
|
2895
|
-
:type radius:
|
|
2998
|
+
:type radius: float | None
|
|
2896
2999
|
:param calc_uvs: Generate UVs, Generate a default UV map
|
|
2897
|
-
:type calc_uvs: bool |
|
|
3000
|
+
:type calc_uvs: bool | None
|
|
2898
3001
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
2899
|
-
:type enter_editmode: bool |
|
|
3002
|
+
:type enter_editmode: bool | None
|
|
2900
3003
|
:param align: Align, The alignment of the new object
|
|
2901
3004
|
|
|
2902
3005
|
WORLD
|
|
@@ -2909,11 +3012,11 @@ def primitive_uv_sphere_add(
|
|
|
2909
3012
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
2910
3013
|
:type align: str | None
|
|
2911
3014
|
:param location: Location, Location for the newly added object
|
|
2912
|
-
:type location:
|
|
3015
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
2913
3016
|
:param rotation: Rotation, Rotation for the newly added object
|
|
2914
|
-
:type rotation:
|
|
3017
|
+
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
2915
3018
|
:param scale: Scale, Scale for the newly added object
|
|
2916
|
-
:type scale:
|
|
3019
|
+
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
2917
3020
|
"""
|
|
2918
3021
|
|
|
2919
3022
|
...
|
|
@@ -2958,9 +3061,9 @@ def remove_doubles(
|
|
|
2958
3061
|
execution_context: int | str | None = None,
|
|
2959
3062
|
undo: bool | None = None,
|
|
2960
3063
|
*,
|
|
2961
|
-
threshold:
|
|
2962
|
-
use_unselected: bool |
|
|
2963
|
-
use_sharp_edge_from_normals: bool |
|
|
3064
|
+
threshold: float | None = 0.0001,
|
|
3065
|
+
use_unselected: bool | None = False,
|
|
3066
|
+
use_sharp_edge_from_normals: bool | None = False,
|
|
2964
3067
|
):
|
|
2965
3068
|
"""Merge vertices based on their proximity
|
|
2966
3069
|
|
|
@@ -2968,11 +3071,11 @@ def remove_doubles(
|
|
|
2968
3071
|
:type execution_context: int | str | None
|
|
2969
3072
|
:type undo: bool | None
|
|
2970
3073
|
:param threshold: Merge Distance, Maximum distance between elements to merge
|
|
2971
|
-
:type threshold:
|
|
3074
|
+
:type threshold: float | None
|
|
2972
3075
|
:param use_unselected: Unselected, Merge selected to other unselected vertices
|
|
2973
|
-
:type use_unselected: bool |
|
|
3076
|
+
:type use_unselected: bool | None
|
|
2974
3077
|
:param use_sharp_edge_from_normals: Sharp Edges, Calculate sharp edges using custom normal data (when available)
|
|
2975
|
-
:type use_sharp_edge_from_normals: bool |
|
|
3078
|
+
:type use_sharp_edge_from_normals: bool | None
|
|
2976
3079
|
"""
|
|
2977
3080
|
|
|
2978
3081
|
...
|
|
@@ -2982,7 +3085,7 @@ def reveal(
|
|
|
2982
3085
|
execution_context: int | str | None = None,
|
|
2983
3086
|
undo: bool | None = None,
|
|
2984
3087
|
*,
|
|
2985
|
-
select: bool |
|
|
3088
|
+
select: bool | None = True,
|
|
2986
3089
|
):
|
|
2987
3090
|
"""Reveal all hidden vertices, edges and faces
|
|
2988
3091
|
|
|
@@ -2990,7 +3093,7 @@ def reveal(
|
|
|
2990
3093
|
:type execution_context: int | str | None
|
|
2991
3094
|
:type undo: bool | None
|
|
2992
3095
|
:param select: Select
|
|
2993
|
-
:type select: bool |
|
|
3096
|
+
:type select: bool | None
|
|
2994
3097
|
"""
|
|
2995
3098
|
|
|
2996
3099
|
...
|
|
@@ -3000,15 +3103,15 @@ def rip(
|
|
|
3000
3103
|
execution_context: int | str | None = None,
|
|
3001
3104
|
undo: bool | None = None,
|
|
3002
3105
|
*,
|
|
3003
|
-
mirror: bool |
|
|
3004
|
-
use_proportional_edit: bool |
|
|
3106
|
+
mirror: bool | None = False,
|
|
3107
|
+
use_proportional_edit: bool | None = False,
|
|
3005
3108
|
proportional_edit_falloff: str | None = "SMOOTH",
|
|
3006
|
-
proportional_size:
|
|
3007
|
-
use_proportional_connected: bool |
|
|
3008
|
-
use_proportional_projected: bool |
|
|
3009
|
-
release_confirm: bool |
|
|
3010
|
-
use_accurate: bool |
|
|
3011
|
-
use_fill: bool |
|
|
3109
|
+
proportional_size: float | None = 1.0,
|
|
3110
|
+
use_proportional_connected: bool | None = False,
|
|
3111
|
+
use_proportional_projected: bool | None = False,
|
|
3112
|
+
release_confirm: bool | None = False,
|
|
3113
|
+
use_accurate: bool | None = False,
|
|
3114
|
+
use_fill: bool | None = False,
|
|
3012
3115
|
):
|
|
3013
3116
|
"""Disconnect vertex or edges from connected geometry
|
|
3014
3117
|
|
|
@@ -3016,23 +3119,23 @@ def rip(
|
|
|
3016
3119
|
:type execution_context: int | str | None
|
|
3017
3120
|
:type undo: bool | None
|
|
3018
3121
|
:param mirror: Mirror Editing
|
|
3019
|
-
:type mirror: bool |
|
|
3122
|
+
:type mirror: bool | None
|
|
3020
3123
|
:param use_proportional_edit: Proportional Editing
|
|
3021
|
-
:type use_proportional_edit: bool |
|
|
3124
|
+
:type use_proportional_edit: bool | None
|
|
3022
3125
|
:param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode
|
|
3023
3126
|
:type proportional_edit_falloff: str | None
|
|
3024
3127
|
:param proportional_size: Proportional Size
|
|
3025
|
-
:type proportional_size:
|
|
3128
|
+
:type proportional_size: float | None
|
|
3026
3129
|
:param use_proportional_connected: Connected
|
|
3027
|
-
:type use_proportional_connected: bool |
|
|
3130
|
+
:type use_proportional_connected: bool | None
|
|
3028
3131
|
:param use_proportional_projected: Projected (2D)
|
|
3029
|
-
:type use_proportional_projected: bool |
|
|
3132
|
+
:type use_proportional_projected: bool | None
|
|
3030
3133
|
:param release_confirm: Confirm on Release, Always confirm operation when releasing button
|
|
3031
|
-
:type release_confirm: bool |
|
|
3134
|
+
:type release_confirm: bool | None
|
|
3032
3135
|
:param use_accurate: Accurate, Use accurate transformation
|
|
3033
|
-
:type use_accurate: bool |
|
|
3136
|
+
:type use_accurate: bool | None
|
|
3034
3137
|
:param use_fill: Fill, Fill the ripped region
|
|
3035
|
-
:type use_fill: bool |
|
|
3138
|
+
:type use_fill: bool | None
|
|
3036
3139
|
"""
|
|
3037
3140
|
|
|
3038
3141
|
...
|
|
@@ -3042,14 +3145,14 @@ def rip_edge(
|
|
|
3042
3145
|
execution_context: int | str | None = None,
|
|
3043
3146
|
undo: bool | None = None,
|
|
3044
3147
|
*,
|
|
3045
|
-
mirror: bool |
|
|
3046
|
-
use_proportional_edit: bool |
|
|
3148
|
+
mirror: bool | None = False,
|
|
3149
|
+
use_proportional_edit: bool | None = False,
|
|
3047
3150
|
proportional_edit_falloff: str | None = "SMOOTH",
|
|
3048
|
-
proportional_size:
|
|
3049
|
-
use_proportional_connected: bool |
|
|
3050
|
-
use_proportional_projected: bool |
|
|
3051
|
-
release_confirm: bool |
|
|
3052
|
-
use_accurate: bool |
|
|
3151
|
+
proportional_size: float | None = 1.0,
|
|
3152
|
+
use_proportional_connected: bool | None = False,
|
|
3153
|
+
use_proportional_projected: bool | None = False,
|
|
3154
|
+
release_confirm: bool | None = False,
|
|
3155
|
+
use_accurate: bool | None = False,
|
|
3053
3156
|
):
|
|
3054
3157
|
"""Extend vertices along the edge closest to the cursor
|
|
3055
3158
|
|
|
@@ -3057,21 +3160,21 @@ def rip_edge(
|
|
|
3057
3160
|
:type execution_context: int | str | None
|
|
3058
3161
|
:type undo: bool | None
|
|
3059
3162
|
:param mirror: Mirror Editing
|
|
3060
|
-
:type mirror: bool |
|
|
3163
|
+
:type mirror: bool | None
|
|
3061
3164
|
:param use_proportional_edit: Proportional Editing
|
|
3062
|
-
:type use_proportional_edit: bool |
|
|
3165
|
+
:type use_proportional_edit: bool | None
|
|
3063
3166
|
:param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode
|
|
3064
3167
|
:type proportional_edit_falloff: str | None
|
|
3065
3168
|
:param proportional_size: Proportional Size
|
|
3066
|
-
:type proportional_size:
|
|
3169
|
+
:type proportional_size: float | None
|
|
3067
3170
|
:param use_proportional_connected: Connected
|
|
3068
|
-
:type use_proportional_connected: bool |
|
|
3171
|
+
:type use_proportional_connected: bool | None
|
|
3069
3172
|
:param use_proportional_projected: Projected (2D)
|
|
3070
|
-
:type use_proportional_projected: bool |
|
|
3173
|
+
:type use_proportional_projected: bool | None
|
|
3071
3174
|
:param release_confirm: Confirm on Release, Always confirm operation when releasing button
|
|
3072
|
-
:type release_confirm: bool |
|
|
3175
|
+
:type release_confirm: bool | None
|
|
3073
3176
|
:param use_accurate: Accurate, Use accurate transformation
|
|
3074
|
-
:type use_accurate: bool |
|
|
3177
|
+
:type use_accurate: bool | None
|
|
3075
3178
|
"""
|
|
3076
3179
|
|
|
3077
3180
|
...
|
|
@@ -3123,10 +3226,10 @@ def screw(
|
|
|
3123
3226
|
execution_context: int | str | None = None,
|
|
3124
3227
|
undo: bool | None = None,
|
|
3125
3228
|
*,
|
|
3126
|
-
steps:
|
|
3127
|
-
turns:
|
|
3128
|
-
center:
|
|
3129
|
-
axis:
|
|
3229
|
+
steps: int | None = 9,
|
|
3230
|
+
turns: int | None = 1,
|
|
3231
|
+
center: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
3232
|
+
axis: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
3130
3233
|
):
|
|
3131
3234
|
"""Extrude selected vertices in screw-shaped rotation around the cursor in indicated viewport
|
|
3132
3235
|
|
|
@@ -3134,13 +3237,13 @@ def screw(
|
|
|
3134
3237
|
:type execution_context: int | str | None
|
|
3135
3238
|
:type undo: bool | None
|
|
3136
3239
|
:param steps: Steps, Steps
|
|
3137
|
-
:type steps:
|
|
3240
|
+
:type steps: int | None
|
|
3138
3241
|
:param turns: Turns, Turns
|
|
3139
|
-
:type turns:
|
|
3242
|
+
:type turns: int | None
|
|
3140
3243
|
:param center: Center, Center in global view space
|
|
3141
|
-
:type center:
|
|
3244
|
+
:type center: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
3142
3245
|
:param axis: Axis, Axis in global view space
|
|
3143
|
-
:type axis:
|
|
3246
|
+
:type axis: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
3144
3247
|
"""
|
|
3145
3248
|
|
|
3146
3249
|
...
|
|
@@ -3183,7 +3286,7 @@ def select_axis(
|
|
|
3183
3286
|
orientation: str | None = "LOCAL",
|
|
3184
3287
|
sign: str | None = "POS",
|
|
3185
3288
|
axis: str | None = "X",
|
|
3186
|
-
threshold:
|
|
3289
|
+
threshold: float | None = 0.0001,
|
|
3187
3290
|
):
|
|
3188
3291
|
"""Select all data in the mesh on a single axis
|
|
3189
3292
|
|
|
@@ -3197,7 +3300,7 @@ def select_axis(
|
|
|
3197
3300
|
:param axis: Axis, Select the axis to compare each vertex on
|
|
3198
3301
|
:type axis: str | None
|
|
3199
3302
|
:param threshold: Threshold
|
|
3200
|
-
:type threshold:
|
|
3303
|
+
:type threshold: float | None
|
|
3201
3304
|
"""
|
|
3202
3305
|
|
|
3203
3306
|
...
|
|
@@ -3221,9 +3324,9 @@ def select_face_by_sides(
|
|
|
3221
3324
|
execution_context: int | str | None = None,
|
|
3222
3325
|
undo: bool | None = None,
|
|
3223
3326
|
*,
|
|
3224
|
-
number:
|
|
3327
|
+
number: int | None = 4,
|
|
3225
3328
|
type: str | None = "EQUAL",
|
|
3226
|
-
extend: bool |
|
|
3329
|
+
extend: bool | None = True,
|
|
3227
3330
|
):
|
|
3228
3331
|
"""Select vertices or faces by the number of face sides
|
|
3229
3332
|
|
|
@@ -3231,11 +3334,11 @@ def select_face_by_sides(
|
|
|
3231
3334
|
:type execution_context: int | str | None
|
|
3232
3335
|
:type undo: bool | None
|
|
3233
3336
|
:param number: Number of Vertices
|
|
3234
|
-
:type number:
|
|
3337
|
+
:type number: int | None
|
|
3235
3338
|
:param type: Type, Type of comparison to make
|
|
3236
3339
|
:type type: str | None
|
|
3237
3340
|
:param extend: Extend, Extend the selection
|
|
3238
|
-
:type extend: bool |
|
|
3341
|
+
:type extend: bool | None
|
|
3239
3342
|
"""
|
|
3240
3343
|
|
|
3241
3344
|
...
|
|
@@ -3259,7 +3362,7 @@ def select_less(
|
|
|
3259
3362
|
execution_context: int | str | None = None,
|
|
3260
3363
|
undo: bool | None = None,
|
|
3261
3364
|
*,
|
|
3262
|
-
use_face_step: bool |
|
|
3365
|
+
use_face_step: bool | None = True,
|
|
3263
3366
|
):
|
|
3264
3367
|
"""Deselect vertices, edges or faces at the boundary of each selection region
|
|
3265
3368
|
|
|
@@ -3267,7 +3370,7 @@ def select_less(
|
|
|
3267
3370
|
:type execution_context: int | str | None
|
|
3268
3371
|
:type undo: bool | None
|
|
3269
3372
|
:param use_face_step: Face Step, Connected faces (instead of edges)
|
|
3270
|
-
:type use_face_step: bool |
|
|
3373
|
+
:type use_face_step: bool | None
|
|
3271
3374
|
"""
|
|
3272
3375
|
|
|
3273
3376
|
...
|
|
@@ -3277,7 +3380,7 @@ def select_linked(
|
|
|
3277
3380
|
execution_context: int | str | None = None,
|
|
3278
3381
|
undo: bool | None = None,
|
|
3279
3382
|
*,
|
|
3280
|
-
delimit:
|
|
3383
|
+
delimit: set[str] | None = {"SEAM"},
|
|
3281
3384
|
):
|
|
3282
3385
|
"""Select all vertices connected to the current selection
|
|
3283
3386
|
|
|
@@ -3285,7 +3388,7 @@ def select_linked(
|
|
|
3285
3388
|
:type execution_context: int | str | None
|
|
3286
3389
|
:type undo: bool | None
|
|
3287
3390
|
:param delimit: Delimit, Delimit selected region
|
|
3288
|
-
:type delimit:
|
|
3391
|
+
:type delimit: set[str] | None
|
|
3289
3392
|
"""
|
|
3290
3393
|
|
|
3291
3394
|
...
|
|
@@ -3295,10 +3398,10 @@ def select_linked_pick(
|
|
|
3295
3398
|
execution_context: int | str | None = None,
|
|
3296
3399
|
undo: bool | None = None,
|
|
3297
3400
|
*,
|
|
3298
|
-
deselect: bool |
|
|
3299
|
-
delimit:
|
|
3300
|
-
object_index:
|
|
3301
|
-
index:
|
|
3401
|
+
deselect: bool | None = False,
|
|
3402
|
+
delimit: set[str] | None = {"SEAM"},
|
|
3403
|
+
object_index: int | None = -1,
|
|
3404
|
+
index: int | None = -1,
|
|
3302
3405
|
):
|
|
3303
3406
|
"""(De)select all vertices linked to the edge under the mouse cursor
|
|
3304
3407
|
|
|
@@ -3306,11 +3409,11 @@ def select_linked_pick(
|
|
|
3306
3409
|
:type execution_context: int | str | None
|
|
3307
3410
|
:type undo: bool | None
|
|
3308
3411
|
:param deselect: Deselect
|
|
3309
|
-
:type deselect: bool |
|
|
3412
|
+
:type deselect: bool | None
|
|
3310
3413
|
:param delimit: Delimit, Delimit selected region
|
|
3311
|
-
:type delimit:
|
|
3312
|
-
:type object_index:
|
|
3313
|
-
:type index:
|
|
3414
|
+
:type delimit: set[str] | None
|
|
3415
|
+
:type object_index: int | None
|
|
3416
|
+
:type index: int | None
|
|
3314
3417
|
"""
|
|
3315
3418
|
|
|
3316
3419
|
...
|
|
@@ -3320,7 +3423,7 @@ def select_loose(
|
|
|
3320
3423
|
execution_context: int | str | None = None,
|
|
3321
3424
|
undo: bool | None = None,
|
|
3322
3425
|
*,
|
|
3323
|
-
extend: bool |
|
|
3426
|
+
extend: bool | None = False,
|
|
3324
3427
|
):
|
|
3325
3428
|
"""Select loose geometry based on the selection mode
|
|
3326
3429
|
|
|
@@ -3328,7 +3431,7 @@ def select_loose(
|
|
|
3328
3431
|
:type execution_context: int | str | None
|
|
3329
3432
|
:type undo: bool | None
|
|
3330
3433
|
:param extend: Extend, Extend the selection
|
|
3331
|
-
:type extend: bool |
|
|
3434
|
+
:type extend: bool | None
|
|
3332
3435
|
"""
|
|
3333
3436
|
|
|
3334
3437
|
...
|
|
@@ -3338,8 +3441,8 @@ def select_mirror(
|
|
|
3338
3441
|
execution_context: int | str | None = None,
|
|
3339
3442
|
undo: bool | None = None,
|
|
3340
3443
|
*,
|
|
3341
|
-
axis:
|
|
3342
|
-
extend: bool |
|
|
3444
|
+
axis: set[str] | None = {"X"},
|
|
3445
|
+
extend: bool | None = False,
|
|
3343
3446
|
):
|
|
3344
3447
|
"""Select mesh items at mirrored locations
|
|
3345
3448
|
|
|
@@ -3347,9 +3450,9 @@ def select_mirror(
|
|
|
3347
3450
|
:type execution_context: int | str | None
|
|
3348
3451
|
:type undo: bool | None
|
|
3349
3452
|
:param axis: Axis
|
|
3350
|
-
:type axis:
|
|
3453
|
+
:type axis: set[str] | None
|
|
3351
3454
|
:param extend: Extend, Extend the existing selection
|
|
3352
|
-
:type extend: bool |
|
|
3455
|
+
:type extend: bool | None
|
|
3353
3456
|
"""
|
|
3354
3457
|
|
|
3355
3458
|
...
|
|
@@ -3359,8 +3462,8 @@ def select_mode(
|
|
|
3359
3462
|
execution_context: int | str | None = None,
|
|
3360
3463
|
undo: bool | None = None,
|
|
3361
3464
|
*,
|
|
3362
|
-
use_extend: bool |
|
|
3363
|
-
use_expand: bool |
|
|
3465
|
+
use_extend: bool | None = False,
|
|
3466
|
+
use_expand: bool | None = False,
|
|
3364
3467
|
type: str | None = "VERT",
|
|
3365
3468
|
action: str | None = "TOGGLE",
|
|
3366
3469
|
):
|
|
@@ -3370,9 +3473,9 @@ def select_mode(
|
|
|
3370
3473
|
:type execution_context: int | str | None
|
|
3371
3474
|
:type undo: bool | None
|
|
3372
3475
|
:param use_extend: Extend
|
|
3373
|
-
:type use_extend: bool |
|
|
3476
|
+
:type use_extend: bool | None
|
|
3374
3477
|
:param use_expand: Expand
|
|
3375
|
-
:type use_expand: bool |
|
|
3478
|
+
:type use_expand: bool | None
|
|
3376
3479
|
:param type: Type
|
|
3377
3480
|
:type type: str | None
|
|
3378
3481
|
:param action: Action, Selection action to execute
|
|
@@ -3395,7 +3498,7 @@ def select_more(
|
|
|
3395
3498
|
execution_context: int | str | None = None,
|
|
3396
3499
|
undo: bool | None = None,
|
|
3397
3500
|
*,
|
|
3398
|
-
use_face_step: bool |
|
|
3501
|
+
use_face_step: bool | None = True,
|
|
3399
3502
|
):
|
|
3400
3503
|
"""Select more vertices, edges or faces connected to initial selection
|
|
3401
3504
|
|
|
@@ -3403,7 +3506,7 @@ def select_more(
|
|
|
3403
3506
|
:type execution_context: int | str | None
|
|
3404
3507
|
:type undo: bool | None
|
|
3405
3508
|
:param use_face_step: Face Step, Connected faces (instead of edges)
|
|
3406
|
-
:type use_face_step: bool |
|
|
3509
|
+
:type use_face_step: bool | None
|
|
3407
3510
|
"""
|
|
3408
3511
|
|
|
3409
3512
|
...
|
|
@@ -3427,12 +3530,12 @@ def select_non_manifold(
|
|
|
3427
3530
|
execution_context: int | str | None = None,
|
|
3428
3531
|
undo: bool | None = None,
|
|
3429
3532
|
*,
|
|
3430
|
-
extend: bool |
|
|
3431
|
-
use_wire: bool |
|
|
3432
|
-
use_boundary: bool |
|
|
3433
|
-
use_multi_face: bool |
|
|
3434
|
-
use_non_contiguous: bool |
|
|
3435
|
-
use_verts: bool |
|
|
3533
|
+
extend: bool | None = True,
|
|
3534
|
+
use_wire: bool | None = True,
|
|
3535
|
+
use_boundary: bool | None = True,
|
|
3536
|
+
use_multi_face: bool | None = True,
|
|
3537
|
+
use_non_contiguous: bool | None = True,
|
|
3538
|
+
use_verts: bool | None = True,
|
|
3436
3539
|
):
|
|
3437
3540
|
"""Select all non-manifold vertices or edges
|
|
3438
3541
|
|
|
@@ -3440,17 +3543,17 @@ def select_non_manifold(
|
|
|
3440
3543
|
:type execution_context: int | str | None
|
|
3441
3544
|
:type undo: bool | None
|
|
3442
3545
|
:param extend: Extend, Extend the selection
|
|
3443
|
-
:type extend: bool |
|
|
3546
|
+
:type extend: bool | None
|
|
3444
3547
|
:param use_wire: Wire, Wire edges
|
|
3445
|
-
:type use_wire: bool |
|
|
3548
|
+
:type use_wire: bool | None
|
|
3446
3549
|
:param use_boundary: Boundaries, Boundary edges
|
|
3447
|
-
:type use_boundary: bool |
|
|
3550
|
+
:type use_boundary: bool | None
|
|
3448
3551
|
:param use_multi_face: Multiple Faces, Edges shared by more than two faces
|
|
3449
|
-
:type use_multi_face: bool |
|
|
3552
|
+
:type use_multi_face: bool | None
|
|
3450
3553
|
:param use_non_contiguous: Non Contiguous, Edges between faces pointing in alternate directions
|
|
3451
|
-
:type use_non_contiguous: bool |
|
|
3554
|
+
:type use_non_contiguous: bool | None
|
|
3452
3555
|
:param use_verts: Vertices, Vertices connecting multiple face regions
|
|
3453
|
-
:type use_verts: bool |
|
|
3556
|
+
:type use_verts: bool | None
|
|
3454
3557
|
"""
|
|
3455
3558
|
|
|
3456
3559
|
...
|
|
@@ -3460,9 +3563,9 @@ def select_nth(
|
|
|
3460
3563
|
execution_context: int | str | None = None,
|
|
3461
3564
|
undo: bool | None = None,
|
|
3462
3565
|
*,
|
|
3463
|
-
skip:
|
|
3464
|
-
nth:
|
|
3465
|
-
offset:
|
|
3566
|
+
skip: int | None = 1,
|
|
3567
|
+
nth: int | None = 1,
|
|
3568
|
+
offset: int | None = 0,
|
|
3466
3569
|
):
|
|
3467
3570
|
"""Deselect every Nth element starting from the active vertex, edge or face
|
|
3468
3571
|
|
|
@@ -3470,11 +3573,11 @@ def select_nth(
|
|
|
3470
3573
|
:type execution_context: int | str | None
|
|
3471
3574
|
:type undo: bool | None
|
|
3472
3575
|
:param skip: Deselected, Number of deselected elements in the repetitive sequence
|
|
3473
|
-
:type skip:
|
|
3576
|
+
:type skip: int | None
|
|
3474
3577
|
:param nth: Selected, Number of selected elements in the repetitive sequence
|
|
3475
|
-
:type nth:
|
|
3578
|
+
:type nth: int | None
|
|
3476
3579
|
:param offset: Offset, Offset from the starting point
|
|
3477
|
-
:type offset:
|
|
3580
|
+
:type offset: int | None
|
|
3478
3581
|
"""
|
|
3479
3582
|
|
|
3480
3583
|
...
|
|
@@ -3498,8 +3601,8 @@ def select_random(
|
|
|
3498
3601
|
execution_context: int | str | None = None,
|
|
3499
3602
|
undo: bool | None = None,
|
|
3500
3603
|
*,
|
|
3501
|
-
ratio:
|
|
3502
|
-
seed:
|
|
3604
|
+
ratio: float | None = 0.5,
|
|
3605
|
+
seed: int | None = 0,
|
|
3503
3606
|
action: str | None = "SELECT",
|
|
3504
3607
|
):
|
|
3505
3608
|
"""Randomly select vertices
|
|
@@ -3508,9 +3611,9 @@ def select_random(
|
|
|
3508
3611
|
:type execution_context: int | str | None
|
|
3509
3612
|
:type undo: bool | None
|
|
3510
3613
|
:param ratio: Ratio, Portion of items to select randomly
|
|
3511
|
-
:type ratio:
|
|
3614
|
+
:type ratio: float | None
|
|
3512
3615
|
:param seed: Random Seed, Seed for the random number generator
|
|
3513
|
-
:type seed:
|
|
3616
|
+
:type seed: int | None
|
|
3514
3617
|
:param action: Action, Selection action to execute
|
|
3515
3618
|
|
|
3516
3619
|
SELECT
|
|
@@ -3530,7 +3633,7 @@ def select_similar(
|
|
|
3530
3633
|
*,
|
|
3531
3634
|
type: str | None = "VERT_NORMAL",
|
|
3532
3635
|
compare: str | None = "EQUAL",
|
|
3533
|
-
threshold:
|
|
3636
|
+
threshold: float | None = 0.0,
|
|
3534
3637
|
):
|
|
3535
3638
|
"""Select similar vertices, edges or faces by property types
|
|
3536
3639
|
|
|
@@ -3542,7 +3645,7 @@ def select_similar(
|
|
|
3542
3645
|
:param compare: Compare
|
|
3543
3646
|
:type compare: str | None
|
|
3544
3647
|
:param threshold: Threshold
|
|
3545
|
-
:type threshold:
|
|
3648
|
+
:type threshold: float | None
|
|
3546
3649
|
"""
|
|
3547
3650
|
|
|
3548
3651
|
...
|
|
@@ -3566,7 +3669,7 @@ def select_ungrouped(
|
|
|
3566
3669
|
execution_context: int | str | None = None,
|
|
3567
3670
|
undo: bool | None = None,
|
|
3568
3671
|
*,
|
|
3569
|
-
extend: bool |
|
|
3672
|
+
extend: bool | None = False,
|
|
3570
3673
|
):
|
|
3571
3674
|
"""Select vertices without a group
|
|
3572
3675
|
|
|
@@ -3574,7 +3677,7 @@ def select_ungrouped(
|
|
|
3574
3677
|
:type execution_context: int | str | None
|
|
3575
3678
|
:type undo: bool | None
|
|
3576
3679
|
:param extend: Extend, Extend the selection
|
|
3577
|
-
:type extend: bool |
|
|
3680
|
+
:type extend: bool | None
|
|
3578
3681
|
"""
|
|
3579
3682
|
|
|
3580
3683
|
...
|
|
@@ -3602,7 +3705,7 @@ def set_normals_from_faces(
|
|
|
3602
3705
|
execution_context: int | str | None = None,
|
|
3603
3706
|
undo: bool | None = None,
|
|
3604
3707
|
*,
|
|
3605
|
-
keep_sharp: bool |
|
|
3708
|
+
keep_sharp: bool | None = False,
|
|
3606
3709
|
):
|
|
3607
3710
|
"""Set the custom normals from the selected faces ones
|
|
3608
3711
|
|
|
@@ -3610,7 +3713,7 @@ def set_normals_from_faces(
|
|
|
3610
3713
|
:type execution_context: int | str | None
|
|
3611
3714
|
:type undo: bool | None
|
|
3612
3715
|
:param keep_sharp: Keep Sharp Edges, Do not set sharp edges to face
|
|
3613
|
-
:type keep_sharp: bool |
|
|
3716
|
+
:type keep_sharp: bool | None
|
|
3614
3717
|
"""
|
|
3615
3718
|
|
|
3616
3719
|
...
|
|
@@ -3620,8 +3723,8 @@ def set_sharpness_by_angle(
|
|
|
3620
3723
|
execution_context: int | str | None = None,
|
|
3621
3724
|
undo: bool | None = None,
|
|
3622
3725
|
*,
|
|
3623
|
-
angle:
|
|
3624
|
-
extend: bool |
|
|
3726
|
+
angle: float | None = 0.523599,
|
|
3727
|
+
extend: bool | None = False,
|
|
3625
3728
|
):
|
|
3626
3729
|
"""Set edge sharpness based on the angle between neighboring faces
|
|
3627
3730
|
|
|
@@ -3629,9 +3732,9 @@ def set_sharpness_by_angle(
|
|
|
3629
3732
|
:type execution_context: int | str | None
|
|
3630
3733
|
:type undo: bool | None
|
|
3631
3734
|
:param angle: Angle
|
|
3632
|
-
:type angle:
|
|
3735
|
+
:type angle: float | None
|
|
3633
3736
|
:param extend: Extend, Add new sharp edges without clearing existing sharp edges
|
|
3634
|
-
:type extend: bool |
|
|
3737
|
+
:type extend: bool | None
|
|
3635
3738
|
"""
|
|
3636
3739
|
|
|
3637
3740
|
...
|
|
@@ -3656,13 +3759,13 @@ def shortest_path_pick(
|
|
|
3656
3759
|
undo: bool | None = None,
|
|
3657
3760
|
*,
|
|
3658
3761
|
edge_mode: str | None = "SELECT",
|
|
3659
|
-
use_face_step: bool |
|
|
3660
|
-
use_topology_distance: bool |
|
|
3661
|
-
use_fill: bool |
|
|
3662
|
-
skip:
|
|
3663
|
-
nth:
|
|
3664
|
-
offset:
|
|
3665
|
-
index:
|
|
3762
|
+
use_face_step: bool | None = False,
|
|
3763
|
+
use_topology_distance: bool | None = False,
|
|
3764
|
+
use_fill: bool | None = False,
|
|
3765
|
+
skip: int | None = 0,
|
|
3766
|
+
nth: int | None = 1,
|
|
3767
|
+
offset: int | None = 0,
|
|
3768
|
+
index: int | None = -1,
|
|
3666
3769
|
):
|
|
3667
3770
|
"""Select shortest path between two selections
|
|
3668
3771
|
|
|
@@ -3672,18 +3775,18 @@ def shortest_path_pick(
|
|
|
3672
3775
|
:param edge_mode: Edge Tag, The edge flag to tag when selecting the shortest path
|
|
3673
3776
|
:type edge_mode: str | None
|
|
3674
3777
|
:param use_face_step: Face Stepping, Traverse connected faces (includes diagonals and edge-rings)
|
|
3675
|
-
:type use_face_step: bool |
|
|
3778
|
+
:type use_face_step: bool | None
|
|
3676
3779
|
:param use_topology_distance: Topology Distance, Find the minimum number of steps, ignoring spatial distance
|
|
3677
|
-
:type use_topology_distance: bool |
|
|
3780
|
+
:type use_topology_distance: bool | None
|
|
3678
3781
|
:param use_fill: Fill Region, Select all paths between the source/destination elements
|
|
3679
|
-
:type use_fill: bool |
|
|
3782
|
+
:type use_fill: bool | None
|
|
3680
3783
|
:param skip: Deselected, Number of deselected elements in the repetitive sequence
|
|
3681
|
-
:type skip:
|
|
3784
|
+
:type skip: int | None
|
|
3682
3785
|
:param nth: Selected, Number of selected elements in the repetitive sequence
|
|
3683
|
-
:type nth:
|
|
3786
|
+
:type nth: int | None
|
|
3684
3787
|
:param offset: Offset, Offset from the starting point
|
|
3685
|
-
:type offset:
|
|
3686
|
-
:type index:
|
|
3788
|
+
:type offset: int | None
|
|
3789
|
+
:type index: int | None
|
|
3687
3790
|
"""
|
|
3688
3791
|
|
|
3689
3792
|
...
|
|
@@ -3694,12 +3797,12 @@ def shortest_path_select(
|
|
|
3694
3797
|
undo: bool | None = None,
|
|
3695
3798
|
*,
|
|
3696
3799
|
edge_mode: str | None = "SELECT",
|
|
3697
|
-
use_face_step: bool |
|
|
3698
|
-
use_topology_distance: bool |
|
|
3699
|
-
use_fill: bool |
|
|
3700
|
-
skip:
|
|
3701
|
-
nth:
|
|
3702
|
-
offset:
|
|
3800
|
+
use_face_step: bool | None = False,
|
|
3801
|
+
use_topology_distance: bool | None = False,
|
|
3802
|
+
use_fill: bool | None = False,
|
|
3803
|
+
skip: int | None = 0,
|
|
3804
|
+
nth: int | None = 1,
|
|
3805
|
+
offset: int | None = 0,
|
|
3703
3806
|
):
|
|
3704
3807
|
"""Selected shortest path between two vertices/edges/faces
|
|
3705
3808
|
|
|
@@ -3709,17 +3812,17 @@ def shortest_path_select(
|
|
|
3709
3812
|
:param edge_mode: Edge Tag, The edge flag to tag when selecting the shortest path
|
|
3710
3813
|
:type edge_mode: str | None
|
|
3711
3814
|
:param use_face_step: Face Stepping, Traverse connected faces (includes diagonals and edge-rings)
|
|
3712
|
-
:type use_face_step: bool |
|
|
3815
|
+
:type use_face_step: bool | None
|
|
3713
3816
|
:param use_topology_distance: Topology Distance, Find the minimum number of steps, ignoring spatial distance
|
|
3714
|
-
:type use_topology_distance: bool |
|
|
3817
|
+
:type use_topology_distance: bool | None
|
|
3715
3818
|
:param use_fill: Fill Region, Select all paths between the source/destination elements
|
|
3716
|
-
:type use_fill: bool |
|
|
3819
|
+
:type use_fill: bool | None
|
|
3717
3820
|
:param skip: Deselected, Number of deselected elements in the repetitive sequence
|
|
3718
|
-
:type skip:
|
|
3821
|
+
:type skip: int | None
|
|
3719
3822
|
:param nth: Selected, Number of selected elements in the repetitive sequence
|
|
3720
|
-
:type nth:
|
|
3823
|
+
:type nth: int | None
|
|
3721
3824
|
:param offset: Offset, Offset from the starting point
|
|
3722
|
-
:type offset:
|
|
3825
|
+
:type offset: int | None
|
|
3723
3826
|
"""
|
|
3724
3827
|
|
|
3725
3828
|
...
|
|
@@ -3729,7 +3832,7 @@ def smooth_normals(
|
|
|
3729
3832
|
execution_context: int | str | None = None,
|
|
3730
3833
|
undo: bool | None = None,
|
|
3731
3834
|
*,
|
|
3732
|
-
factor:
|
|
3835
|
+
factor: float | None = 0.5,
|
|
3733
3836
|
):
|
|
3734
3837
|
"""Smooth custom normals based on adjacent vertex normals
|
|
3735
3838
|
|
|
@@ -3737,7 +3840,7 @@ def smooth_normals(
|
|
|
3737
3840
|
:type execution_context: int | str | None
|
|
3738
3841
|
:type undo: bool | None
|
|
3739
3842
|
:param factor: Factor, Specifies weight of smooth vs original normal
|
|
3740
|
-
:type factor:
|
|
3843
|
+
:type factor: float | None
|
|
3741
3844
|
"""
|
|
3742
3845
|
|
|
3743
3846
|
...
|
|
@@ -3747,7 +3850,7 @@ def solidify(
|
|
|
3747
3850
|
execution_context: int | str | None = None,
|
|
3748
3851
|
undo: bool | None = None,
|
|
3749
3852
|
*,
|
|
3750
|
-
thickness:
|
|
3853
|
+
thickness: float | None = 0.01,
|
|
3751
3854
|
):
|
|
3752
3855
|
"""Create a solid skin by extruding, compensating for sharp angles
|
|
3753
3856
|
|
|
@@ -3755,7 +3858,7 @@ def solidify(
|
|
|
3755
3858
|
:type execution_context: int | str | None
|
|
3756
3859
|
:type undo: bool | None
|
|
3757
3860
|
:param thickness: Thickness
|
|
3758
|
-
:type thickness:
|
|
3861
|
+
:type thickness: float | None
|
|
3759
3862
|
"""
|
|
3760
3863
|
|
|
3761
3864
|
...
|
|
@@ -3767,8 +3870,8 @@ def sort_elements(
|
|
|
3767
3870
|
*,
|
|
3768
3871
|
type: str | None = "VIEW_ZAXIS",
|
|
3769
3872
|
elements: set[str] | None = {"VERT"},
|
|
3770
|
-
reverse: bool |
|
|
3771
|
-
seed:
|
|
3873
|
+
reverse: bool | None = False,
|
|
3874
|
+
seed: int | None = 0,
|
|
3772
3875
|
):
|
|
3773
3876
|
"""The order of selected vertices/edges/faces is modified, based on a given method
|
|
3774
3877
|
|
|
@@ -3802,9 +3905,9 @@ def sort_elements(
|
|
|
3802
3905
|
:param elements: Elements, Which elements to affect (vertices, edges and/or faces)
|
|
3803
3906
|
:type elements: set[str] | None
|
|
3804
3907
|
:param reverse: Reverse, Reverse the sorting effect
|
|
3805
|
-
:type reverse: bool |
|
|
3908
|
+
:type reverse: bool | None
|
|
3806
3909
|
:param seed: Seed, Seed for random-based operations
|
|
3807
|
-
:type seed:
|
|
3910
|
+
:type seed: int | None
|
|
3808
3911
|
"""
|
|
3809
3912
|
|
|
3810
3913
|
...
|
|
@@ -3814,13 +3917,13 @@ def spin(
|
|
|
3814
3917
|
execution_context: int | str | None = None,
|
|
3815
3918
|
undo: bool | None = None,
|
|
3816
3919
|
*,
|
|
3817
|
-
steps:
|
|
3818
|
-
dupli: bool |
|
|
3819
|
-
angle:
|
|
3820
|
-
use_auto_merge: bool |
|
|
3821
|
-
use_normal_flip: bool |
|
|
3822
|
-
center:
|
|
3823
|
-
axis:
|
|
3920
|
+
steps: int | None = 12,
|
|
3921
|
+
dupli: bool | None = False,
|
|
3922
|
+
angle: float | None = 1.5708,
|
|
3923
|
+
use_auto_merge: bool | None = True,
|
|
3924
|
+
use_normal_flip: bool | None = False,
|
|
3925
|
+
center: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
3926
|
+
axis: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
3824
3927
|
):
|
|
3825
3928
|
"""Extrude selected vertices in a circle around the cursor in indicated viewport
|
|
3826
3929
|
|
|
@@ -3828,19 +3931,19 @@ def spin(
|
|
|
3828
3931
|
:type execution_context: int | str | None
|
|
3829
3932
|
:type undo: bool | None
|
|
3830
3933
|
:param steps: Steps, Steps
|
|
3831
|
-
:type steps:
|
|
3934
|
+
:type steps: int | None
|
|
3832
3935
|
:param dupli: Use Duplicates
|
|
3833
|
-
:type dupli: bool |
|
|
3936
|
+
:type dupli: bool | None
|
|
3834
3937
|
:param angle: Angle, Rotation for each step
|
|
3835
|
-
:type angle:
|
|
3938
|
+
:type angle: float | None
|
|
3836
3939
|
:param use_auto_merge: Auto Merge, Merge first/last when the angle is a full revolution
|
|
3837
|
-
:type use_auto_merge: bool |
|
|
3940
|
+
:type use_auto_merge: bool | None
|
|
3838
3941
|
:param use_normal_flip: Flip Normals
|
|
3839
|
-
:type use_normal_flip: bool |
|
|
3942
|
+
:type use_normal_flip: bool | None
|
|
3840
3943
|
:param center: Center, Center in global view space
|
|
3841
|
-
:type center:
|
|
3944
|
+
:type center: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
3842
3945
|
:param axis: Axis, Axis in global view space
|
|
3843
|
-
:type axis:
|
|
3946
|
+
:type axis: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
3844
3947
|
"""
|
|
3845
3948
|
|
|
3846
3949
|
...
|
|
@@ -3878,13 +3981,13 @@ def subdivide(
|
|
|
3878
3981
|
execution_context: int | str | None = None,
|
|
3879
3982
|
undo: bool | None = None,
|
|
3880
3983
|
*,
|
|
3881
|
-
number_cuts:
|
|
3882
|
-
smoothness:
|
|
3883
|
-
ngon: bool |
|
|
3984
|
+
number_cuts: int | None = 1,
|
|
3985
|
+
smoothness: float | None = 0.0,
|
|
3986
|
+
ngon: bool | None = True,
|
|
3884
3987
|
quadcorner: str | None = "STRAIGHT_CUT",
|
|
3885
|
-
fractal:
|
|
3886
|
-
fractal_along_normal:
|
|
3887
|
-
seed:
|
|
3988
|
+
fractal: float | None = 0.0,
|
|
3989
|
+
fractal_along_normal: float | None = 0.0,
|
|
3990
|
+
seed: int | None = 0,
|
|
3888
3991
|
):
|
|
3889
3992
|
"""Subdivide selected edges
|
|
3890
3993
|
|
|
@@ -3892,19 +3995,19 @@ def subdivide(
|
|
|
3892
3995
|
:type execution_context: int | str | None
|
|
3893
3996
|
:type undo: bool | None
|
|
3894
3997
|
:param number_cuts: Number of Cuts
|
|
3895
|
-
:type number_cuts:
|
|
3998
|
+
:type number_cuts: int | None
|
|
3896
3999
|
:param smoothness: Smoothness, Smoothness factor
|
|
3897
|
-
:type smoothness:
|
|
4000
|
+
:type smoothness: float | None
|
|
3898
4001
|
:param ngon: Create N-Gons, When disabled, newly created faces are limited to 3 and 4 sided faces
|
|
3899
|
-
:type ngon: bool |
|
|
4002
|
+
:type ngon: bool | None
|
|
3900
4003
|
:param quadcorner: Quad Corner Type, How to subdivide quad corners (anything other than Straight Cut will prevent n-gons)
|
|
3901
4004
|
:type quadcorner: str | None
|
|
3902
4005
|
:param fractal: Fractal, Fractal randomness factor
|
|
3903
|
-
:type fractal:
|
|
4006
|
+
:type fractal: float | None
|
|
3904
4007
|
:param fractal_along_normal: Along Normal, Apply fractal displacement along normal only
|
|
3905
|
-
:type fractal_along_normal:
|
|
4008
|
+
:type fractal_along_normal: float | None
|
|
3906
4009
|
:param seed: Random Seed, Seed for the random number generator
|
|
3907
|
-
:type seed:
|
|
4010
|
+
:type seed: int | None
|
|
3908
4011
|
"""
|
|
3909
4012
|
|
|
3910
4013
|
...
|
|
@@ -3914,10 +4017,10 @@ def subdivide_edgering(
|
|
|
3914
4017
|
execution_context: int | str | None = None,
|
|
3915
4018
|
undo: bool | None = None,
|
|
3916
4019
|
*,
|
|
3917
|
-
number_cuts:
|
|
4020
|
+
number_cuts: int | None = 10,
|
|
3918
4021
|
interpolation: str | None = "PATH",
|
|
3919
|
-
smoothness:
|
|
3920
|
-
profile_shape_factor:
|
|
4022
|
+
smoothness: float | None = 1.0,
|
|
4023
|
+
profile_shape_factor: float | None = 0.0,
|
|
3921
4024
|
profile_shape: str | None = "SMOOTH",
|
|
3922
4025
|
):
|
|
3923
4026
|
"""Subdivide perpendicular edges to the selected edge-ring
|
|
@@ -3926,13 +4029,13 @@ def subdivide_edgering(
|
|
|
3926
4029
|
:type execution_context: int | str | None
|
|
3927
4030
|
:type undo: bool | None
|
|
3928
4031
|
:param number_cuts: Number of Cuts
|
|
3929
|
-
:type number_cuts:
|
|
4032
|
+
:type number_cuts: int | None
|
|
3930
4033
|
:param interpolation: Interpolation, Interpolation method
|
|
3931
4034
|
:type interpolation: str | None
|
|
3932
4035
|
:param smoothness: Smoothness, Smoothness factor
|
|
3933
|
-
:type smoothness:
|
|
4036
|
+
:type smoothness: float | None
|
|
3934
4037
|
:param profile_shape_factor: Profile Factor, How much intermediary new edges are shrunk/expanded
|
|
3935
|
-
:type profile_shape_factor:
|
|
4038
|
+
:type profile_shape_factor: float | None
|
|
3936
4039
|
:param profile_shape: Profile Shape, Shape of the profile
|
|
3937
4040
|
:type profile_shape: str | None
|
|
3938
4041
|
"""
|
|
@@ -3945,7 +4048,7 @@ def symmetrize(
|
|
|
3945
4048
|
undo: bool | None = None,
|
|
3946
4049
|
*,
|
|
3947
4050
|
direction: str | None = "NEGATIVE_X",
|
|
3948
|
-
threshold:
|
|
4051
|
+
threshold: float | None = 0.0001,
|
|
3949
4052
|
):
|
|
3950
4053
|
"""Enforce symmetry (both form and topological) across an axis
|
|
3951
4054
|
|
|
@@ -3955,7 +4058,7 @@ def symmetrize(
|
|
|
3955
4058
|
:param direction: Direction, Which sides to copy from and to
|
|
3956
4059
|
:type direction: str | None
|
|
3957
4060
|
:param threshold: Threshold, Limit for snap middle vertices to the axis center
|
|
3958
|
-
:type threshold:
|
|
4061
|
+
:type threshold: float | None
|
|
3959
4062
|
"""
|
|
3960
4063
|
|
|
3961
4064
|
...
|
|
@@ -3966,9 +4069,9 @@ def symmetry_snap(
|
|
|
3966
4069
|
undo: bool | None = None,
|
|
3967
4070
|
*,
|
|
3968
4071
|
direction: str | None = "NEGATIVE_X",
|
|
3969
|
-
threshold:
|
|
3970
|
-
factor:
|
|
3971
|
-
use_center: bool |
|
|
4072
|
+
threshold: float | None = 0.05,
|
|
4073
|
+
factor: float | None = 0.5,
|
|
4074
|
+
use_center: bool | None = True,
|
|
3972
4075
|
):
|
|
3973
4076
|
"""Snap vertex pairs to their mirrored locations
|
|
3974
4077
|
|
|
@@ -3978,11 +4081,11 @@ def symmetry_snap(
|
|
|
3978
4081
|
:param direction: Direction, Which sides to copy from and to
|
|
3979
4082
|
:type direction: str | None
|
|
3980
4083
|
:param threshold: Threshold, Distance within which matching vertices are searched
|
|
3981
|
-
:type threshold:
|
|
4084
|
+
:type threshold: float | None
|
|
3982
4085
|
:param factor: Factor, Mix factor of the locations of the vertices
|
|
3983
|
-
:type factor:
|
|
4086
|
+
:type factor: float | None
|
|
3984
4087
|
:param use_center: Center, Snap middle vertices to the axis center
|
|
3985
|
-
:type use_center: bool |
|
|
4088
|
+
:type use_center: bool | None
|
|
3986
4089
|
"""
|
|
3987
4090
|
|
|
3988
4091
|
...
|
|
@@ -3992,13 +4095,13 @@ def tris_convert_to_quads(
|
|
|
3992
4095
|
execution_context: int | str | None = None,
|
|
3993
4096
|
undo: bool | None = None,
|
|
3994
4097
|
*,
|
|
3995
|
-
face_threshold:
|
|
3996
|
-
shape_threshold:
|
|
3997
|
-
uvs: bool |
|
|
3998
|
-
vcols: bool |
|
|
3999
|
-
seam: bool |
|
|
4000
|
-
sharp: bool |
|
|
4001
|
-
materials: bool |
|
|
4098
|
+
face_threshold: float | None = 0.698132,
|
|
4099
|
+
shape_threshold: float | None = 0.698132,
|
|
4100
|
+
uvs: bool | None = False,
|
|
4101
|
+
vcols: bool | None = False,
|
|
4102
|
+
seam: bool | None = False,
|
|
4103
|
+
sharp: bool | None = False,
|
|
4104
|
+
materials: bool | None = False,
|
|
4002
4105
|
):
|
|
4003
4106
|
"""Join triangles into quads
|
|
4004
4107
|
|
|
@@ -4006,19 +4109,19 @@ def tris_convert_to_quads(
|
|
|
4006
4109
|
:type execution_context: int | str | None
|
|
4007
4110
|
:type undo: bool | None
|
|
4008
4111
|
:param face_threshold: Max Face Angle, Face angle limit
|
|
4009
|
-
:type face_threshold:
|
|
4112
|
+
:type face_threshold: float | None
|
|
4010
4113
|
:param shape_threshold: Max Shape Angle, Shape angle limit
|
|
4011
|
-
:type shape_threshold:
|
|
4114
|
+
:type shape_threshold: float | None
|
|
4012
4115
|
:param uvs: Compare UVs
|
|
4013
|
-
:type uvs: bool |
|
|
4116
|
+
:type uvs: bool | None
|
|
4014
4117
|
:param vcols: Compare Color Attributes
|
|
4015
|
-
:type vcols: bool |
|
|
4118
|
+
:type vcols: bool | None
|
|
4016
4119
|
:param seam: Compare Seam
|
|
4017
|
-
:type seam: bool |
|
|
4120
|
+
:type seam: bool | None
|
|
4018
4121
|
:param sharp: Compare Sharp
|
|
4019
|
-
:type sharp: bool |
|
|
4122
|
+
:type sharp: bool | None
|
|
4020
4123
|
:param materials: Compare Materials
|
|
4021
|
-
:type materials: bool |
|
|
4124
|
+
:type materials: bool | None
|
|
4022
4125
|
"""
|
|
4023
4126
|
|
|
4024
4127
|
...
|
|
@@ -4028,7 +4131,7 @@ def unsubdivide(
|
|
|
4028
4131
|
execution_context: int | str | None = None,
|
|
4029
4132
|
undo: bool | None = None,
|
|
4030
4133
|
*,
|
|
4031
|
-
iterations:
|
|
4134
|
+
iterations: int | None = 2,
|
|
4032
4135
|
):
|
|
4033
4136
|
"""Un-subdivide selected edges and faces
|
|
4034
4137
|
|
|
@@ -4036,7 +4139,7 @@ def unsubdivide(
|
|
|
4036
4139
|
:type execution_context: int | str | None
|
|
4037
4140
|
:type undo: bool | None
|
|
4038
4141
|
:param iterations: Iterations, Number of times to un-subdivide
|
|
4039
|
-
:type iterations:
|
|
4142
|
+
:type iterations: int | None
|
|
4040
4143
|
"""
|
|
4041
4144
|
|
|
4042
4145
|
...
|
|
@@ -4088,7 +4191,7 @@ def uvs_rotate(
|
|
|
4088
4191
|
execution_context: int | str | None = None,
|
|
4089
4192
|
undo: bool | None = None,
|
|
4090
4193
|
*,
|
|
4091
|
-
use_ccw: bool |
|
|
4194
|
+
use_ccw: bool | None = False,
|
|
4092
4195
|
):
|
|
4093
4196
|
"""Rotate UV coordinates inside faces
|
|
4094
4197
|
|
|
@@ -4096,7 +4199,7 @@ def uvs_rotate(
|
|
|
4096
4199
|
:type execution_context: int | str | None
|
|
4097
4200
|
:type undo: bool | None
|
|
4098
4201
|
:param use_ccw: Counter Clockwise
|
|
4099
|
-
:type use_ccw: bool |
|
|
4202
|
+
:type use_ccw: bool | None
|
|
4100
4203
|
"""
|
|
4101
4204
|
|
|
4102
4205
|
...
|
|
@@ -4134,7 +4237,7 @@ def vert_connect_nonplanar(
|
|
|
4134
4237
|
execution_context: int | str | None = None,
|
|
4135
4238
|
undo: bool | None = None,
|
|
4136
4239
|
*,
|
|
4137
|
-
angle_limit:
|
|
4240
|
+
angle_limit: float | None = 0.0872665,
|
|
4138
4241
|
):
|
|
4139
4242
|
"""Split non-planar faces that exceed the angle threshold
|
|
4140
4243
|
|
|
@@ -4142,7 +4245,7 @@ def vert_connect_nonplanar(
|
|
|
4142
4245
|
:type execution_context: int | str | None
|
|
4143
4246
|
:type undo: bool | None
|
|
4144
4247
|
:param angle_limit: Max Angle, Angle limit
|
|
4145
|
-
:type angle_limit:
|
|
4248
|
+
:type angle_limit: float | None
|
|
4146
4249
|
"""
|
|
4147
4250
|
|
|
4148
4251
|
...
|
|
@@ -4166,12 +4269,12 @@ def vertices_smooth(
|
|
|
4166
4269
|
execution_context: int | str | None = None,
|
|
4167
4270
|
undo: bool | None = None,
|
|
4168
4271
|
*,
|
|
4169
|
-
factor:
|
|
4170
|
-
repeat:
|
|
4171
|
-
xaxis: bool |
|
|
4172
|
-
yaxis: bool |
|
|
4173
|
-
zaxis: bool |
|
|
4174
|
-
wait_for_input: bool |
|
|
4272
|
+
factor: float | None = 0.0,
|
|
4273
|
+
repeat: int | None = 1,
|
|
4274
|
+
xaxis: bool | None = True,
|
|
4275
|
+
yaxis: bool | None = True,
|
|
4276
|
+
zaxis: bool | None = True,
|
|
4277
|
+
wait_for_input: bool | None = True,
|
|
4175
4278
|
):
|
|
4176
4279
|
"""Flatten angles of selected vertices
|
|
4177
4280
|
|
|
@@ -4179,17 +4282,17 @@ def vertices_smooth(
|
|
|
4179
4282
|
:type execution_context: int | str | None
|
|
4180
4283
|
:type undo: bool | None
|
|
4181
4284
|
:param factor: Smoothing, Smoothing factor
|
|
4182
|
-
:type factor:
|
|
4285
|
+
:type factor: float | None
|
|
4183
4286
|
:param repeat: Repeat, Number of times to smooth the mesh
|
|
4184
|
-
:type repeat:
|
|
4287
|
+
:type repeat: int | None
|
|
4185
4288
|
:param xaxis: X-Axis, Smooth along the X axis
|
|
4186
|
-
:type xaxis: bool |
|
|
4289
|
+
:type xaxis: bool | None
|
|
4187
4290
|
:param yaxis: Y-Axis, Smooth along the Y axis
|
|
4188
|
-
:type yaxis: bool |
|
|
4291
|
+
:type yaxis: bool | None
|
|
4189
4292
|
:param zaxis: Z-Axis, Smooth along the Z axis
|
|
4190
|
-
:type zaxis: bool |
|
|
4293
|
+
:type zaxis: bool | None
|
|
4191
4294
|
:param wait_for_input: Wait for Input
|
|
4192
|
-
:type wait_for_input: bool |
|
|
4295
|
+
:type wait_for_input: bool | None
|
|
4193
4296
|
"""
|
|
4194
4297
|
|
|
4195
4298
|
...
|
|
@@ -4199,13 +4302,13 @@ def vertices_smooth_laplacian(
|
|
|
4199
4302
|
execution_context: int | str | None = None,
|
|
4200
4303
|
undo: bool | None = None,
|
|
4201
4304
|
*,
|
|
4202
|
-
repeat:
|
|
4203
|
-
lambda_factor:
|
|
4204
|
-
lambda_border:
|
|
4205
|
-
use_x: bool |
|
|
4206
|
-
use_y: bool |
|
|
4207
|
-
use_z: bool |
|
|
4208
|
-
preserve_volume: bool |
|
|
4305
|
+
repeat: int | None = 1,
|
|
4306
|
+
lambda_factor: float | None = 1.0,
|
|
4307
|
+
lambda_border: float | None = 5e-05,
|
|
4308
|
+
use_x: bool | None = True,
|
|
4309
|
+
use_y: bool | None = True,
|
|
4310
|
+
use_z: bool | None = True,
|
|
4311
|
+
preserve_volume: bool | None = True,
|
|
4209
4312
|
):
|
|
4210
4313
|
"""Laplacian smooth of selected vertices
|
|
4211
4314
|
|
|
@@ -4213,19 +4316,19 @@ def vertices_smooth_laplacian(
|
|
|
4213
4316
|
:type execution_context: int | str | None
|
|
4214
4317
|
:type undo: bool | None
|
|
4215
4318
|
:param repeat: Number of iterations to smooth the mesh
|
|
4216
|
-
:type repeat:
|
|
4319
|
+
:type repeat: int | None
|
|
4217
4320
|
:param lambda_factor: Lambda factor
|
|
4218
|
-
:type lambda_factor:
|
|
4321
|
+
:type lambda_factor: float | None
|
|
4219
4322
|
:param lambda_border: Lambda factor in border
|
|
4220
|
-
:type lambda_border:
|
|
4323
|
+
:type lambda_border: float | None
|
|
4221
4324
|
:param use_x: Smooth X Axis, Smooth object along X axis
|
|
4222
|
-
:type use_x: bool |
|
|
4325
|
+
:type use_x: bool | None
|
|
4223
4326
|
:param use_y: Smooth Y Axis, Smooth object along Y axis
|
|
4224
|
-
:type use_y: bool |
|
|
4327
|
+
:type use_y: bool | None
|
|
4225
4328
|
:param use_z: Smooth Z Axis, Smooth object along Z axis
|
|
4226
|
-
:type use_z: bool |
|
|
4329
|
+
:type use_z: bool | None
|
|
4227
4330
|
:param preserve_volume: Preserve Volume, Apply volume preservation after smooth
|
|
4228
|
-
:type preserve_volume: bool |
|
|
4331
|
+
:type preserve_volume: bool | None
|
|
4229
4332
|
"""
|
|
4230
4333
|
|
|
4231
4334
|
...
|
|
@@ -4235,14 +4338,14 @@ def wireframe(
|
|
|
4235
4338
|
execution_context: int | str | None = None,
|
|
4236
4339
|
undo: bool | None = None,
|
|
4237
4340
|
*,
|
|
4238
|
-
use_boundary: bool |
|
|
4239
|
-
use_even_offset: bool |
|
|
4240
|
-
use_relative_offset: bool |
|
|
4241
|
-
use_replace: bool |
|
|
4242
|
-
thickness:
|
|
4243
|
-
offset:
|
|
4244
|
-
use_crease: bool |
|
|
4245
|
-
crease_weight:
|
|
4341
|
+
use_boundary: bool | None = True,
|
|
4342
|
+
use_even_offset: bool | None = True,
|
|
4343
|
+
use_relative_offset: bool | None = False,
|
|
4344
|
+
use_replace: bool | None = True,
|
|
4345
|
+
thickness: float | None = 0.01,
|
|
4346
|
+
offset: float | None = 0.01,
|
|
4347
|
+
use_crease: bool | None = False,
|
|
4348
|
+
crease_weight: float | None = 0.01,
|
|
4246
4349
|
):
|
|
4247
4350
|
"""Create a solid wireframe from faces
|
|
4248
4351
|
|
|
@@ -4250,21 +4353,21 @@ def wireframe(
|
|
|
4250
4353
|
:type execution_context: int | str | None
|
|
4251
4354
|
:type undo: bool | None
|
|
4252
4355
|
:param use_boundary: Boundary, Inset face boundaries
|
|
4253
|
-
:type use_boundary: bool |
|
|
4356
|
+
:type use_boundary: bool | None
|
|
4254
4357
|
:param use_even_offset: Offset Even, Scale the offset to give more even thickness
|
|
4255
|
-
:type use_even_offset: bool |
|
|
4358
|
+
:type use_even_offset: bool | None
|
|
4256
4359
|
:param use_relative_offset: Offset Relative, Scale the offset by surrounding geometry
|
|
4257
|
-
:type use_relative_offset: bool |
|
|
4360
|
+
:type use_relative_offset: bool | None
|
|
4258
4361
|
:param use_replace: Replace, Remove original faces
|
|
4259
|
-
:type use_replace: bool |
|
|
4362
|
+
:type use_replace: bool | None
|
|
4260
4363
|
:param thickness: Thickness
|
|
4261
|
-
:type thickness:
|
|
4364
|
+
:type thickness: float | None
|
|
4262
4365
|
:param offset: Offset
|
|
4263
|
-
:type offset:
|
|
4366
|
+
:type offset: float | None
|
|
4264
4367
|
:param use_crease: Crease, Crease hub edges for an improved subdivision surface
|
|
4265
|
-
:type use_crease: bool |
|
|
4368
|
+
:type use_crease: bool | None
|
|
4266
4369
|
:param crease_weight: Crease Weight
|
|
4267
|
-
:type crease_weight:
|
|
4370
|
+
:type crease_weight: float | None
|
|
4268
4371
|
"""
|
|
4269
4372
|
|
|
4270
4373
|
...
|