fake-bpy-module 20240802__py3-none-any.whl → 20240804__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fake-bpy-module might be problematic. Click here for more details.
- aud/__init__.pyi +77 -77
- bmesh/ops/__init__.pyi +54 -36
- bmesh/types/__init__.pyi +24 -24
- bpy/ops/action/__init__.pyi +55 -32
- bpy/ops/anim/__init__.pyi +22 -22
- bpy/ops/armature/__init__.pyi +47 -20
- bpy/ops/asset/__init__.pyi +5 -2
- bpy/ops/boid/__init__.pyi +12 -2
- bpy/ops/brush/__init__.pyi +18 -12
- bpy/ops/buttons/__init__.pyi +10 -4
- bpy/ops/cachefile/__init__.pyi +12 -6
- bpy/ops/clip/__init__.pyi +54 -38
- bpy/ops/console/__init__.pyi +17 -6
- bpy/ops/constraint/__init__.pyi +28 -28
- bpy/ops/curve/__init__.pyi +72 -34
- bpy/ops/curves/__init__.pyi +16 -16
- bpy/ops/dpaint/__init__.pyi +4 -4
- bpy/ops/ed/__init__.pyi +5 -2
- bpy/ops/export_anim/__init__.pyi +3 -2
- bpy/ops/export_scene/__init__.pyi +55 -45
- bpy/ops/file/__init__.pyi +40 -16
- bpy/ops/font/__init__.pyi +59 -16
- bpy/ops/geometry/__init__.pyi +55 -20
- bpy/ops/gpencil/__init__.pyi +155 -122
- bpy/ops/graph/__init__.pyi +131 -52
- bpy/ops/grease_pencil/__init__.pyi +96 -58
- bpy/ops/image/__init__.pyi +77 -54
- bpy/ops/import_anim/__init__.pyi +11 -8
- bpy/ops/import_scene/__init__.pyi +20 -18
- bpy/ops/info/__init__.pyi +4 -4
- bpy/ops/lattice/__init__.pyi +8 -8
- bpy/ops/marker/__init__.pyi +6 -6
- bpy/ops/mask/__init__.pyi +13 -12
- bpy/ops/mball/__init__.pyi +6 -6
- bpy/ops/mesh/__init__.pyi +290 -150
- bpy/ops/nla/__init__.pyi +28 -20
- bpy/ops/node/__init__.pyi +43 -32
- bpy/ops/object/__init__.pyi +651 -210
- bpy/ops/outliner/__init__.pyi +113 -32
- bpy/ops/paint/__init__.pyi +65 -56
- bpy/ops/palette/__init__.pyi +4 -4
- bpy/ops/particle/__init__.pyi +14 -14
- bpy/ops/pose/__init__.pyi +121 -44
- bpy/ops/preferences/__init__.pyi +9 -6
- bpy/ops/render/__init__.pyi +3 -2
- bpy/ops/rigidbody/__init__.pyi +45 -14
- bpy/ops/scene/__init__.pyi +69 -22
- bpy/ops/screen/__init__.pyi +78 -16
- bpy/ops/sculpt/__init__.pyi +131 -74
- bpy/ops/sculpt_curves/__init__.pyi +2 -2
- bpy/ops/sequencer/__init__.pyi +156 -60
- bpy/ops/sound/__init__.pyi +40 -16
- bpy/ops/surface/__init__.pyi +12 -12
- bpy/ops/text/__init__.pyi +65 -20
- bpy/ops/texture/__init__.pyi +2 -2
- bpy/ops/transform/__init__.pyi +344 -72
- bpy/ops/ui/__init__.pyi +9 -6
- bpy/ops/uilist/__init__.pyi +2 -2
- bpy/ops/uv/__init__.pyi +90 -66
- bpy/ops/view3d/__init__.pyi +36 -30
- bpy/ops/wm/__init__.pyi +443 -156
- bpy/types/__init__.pyi +56103 -30890
- {fake_bpy_module-20240802.dist-info → fake_bpy_module-20240804.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240802.dist-info → fake_bpy_module-20240804.dist-info}/RECORD +73 -73
- freestyle/chainingiterators/__init__.pyi +4 -4
- freestyle/types/__init__.pyi +76 -63
- freestyle/utils/__init__.pyi +1 -1
- idprop/types/__init__.pyi +2 -2
- imbuf/types/__init__.pyi +2 -2
- mathutils/__init__.pyi +1004 -970
- mathutils/bvhtree/__init__.pyi +2 -2
- {fake_bpy_module-20240802.dist-info → fake_bpy_module-20240804.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240802.dist-info → fake_bpy_module-20240804.dist-info}/top_level.txt +0 -0
|
@@ -7,6 +7,24 @@ import bpy.types
|
|
|
7
7
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
8
8
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
9
9
|
|
|
10
|
+
def active_frame_delete(
|
|
11
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
12
|
+
execution_context: int | str | None = None,
|
|
13
|
+
undo: bool | None = None,
|
|
14
|
+
*,
|
|
15
|
+
all: bool | None = False,
|
|
16
|
+
):
|
|
17
|
+
"""Delete the active Grease Pencil frame(s)
|
|
18
|
+
|
|
19
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
20
|
+
:type execution_context: int | str | None
|
|
21
|
+
:type undo: bool | None
|
|
22
|
+
:param all: Delete all, Delete active keyframes of all layer
|
|
23
|
+
:type all: bool | None
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
...
|
|
27
|
+
|
|
10
28
|
def brush_stroke(
|
|
11
29
|
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
12
30
|
execution_context: int | str | None = None,
|
|
@@ -14,7 +32,7 @@ def brush_stroke(
|
|
|
14
32
|
*,
|
|
15
33
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
16
34
|
| None = None,
|
|
17
|
-
mode:
|
|
35
|
+
mode: typing.Literal["NORMAL", "INVERT", "SMOOTH", "ERASE"] | None = "NORMAL",
|
|
18
36
|
):
|
|
19
37
|
"""Draw a new stroke in the active Grease Pencil object
|
|
20
38
|
|
|
@@ -36,7 +54,7 @@ def brush_stroke(
|
|
|
36
54
|
|
|
37
55
|
ERASE
|
|
38
56
|
Erase -- Switch brush to erase mode for duration of stroke.
|
|
39
|
-
:type mode:
|
|
57
|
+
:type mode: typing.Literal['NORMAL','INVERT','SMOOTH','ERASE'] | None
|
|
40
58
|
"""
|
|
41
59
|
|
|
42
60
|
...
|
|
@@ -46,7 +64,7 @@ def caps_set(
|
|
|
46
64
|
execution_context: int | str | None = None,
|
|
47
65
|
undo: bool | None = None,
|
|
48
66
|
*,
|
|
49
|
-
type:
|
|
67
|
+
type: typing.Literal["ROUND", "FLAT", "START", "END"] | None = "ROUND",
|
|
50
68
|
):
|
|
51
69
|
"""Change curve caps mode (rounded or flat)
|
|
52
70
|
|
|
@@ -66,7 +84,7 @@ def caps_set(
|
|
|
66
84
|
|
|
67
85
|
END
|
|
68
86
|
Toggle End.
|
|
69
|
-
:type type:
|
|
87
|
+
:type type: typing.Literal['ROUND','FLAT','START','END'] | None
|
|
70
88
|
"""
|
|
71
89
|
|
|
72
90
|
...
|
|
@@ -108,7 +126,7 @@ def cyclical_set(
|
|
|
108
126
|
execution_context: int | str | None = None,
|
|
109
127
|
undo: bool | None = None,
|
|
110
128
|
*,
|
|
111
|
-
type:
|
|
129
|
+
type: typing.Literal["CLOSE", "OPEN", "TOGGLE"] | None = "TOGGLE",
|
|
112
130
|
):
|
|
113
131
|
"""Close or open the selected stroke adding a segment from last to first point
|
|
114
132
|
|
|
@@ -116,7 +134,7 @@ def cyclical_set(
|
|
|
116
134
|
:type execution_context: int | str | None
|
|
117
135
|
:type undo: bool | None
|
|
118
136
|
:param type: Type
|
|
119
|
-
:type type:
|
|
137
|
+
:type type: typing.Literal['CLOSE','OPEN','TOGGLE'] | None
|
|
120
138
|
"""
|
|
121
139
|
|
|
122
140
|
...
|
|
@@ -140,7 +158,7 @@ def delete_frame(
|
|
|
140
158
|
execution_context: int | str | None = None,
|
|
141
159
|
undo: bool | None = None,
|
|
142
160
|
*,
|
|
143
|
-
type:
|
|
161
|
+
type: typing.Literal["ACTIVE_FRAME", "ALL_FRAMES"] | None = "ACTIVE_FRAME",
|
|
144
162
|
):
|
|
145
163
|
"""Delete Grease Pencil Frame(s)
|
|
146
164
|
|
|
@@ -154,7 +172,7 @@ def delete_frame(
|
|
|
154
172
|
|
|
155
173
|
ALL_FRAMES
|
|
156
174
|
All Active Frames -- Delete active frames for all layers.
|
|
157
|
-
:type type:
|
|
175
|
+
:type type: typing.Literal['ACTIVE_FRAME','ALL_FRAMES'] | None
|
|
158
176
|
"""
|
|
159
177
|
|
|
160
178
|
...
|
|
@@ -164,7 +182,7 @@ def dissolve(
|
|
|
164
182
|
execution_context: int | str | None = None,
|
|
165
183
|
undo: bool | None = None,
|
|
166
184
|
*,
|
|
167
|
-
type:
|
|
185
|
+
type: typing.Literal["POINTS", "BETWEEN", "UNSELECT"] | None = "POINTS",
|
|
168
186
|
):
|
|
169
187
|
"""Delete selected points without splitting strokes
|
|
170
188
|
|
|
@@ -181,7 +199,7 @@ def dissolve(
|
|
|
181
199
|
|
|
182
200
|
UNSELECT
|
|
183
201
|
Dissolve Unselect -- Dissolve all unselected points.
|
|
184
|
-
:type type:
|
|
202
|
+
:type type: typing.Literal['POINTS','BETWEEN','UNSELECT'] | None
|
|
185
203
|
"""
|
|
186
204
|
|
|
187
205
|
...
|
|
@@ -340,9 +358,9 @@ def interpolate(
|
|
|
340
358
|
undo: bool | None = None,
|
|
341
359
|
*,
|
|
342
360
|
shift: float | None = 0.0,
|
|
343
|
-
layers:
|
|
361
|
+
layers: typing.Literal["ACTIVE", "ALL"] | None = "ACTIVE",
|
|
344
362
|
exclude_breakdowns: bool | None = False,
|
|
345
|
-
flip:
|
|
363
|
+
flip: typing.Literal["NONE", "FLIP", "AUTO"] | None = "AUTO",
|
|
346
364
|
smooth_steps: int | None = 1,
|
|
347
365
|
smooth_factor: float | None = 0.0,
|
|
348
366
|
):
|
|
@@ -354,11 +372,11 @@ def interpolate(
|
|
|
354
372
|
:param shift: Shift, Bias factor for which frame has more influence on the interpolated strokes
|
|
355
373
|
:type shift: float | None
|
|
356
374
|
:param layers: Layer, Layers included in the interpolation
|
|
357
|
-
:type layers:
|
|
375
|
+
:type layers: typing.Literal['ACTIVE','ALL'] | None
|
|
358
376
|
:param exclude_breakdowns: Exclude Breakdowns, Exclude existing Breakdowns keyframes as interpolation extremes
|
|
359
377
|
:type exclude_breakdowns: bool | None
|
|
360
378
|
:param flip: Flip Mode, Invert destination stroke to match start and end with source stroke
|
|
361
|
-
:type flip:
|
|
379
|
+
:type flip: typing.Literal['NONE','FLIP','AUTO'] | None
|
|
362
380
|
:param smooth_steps: Iterations, Number of times to smooth newly created strokes
|
|
363
381
|
:type smooth_steps: int | None
|
|
364
382
|
:param smooth_factor: Smooth, Amount of smoothing to apply to interpolated strokes, to reduce jitter/noise
|
|
@@ -427,7 +445,7 @@ def layer_duplicate_object(
|
|
|
427
445
|
undo: bool | None = None,
|
|
428
446
|
*,
|
|
429
447
|
only_active: bool | None = True,
|
|
430
|
-
mode:
|
|
448
|
+
mode: typing.Literal["ALL", "ACTIVE"] | None = "ALL",
|
|
431
449
|
):
|
|
432
450
|
"""Make a copy of the active Grease Pencil layer to selected object
|
|
433
451
|
|
|
@@ -437,7 +455,7 @@ def layer_duplicate_object(
|
|
|
437
455
|
:param only_active: Only Active, Copy only active Layer, uncheck to append all layers
|
|
438
456
|
:type only_active: bool | None
|
|
439
457
|
:param mode: Mode
|
|
440
|
-
:type mode:
|
|
458
|
+
:type mode: typing.Literal['ALL','ACTIVE'] | None
|
|
441
459
|
"""
|
|
442
460
|
|
|
443
461
|
...
|
|
@@ -465,7 +483,18 @@ def layer_group_color_tag(
|
|
|
465
483
|
execution_context: int | str | None = None,
|
|
466
484
|
undo: bool | None = None,
|
|
467
485
|
*,
|
|
468
|
-
color_tag:
|
|
486
|
+
color_tag: typing.Literal[
|
|
487
|
+
"NONE",
|
|
488
|
+
"COLOR1",
|
|
489
|
+
"COLOR2",
|
|
490
|
+
"COLOR3",
|
|
491
|
+
"COLOR4",
|
|
492
|
+
"COLOR5",
|
|
493
|
+
"COLOR6",
|
|
494
|
+
"COLOR7",
|
|
495
|
+
"COLOR8",
|
|
496
|
+
]
|
|
497
|
+
| None = "COLOR1",
|
|
469
498
|
):
|
|
470
499
|
"""Change layer group icon
|
|
471
500
|
|
|
@@ -473,7 +502,7 @@ def layer_group_color_tag(
|
|
|
473
502
|
:type execution_context: int | str | None
|
|
474
503
|
:type undo: bool | None
|
|
475
504
|
:param color_tag: color tag
|
|
476
|
-
:type color_tag:
|
|
505
|
+
:type color_tag: typing.Literal['NONE','COLOR1','COLOR2','COLOR3','COLOR4','COLOR5','COLOR6','COLOR7','COLOR8'] | None
|
|
477
506
|
"""
|
|
478
507
|
|
|
479
508
|
...
|
|
@@ -587,7 +616,7 @@ def layer_mask_reorder(
|
|
|
587
616
|
execution_context: int | str | None = None,
|
|
588
617
|
undo: bool | None = None,
|
|
589
618
|
*,
|
|
590
|
-
direction:
|
|
619
|
+
direction: typing.Literal["UP", "DOWN"] | None = "UP",
|
|
591
620
|
):
|
|
592
621
|
"""Reorder the active Grease Pencil mask layer up/down in the list
|
|
593
622
|
|
|
@@ -595,7 +624,7 @@ def layer_mask_reorder(
|
|
|
595
624
|
:type execution_context: int | str | None
|
|
596
625
|
:type undo: bool | None
|
|
597
626
|
:param direction: Direction
|
|
598
|
-
:type direction:
|
|
627
|
+
:type direction: typing.Literal['UP','DOWN'] | None
|
|
599
628
|
"""
|
|
600
629
|
|
|
601
630
|
...
|
|
@@ -620,7 +649,7 @@ def layer_reorder(
|
|
|
620
649
|
undo: bool | None = None,
|
|
621
650
|
*,
|
|
622
651
|
target_layer_name: str = "Layer",
|
|
623
|
-
location:
|
|
652
|
+
location: typing.Literal["ABOVE", "BELOW"] | None = "ABOVE",
|
|
624
653
|
):
|
|
625
654
|
"""Reorder the active Grease Pencil layer
|
|
626
655
|
|
|
@@ -630,7 +659,7 @@ def layer_reorder(
|
|
|
630
659
|
:param target_layer_name: Target Name, Name of the target layer
|
|
631
660
|
:type target_layer_name: str
|
|
632
661
|
:param location: Location
|
|
633
|
-
:type location:
|
|
662
|
+
:type location: typing.Literal['ABOVE','BELOW'] | None
|
|
634
663
|
"""
|
|
635
664
|
|
|
636
665
|
...
|
|
@@ -818,7 +847,8 @@ def primitive_arc(
|
|
|
818
847
|
undo: bool | None = None,
|
|
819
848
|
*,
|
|
820
849
|
subdivision: int | None = 62,
|
|
821
|
-
type:
|
|
850
|
+
type: typing.Literal["BOX", "LINE", "POLYLINE", "CIRCLE", "ARC", "CURVE"]
|
|
851
|
+
| None = "ARC",
|
|
822
852
|
):
|
|
823
853
|
"""Create predefined grease pencil stroke arcs
|
|
824
854
|
|
|
@@ -828,7 +858,7 @@ def primitive_arc(
|
|
|
828
858
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
829
859
|
:type subdivision: int | None
|
|
830
860
|
:param type: Type, Type of shape
|
|
831
|
-
:type type:
|
|
861
|
+
:type type: typing.Literal['BOX','LINE','POLYLINE','CIRCLE','ARC','CURVE'] | None
|
|
832
862
|
"""
|
|
833
863
|
|
|
834
864
|
...
|
|
@@ -839,7 +869,8 @@ def primitive_box(
|
|
|
839
869
|
undo: bool | None = None,
|
|
840
870
|
*,
|
|
841
871
|
subdivision: int | None = 3,
|
|
842
|
-
type:
|
|
872
|
+
type: typing.Literal["BOX", "LINE", "POLYLINE", "CIRCLE", "ARC", "CURVE"]
|
|
873
|
+
| None = "BOX",
|
|
843
874
|
):
|
|
844
875
|
"""Create predefined grease pencil stroke boxes
|
|
845
876
|
|
|
@@ -849,7 +880,7 @@ def primitive_box(
|
|
|
849
880
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
850
881
|
:type subdivision: int | None
|
|
851
882
|
:param type: Type, Type of shape
|
|
852
|
-
:type type:
|
|
883
|
+
:type type: typing.Literal['BOX','LINE','POLYLINE','CIRCLE','ARC','CURVE'] | None
|
|
853
884
|
"""
|
|
854
885
|
|
|
855
886
|
...
|
|
@@ -860,7 +891,8 @@ def primitive_circle(
|
|
|
860
891
|
undo: bool | None = None,
|
|
861
892
|
*,
|
|
862
893
|
subdivision: int | None = 94,
|
|
863
|
-
type:
|
|
894
|
+
type: typing.Literal["BOX", "LINE", "POLYLINE", "CIRCLE", "ARC", "CURVE"]
|
|
895
|
+
| None = "CIRCLE",
|
|
864
896
|
):
|
|
865
897
|
"""Create predefined grease pencil stroke circles
|
|
866
898
|
|
|
@@ -870,7 +902,7 @@ def primitive_circle(
|
|
|
870
902
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
871
903
|
:type subdivision: int | None
|
|
872
904
|
:param type: Type, Type of shape
|
|
873
|
-
:type type:
|
|
905
|
+
:type type: typing.Literal['BOX','LINE','POLYLINE','CIRCLE','ARC','CURVE'] | None
|
|
874
906
|
"""
|
|
875
907
|
|
|
876
908
|
...
|
|
@@ -881,7 +913,8 @@ def primitive_curve(
|
|
|
881
913
|
undo: bool | None = None,
|
|
882
914
|
*,
|
|
883
915
|
subdivision: int | None = 62,
|
|
884
|
-
type:
|
|
916
|
+
type: typing.Literal["BOX", "LINE", "POLYLINE", "CIRCLE", "ARC", "CURVE"]
|
|
917
|
+
| None = "CURVE",
|
|
885
918
|
):
|
|
886
919
|
"""Create predefined grease pencil stroke curve shapes
|
|
887
920
|
|
|
@@ -891,7 +924,7 @@ def primitive_curve(
|
|
|
891
924
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
892
925
|
:type subdivision: int | None
|
|
893
926
|
:param type: Type, Type of shape
|
|
894
|
-
:type type:
|
|
927
|
+
:type type: typing.Literal['BOX','LINE','POLYLINE','CIRCLE','ARC','CURVE'] | None
|
|
895
928
|
"""
|
|
896
929
|
|
|
897
930
|
...
|
|
@@ -902,7 +935,8 @@ def primitive_line(
|
|
|
902
935
|
undo: bool | None = None,
|
|
903
936
|
*,
|
|
904
937
|
subdivision: int | None = 6,
|
|
905
|
-
type:
|
|
938
|
+
type: typing.Literal["BOX", "LINE", "POLYLINE", "CIRCLE", "ARC", "CURVE"]
|
|
939
|
+
| None = "LINE",
|
|
906
940
|
):
|
|
907
941
|
"""Create predefined grease pencil stroke lines
|
|
908
942
|
|
|
@@ -912,7 +946,7 @@ def primitive_line(
|
|
|
912
946
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
913
947
|
:type subdivision: int | None
|
|
914
948
|
:param type: Type, Type of shape
|
|
915
|
-
:type type:
|
|
949
|
+
:type type: typing.Literal['BOX','LINE','POLYLINE','CIRCLE','ARC','CURVE'] | None
|
|
916
950
|
"""
|
|
917
951
|
|
|
918
952
|
...
|
|
@@ -923,7 +957,8 @@ def primitive_polyline(
|
|
|
923
957
|
undo: bool | None = None,
|
|
924
958
|
*,
|
|
925
959
|
subdivision: int | None = 6,
|
|
926
|
-
type:
|
|
960
|
+
type: typing.Literal["BOX", "LINE", "POLYLINE", "CIRCLE", "ARC", "CURVE"]
|
|
961
|
+
| None = "POLYLINE",
|
|
927
962
|
):
|
|
928
963
|
"""Create predefined grease pencil stroke polylines
|
|
929
964
|
|
|
@@ -933,7 +968,7 @@ def primitive_polyline(
|
|
|
933
968
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
934
969
|
:type subdivision: int | None
|
|
935
970
|
:param type: Type, Type of shape
|
|
936
|
-
:type type:
|
|
971
|
+
:type type: typing.Literal['BOX','LINE','POLYLINE','CIRCLE','ARC','CURVE'] | None
|
|
937
972
|
"""
|
|
938
973
|
|
|
939
974
|
...
|
|
@@ -943,7 +978,7 @@ def reorder(
|
|
|
943
978
|
execution_context: int | str | None = None,
|
|
944
979
|
undo: bool | None = None,
|
|
945
980
|
*,
|
|
946
|
-
direction:
|
|
981
|
+
direction: typing.Literal["TOP", "UP", "DOWN", "BOTTOM"] | None = "TOP",
|
|
947
982
|
):
|
|
948
983
|
"""Change the display order of the selected strokes
|
|
949
984
|
|
|
@@ -951,7 +986,7 @@ def reorder(
|
|
|
951
986
|
:type execution_context: int | str | None
|
|
952
987
|
:type undo: bool | None
|
|
953
988
|
:param direction: Direction
|
|
954
|
-
:type direction:
|
|
989
|
+
:type direction: typing.Literal['TOP','UP','DOWN','BOTTOM'] | None
|
|
955
990
|
"""
|
|
956
991
|
|
|
957
992
|
...
|
|
@@ -963,7 +998,7 @@ def sculpt_paint(
|
|
|
963
998
|
*,
|
|
964
999
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
965
1000
|
| None = None,
|
|
966
|
-
mode:
|
|
1001
|
+
mode: typing.Literal["NORMAL", "INVERT", "SMOOTH", "ERASE"] | None = "NORMAL",
|
|
967
1002
|
):
|
|
968
1003
|
"""Draw a new stroke in the active Grease Pencil object
|
|
969
1004
|
|
|
@@ -985,7 +1020,7 @@ def sculpt_paint(
|
|
|
985
1020
|
|
|
986
1021
|
ERASE
|
|
987
1022
|
Erase -- Switch brush to erase mode for duration of stroke.
|
|
988
|
-
:type mode:
|
|
1023
|
+
:type mode: typing.Literal['NORMAL','INVERT','SMOOTH','ERASE'] | None
|
|
989
1024
|
"""
|
|
990
1025
|
|
|
991
1026
|
...
|
|
@@ -995,7 +1030,7 @@ def select_all(
|
|
|
995
1030
|
execution_context: int | str | None = None,
|
|
996
1031
|
undo: bool | None = None,
|
|
997
1032
|
*,
|
|
998
|
-
action:
|
|
1033
|
+
action: typing.Literal["TOGGLE", "SELECT", "DESELECT", "INVERT"] | None = "TOGGLE",
|
|
999
1034
|
):
|
|
1000
1035
|
"""(De)select all visible strokes
|
|
1001
1036
|
|
|
@@ -1015,7 +1050,7 @@ def select_all(
|
|
|
1015
1050
|
|
|
1016
1051
|
INVERT
|
|
1017
1052
|
Invert -- Invert selection of all elements.
|
|
1018
|
-
:type action:
|
|
1053
|
+
:type action: typing.Literal['TOGGLE','SELECT','DESELECT','INVERT'] | None
|
|
1019
1054
|
"""
|
|
1020
1055
|
|
|
1021
1056
|
...
|
|
@@ -1108,7 +1143,7 @@ def select_random(
|
|
|
1108
1143
|
*,
|
|
1109
1144
|
ratio: float | None = 0.5,
|
|
1110
1145
|
seed: int | None = 0,
|
|
1111
|
-
action:
|
|
1146
|
+
action: typing.Literal["SELECT", "DESELECT"] | None = "SELECT",
|
|
1112
1147
|
):
|
|
1113
1148
|
"""Selects random points from the current strokes selection
|
|
1114
1149
|
|
|
@@ -1126,7 +1161,7 @@ def select_random(
|
|
|
1126
1161
|
|
|
1127
1162
|
DESELECT
|
|
1128
1163
|
Deselect -- Deselect all elements.
|
|
1129
|
-
:type action:
|
|
1164
|
+
:type action: typing.Literal['SELECT','DESELECT'] | None
|
|
1130
1165
|
"""
|
|
1131
1166
|
|
|
1132
1167
|
...
|
|
@@ -1136,7 +1171,7 @@ def separate(
|
|
|
1136
1171
|
execution_context: int | str | None = None,
|
|
1137
1172
|
undo: bool | None = None,
|
|
1138
1173
|
*,
|
|
1139
|
-
mode:
|
|
1174
|
+
mode: typing.Literal["SELECTED", "MATERIAL", "LAYER"] | None = "SELECTED",
|
|
1140
1175
|
):
|
|
1141
1176
|
"""Separate the selected geometry into a new grease pencil object
|
|
1142
1177
|
|
|
@@ -1153,7 +1188,7 @@ def separate(
|
|
|
1153
1188
|
|
|
1154
1189
|
LAYER
|
|
1155
1190
|
By Layer -- Separate by layer.
|
|
1156
|
-
:type mode:
|
|
1191
|
+
:type mode: typing.Literal['SELECTED','MATERIAL','LAYER'] | None
|
|
1157
1192
|
"""
|
|
1158
1193
|
|
|
1159
1194
|
...
|
|
@@ -1195,7 +1230,7 @@ def set_curve_type(
|
|
|
1195
1230
|
execution_context: int | str | None = None,
|
|
1196
1231
|
undo: bool | None = None,
|
|
1197
1232
|
*,
|
|
1198
|
-
type:
|
|
1233
|
+
type: typing.Literal["CATMULL_ROM", "POLY", "BEZIER", "NURBS"] | None = "POLY",
|
|
1199
1234
|
use_handles: bool | None = False,
|
|
1200
1235
|
):
|
|
1201
1236
|
"""Set type of selected curves
|
|
@@ -1204,7 +1239,7 @@ def set_curve_type(
|
|
|
1204
1239
|
:type execution_context: int | str | None
|
|
1205
1240
|
:type undo: bool | None
|
|
1206
1241
|
:param type: Type, Curve type
|
|
1207
|
-
:type type:
|
|
1242
|
+
:type type: typing.Literal['CATMULL_ROM', 'POLY', 'BEZIER', 'NURBS'] | None
|
|
1208
1243
|
:param use_handles: Handles, Take handle information into account in the conversion
|
|
1209
1244
|
:type use_handles: bool | None
|
|
1210
1245
|
"""
|
|
@@ -1216,7 +1251,7 @@ def set_handle_type(
|
|
|
1216
1251
|
execution_context: int | str | None = None,
|
|
1217
1252
|
undo: bool | None = None,
|
|
1218
1253
|
*,
|
|
1219
|
-
type:
|
|
1254
|
+
type: typing.Literal["FREE", "AUTO", "VECTOR", "ALIGN"] | None = "AUTO",
|
|
1220
1255
|
):
|
|
1221
1256
|
"""Set the handle type for bezier curves
|
|
1222
1257
|
|
|
@@ -1224,7 +1259,7 @@ def set_handle_type(
|
|
|
1224
1259
|
:type execution_context: int | str | None
|
|
1225
1260
|
:type undo: bool | None
|
|
1226
1261
|
:param type: Type
|
|
1227
|
-
:type type:
|
|
1262
|
+
:type type: typing.Literal['FREE', 'AUTO', 'VECTOR', 'ALIGN'] | None
|
|
1228
1263
|
"""
|
|
1229
1264
|
|
|
1230
1265
|
...
|
|
@@ -1252,7 +1287,7 @@ def set_selection_mode(
|
|
|
1252
1287
|
execution_context: int | str | None = None,
|
|
1253
1288
|
undo: bool | None = None,
|
|
1254
1289
|
*,
|
|
1255
|
-
mode:
|
|
1290
|
+
mode: typing.Literal["POINT", "STROKE", "SEGMENT"] | None = "POINT",
|
|
1256
1291
|
):
|
|
1257
1292
|
"""Change the selection mode for Grease Pencil strokes
|
|
1258
1293
|
|
|
@@ -1260,7 +1295,7 @@ def set_selection_mode(
|
|
|
1260
1295
|
:type execution_context: int | str | None
|
|
1261
1296
|
:type undo: bool | None
|
|
1262
1297
|
:param mode: Mode
|
|
1263
|
-
:type mode:
|
|
1298
|
+
:type mode: typing.Literal['POINT', 'STROKE', 'SEGMENT'] | None
|
|
1264
1299
|
"""
|
|
1265
1300
|
|
|
1266
1301
|
...
|
|
@@ -1528,11 +1563,14 @@ def trace_image(
|
|
|
1528
1563
|
execution_context: int | str | None = None,
|
|
1529
1564
|
undo: bool | None = None,
|
|
1530
1565
|
*,
|
|
1531
|
-
target:
|
|
1566
|
+
target: typing.Literal["NEW", "SELECTED"] | None = "NEW",
|
|
1532
1567
|
radius: float | None = 0.01,
|
|
1533
1568
|
threshold: float | None = 0.5,
|
|
1534
|
-
turnpolicy:
|
|
1535
|
-
|
|
1569
|
+
turnpolicy: typing.Literal[
|
|
1570
|
+
"FOREGROUND", "BACKGROUND", "LEFT", "RIGHT", "MINORITY", "MAJORITY", "RANDOM"
|
|
1571
|
+
]
|
|
1572
|
+
| None = "MINORITY",
|
|
1573
|
+
mode: typing.Literal["SINGLE", "SEQUENCE"] | None = "SINGLE",
|
|
1536
1574
|
use_current_frame: bool | None = True,
|
|
1537
1575
|
frame_number: int | None = 0,
|
|
1538
1576
|
):
|
|
@@ -1542,7 +1580,7 @@ def trace_image(
|
|
|
1542
1580
|
:type execution_context: int | str | None
|
|
1543
1581
|
:type undo: bool | None
|
|
1544
1582
|
:param target: Target Object, Target grease pencil
|
|
1545
|
-
:type target:
|
|
1583
|
+
:type target: typing.Literal['NEW','SELECTED'] | None
|
|
1546
1584
|
:param radius: Radius
|
|
1547
1585
|
:type radius: float | None
|
|
1548
1586
|
:param threshold: Color Threshold, Determine the lightness threshold above which strokes are generated
|
|
@@ -1569,7 +1607,7 @@ def trace_image(
|
|
|
1569
1607
|
|
|
1570
1608
|
RANDOM
|
|
1571
1609
|
Random -- Choose pseudo-randomly.
|
|
1572
|
-
:type turnpolicy:
|
|
1610
|
+
:type turnpolicy: typing.Literal['FOREGROUND','BACKGROUND','LEFT','RIGHT','MINORITY','MAJORITY','RANDOM'] | None
|
|
1573
1611
|
:param mode: Mode, Determines if trace simple image or full sequence
|
|
1574
1612
|
|
|
1575
1613
|
SINGLE
|
|
@@ -1577,7 +1615,7 @@ def trace_image(
|
|
|
1577
1615
|
|
|
1578
1616
|
SEQUENCE
|
|
1579
1617
|
Sequence -- Trace full sequence.
|
|
1580
|
-
:type mode:
|
|
1618
|
+
:type mode: typing.Literal['SINGLE','SEQUENCE'] | None
|
|
1581
1619
|
:param use_current_frame: Start At Current Frame, Trace Image starting in current image frame
|
|
1582
1620
|
:type use_current_frame: bool | None
|
|
1583
1621
|
:param frame_number: Trace Frame, Used to trace only one frame of the image sequence, set to zero to trace all
|
|
@@ -1593,7 +1631,7 @@ def weight_brush_stroke(
|
|
|
1593
1631
|
*,
|
|
1594
1632
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
1595
1633
|
| None = None,
|
|
1596
|
-
mode:
|
|
1634
|
+
mode: typing.Literal["NORMAL", "INVERT", "SMOOTH", "ERASE"] | None = "NORMAL",
|
|
1597
1635
|
):
|
|
1598
1636
|
"""Draw weight on stroke points in the active Grease Pencil object
|
|
1599
1637
|
|
|
@@ -1615,7 +1653,7 @@ def weight_brush_stroke(
|
|
|
1615
1653
|
|
|
1616
1654
|
ERASE
|
|
1617
1655
|
Erase -- Switch brush to erase mode for duration of stroke.
|
|
1618
|
-
:type mode:
|
|
1656
|
+
:type mode: typing.Literal['NORMAL','INVERT','SMOOTH','ERASE'] | None
|
|
1619
1657
|
"""
|
|
1620
1658
|
|
|
1621
1659
|
...
|