fake-bpy-module 20240620__py3-none-any.whl → 20240622__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 +8 -8
- 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 +893 -790
- bpy/ops/nla/__init__.pyi +70 -70
- bpy/ops/node/__init__.pyi +192 -192
- bpy/ops/object/__init__.pyi +1013 -840
- 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 +628 -566
- 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 +1813 -1806
- bpy/ops/workspace/__init__.pyi +4 -4
- bpy/types/__init__.pyi +1614 -1805
- {fake_bpy_module-20240620.dist-info → fake_bpy_module-20240622.dist-info}/METADATA +3 -5
- {fake_bpy_module-20240620.dist-info → fake_bpy_module-20240622.dist-info}/RECORD +77 -77
- {fake_bpy_module-20240620.dist-info → fake_bpy_module-20240622.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240620.dist-info → fake_bpy_module-20240622.dist-info}/top_level.txt +0 -0
|
@@ -72,7 +72,7 @@ def clean_loose(
|
|
|
72
72
|
execution_context: int | str | None = None,
|
|
73
73
|
undo: bool | None = None,
|
|
74
74
|
*,
|
|
75
|
-
limit:
|
|
75
|
+
limit: int | None = 1,
|
|
76
76
|
):
|
|
77
77
|
"""Remove loose points
|
|
78
78
|
|
|
@@ -80,7 +80,7 @@ def clean_loose(
|
|
|
80
80
|
:type execution_context: int | str | None
|
|
81
81
|
:type undo: bool | None
|
|
82
82
|
:param limit: Limit, Number of points to consider stroke as loose
|
|
83
|
-
:type limit:
|
|
83
|
+
:type limit: int | None
|
|
84
84
|
"""
|
|
85
85
|
|
|
86
86
|
...
|
|
@@ -257,9 +257,9 @@ def fill(
|
|
|
257
257
|
execution_context: int | str | None = None,
|
|
258
258
|
undo: bool | None = None,
|
|
259
259
|
*,
|
|
260
|
-
on_back: bool |
|
|
261
|
-
invert: bool |
|
|
262
|
-
precision: bool |
|
|
260
|
+
on_back: bool | None = False,
|
|
261
|
+
invert: bool | None = False,
|
|
262
|
+
precision: bool | None = False,
|
|
263
263
|
):
|
|
264
264
|
"""Fill with color the shape formed by strokes
|
|
265
265
|
|
|
@@ -267,11 +267,11 @@ def fill(
|
|
|
267
267
|
:type execution_context: int | str | None
|
|
268
268
|
:type undo: bool | None
|
|
269
269
|
:param on_back: Draw on Back, Send new stroke to back
|
|
270
|
-
:type on_back: bool |
|
|
270
|
+
:type on_back: bool | None
|
|
271
271
|
:param invert: Invert, Find boundary of unfilled instead of filled regions
|
|
272
|
-
:type invert: bool |
|
|
272
|
+
:type invert: bool | None
|
|
273
273
|
:param precision: Precision, Use precision movement for extension lines
|
|
274
|
-
:type precision: bool |
|
|
274
|
+
:type precision: bool | None
|
|
275
275
|
"""
|
|
276
276
|
|
|
277
277
|
...
|
|
@@ -281,8 +281,8 @@ def insert_blank_frame(
|
|
|
281
281
|
execution_context: int | str | None = None,
|
|
282
282
|
undo: bool | None = None,
|
|
283
283
|
*,
|
|
284
|
-
all_layers: bool |
|
|
285
|
-
duration:
|
|
284
|
+
all_layers: bool | None = False,
|
|
285
|
+
duration: int | None = 0,
|
|
286
286
|
):
|
|
287
287
|
"""Insert a blank frame on the current scene frame
|
|
288
288
|
|
|
@@ -290,9 +290,9 @@ def insert_blank_frame(
|
|
|
290
290
|
:type execution_context: int | str | None
|
|
291
291
|
:type undo: bool | None
|
|
292
292
|
:param all_layers: All Layers, Insert a blank frame in all editable layers
|
|
293
|
-
:type all_layers: bool |
|
|
293
|
+
:type all_layers: bool | None
|
|
294
294
|
:param duration: Duration
|
|
295
|
-
:type duration:
|
|
295
|
+
:type duration: int | None
|
|
296
296
|
"""
|
|
297
297
|
|
|
298
298
|
...
|
|
@@ -302,7 +302,7 @@ def layer_active(
|
|
|
302
302
|
execution_context: int | str | None = None,
|
|
303
303
|
undo: bool | None = None,
|
|
304
304
|
*,
|
|
305
|
-
layer:
|
|
305
|
+
layer: int | None = 0,
|
|
306
306
|
):
|
|
307
307
|
"""Set the active Grease Pencil layer
|
|
308
308
|
|
|
@@ -310,7 +310,7 @@ def layer_active(
|
|
|
310
310
|
:type execution_context: int | str | None
|
|
311
311
|
:type undo: bool | None
|
|
312
312
|
:param layer: Grease Pencil Layer
|
|
313
|
-
:type layer:
|
|
313
|
+
:type layer: int | None
|
|
314
314
|
"""
|
|
315
315
|
|
|
316
316
|
...
|
|
@@ -320,7 +320,7 @@ def layer_add(
|
|
|
320
320
|
execution_context: int | str | None = None,
|
|
321
321
|
undo: bool | None = None,
|
|
322
322
|
*,
|
|
323
|
-
new_layer_name: str
|
|
323
|
+
new_layer_name: str = "Layer",
|
|
324
324
|
):
|
|
325
325
|
"""Add a new Grease Pencil layer in the active object
|
|
326
326
|
|
|
@@ -328,7 +328,7 @@ def layer_add(
|
|
|
328
328
|
:type execution_context: int | str | None
|
|
329
329
|
:type undo: bool | None
|
|
330
330
|
:param new_layer_name: Name, Name of the new layer
|
|
331
|
-
:type new_layer_name: str
|
|
331
|
+
:type new_layer_name: str
|
|
332
332
|
"""
|
|
333
333
|
|
|
334
334
|
...
|
|
@@ -338,7 +338,7 @@ def layer_duplicate(
|
|
|
338
338
|
execution_context: int | str | None = None,
|
|
339
339
|
undo: bool | None = None,
|
|
340
340
|
*,
|
|
341
|
-
empty_keyframes: bool |
|
|
341
|
+
empty_keyframes: bool | None = False,
|
|
342
342
|
):
|
|
343
343
|
"""Make a copy of the active Grease Pencil layer
|
|
344
344
|
|
|
@@ -346,7 +346,7 @@ def layer_duplicate(
|
|
|
346
346
|
:type execution_context: int | str | None
|
|
347
347
|
:type undo: bool | None
|
|
348
348
|
:param empty_keyframes: Empty Keyframes, Add Empty Keyframes
|
|
349
|
-
:type empty_keyframes: bool |
|
|
349
|
+
:type empty_keyframes: bool | None
|
|
350
350
|
"""
|
|
351
351
|
|
|
352
352
|
...
|
|
@@ -356,7 +356,7 @@ def layer_group_add(
|
|
|
356
356
|
execution_context: int | str | None = None,
|
|
357
357
|
undo: bool | None = None,
|
|
358
358
|
*,
|
|
359
|
-
new_layer_group_name: str
|
|
359
|
+
new_layer_group_name: str = "",
|
|
360
360
|
):
|
|
361
361
|
"""Add a new Grease Pencil layer group in the active object
|
|
362
362
|
|
|
@@ -364,7 +364,7 @@ def layer_group_add(
|
|
|
364
364
|
:type execution_context: int | str | None
|
|
365
365
|
:type undo: bool | None
|
|
366
366
|
:param new_layer_group_name: Name, Name of the new layer group
|
|
367
|
-
:type new_layer_group_name: str
|
|
367
|
+
:type new_layer_group_name: str
|
|
368
368
|
"""
|
|
369
369
|
|
|
370
370
|
...
|
|
@@ -392,7 +392,7 @@ def layer_group_remove(
|
|
|
392
392
|
execution_context: int | str | None = None,
|
|
393
393
|
undo: bool | None = None,
|
|
394
394
|
*,
|
|
395
|
-
keep_children: bool |
|
|
395
|
+
keep_children: bool | None = False,
|
|
396
396
|
):
|
|
397
397
|
"""Remove Grease Pencil layer group in the active object
|
|
398
398
|
|
|
@@ -400,7 +400,7 @@ def layer_group_remove(
|
|
|
400
400
|
:type execution_context: int | str | None
|
|
401
401
|
:type undo: bool | None
|
|
402
402
|
:param keep_children: Keep children nodes, Keep the children nodes of the group and only delete the group itself
|
|
403
|
-
:type keep_children: bool |
|
|
403
|
+
:type keep_children: bool | None
|
|
404
404
|
"""
|
|
405
405
|
|
|
406
406
|
...
|
|
@@ -410,7 +410,7 @@ def layer_hide(
|
|
|
410
410
|
execution_context: int | str | None = None,
|
|
411
411
|
undo: bool | None = None,
|
|
412
412
|
*,
|
|
413
|
-
unselected: bool |
|
|
413
|
+
unselected: bool | None = False,
|
|
414
414
|
):
|
|
415
415
|
"""Hide selected/unselected Grease Pencil layers
|
|
416
416
|
|
|
@@ -418,7 +418,7 @@ def layer_hide(
|
|
|
418
418
|
:type execution_context: int | str | None
|
|
419
419
|
:type undo: bool | None
|
|
420
420
|
:param unselected: Unselected, Hide unselected rather than selected layers
|
|
421
|
-
:type unselected: bool |
|
|
421
|
+
:type unselected: bool | None
|
|
422
422
|
"""
|
|
423
423
|
|
|
424
424
|
...
|
|
@@ -428,7 +428,7 @@ def layer_isolate(
|
|
|
428
428
|
execution_context: int | str | None = None,
|
|
429
429
|
undo: bool | None = None,
|
|
430
430
|
*,
|
|
431
|
-
affect_visibility: bool |
|
|
431
|
+
affect_visibility: bool | None = False,
|
|
432
432
|
):
|
|
433
433
|
"""Make only active layer visible/editable
|
|
434
434
|
|
|
@@ -436,7 +436,7 @@ def layer_isolate(
|
|
|
436
436
|
:type execution_context: int | str | None
|
|
437
437
|
:type undo: bool | None
|
|
438
438
|
:param affect_visibility: Affect Visibility, Also affect the visibility
|
|
439
|
-
:type affect_visibility: bool |
|
|
439
|
+
:type affect_visibility: bool | None
|
|
440
440
|
"""
|
|
441
441
|
|
|
442
442
|
...
|
|
@@ -446,7 +446,7 @@ def layer_lock_all(
|
|
|
446
446
|
execution_context: int | str | None = None,
|
|
447
447
|
undo: bool | None = None,
|
|
448
448
|
*,
|
|
449
|
-
lock: bool |
|
|
449
|
+
lock: bool | None = True,
|
|
450
450
|
):
|
|
451
451
|
"""Lock all Grease Pencil layers to prevent them from being accidentally modified
|
|
452
452
|
|
|
@@ -454,7 +454,7 @@ def layer_lock_all(
|
|
|
454
454
|
:type execution_context: int | str | None
|
|
455
455
|
:type undo: bool | None
|
|
456
456
|
:param lock: Lock Value, Lock/Unlock all layers
|
|
457
|
-
:type lock: bool |
|
|
457
|
+
:type lock: bool | None
|
|
458
458
|
"""
|
|
459
459
|
|
|
460
460
|
...
|
|
@@ -464,7 +464,7 @@ def layer_mask_add(
|
|
|
464
464
|
execution_context: int | str | None = None,
|
|
465
465
|
undo: bool | None = None,
|
|
466
466
|
*,
|
|
467
|
-
name: str
|
|
467
|
+
name: str = "",
|
|
468
468
|
):
|
|
469
469
|
"""Add new layer as masking
|
|
470
470
|
|
|
@@ -472,7 +472,7 @@ def layer_mask_add(
|
|
|
472
472
|
:type execution_context: int | str | None
|
|
473
473
|
:type undo: bool | None
|
|
474
474
|
:param name: Layer, Name of the layer
|
|
475
|
-
:type name: str
|
|
475
|
+
:type name: str
|
|
476
476
|
"""
|
|
477
477
|
|
|
478
478
|
...
|
|
@@ -528,7 +528,7 @@ def layer_reorder(
|
|
|
528
528
|
execution_context: int | str | None = None,
|
|
529
529
|
undo: bool | None = None,
|
|
530
530
|
*,
|
|
531
|
-
target_layer_name: str
|
|
531
|
+
target_layer_name: str = "Layer",
|
|
532
532
|
location: str | None = "ABOVE",
|
|
533
533
|
):
|
|
534
534
|
"""Reorder the active Grease Pencil layer
|
|
@@ -537,7 +537,7 @@ def layer_reorder(
|
|
|
537
537
|
:type execution_context: int | str | None
|
|
538
538
|
:type undo: bool | None
|
|
539
539
|
:param target_layer_name: Target Name, Name of the target layer
|
|
540
|
-
:type target_layer_name: str
|
|
540
|
+
:type target_layer_name: str
|
|
541
541
|
:param location: Location
|
|
542
542
|
:type location: str | None
|
|
543
543
|
"""
|
|
@@ -563,7 +563,7 @@ def material_copy_to_object(
|
|
|
563
563
|
execution_context: int | str | None = None,
|
|
564
564
|
undo: bool | None = None,
|
|
565
565
|
*,
|
|
566
|
-
only_active: bool |
|
|
566
|
+
only_active: bool | None = True,
|
|
567
567
|
):
|
|
568
568
|
"""Append Materials of the active Grease Pencil to other object
|
|
569
569
|
|
|
@@ -571,7 +571,7 @@ def material_copy_to_object(
|
|
|
571
571
|
:type execution_context: int | str | None
|
|
572
572
|
:type undo: bool | None
|
|
573
573
|
:param only_active: Only Active, Append only active material, uncheck to append all materials
|
|
574
|
-
:type only_active: bool |
|
|
574
|
+
:type only_active: bool | None
|
|
575
575
|
"""
|
|
576
576
|
|
|
577
577
|
...
|
|
@@ -581,7 +581,7 @@ def material_hide(
|
|
|
581
581
|
execution_context: int | str | None = None,
|
|
582
582
|
undo: bool | None = None,
|
|
583
583
|
*,
|
|
584
|
-
invert: bool |
|
|
584
|
+
invert: bool | None = False,
|
|
585
585
|
):
|
|
586
586
|
"""Hide active/inactive Grease Pencil material(s)
|
|
587
587
|
|
|
@@ -589,7 +589,7 @@ def material_hide(
|
|
|
589
589
|
:type execution_context: int | str | None
|
|
590
590
|
:type undo: bool | None
|
|
591
591
|
:param invert: Invert, Hide inactive materials instead of the active one
|
|
592
|
-
:type invert: bool |
|
|
592
|
+
:type invert: bool | None
|
|
593
593
|
"""
|
|
594
594
|
|
|
595
595
|
...
|
|
@@ -655,7 +655,7 @@ def material_select(
|
|
|
655
655
|
execution_context: int | str | None = None,
|
|
656
656
|
undo: bool | None = None,
|
|
657
657
|
*,
|
|
658
|
-
deselect: bool |
|
|
658
|
+
deselect: bool | None = False,
|
|
659
659
|
):
|
|
660
660
|
"""Select/Deselect all Grease Pencil strokes using current material
|
|
661
661
|
|
|
@@ -663,7 +663,7 @@ def material_select(
|
|
|
663
663
|
:type execution_context: int | str | None
|
|
664
664
|
:type undo: bool | None
|
|
665
665
|
:param deselect: Deselect, Unselect strokes
|
|
666
|
-
:type deselect: bool |
|
|
666
|
+
:type deselect: bool | None
|
|
667
667
|
"""
|
|
668
668
|
|
|
669
669
|
...
|
|
@@ -687,8 +687,8 @@ def move_to_layer(
|
|
|
687
687
|
execution_context: int | str | None = None,
|
|
688
688
|
undo: bool | None = None,
|
|
689
689
|
*,
|
|
690
|
-
target_layer_name: str
|
|
691
|
-
add_new_layer: bool |
|
|
690
|
+
target_layer_name: str = "Layer",
|
|
691
|
+
add_new_layer: bool | None = False,
|
|
692
692
|
):
|
|
693
693
|
"""Move selected strokes to another layer
|
|
694
694
|
|
|
@@ -696,9 +696,9 @@ def move_to_layer(
|
|
|
696
696
|
:type execution_context: int | str | None
|
|
697
697
|
:type undo: bool | None
|
|
698
698
|
:param target_layer_name: Name, Target Grease Pencil Layer
|
|
699
|
-
:type target_layer_name: str
|
|
699
|
+
:type target_layer_name: str
|
|
700
700
|
:param add_new_layer: New Layer, Move selection to a new layer
|
|
701
|
-
:type add_new_layer: bool |
|
|
701
|
+
:type add_new_layer: bool | None
|
|
702
702
|
"""
|
|
703
703
|
|
|
704
704
|
...
|
|
@@ -708,7 +708,7 @@ def paste(
|
|
|
708
708
|
execution_context: int | str | None = None,
|
|
709
709
|
undo: bool | None = None,
|
|
710
710
|
*,
|
|
711
|
-
paste_back: bool |
|
|
711
|
+
paste_back: bool | None = False,
|
|
712
712
|
):
|
|
713
713
|
"""Paste Grease Pencil points or strokes from the internal clipboard to the active layer
|
|
714
714
|
|
|
@@ -716,7 +716,7 @@ def paste(
|
|
|
716
716
|
:type execution_context: int | str | None
|
|
717
717
|
:type undo: bool | None
|
|
718
718
|
:param paste_back: Paste on Back, Add pasted strokes behind all strokes
|
|
719
|
-
:type paste_back: bool |
|
|
719
|
+
:type paste_back: bool | None
|
|
720
720
|
"""
|
|
721
721
|
|
|
722
722
|
...
|
|
@@ -726,7 +726,7 @@ def primitive_arc(
|
|
|
726
726
|
execution_context: int | str | None = None,
|
|
727
727
|
undo: bool | None = None,
|
|
728
728
|
*,
|
|
729
|
-
subdivision:
|
|
729
|
+
subdivision: int | None = 62,
|
|
730
730
|
type: str | None = "ARC",
|
|
731
731
|
):
|
|
732
732
|
"""Create predefined grease pencil stroke arcs
|
|
@@ -735,7 +735,7 @@ def primitive_arc(
|
|
|
735
735
|
:type execution_context: int | str | None
|
|
736
736
|
:type undo: bool | None
|
|
737
737
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
738
|
-
:type subdivision:
|
|
738
|
+
:type subdivision: int | None
|
|
739
739
|
:param type: Type, Type of shape
|
|
740
740
|
:type type: str | None
|
|
741
741
|
"""
|
|
@@ -747,7 +747,7 @@ def primitive_box(
|
|
|
747
747
|
execution_context: int | str | None = None,
|
|
748
748
|
undo: bool | None = None,
|
|
749
749
|
*,
|
|
750
|
-
subdivision:
|
|
750
|
+
subdivision: int | None = 3,
|
|
751
751
|
type: str | None = "BOX",
|
|
752
752
|
):
|
|
753
753
|
"""Create predefined grease pencil stroke boxes
|
|
@@ -756,7 +756,7 @@ def primitive_box(
|
|
|
756
756
|
:type execution_context: int | str | None
|
|
757
757
|
:type undo: bool | None
|
|
758
758
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
759
|
-
:type subdivision:
|
|
759
|
+
:type subdivision: int | None
|
|
760
760
|
:param type: Type, Type of shape
|
|
761
761
|
:type type: str | None
|
|
762
762
|
"""
|
|
@@ -768,7 +768,7 @@ def primitive_circle(
|
|
|
768
768
|
execution_context: int | str | None = None,
|
|
769
769
|
undo: bool | None = None,
|
|
770
770
|
*,
|
|
771
|
-
subdivision:
|
|
771
|
+
subdivision: int | None = 94,
|
|
772
772
|
type: str | None = "CIRCLE",
|
|
773
773
|
):
|
|
774
774
|
"""Create predefined grease pencil stroke circles
|
|
@@ -777,7 +777,7 @@ def primitive_circle(
|
|
|
777
777
|
:type execution_context: int | str | None
|
|
778
778
|
:type undo: bool | None
|
|
779
779
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
780
|
-
:type subdivision:
|
|
780
|
+
:type subdivision: int | None
|
|
781
781
|
:param type: Type, Type of shape
|
|
782
782
|
:type type: str | None
|
|
783
783
|
"""
|
|
@@ -789,7 +789,7 @@ def primitive_curve(
|
|
|
789
789
|
execution_context: int | str | None = None,
|
|
790
790
|
undo: bool | None = None,
|
|
791
791
|
*,
|
|
792
|
-
subdivision:
|
|
792
|
+
subdivision: int | None = 62,
|
|
793
793
|
type: str | None = "CURVE",
|
|
794
794
|
):
|
|
795
795
|
"""Create predefined grease pencil stroke curve shapes
|
|
@@ -798,7 +798,7 @@ def primitive_curve(
|
|
|
798
798
|
:type execution_context: int | str | None
|
|
799
799
|
:type undo: bool | None
|
|
800
800
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
801
|
-
:type subdivision:
|
|
801
|
+
:type subdivision: int | None
|
|
802
802
|
:param type: Type, Type of shape
|
|
803
803
|
:type type: str | None
|
|
804
804
|
"""
|
|
@@ -810,7 +810,7 @@ def primitive_line(
|
|
|
810
810
|
execution_context: int | str | None = None,
|
|
811
811
|
undo: bool | None = None,
|
|
812
812
|
*,
|
|
813
|
-
subdivision:
|
|
813
|
+
subdivision: int | None = 6,
|
|
814
814
|
type: str | None = "LINE",
|
|
815
815
|
):
|
|
816
816
|
"""Create predefined grease pencil stroke lines
|
|
@@ -819,7 +819,7 @@ def primitive_line(
|
|
|
819
819
|
:type execution_context: int | str | None
|
|
820
820
|
:type undo: bool | None
|
|
821
821
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
822
|
-
:type subdivision:
|
|
822
|
+
:type subdivision: int | None
|
|
823
823
|
:param type: Type, Type of shape
|
|
824
824
|
:type type: str | None
|
|
825
825
|
"""
|
|
@@ -831,7 +831,7 @@ def primitive_polyline(
|
|
|
831
831
|
execution_context: int | str | None = None,
|
|
832
832
|
undo: bool | None = None,
|
|
833
833
|
*,
|
|
834
|
-
subdivision:
|
|
834
|
+
subdivision: int | None = 6,
|
|
835
835
|
type: str | None = "POLYLINE",
|
|
836
836
|
):
|
|
837
837
|
"""Create predefined grease pencil stroke polylines
|
|
@@ -840,7 +840,7 @@ def primitive_polyline(
|
|
|
840
840
|
:type execution_context: int | str | None
|
|
841
841
|
:type undo: bool | None
|
|
842
842
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
843
|
-
:type subdivision:
|
|
843
|
+
:type subdivision: int | None
|
|
844
844
|
:param type: Type, Type of shape
|
|
845
845
|
:type type: str | None
|
|
846
846
|
"""
|
|
@@ -931,7 +931,7 @@ def select_alternate(
|
|
|
931
931
|
execution_context: int | str | None = None,
|
|
932
932
|
undo: bool | None = None,
|
|
933
933
|
*,
|
|
934
|
-
deselect_ends: bool |
|
|
934
|
+
deselect_ends: bool | None = False,
|
|
935
935
|
):
|
|
936
936
|
"""Select alternated points in strokes with already selected points
|
|
937
937
|
|
|
@@ -939,7 +939,7 @@ def select_alternate(
|
|
|
939
939
|
:type execution_context: int | str | None
|
|
940
940
|
:type undo: bool | None
|
|
941
941
|
:param deselect_ends: Deselect Ends, (De)select the first and last point of each stroke
|
|
942
|
-
:type deselect_ends: bool |
|
|
942
|
+
:type deselect_ends: bool | None
|
|
943
943
|
"""
|
|
944
944
|
|
|
945
945
|
...
|
|
@@ -949,8 +949,8 @@ def select_ends(
|
|
|
949
949
|
execution_context: int | str | None = None,
|
|
950
950
|
undo: bool | None = None,
|
|
951
951
|
*,
|
|
952
|
-
amount_start:
|
|
953
|
-
amount_end:
|
|
952
|
+
amount_start: int | None = 0,
|
|
953
|
+
amount_end: int | None = 1,
|
|
954
954
|
):
|
|
955
955
|
"""Select end points of strokes
|
|
956
956
|
|
|
@@ -958,9 +958,9 @@ def select_ends(
|
|
|
958
958
|
:type execution_context: int | str | None
|
|
959
959
|
:type undo: bool | None
|
|
960
960
|
:param amount_start: Amount Start, Number of points to select from the start
|
|
961
|
-
:type amount_start:
|
|
961
|
+
:type amount_start: int | None
|
|
962
962
|
:param amount_end: Amount End, Number of points to select from the end
|
|
963
|
-
:type amount_end:
|
|
963
|
+
:type amount_end: int | None
|
|
964
964
|
"""
|
|
965
965
|
|
|
966
966
|
...
|
|
@@ -1012,8 +1012,8 @@ def select_random(
|
|
|
1012
1012
|
execution_context: int | str | None = None,
|
|
1013
1013
|
undo: bool | None = None,
|
|
1014
1014
|
*,
|
|
1015
|
-
ratio:
|
|
1016
|
-
seed:
|
|
1015
|
+
ratio: float | None = 0.5,
|
|
1016
|
+
seed: int | None = 0,
|
|
1017
1017
|
action: str | None = "SELECT",
|
|
1018
1018
|
):
|
|
1019
1019
|
"""Selects random points from the current strokes selection
|
|
@@ -1022,9 +1022,9 @@ def select_random(
|
|
|
1022
1022
|
:type execution_context: int | str | None
|
|
1023
1023
|
:type undo: bool | None
|
|
1024
1024
|
:param ratio: Ratio, Portion of items to select randomly
|
|
1025
|
-
:type ratio:
|
|
1025
|
+
:type ratio: float | None
|
|
1026
1026
|
:param seed: Random Seed, Seed for the random number generator
|
|
1027
|
-
:type seed:
|
|
1027
|
+
:type seed: int | None
|
|
1028
1028
|
:param action: Action, Selection action to execute
|
|
1029
1029
|
|
|
1030
1030
|
SELECT
|
|
@@ -1084,7 +1084,7 @@ def set_curve_type(
|
|
|
1084
1084
|
undo: bool | None = None,
|
|
1085
1085
|
*,
|
|
1086
1086
|
type: str | None = "POLY",
|
|
1087
|
-
use_handles: bool |
|
|
1087
|
+
use_handles: bool | None = False,
|
|
1088
1088
|
):
|
|
1089
1089
|
"""Set type of selected curves
|
|
1090
1090
|
|
|
@@ -1094,7 +1094,7 @@ def set_curve_type(
|
|
|
1094
1094
|
:param type: Type, Curve type
|
|
1095
1095
|
:type type: str | None
|
|
1096
1096
|
:param use_handles: Handles, Take handle information into account in the conversion
|
|
1097
|
-
:type use_handles: bool |
|
|
1097
|
+
:type use_handles: bool | None
|
|
1098
1098
|
"""
|
|
1099
1099
|
|
|
1100
1100
|
...
|
|
@@ -1158,7 +1158,7 @@ def set_uniform_opacity(
|
|
|
1158
1158
|
execution_context: int | str | None = None,
|
|
1159
1159
|
undo: bool | None = None,
|
|
1160
1160
|
*,
|
|
1161
|
-
opacity:
|
|
1161
|
+
opacity: float | None = 1.0,
|
|
1162
1162
|
):
|
|
1163
1163
|
"""Set all stroke points to same opacity
|
|
1164
1164
|
|
|
@@ -1166,7 +1166,7 @@ def set_uniform_opacity(
|
|
|
1166
1166
|
:type execution_context: int | str | None
|
|
1167
1167
|
:type undo: bool | None
|
|
1168
1168
|
:param opacity: Opacity
|
|
1169
|
-
:type opacity:
|
|
1169
|
+
:type opacity: float | None
|
|
1170
1170
|
"""
|
|
1171
1171
|
|
|
1172
1172
|
...
|
|
@@ -1176,7 +1176,7 @@ def set_uniform_thickness(
|
|
|
1176
1176
|
execution_context: int | str | None = None,
|
|
1177
1177
|
undo: bool | None = None,
|
|
1178
1178
|
*,
|
|
1179
|
-
thickness:
|
|
1179
|
+
thickness: float | None = 0.1,
|
|
1180
1180
|
):
|
|
1181
1181
|
"""Set all stroke points to same thickness
|
|
1182
1182
|
|
|
@@ -1184,7 +1184,7 @@ def set_uniform_thickness(
|
|
|
1184
1184
|
:type execution_context: int | str | None
|
|
1185
1185
|
:type undo: bool | None
|
|
1186
1186
|
:param thickness: Thickness, Thickness
|
|
1187
|
-
:type thickness:
|
|
1187
|
+
:type thickness: float | None
|
|
1188
1188
|
"""
|
|
1189
1189
|
|
|
1190
1190
|
...
|
|
@@ -1208,7 +1208,7 @@ def snap_to_cursor(
|
|
|
1208
1208
|
execution_context: int | str | None = None,
|
|
1209
1209
|
undo: bool | None = None,
|
|
1210
1210
|
*,
|
|
1211
|
-
use_offset: bool |
|
|
1211
|
+
use_offset: bool | None = True,
|
|
1212
1212
|
):
|
|
1213
1213
|
"""Snap selected points/strokes to the cursor
|
|
1214
1214
|
|
|
@@ -1216,7 +1216,7 @@ def snap_to_cursor(
|
|
|
1216
1216
|
:type execution_context: int | str | None
|
|
1217
1217
|
:type undo: bool | None
|
|
1218
1218
|
:param use_offset: With Offset, Offset the entire stroke instead of selected points only
|
|
1219
|
-
:type use_offset: bool |
|
|
1219
|
+
:type use_offset: bool | None
|
|
1220
1220
|
"""
|
|
1221
1221
|
|
|
1222
1222
|
...
|
|
@@ -1258,7 +1258,7 @@ def stroke_material_set(
|
|
|
1258
1258
|
execution_context: int | str | None = None,
|
|
1259
1259
|
undo: bool | None = None,
|
|
1260
1260
|
*,
|
|
1261
|
-
material: str
|
|
1261
|
+
material: str = "",
|
|
1262
1262
|
):
|
|
1263
1263
|
"""Assign the active material slot to the selected strokes
|
|
1264
1264
|
|
|
@@ -1266,7 +1266,7 @@ def stroke_material_set(
|
|
|
1266
1266
|
:type execution_context: int | str | None
|
|
1267
1267
|
:type undo: bool | None
|
|
1268
1268
|
:param material: Material, Name of the material
|
|
1269
|
-
:type material: str
|
|
1269
|
+
:type material: str
|
|
1270
1270
|
"""
|
|
1271
1271
|
|
|
1272
1272
|
...
|
|
@@ -1276,8 +1276,8 @@ def stroke_merge_by_distance(
|
|
|
1276
1276
|
execution_context: int | str | None = None,
|
|
1277
1277
|
undo: bool | None = None,
|
|
1278
1278
|
*,
|
|
1279
|
-
threshold:
|
|
1280
|
-
use_unselected: bool |
|
|
1279
|
+
threshold: float | None = 0.001,
|
|
1280
|
+
use_unselected: bool | None = False,
|
|
1281
1281
|
):
|
|
1282
1282
|
"""Merge points by distance
|
|
1283
1283
|
|
|
@@ -1285,9 +1285,9 @@ def stroke_merge_by_distance(
|
|
|
1285
1285
|
:type execution_context: int | str | None
|
|
1286
1286
|
:type undo: bool | None
|
|
1287
1287
|
:param threshold: Threshold
|
|
1288
|
-
:type threshold:
|
|
1288
|
+
:type threshold: float | None
|
|
1289
1289
|
:param use_unselected: Unselected, Use whole stroke, not only selected points
|
|
1290
|
-
:type use_unselected: bool |
|
|
1290
|
+
:type use_unselected: bool | None
|
|
1291
1291
|
"""
|
|
1292
1292
|
|
|
1293
1293
|
...
|
|
@@ -1297,7 +1297,7 @@ def stroke_simplify(
|
|
|
1297
1297
|
execution_context: int | str | None = None,
|
|
1298
1298
|
undo: bool | None = None,
|
|
1299
1299
|
*,
|
|
1300
|
-
factor:
|
|
1300
|
+
factor: float | None = 0.01,
|
|
1301
1301
|
):
|
|
1302
1302
|
"""Simplify selected strokes
|
|
1303
1303
|
|
|
@@ -1305,7 +1305,7 @@ def stroke_simplify(
|
|
|
1305
1305
|
:type execution_context: int | str | None
|
|
1306
1306
|
:type undo: bool | None
|
|
1307
1307
|
:param factor: Factor
|
|
1308
|
-
:type factor:
|
|
1308
|
+
:type factor: float | None
|
|
1309
1309
|
"""
|
|
1310
1310
|
|
|
1311
1311
|
...
|
|
@@ -1315,13 +1315,13 @@ def stroke_smooth(
|
|
|
1315
1315
|
execution_context: int | str | None = None,
|
|
1316
1316
|
undo: bool | None = None,
|
|
1317
1317
|
*,
|
|
1318
|
-
iterations:
|
|
1319
|
-
factor:
|
|
1320
|
-
smooth_ends: bool |
|
|
1321
|
-
keep_shape: bool |
|
|
1322
|
-
smooth_position: bool |
|
|
1323
|
-
smooth_radius: bool |
|
|
1324
|
-
smooth_opacity: bool |
|
|
1318
|
+
iterations: int | None = 10,
|
|
1319
|
+
factor: float | None = 1.0,
|
|
1320
|
+
smooth_ends: bool | None = False,
|
|
1321
|
+
keep_shape: bool | None = False,
|
|
1322
|
+
smooth_position: bool | None = True,
|
|
1323
|
+
smooth_radius: bool | None = True,
|
|
1324
|
+
smooth_opacity: bool | None = False,
|
|
1325
1325
|
):
|
|
1326
1326
|
"""Smooth selected strokes
|
|
1327
1327
|
|
|
@@ -1329,19 +1329,19 @@ def stroke_smooth(
|
|
|
1329
1329
|
:type execution_context: int | str | None
|
|
1330
1330
|
:type undo: bool | None
|
|
1331
1331
|
:param iterations: Iterations
|
|
1332
|
-
:type iterations:
|
|
1332
|
+
:type iterations: int | None
|
|
1333
1333
|
:param factor: Factor
|
|
1334
|
-
:type factor:
|
|
1334
|
+
:type factor: float | None
|
|
1335
1335
|
:param smooth_ends: Smooth Endpoints
|
|
1336
|
-
:type smooth_ends: bool |
|
|
1336
|
+
:type smooth_ends: bool | None
|
|
1337
1337
|
:param keep_shape: Keep Shape
|
|
1338
|
-
:type keep_shape: bool |
|
|
1338
|
+
:type keep_shape: bool | None
|
|
1339
1339
|
:param smooth_position: Position
|
|
1340
|
-
:type smooth_position: bool |
|
|
1340
|
+
:type smooth_position: bool | None
|
|
1341
1341
|
:param smooth_radius: Radius
|
|
1342
|
-
:type smooth_radius: bool |
|
|
1342
|
+
:type smooth_radius: bool | None
|
|
1343
1343
|
:param smooth_opacity: Opacity
|
|
1344
|
-
:type smooth_opacity: bool |
|
|
1344
|
+
:type smooth_opacity: bool | None
|
|
1345
1345
|
"""
|
|
1346
1346
|
|
|
1347
1347
|
...
|
|
@@ -1351,8 +1351,8 @@ def stroke_subdivide(
|
|
|
1351
1351
|
execution_context: int | str | None = None,
|
|
1352
1352
|
undo: bool | None = None,
|
|
1353
1353
|
*,
|
|
1354
|
-
number_cuts:
|
|
1355
|
-
only_selected: bool |
|
|
1354
|
+
number_cuts: int | None = 1,
|
|
1355
|
+
only_selected: bool | None = True,
|
|
1356
1356
|
):
|
|
1357
1357
|
"""Subdivide between continuous selected points of the stroke adding a point half way between them
|
|
1358
1358
|
|
|
@@ -1360,9 +1360,9 @@ def stroke_subdivide(
|
|
|
1360
1360
|
:type execution_context: int | str | None
|
|
1361
1361
|
:type undo: bool | None
|
|
1362
1362
|
:param number_cuts: Number of Cuts
|
|
1363
|
-
:type number_cuts:
|
|
1363
|
+
:type number_cuts: int | None
|
|
1364
1364
|
:param only_selected: Selected Points, Smooth only selected points in the stroke
|
|
1365
|
-
:type only_selected: bool |
|
|
1365
|
+
:type only_selected: bool | None
|
|
1366
1366
|
"""
|
|
1367
1367
|
|
|
1368
1368
|
...
|