fake-bpy-module 20240517__py3-none-any.whl → 20240519__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.
- _bpy_internal/__init__.pyi +2 -1
- _bpy_internal/freedesktop/__init__.pyi +20 -86
- addon_utils/__init__.pyi +7 -31
- animsys_refactor/__init__.pyi +7 -26
- aud/__init__.pyi +3 -5
- bgl/__init__.pyi +2 -1630
- bl_app_override/__init__.pyi +5 -15
- bl_app_override/helpers/__init__.pyi +4 -23
- bl_app_template_utils/__init__.pyi +5 -16
- bl_console_utils/__init__.pyi +2 -1
- bl_console_utils/autocomplete/__init__.pyi +2 -1
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +2 -1
- bl_console_utils/autocomplete/complete_import/__init__.pyi +2 -1
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -1
- bl_console_utils/autocomplete/intellisense/__init__.pyi +2 -1
- bl_i18n_utils/__init__.pyi +2 -1
- bl_i18n_utils/bl_extract_messages/__init__.pyi +15 -65
- bl_i18n_utils/merge_po/__init__.pyi +3 -5
- bl_i18n_utils/settings/__init__.pyi +4 -23
- bl_i18n_utils/utils/__init__.pyi +10 -66
- bl_i18n_utils/utils_cli/__init__.pyi +9 -31
- bl_i18n_utils/utils_languages_menu/__init__.pyi +3 -5
- bl_i18n_utils/utils_rtl/__init__.pyi +2 -1
- bl_keymap_utils/__init__.pyi +2 -1
- bl_keymap_utils/io/__init__.pyi +10 -40
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +3 -5
- bl_keymap_utils/platform_helpers/__init__.pyi +3 -6
- bl_keymap_utils/versioning/__init__.pyi +3 -5
- bl_math/__init__.pyi +2 -1
- bl_operators/__init__.pyi +4 -10
- bl_operators/add_mesh_torus/__init__.pyi +4 -19
- bl_operators/anim/__init__.pyi +2 -71
- bl_operators/assets/__init__.pyi +2 -30
- bl_operators/bmesh/__init__.pyi +2 -1
- bl_operators/bmesh/find_adjacent/__init__.pyi +9 -35
- bl_operators/clip/__init__.pyi +7 -115
- bl_operators/console/__init__.pyi +2 -38
- bl_operators/constraint/__init__.pyi +2 -37
- bl_operators/file/__init__.pyi +2 -28
- bl_operators/freestyle/__init__.pyi +2 -37
- bl_operators/geometry_nodes/__init__.pyi +15 -103
- bl_operators/image/__init__.pyi +2 -52
- bl_operators/mesh/__init__.pyi +2 -28
- bl_operators/node/__init__.pyi +2 -105
- bl_operators/object/__init__.pyi +2 -138
- bl_operators/object_align/__init__.pyi +5 -24
- bl_operators/object_quick_effects/__init__.pyi +4 -49
- bl_operators/object_randomize_transform/__init__.pyi +5 -14
- bl_operators/presets/__init__.pyi +4 -376
- bl_operators/rigidbody/__init__.pyi +2 -28
- bl_operators/screen_play_rendered_anim/__init__.pyi +3 -14
- bl_operators/sequencer/__init__.pyi +3 -104
- bl_operators/spreadsheet/__init__.pyi +2 -10
- bl_operators/userpref/__init__.pyi +3 -201
- bl_operators/uvcalc_follow_active/__init__.pyi +4 -19
- bl_operators/uvcalc_lightmap/__init__.pyi +4 -34
- bl_operators/uvcalc_transform/__init__.pyi +13 -73
- bl_operators/vertexpaint_dirt/__init__.pyi +4 -19
- bl_operators/view3d/__init__.pyi +2 -64
- bl_operators/wm/__init__.pyi +16 -451
- bl_operators/world/__init__.pyi +2 -10
- bl_previews_utils/__init__.pyi +2 -1
- bl_previews_utils/bl_previews_render/__init__.pyi +10 -36
- bl_rna_utils/__init__.pyi +2 -1
- bl_rna_utils/data_path/__init__.pyi +2 -2
- bl_text_utils/__init__.pyi +2 -1
- bl_text_utils/external_editor/__init__.pyi +3 -5
- bl_ui/__init__.pyi +32 -141
- bl_ui/anim/__init__.pyi +3 -12
- bl_ui/asset_shelf/__init__.pyi +3 -16
- bl_ui/generic_ui_list/__init__.pyi +4 -31
- bl_ui/node_add_menu/__init__.pyi +6 -28
- bl_ui/node_add_menu_compositor/__init__.pyi +20 -237
- bl_ui/node_add_menu_geometry/__init__.pyi +50 -629
- bl_ui/node_add_menu_shader/__init__.pyi +20 -170
- bl_ui/node_add_menu_texture/__init__.pyi +11 -118
- bl_ui/properties_animviz/__init__.pyi +2 -15
- bl_ui/properties_collection/__init__.pyi +9 -112
- bl_ui/properties_constraint/__init__.pyi +81 -1524
- bl_ui/properties_data_armature/__init__.pyi +14 -214
- bl_ui/properties_data_bone/__init__.pyi +12 -198
- bl_ui/properties_data_camera/__init__.pyi +17 -312
- bl_ui/properties_data_curve/__init__.pyi +17 -319
- bl_ui/properties_data_curves/__init__.pyi +8 -108
- bl_ui/properties_data_empty/__init__.pyi +4 -44
- bl_ui/properties_data_gpencil/__init__.pyi +20 -350
- bl_ui/properties_data_grease_pencil/__init__.pyi +16 -257
- bl_ui/properties_data_lattice/__init__.pyi +5 -65
- bl_ui/properties_data_light/__init__.pyi +14 -264
- bl_ui/properties_data_lightprobe/__init__.pyi +15 -277
- bl_ui/properties_data_mesh/__init__.pyi +23 -325
- bl_ui/properties_data_metaball/__init__.pyi +7 -103
- bl_ui/properties_data_modifier/__init__.pyi +10 -178
- bl_ui/properties_data_pointcloud/__init__.pyi +7 -89
- bl_ui/properties_data_shaderfx/__init__.pyi +3 -27
- bl_ui/properties_data_speaker/__init__.pyi +7 -111
- bl_ui/properties_data_volume/__init__.pyi +10 -156
- bl_ui/properties_freestyle/__init__.pyi +31 -615
- bl_ui/properties_grease_pencil_common/__init__.pyi +17 -216
- bl_ui/properties_mask_common/__init__.pyi +10 -111
- bl_ui/properties_material/__init__.pyi +20 -331
- bl_ui/properties_material_gpencil/__init__.pyi +12 -182
- bl_ui/properties_object/__init__.pyi +16 -276
- bl_ui/properties_output/__init__.pyi +20 -370
- bl_ui/properties_paint_common/__init__.pyi +14 -106
- bl_ui/properties_particle/__init__.pyi +58 -1159
- bl_ui/properties_physics_cloth/__init__.pyi +17 -314
- bl_ui/properties_physics_common/__init__.pyi +9 -58
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +24 -490
- bl_ui/properties_physics_field/__init__.pyi +13 -218
- bl_ui/properties_physics_fluid/__init__.pyi +30 -626
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +3 -20
- bl_ui/properties_physics_rigidbody/__init__.pyi +11 -188
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +15 -279
- bl_ui/properties_physics_softbody/__init__.pyi +18 -353
- bl_ui/properties_render/__init__.pyi +56 -1146
- bl_ui/properties_scene/__init__.pyi +17 -298
- bl_ui/properties_texture/__init__.pyi +30 -577
- bl_ui/properties_view_layer/__init__.pyi +20 -346
- bl_ui/properties_workspace/__init__.pyi +6 -80
- bl_ui/properties_world/__init__.pyi +12 -220
- bl_ui/space_clip/__init__.pyi +73 -1090
- bl_ui/space_console/__init__.pyi +9 -73
- bl_ui/space_dopesheet/__init__.pyi +33 -485
- bl_ui/space_filebrowser/__init__.pyi +36 -431
- bl_ui/space_graph/__init__.pyi +22 -237
- bl_ui/space_image/__init__.pyi +70 -1089
- bl_ui/space_info/__init__.pyi +8 -71
- bl_ui/space_nla/__init__.pyi +19 -210
- bl_ui/space_node/__init__.pyi +32 -436
- bl_ui/space_outliner/__init__.pyi +17 -165
- bl_ui/space_properties/__init__.pyi +5 -42
- bl_ui/space_sequencer/__init__.pyi +79 -1142
- bl_ui/space_spreadsheet/__init__.pyi +3 -12
- bl_ui/space_statusbar/__init__.pyi +3 -12
- bl_ui/space_text/__init__.pyi +18 -193
- bl_ui/space_time/__init__.pyi +10 -111
- bl_ui/space_toolsystem_common/__init__.pyi +42 -200
- bl_ui/space_toolsystem_toolbar/__init__.pyi +119 -863
- bl_ui/space_topbar/__init__.pyi +29 -335
- bl_ui/space_userpref/__init__.pyi +94 -1576
- bl_ui/space_view3d/__init__.pyi +271 -3438
- bl_ui/space_view3d_toolbar/__init__.pyi +95 -1899
- bl_ui/temp_anim_layers/__init__.pyi +4 -22
- bl_ui/utils/__init__.pyi +2 -8
- bl_ui_utils/__init__.pyi +2 -1
- bl_ui_utils/bug_report_url/__init__.pyi +3 -5
- bl_ui_utils/layout/__init__.pyi +2 -1
- blend_render_info/__init__.pyi +4 -10
- blf/__init__.pyi +2 -1
- bmesh/__init__.pyi +2 -1
- bmesh/geometry/__init__.pyi +2 -1
- bmesh/ops/__init__.pyi +2 -1
- bmesh/types/__init__.pyi +29 -45
- bmesh/utils/__init__.pyi +2 -1
- bpy/__init__.pyi +2 -1
- bpy/app/__init__.pyi +2 -1
- bpy/app/handlers/__init__.pyi +2 -1
- bpy/app/icons/__init__.pyi +2 -1
- bpy/app/timers/__init__.pyi +8 -15
- bpy/app/translations/__init__.pyi +2 -1
- bpy/msgbus/__init__.pyi +2 -1
- bpy/ops/__init__.pyi +2 -1
- bpy/ops/action/__init__.pyi +22 -21
- bpy/ops/anim/__init__.pyi +32 -31
- bpy/ops/armature/__init__.pyi +22 -21
- bpy/ops/asset/__init__.pyi +8 -7
- bpy/ops/bl_pkg/__init__.pyi +4 -3
- bpy/ops/boid/__init__.pyi +2 -1
- bpy/ops/brush/__init__.pyi +10 -9
- bpy/ops/buttons/__init__.pyi +10 -9
- bpy/ops/cachefile/__init__.pyi +12 -11
- bpy/ops/camera/__init__.pyi +2 -1
- bpy/ops/clip/__init__.pyi +38 -37
- bpy/ops/cloth/__init__.pyi +2 -1
- bpy/ops/collection/__init__.pyi +8 -7
- bpy/ops/console/__init__.pyi +8 -7
- bpy/ops/constraint/__init__.pyi +30 -29
- bpy/ops/curve/__init__.pyi +32 -31
- bpy/ops/curves/__init__.pyi +10 -9
- bpy/ops/cycles/__init__.pyi +2 -1
- bpy/ops/dpaint/__init__.pyi +4 -3
- bpy/ops/ed/__init__.pyi +6 -5
- bpy/ops/export_anim/__init__.pyi +4 -3
- bpy/ops/export_scene/__init__.pyi +40 -39
- bpy/ops/file/__init__.pyi +20 -19
- bpy/ops/fluid/__init__.pyi +2 -1
- bpy/ops/font/__init__.pyi +22 -21
- bpy/ops/geometry/__init__.pyi +4 -3
- bpy/ops/gizmogroup/__init__.pyi +2 -1
- bpy/ops/gpencil/__init__.pyi +134 -133
- bpy/ops/graph/__init__.pyi +40 -39
- bpy/ops/grease_pencil/__init__.pyi +42 -41
- bpy/ops/image/__init__.pyi +22 -21
- bpy/ops/import_anim/__init__.pyi +10 -9
- bpy/ops/import_curve/__init__.pyi +2 -1
- bpy/ops/import_scene/__init__.pyi +20 -19
- bpy/ops/info/__init__.pyi +6 -5
- bpy/ops/lattice/__init__.pyi +8 -7
- bpy/ops/marker/__init__.pyi +10 -9
- bpy/ops/mask/__init__.pyi +14 -13
- bpy/ops/material/__init__.pyi +2 -1
- bpy/ops/mball/__init__.pyi +8 -7
- bpy/ops/mesh/__init__.pyi +112 -111
- bpy/ops/nla/__init__.pyi +16 -15
- bpy/ops/node/__init__.pyi +32 -31
- bpy/ops/object/__init__.pyi +186 -185
- bpy/ops/outliner/__init__.pyi +38 -37
- bpy/ops/paint/__init__.pyi +50 -49
- bpy/ops/paintcurve/__init__.pyi +2 -1
- bpy/ops/palette/__init__.pyi +6 -5
- bpy/ops/particle/__init__.pyi +16 -15
- bpy/ops/pose/__init__.pyi +32 -31
- bpy/ops/poselib/__init__.pyi +2 -1
- bpy/ops/preferences/__init__.pyi +14 -13
- bpy/ops/ptcache/__init__.pyi +2 -1
- bpy/ops/render/__init__.pyi +4 -3
- bpy/ops/rigidbody/__init__.pyi +10 -9
- bpy/ops/scene/__init__.pyi +18 -17
- bpy/ops/screen/__init__.pyi +16 -15
- bpy/ops/script/__init__.pyi +2 -1
- bpy/ops/sculpt/__init__.pyi +68 -67
- bpy/ops/sculpt_curves/__init__.pyi +4 -3
- bpy/ops/sequencer/__init__.pyi +74 -73
- bpy/ops/sound/__init__.pyi +20 -19
- bpy/ops/spreadsheet/__init__.pyi +2 -1
- bpy/ops/surface/__init__.pyi +14 -13
- bpy/ops/text/__init__.pyi +24 -23
- bpy/ops/text_editor/__init__.pyi +2 -1
- bpy/ops/texture/__init__.pyi +4 -3
- bpy/ops/transform/__init__.pyi +32 -31
- bpy/ops/ui/__init__.pyi +8 -7
- bpy/ops/uilist/__init__.pyi +4 -3
- bpy/ops/uv/__init__.pyi +66 -65
- bpy/ops/view2d/__init__.pyi +2 -1
- bpy/ops/view3d/__init__.pyi +36 -35
- bpy/ops/wm/__init__.pyi +191 -187
- bpy/ops/workspace/__init__.pyi +2 -1
- bpy/ops/world/__init__.pyi +2 -1
- bpy/path/__init__.pyi +2 -1
- bpy/props/__init__.pyi +2 -1
- bpy/types/__init__.pyi +546 -4852
- bpy/utils/__init__.pyi +16 -71
- bpy/utils/previews/__init__.pyi +2 -1
- bpy/utils/units/__init__.pyi +2 -1
- bpy_extras/__init__.pyi +2 -1
- bpy_extras/anim_utils/__init__.pyi +2 -2
- bpy_extras/asset_utils/__init__.pyi +2 -11
- bpy_extras/bmesh_utils/__init__.pyi +3 -5
- bpy_extras/extensions/__init__.pyi +2 -1
- bpy_extras/extensions/junction_module/__init__.pyi +3 -7
- bpy_extras/id_map_utils/__init__.pyi +2 -1
- bpy_extras/image_utils/__init__.pyi +2 -1
- bpy_extras/io_utils/__init__.pyi +6 -25
- bpy_extras/keyconfig_utils/__init__.pyi +4 -10
- bpy_extras/mesh_utils/__init__.pyi +2 -1
- bpy_extras/node_shader_utils/__init__.pyi +46 -286
- bpy_extras/node_utils/__init__.pyi +4 -10
- bpy_extras/object_utils/__init__.pyi +2 -3
- bpy_extras/view3d_utils/__init__.pyi +2 -1
- bpy_extras/wm_utils/__init__.pyi +2 -1
- bpy_extras/wm_utils/progress_report/__init__.pyi +4 -29
- bpy_restrict_state/__init__.pyi +3 -15
- bpy_types/__init__.pyi +10 -275
- console_python/__init__.pyi +8 -37
- console_shell/__init__.pyi +8 -26
- {fake_bpy_module-20240517.dist-info → fake_bpy_module-20240519.dist-info}/METADATA +1 -1
- fake_bpy_module-20240519.dist-info/RECORD +353 -0
- freestyle/__init__.pyi +2 -1
- freestyle/chainingiterators/__init__.pyi +12 -41
- freestyle/functions/__init__.pyi +9 -34
- freestyle/predicates/__init__.pyi +46 -218
- freestyle/shaders/__init__.pyi +2 -11
- freestyle/types/__init__.pyi +2 -1
- freestyle/utils/ContextFunctions/__init__.pyi +2 -1
- freestyle/utils/__init__.pyi +5 -16
- gpu/__init__.pyi +2 -1
- gpu/capabilities/__init__.pyi +2 -1
- gpu/matrix/__init__.pyi +2 -1
- gpu/platform/__init__.pyi +2 -1
- gpu/select/__init__.pyi +2 -1
- gpu/shader/__init__.pyi +2 -1
- gpu/state/__init__.pyi +2 -1
- gpu/texture/__init__.pyi +2 -1
- gpu/types/__init__.pyi +2 -1
- gpu_extras/__init__.pyi +2 -1
- gpu_extras/batch/__init__.pyi +2 -1
- gpu_extras/presets/__init__.pyi +2 -1
- graphviz_export/__init__.pyi +4 -10
- idprop/__init__.pyi +2 -1
- idprop/types/__init__.pyi +8 -34
- imbuf/__init__.pyi +2 -1
- imbuf/types/__init__.pyi +2 -3
- keyingsets_builtins/__init__.pyi +4 -157
- keyingsets_utils/__init__.pyi +17 -71
- mathutils/__init__.pyi +2 -1
- mathutils/bvhtree/__init__.pyi +2 -3
- mathutils/geometry/__init__.pyi +2 -1
- mathutils/interpolate/__init__.pyi +2 -1
- mathutils/kdtree/__init__.pyi +2 -1
- mathutils/noise/__init__.pyi +2 -1
- nodeitems_builtins/__init__.pyi +7 -31
- nodeitems_utils/__init__.pyi +10 -46
- rna_info/__init__.pyi +24 -201
- rna_keymap_ui/__init__.pyi +9 -31
- rna_prop_ui/__init__.pyi +11 -50
- rna_xml/__init__.pyi +8 -30
- sys_info/__init__.pyi +3 -5
- fake_bpy_module-20240517.dist-info/RECORD +0 -353
- {fake_bpy_module-20240517.dist-info → fake_bpy_module-20240519.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240517.dist-info → fake_bpy_module-20240519.dist-info}/top_level.txt +0 -0
bpy/ops/gpencil/__init__.pyi
CHANGED
|
@@ -2,7 +2,8 @@ import typing
|
|
|
2
2
|
import bpy.ops.transform
|
|
3
3
|
import bpy.types
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
6
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
6
7
|
|
|
7
8
|
def active_frame_delete(
|
|
8
9
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -36,9 +37,9 @@ def annotate(
|
|
|
36
37
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
37
38
|
execution_context: str | int | None = None,
|
|
38
39
|
undo: bool | None = None,
|
|
39
|
-
mode:
|
|
40
|
-
arrowstyle_start:
|
|
41
|
-
arrowstyle_end:
|
|
40
|
+
mode: str | int | None = "DRAW",
|
|
41
|
+
arrowstyle_start: str | int | None = "NONE",
|
|
42
|
+
arrowstyle_end: str | int | None = "NONE",
|
|
42
43
|
use_stabilizer: bool | typing.Any | None = False,
|
|
43
44
|
stabilizer_factor: typing.Any | None = 0.75,
|
|
44
45
|
stabilizer_radius: typing.Any | None = 35,
|
|
@@ -64,7 +65,7 @@ def annotate(
|
|
|
64
65
|
|
|
65
66
|
ERASER
|
|
66
67
|
Eraser -- Erase Annotation strokes.
|
|
67
|
-
:type mode:
|
|
68
|
+
:type mode: str | int | None
|
|
68
69
|
:param arrowstyle_start: Start Arrow Style, Stroke start style
|
|
69
70
|
|
|
70
71
|
NONE
|
|
@@ -81,7 +82,7 @@ def annotate(
|
|
|
81
82
|
|
|
82
83
|
DIAMOND
|
|
83
84
|
Square -- Use square style.
|
|
84
|
-
:type arrowstyle_start:
|
|
85
|
+
:type arrowstyle_start: str | int | None
|
|
85
86
|
:param arrowstyle_end: End Arrow Style, Stroke end style
|
|
86
87
|
|
|
87
88
|
NONE
|
|
@@ -98,7 +99,7 @@ def annotate(
|
|
|
98
99
|
|
|
99
100
|
DIAMOND
|
|
100
101
|
Square -- Use square style.
|
|
101
|
-
:type arrowstyle_end:
|
|
102
|
+
:type arrowstyle_end: str | int | None
|
|
102
103
|
:param use_stabilizer: Stabilize Stroke, Helper to draw smooth and clean lines. Press Shift for an invert effect (even if this option is not active)
|
|
103
104
|
:type use_stabilizer: bool | typing.Any | None
|
|
104
105
|
:param stabilizer_factor: Stabilizer Stroke Factor, Higher values gives a smoother stroke
|
|
@@ -150,7 +151,7 @@ def bake_grease_pencil_animation(
|
|
|
150
151
|
step: typing.Any | None = 1,
|
|
151
152
|
only_selected: bool | typing.Any | None = False,
|
|
152
153
|
frame_target: typing.Any | None = 1,
|
|
153
|
-
project_type:
|
|
154
|
+
project_type: str | int | None = "KEEP",
|
|
154
155
|
):
|
|
155
156
|
"""Bake grease pencil object transform to grease pencil keyframes
|
|
156
157
|
|
|
@@ -186,7 +187,7 @@ def bake_grease_pencil_animation(
|
|
|
186
187
|
|
|
187
188
|
CURSOR
|
|
188
189
|
Cursor -- Reproject the strokes using the orientation of 3D cursor.
|
|
189
|
-
:type project_type:
|
|
190
|
+
:type project_type: str | int | None
|
|
190
191
|
"""
|
|
191
192
|
|
|
192
193
|
...
|
|
@@ -195,7 +196,7 @@ def bake_mesh_animation(
|
|
|
195
196
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
196
197
|
execution_context: str | int | None = None,
|
|
197
198
|
undo: bool | None = None,
|
|
198
|
-
target:
|
|
199
|
+
target: str | int | None = "NEW",
|
|
199
200
|
frame_start: typing.Any | None = 1,
|
|
200
201
|
frame_end: typing.Any | None = 250,
|
|
201
202
|
step: typing.Any | None = 1,
|
|
@@ -206,7 +207,7 @@ def bake_mesh_animation(
|
|
|
206
207
|
faces: bool | typing.Any | None = True,
|
|
207
208
|
only_selected: bool | typing.Any | None = False,
|
|
208
209
|
frame_target: typing.Any | None = 1,
|
|
209
|
-
project_type:
|
|
210
|
+
project_type: str | int | None = "VIEW",
|
|
210
211
|
):
|
|
211
212
|
"""Bake mesh animation to grease pencil strokes
|
|
212
213
|
|
|
@@ -214,7 +215,7 @@ def bake_mesh_animation(
|
|
|
214
215
|
:type execution_context: str | int | None
|
|
215
216
|
:type undo: bool | None
|
|
216
217
|
:param target: Target Object, Target grease pencil
|
|
217
|
-
:type target:
|
|
218
|
+
:type target: str | int | None
|
|
218
219
|
:param frame_start: Start Frame, The start frame
|
|
219
220
|
:type frame_start: typing.Any | None
|
|
220
221
|
:param frame_end: End Frame, The end frame of animation
|
|
@@ -254,7 +255,7 @@ def bake_mesh_animation(
|
|
|
254
255
|
|
|
255
256
|
CURSOR
|
|
256
257
|
Cursor -- Reproject the strokes using the orientation of 3D cursor.
|
|
257
|
-
:type project_type:
|
|
258
|
+
:type project_type: str | int | None
|
|
258
259
|
"""
|
|
259
260
|
|
|
260
261
|
...
|
|
@@ -308,13 +309,13 @@ def convert(
|
|
|
308
309
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
309
310
|
execution_context: str | int | None = None,
|
|
310
311
|
undo: bool | None = None,
|
|
311
|
-
type:
|
|
312
|
+
type: str | int | None = "PATH",
|
|
312
313
|
bevel_depth: typing.Any | None = 0.0,
|
|
313
314
|
bevel_resolution: typing.Any | None = 0,
|
|
314
315
|
use_normalize_weights: bool | typing.Any | None = True,
|
|
315
316
|
radius_multiplier: typing.Any | None = 1.0,
|
|
316
317
|
use_link_strokes: bool | typing.Any | None = False,
|
|
317
|
-
timing_mode:
|
|
318
|
+
timing_mode: str | int | None = "FULL",
|
|
318
319
|
frame_range: typing.Any | None = 100,
|
|
319
320
|
start_frame: typing.Any | None = 1,
|
|
320
321
|
use_realtime: bool | typing.Any | None = False,
|
|
@@ -339,7 +340,7 @@ def convert(
|
|
|
339
340
|
|
|
340
341
|
POLY
|
|
341
342
|
Polygon Curve -- Bézier curve with straight-line segments (vector handles).
|
|
342
|
-
:type type:
|
|
343
|
+
:type type: str | int | None
|
|
343
344
|
:param bevel_depth: Bevel Depth
|
|
344
345
|
:type bevel_depth: typing.Any | None
|
|
345
346
|
:param bevel_resolution: Bevel Resolution, Bevel resolution when depth is non-zero
|
|
@@ -363,7 +364,7 @@ def convert(
|
|
|
363
364
|
|
|
364
365
|
CUSTOMGAP
|
|
365
366
|
Custom Gaps -- Use the original timing, but with custom gap lengths (in frames).
|
|
366
|
-
:type timing_mode:
|
|
367
|
+
:type timing_mode: str | int | None
|
|
367
368
|
:param frame_range: Frame Range, The duration of evaluation of the path control curve
|
|
368
369
|
:type frame_range: typing.Any | None
|
|
369
370
|
:param start_frame: Start Frame, The start frame of the path control curve
|
|
@@ -433,7 +434,7 @@ def delete(
|
|
|
433
434
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
434
435
|
execution_context: str | int | None = None,
|
|
435
436
|
undo: bool | None = None,
|
|
436
|
-
type:
|
|
437
|
+
type: str | int | None = "POINTS",
|
|
437
438
|
):
|
|
438
439
|
"""Delete selected Grease Pencil strokes, vertices, or frames
|
|
439
440
|
|
|
@@ -450,7 +451,7 @@ def delete(
|
|
|
450
451
|
|
|
451
452
|
FRAME
|
|
452
453
|
Frame -- Delete active frame.
|
|
453
|
-
:type type:
|
|
454
|
+
:type type: str | int | None
|
|
454
455
|
"""
|
|
455
456
|
|
|
456
457
|
...
|
|
@@ -459,7 +460,7 @@ def dissolve(
|
|
|
459
460
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
460
461
|
execution_context: str | int | None = None,
|
|
461
462
|
undo: bool | None = None,
|
|
462
|
-
type:
|
|
463
|
+
type: str | int | None = "POINTS",
|
|
463
464
|
):
|
|
464
465
|
"""Delete selected points without splitting strokes
|
|
465
466
|
|
|
@@ -476,7 +477,7 @@ def dissolve(
|
|
|
476
477
|
|
|
477
478
|
UNSELECT
|
|
478
479
|
Dissolve Unselect -- Dissolve all unselected points.
|
|
479
|
-
:type type:
|
|
480
|
+
:type type: str | int | None
|
|
480
481
|
"""
|
|
481
482
|
|
|
482
483
|
...
|
|
@@ -485,7 +486,7 @@ def draw(
|
|
|
485
486
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
486
487
|
execution_context: str | int | None = None,
|
|
487
488
|
undo: bool | None = None,
|
|
488
|
-
mode:
|
|
489
|
+
mode: str | int | None = "DRAW",
|
|
489
490
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
490
491
|
| None = None,
|
|
491
492
|
wait_for_input: bool | typing.Any | None = True,
|
|
@@ -509,7 +510,7 @@ def draw(
|
|
|
509
510
|
|
|
510
511
|
ERASER
|
|
511
512
|
Eraser -- Erase Grease Pencil strokes.
|
|
512
|
-
:type mode:
|
|
513
|
+
:type mode: str | int | None
|
|
513
514
|
:param stroke: Stroke
|
|
514
515
|
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
|
|
515
516
|
:param wait_for_input: Wait for Input, Wait for first click instead of painting immediately
|
|
@@ -652,7 +653,7 @@ def frame_clean_duplicate(
|
|
|
652
653
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
653
654
|
execution_context: str | int | None = None,
|
|
654
655
|
undo: bool | None = None,
|
|
655
|
-
type:
|
|
656
|
+
type: str | int | None = "ALL",
|
|
656
657
|
):
|
|
657
658
|
"""Remove duplicate keyframes
|
|
658
659
|
|
|
@@ -660,7 +661,7 @@ def frame_clean_duplicate(
|
|
|
660
661
|
:type execution_context: str | int | None
|
|
661
662
|
:type undo: bool | None
|
|
662
663
|
:param type: Type
|
|
663
|
-
:type type:
|
|
664
|
+
:type type: str | int | None
|
|
664
665
|
"""
|
|
665
666
|
|
|
666
667
|
...
|
|
@@ -669,7 +670,7 @@ def frame_clean_fill(
|
|
|
669
670
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
670
671
|
execution_context: str | int | None = None,
|
|
671
672
|
undo: bool | None = None,
|
|
672
|
-
mode:
|
|
673
|
+
mode: str | int | None = "ACTIVE",
|
|
673
674
|
):
|
|
674
675
|
"""Remove 'no fill' boundary strokes
|
|
675
676
|
|
|
@@ -683,7 +684,7 @@ def frame_clean_fill(
|
|
|
683
684
|
|
|
684
685
|
ALL
|
|
685
686
|
All Frames -- Clean all frames in all layers.
|
|
686
|
-
:type mode:
|
|
687
|
+
:type mode: str | int | None
|
|
687
688
|
"""
|
|
688
689
|
|
|
689
690
|
...
|
|
@@ -709,7 +710,7 @@ def frame_duplicate(
|
|
|
709
710
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
710
711
|
execution_context: str | int | None = None,
|
|
711
712
|
undo: bool | None = None,
|
|
712
|
-
mode:
|
|
713
|
+
mode: str | int | None = "ACTIVE",
|
|
713
714
|
):
|
|
714
715
|
"""Make a copy of the active Grease Pencil Frame
|
|
715
716
|
|
|
@@ -723,7 +724,7 @@ def frame_duplicate(
|
|
|
723
724
|
|
|
724
725
|
ALL
|
|
725
726
|
All -- Duplicate active frames in all layers.
|
|
726
|
-
:type mode:
|
|
727
|
+
:type mode: str | int | None
|
|
727
728
|
"""
|
|
728
729
|
|
|
729
730
|
...
|
|
@@ -732,8 +733,8 @@ def generate_weights(
|
|
|
732
733
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
733
734
|
execution_context: str | int | None = None,
|
|
734
735
|
undo: bool | None = None,
|
|
735
|
-
mode:
|
|
736
|
-
armature: str | int |
|
|
736
|
+
mode: str | int | None = "NAME",
|
|
737
|
+
armature: str | int | None = "DEFAULT",
|
|
737
738
|
ratio: typing.Any | None = 0.1,
|
|
738
739
|
decay: typing.Any | None = 0.8,
|
|
739
740
|
):
|
|
@@ -743,9 +744,9 @@ def generate_weights(
|
|
|
743
744
|
:type execution_context: str | int | None
|
|
744
745
|
:type undo: bool | None
|
|
745
746
|
:param mode: Mode
|
|
746
|
-
:type mode:
|
|
747
|
+
:type mode: str | int | None
|
|
747
748
|
:param armature: Armature, Armature to use
|
|
748
|
-
:type armature: str | int |
|
|
749
|
+
:type armature: str | int | None
|
|
749
750
|
:param ratio: Ratio, Ratio between bone length and influence radius
|
|
750
751
|
:type ratio: typing.Any | None
|
|
751
752
|
:param decay: Decay, Factor to reduce influence depending of distance to bone axis
|
|
@@ -816,10 +817,10 @@ def interpolate(
|
|
|
816
817
|
execution_context: str | int | None = None,
|
|
817
818
|
undo: bool | None = None,
|
|
818
819
|
shift: typing.Any | None = 0.0,
|
|
819
|
-
layers:
|
|
820
|
+
layers: str | int | None = "ACTIVE",
|
|
820
821
|
interpolate_selected_only: bool | typing.Any | None = False,
|
|
821
822
|
exclude_breakdowns: bool | typing.Any | None = False,
|
|
822
|
-
flip:
|
|
823
|
+
flip: str | int | None = "AUTO",
|
|
823
824
|
smooth_steps: typing.Any | None = 1,
|
|
824
825
|
smooth_factor: typing.Any | None = 0.0,
|
|
825
826
|
release_confirm: bool | typing.Any | None = False,
|
|
@@ -832,13 +833,13 @@ def interpolate(
|
|
|
832
833
|
:param shift: Shift, Bias factor for which frame has more influence on the interpolated strokes
|
|
833
834
|
:type shift: typing.Any | None
|
|
834
835
|
:param layers: Layer, Layers included in the interpolation
|
|
835
|
-
:type layers:
|
|
836
|
+
:type layers: str | int | None
|
|
836
837
|
:param interpolate_selected_only: Only Selected, Interpolate only selected strokes
|
|
837
838
|
:type interpolate_selected_only: bool | typing.Any | None
|
|
838
839
|
:param exclude_breakdowns: Exclude Breakdowns, Exclude existing Breakdowns keyframes as interpolation extremes
|
|
839
840
|
:type exclude_breakdowns: bool | typing.Any | None
|
|
840
841
|
:param flip: Flip Mode, Invert destination stroke to match start and end with source stroke
|
|
841
|
-
:type flip:
|
|
842
|
+
:type flip: str | int | None
|
|
842
843
|
:param smooth_steps: Iterations, Number of times to smooth newly created strokes
|
|
843
844
|
:type smooth_steps: typing.Any | None
|
|
844
845
|
:param smooth_factor: Smooth, Amount of smoothing to apply to interpolated strokes, to reduce jitter/noise
|
|
@@ -868,14 +869,14 @@ def interpolate_sequence(
|
|
|
868
869
|
execution_context: str | int | None = None,
|
|
869
870
|
undo: bool | None = None,
|
|
870
871
|
step: typing.Any | None = 1,
|
|
871
|
-
layers:
|
|
872
|
+
layers: str | int | None = "ACTIVE",
|
|
872
873
|
interpolate_selected_only: bool | typing.Any | None = False,
|
|
873
874
|
exclude_breakdowns: bool | typing.Any | None = False,
|
|
874
|
-
flip:
|
|
875
|
+
flip: str | int | None = "AUTO",
|
|
875
876
|
smooth_steps: typing.Any | None = 1,
|
|
876
877
|
smooth_factor: typing.Any | None = 0.0,
|
|
877
|
-
type:
|
|
878
|
-
easing:
|
|
878
|
+
type: str | int | None = "LINEAR",
|
|
879
|
+
easing: str | int | None = "AUTO",
|
|
879
880
|
back: typing.Any | None = 1.702,
|
|
880
881
|
amplitude: typing.Any | None = 0.15,
|
|
881
882
|
period: typing.Any | None = 0.15,
|
|
@@ -888,13 +889,13 @@ def interpolate_sequence(
|
|
|
888
889
|
:param step: Step, Number of frames between generated interpolated frames
|
|
889
890
|
:type step: typing.Any | None
|
|
890
891
|
:param layers: Layer, Layers included in the interpolation
|
|
891
|
-
:type layers:
|
|
892
|
+
:type layers: str | int | None
|
|
892
893
|
:param interpolate_selected_only: Only Selected, Interpolate only selected strokes
|
|
893
894
|
:type interpolate_selected_only: bool | typing.Any | None
|
|
894
895
|
:param exclude_breakdowns: Exclude Breakdowns, Exclude existing Breakdowns keyframes as interpolation extremes
|
|
895
896
|
:type exclude_breakdowns: bool | typing.Any | None
|
|
896
897
|
:param flip: Flip Mode, Invert destination stroke to match start and end with source stroke
|
|
897
|
-
:type flip:
|
|
898
|
+
:type flip: str | int | None
|
|
898
899
|
:param smooth_steps: Iterations, Number of times to smooth newly created strokes
|
|
899
900
|
:type smooth_steps: typing.Any | None
|
|
900
901
|
:param smooth_factor: Smooth, Amount of smoothing to apply to interpolated strokes, to reduce jitter/noise
|
|
@@ -936,7 +937,7 @@ def interpolate_sequence(
|
|
|
936
937
|
|
|
937
938
|
ELASTIC
|
|
938
939
|
Elastic -- Exponentially decaying sine wave, like an elastic band.
|
|
939
|
-
:type type:
|
|
940
|
+
:type type: str | int | None
|
|
940
941
|
:param easing: Easing, Which ends of the segment between the preceding and following grease pencil frames easing interpolation is applied to
|
|
941
942
|
|
|
942
943
|
AUTO
|
|
@@ -950,7 +951,7 @@ def interpolate_sequence(
|
|
|
950
951
|
|
|
951
952
|
EASE_IN_OUT
|
|
952
953
|
Ease In and Out -- Segment between both keyframes.
|
|
953
|
-
:type easing:
|
|
954
|
+
:type easing: str | int | None
|
|
954
955
|
:param back: Back, Amount of overshoot for 'back' easing
|
|
955
956
|
:type back: typing.Any | None
|
|
956
957
|
:param amplitude: Amplitude, Amount to boost elastic bounces for 'elastic' easing
|
|
@@ -1016,7 +1017,7 @@ def layer_annotation_move(
|
|
|
1016
1017
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1017
1018
|
execution_context: str | int | None = None,
|
|
1018
1019
|
undo: bool | None = None,
|
|
1019
|
-
type:
|
|
1020
|
+
type: str | int | None = "UP",
|
|
1020
1021
|
):
|
|
1021
1022
|
"""Move the active Annotation layer up/down in the list
|
|
1022
1023
|
|
|
@@ -1024,7 +1025,7 @@ def layer_annotation_move(
|
|
|
1024
1025
|
:type execution_context: str | int | None
|
|
1025
1026
|
:type undo: bool | None
|
|
1026
1027
|
:param type: Type
|
|
1027
|
-
:type type:
|
|
1028
|
+
:type type: str | int | None
|
|
1028
1029
|
"""
|
|
1029
1030
|
|
|
1030
1031
|
...
|
|
@@ -1047,7 +1048,7 @@ def layer_change(
|
|
|
1047
1048
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1048
1049
|
execution_context: str | int | None = None,
|
|
1049
1050
|
undo: bool | None = None,
|
|
1050
|
-
layer: str | int |
|
|
1051
|
+
layer: str | int | None = "DEFAULT",
|
|
1051
1052
|
):
|
|
1052
1053
|
"""Change active Grease Pencil layer
|
|
1053
1054
|
|
|
@@ -1055,7 +1056,7 @@ def layer_change(
|
|
|
1055
1056
|
:type execution_context: str | int | None
|
|
1056
1057
|
:type undo: bool | None
|
|
1057
1058
|
:param layer: Grease Pencil Layer
|
|
1058
|
-
:type layer: str | int |
|
|
1059
|
+
:type layer: str | int | None
|
|
1059
1060
|
"""
|
|
1060
1061
|
|
|
1061
1062
|
...
|
|
@@ -1064,7 +1065,7 @@ def layer_duplicate(
|
|
|
1064
1065
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1065
1066
|
execution_context: str | int | None = None,
|
|
1066
1067
|
undo: bool | None = None,
|
|
1067
|
-
mode:
|
|
1068
|
+
mode: str | int | None = "ALL",
|
|
1068
1069
|
):
|
|
1069
1070
|
"""Make a copy of the active Grease Pencil layer
|
|
1070
1071
|
|
|
@@ -1072,7 +1073,7 @@ def layer_duplicate(
|
|
|
1072
1073
|
:type execution_context: str | int | None
|
|
1073
1074
|
:type undo: bool | None
|
|
1074
1075
|
:param mode: Mode
|
|
1075
|
-
:type mode:
|
|
1076
|
+
:type mode: str | int | None
|
|
1076
1077
|
"""
|
|
1077
1078
|
|
|
1078
1079
|
...
|
|
@@ -1081,7 +1082,7 @@ def layer_duplicate_object(
|
|
|
1081
1082
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1082
1083
|
execution_context: str | int | None = None,
|
|
1083
1084
|
undo: bool | None = None,
|
|
1084
|
-
mode:
|
|
1085
|
+
mode: str | int | None = "ALL",
|
|
1085
1086
|
only_active: bool | typing.Any | None = True,
|
|
1086
1087
|
):
|
|
1087
1088
|
"""Make a copy of the active Grease Pencil layer to selected object
|
|
@@ -1090,7 +1091,7 @@ def layer_duplicate_object(
|
|
|
1090
1091
|
:type execution_context: str | int | None
|
|
1091
1092
|
:type undo: bool | None
|
|
1092
1093
|
:param mode: Mode
|
|
1093
|
-
:type mode:
|
|
1094
|
+
:type mode: str | int | None
|
|
1094
1095
|
:param only_active: Only Active, Copy only active Layer, uncheck to append all layers
|
|
1095
1096
|
:type only_active: bool | typing.Any | None
|
|
1096
1097
|
"""
|
|
@@ -1135,7 +1136,7 @@ def layer_mask_move(
|
|
|
1135
1136
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1136
1137
|
execution_context: str | int | None = None,
|
|
1137
1138
|
undo: bool | None = None,
|
|
1138
|
-
type:
|
|
1139
|
+
type: str | int | None = "UP",
|
|
1139
1140
|
):
|
|
1140
1141
|
"""Move the active Grease Pencil mask layer up/down in the list
|
|
1141
1142
|
|
|
@@ -1143,7 +1144,7 @@ def layer_mask_move(
|
|
|
1143
1144
|
:type execution_context: str | int | None
|
|
1144
1145
|
:type undo: bool | None
|
|
1145
1146
|
:param type: Type
|
|
1146
|
-
:type type:
|
|
1147
|
+
:type type: str | int | None
|
|
1147
1148
|
"""
|
|
1148
1149
|
|
|
1149
1150
|
...
|
|
@@ -1166,7 +1167,7 @@ def layer_merge(
|
|
|
1166
1167
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1167
1168
|
execution_context: str | int | None = None,
|
|
1168
1169
|
undo: bool | None = None,
|
|
1169
|
-
mode:
|
|
1170
|
+
mode: str | int | None = "ACTIVE",
|
|
1170
1171
|
):
|
|
1171
1172
|
"""Combine Layers
|
|
1172
1173
|
|
|
@@ -1180,7 +1181,7 @@ def layer_merge(
|
|
|
1180
1181
|
|
|
1181
1182
|
ALL
|
|
1182
1183
|
All -- Combine all layers into the active layer.
|
|
1183
|
-
:type mode:
|
|
1184
|
+
:type mode: str | int | None
|
|
1184
1185
|
"""
|
|
1185
1186
|
|
|
1186
1187
|
...
|
|
@@ -1189,7 +1190,7 @@ def layer_move(
|
|
|
1189
1190
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1190
1191
|
execution_context: str | int | None = None,
|
|
1191
1192
|
undo: bool | None = None,
|
|
1192
|
-
type:
|
|
1193
|
+
type: str | int | None = "UP",
|
|
1193
1194
|
):
|
|
1194
1195
|
"""Move the active Grease Pencil layer up/down in the list
|
|
1195
1196
|
|
|
@@ -1197,7 +1198,7 @@ def layer_move(
|
|
|
1197
1198
|
:type execution_context: str | int | None
|
|
1198
1199
|
:type undo: bool | None
|
|
1199
1200
|
:param type: Type
|
|
1200
|
-
:type type:
|
|
1201
|
+
:type type: str | int | None
|
|
1201
1202
|
"""
|
|
1202
1203
|
|
|
1203
1204
|
...
|
|
@@ -1341,7 +1342,7 @@ def material_set(
|
|
|
1341
1342
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1342
1343
|
execution_context: str | int | None = None,
|
|
1343
1344
|
undo: bool | None = None,
|
|
1344
|
-
slot: str | int |
|
|
1345
|
+
slot: str | int | None = "DEFAULT",
|
|
1345
1346
|
):
|
|
1346
1347
|
"""Set active material
|
|
1347
1348
|
|
|
@@ -1349,7 +1350,7 @@ def material_set(
|
|
|
1349
1350
|
:type execution_context: str | int | None
|
|
1350
1351
|
:type undo: bool | None
|
|
1351
1352
|
:param slot: Material Slot
|
|
1352
|
-
:type slot: str | int |
|
|
1353
|
+
:type slot: str | int | None
|
|
1353
1354
|
"""
|
|
1354
1355
|
|
|
1355
1356
|
...
|
|
@@ -1452,7 +1453,7 @@ def paste(
|
|
|
1452
1453
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1453
1454
|
execution_context: str | int | None = None,
|
|
1454
1455
|
undo: bool | None = None,
|
|
1455
|
-
type:
|
|
1456
|
+
type: str | int | None = "ACTIVE",
|
|
1456
1457
|
paste_back: bool | typing.Any | None = False,
|
|
1457
1458
|
):
|
|
1458
1459
|
"""Paste previously copied strokes to active layer or to original layer
|
|
@@ -1461,7 +1462,7 @@ def paste(
|
|
|
1461
1462
|
:type execution_context: str | int | None
|
|
1462
1463
|
:type undo: bool | None
|
|
1463
1464
|
:param type: Type
|
|
1464
|
-
:type type:
|
|
1465
|
+
:type type: str | int | None
|
|
1465
1466
|
:param paste_back: Paste on Back, Add pasted strokes behind all strokes
|
|
1466
1467
|
:type paste_back: bool | typing.Any | None
|
|
1467
1468
|
"""
|
|
@@ -1474,7 +1475,7 @@ def primitive_box(
|
|
|
1474
1475
|
undo: bool | None = None,
|
|
1475
1476
|
subdivision: typing.Any | None = 3,
|
|
1476
1477
|
edges: typing.Any | None = 1,
|
|
1477
|
-
type:
|
|
1478
|
+
type: str | int | None = "BOX",
|
|
1478
1479
|
wait_for_input: bool | typing.Any | None = True,
|
|
1479
1480
|
):
|
|
1480
1481
|
"""Create predefined grease pencil stroke box shapes
|
|
@@ -1487,7 +1488,7 @@ def primitive_box(
|
|
|
1487
1488
|
:param edges: Edges, Number of points per segment
|
|
1488
1489
|
:type edges: typing.Any | None
|
|
1489
1490
|
:param type: Type, Type of shape
|
|
1490
|
-
:type type:
|
|
1491
|
+
:type type: str | int | None
|
|
1491
1492
|
:param wait_for_input: Wait for Input
|
|
1492
1493
|
:type wait_for_input: bool | typing.Any | None
|
|
1493
1494
|
"""
|
|
@@ -1500,7 +1501,7 @@ def primitive_circle(
|
|
|
1500
1501
|
undo: bool | None = None,
|
|
1501
1502
|
subdivision: typing.Any | None = 94,
|
|
1502
1503
|
edges: typing.Any | None = 1,
|
|
1503
|
-
type:
|
|
1504
|
+
type: str | int | None = "CIRCLE",
|
|
1504
1505
|
wait_for_input: bool | typing.Any | None = True,
|
|
1505
1506
|
):
|
|
1506
1507
|
"""Create predefined grease pencil stroke circle shapes
|
|
@@ -1513,7 +1514,7 @@ def primitive_circle(
|
|
|
1513
1514
|
:param edges: Edges, Number of points per segment
|
|
1514
1515
|
:type edges: typing.Any | None
|
|
1515
1516
|
:param type: Type, Type of shape
|
|
1516
|
-
:type type:
|
|
1517
|
+
:type type: str | int | None
|
|
1517
1518
|
:param wait_for_input: Wait for Input
|
|
1518
1519
|
:type wait_for_input: bool | typing.Any | None
|
|
1519
1520
|
"""
|
|
@@ -1526,7 +1527,7 @@ def primitive_curve(
|
|
|
1526
1527
|
undo: bool | None = None,
|
|
1527
1528
|
subdivision: typing.Any | None = 62,
|
|
1528
1529
|
edges: typing.Any | None = 1,
|
|
1529
|
-
type:
|
|
1530
|
+
type: str | int | None = "CURVE",
|
|
1530
1531
|
wait_for_input: bool | typing.Any | None = True,
|
|
1531
1532
|
):
|
|
1532
1533
|
"""Create predefined grease pencil stroke curve shapes
|
|
@@ -1539,7 +1540,7 @@ def primitive_curve(
|
|
|
1539
1540
|
:param edges: Edges, Number of points per segment
|
|
1540
1541
|
:type edges: typing.Any | None
|
|
1541
1542
|
:param type: Type, Type of shape
|
|
1542
|
-
:type type:
|
|
1543
|
+
:type type: str | int | None
|
|
1543
1544
|
:param wait_for_input: Wait for Input
|
|
1544
1545
|
:type wait_for_input: bool | typing.Any | None
|
|
1545
1546
|
"""
|
|
@@ -1552,7 +1553,7 @@ def primitive_line(
|
|
|
1552
1553
|
undo: bool | None = None,
|
|
1553
1554
|
subdivision: typing.Any | None = 6,
|
|
1554
1555
|
edges: typing.Any | None = 1,
|
|
1555
|
-
type:
|
|
1556
|
+
type: str | int | None = "LINE",
|
|
1556
1557
|
wait_for_input: bool | typing.Any | None = True,
|
|
1557
1558
|
):
|
|
1558
1559
|
"""Create predefined grease pencil stroke lines
|
|
@@ -1565,7 +1566,7 @@ def primitive_line(
|
|
|
1565
1566
|
:param edges: Edges, Number of points per segment
|
|
1566
1567
|
:type edges: typing.Any | None
|
|
1567
1568
|
:param type: Type, Type of shape
|
|
1568
|
-
:type type:
|
|
1569
|
+
:type type: str | int | None
|
|
1569
1570
|
:param wait_for_input: Wait for Input
|
|
1570
1571
|
:type wait_for_input: bool | typing.Any | None
|
|
1571
1572
|
"""
|
|
@@ -1578,7 +1579,7 @@ def primitive_polyline(
|
|
|
1578
1579
|
undo: bool | None = None,
|
|
1579
1580
|
subdivision: typing.Any | None = 6,
|
|
1580
1581
|
edges: typing.Any | None = 1,
|
|
1581
|
-
type:
|
|
1582
|
+
type: str | int | None = "POLYLINE",
|
|
1582
1583
|
wait_for_input: bool | typing.Any | None = True,
|
|
1583
1584
|
):
|
|
1584
1585
|
"""Create predefined grease pencil stroke polylines
|
|
@@ -1591,7 +1592,7 @@ def primitive_polyline(
|
|
|
1591
1592
|
:param edges: Edges, Number of points per segment
|
|
1592
1593
|
:type edges: typing.Any | None
|
|
1593
1594
|
:param type: Type, Type of shape
|
|
1594
|
-
:type type:
|
|
1595
|
+
:type type: str | int | None
|
|
1595
1596
|
:param wait_for_input: Wait for Input
|
|
1596
1597
|
:type wait_for_input: bool | typing.Any | None
|
|
1597
1598
|
"""
|
|
@@ -1616,7 +1617,7 @@ def reproject(
|
|
|
1616
1617
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1617
1618
|
execution_context: str | int | None = None,
|
|
1618
1619
|
undo: bool | None = None,
|
|
1619
|
-
type:
|
|
1620
|
+
type: str | int | None = "VIEW",
|
|
1620
1621
|
keep_original: bool | typing.Any | None = False,
|
|
1621
1622
|
offset: typing.Any | None = 0.0,
|
|
1622
1623
|
):
|
|
@@ -1644,7 +1645,7 @@ def reproject(
|
|
|
1644
1645
|
|
|
1645
1646
|
CURSOR
|
|
1646
1647
|
Cursor -- Reproject the strokes using the orientation of 3D cursor.
|
|
1647
|
-
:type type:
|
|
1648
|
+
:type type: str | int | None
|
|
1648
1649
|
:param keep_original: Keep Original, Keep original strokes and create a copy before reprojecting
|
|
1649
1650
|
:type keep_original: bool | typing.Any | None
|
|
1650
1651
|
:param offset: Surface Offset
|
|
@@ -1657,7 +1658,7 @@ def reset_transform_fill(
|
|
|
1657
1658
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1658
1659
|
execution_context: str | int | None = None,
|
|
1659
1660
|
undo: bool | None = None,
|
|
1660
|
-
mode:
|
|
1661
|
+
mode: str | int | None = "ALL",
|
|
1661
1662
|
):
|
|
1662
1663
|
"""Reset any UV transformation and back to default values
|
|
1663
1664
|
|
|
@@ -1665,7 +1666,7 @@ def reset_transform_fill(
|
|
|
1665
1666
|
:type execution_context: str | int | None
|
|
1666
1667
|
:type undo: bool | None
|
|
1667
1668
|
:param mode: Mode
|
|
1668
|
-
:type mode:
|
|
1669
|
+
:type mode: str | int | None
|
|
1669
1670
|
"""
|
|
1670
1671
|
|
|
1671
1672
|
...
|
|
@@ -1747,7 +1748,7 @@ def segment_move(
|
|
|
1747
1748
|
execution_context: str | int | None = None,
|
|
1748
1749
|
undo: bool | None = None,
|
|
1749
1750
|
modifier: str | typing.Any = "",
|
|
1750
|
-
type:
|
|
1751
|
+
type: str | int | None = "UP",
|
|
1751
1752
|
):
|
|
1752
1753
|
"""Move the active dash segment up or down
|
|
1753
1754
|
|
|
@@ -1757,7 +1758,7 @@ def segment_move(
|
|
|
1757
1758
|
:param modifier: Modifier, Name of the modifier to edit
|
|
1758
1759
|
:type modifier: str | typing.Any
|
|
1759
1760
|
:param type: Type
|
|
1760
|
-
:type type:
|
|
1761
|
+
:type type: str | int | None
|
|
1761
1762
|
"""
|
|
1762
1763
|
|
|
1763
1764
|
...
|
|
@@ -1824,7 +1825,7 @@ def select_all(
|
|
|
1824
1825
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1825
1826
|
execution_context: str | int | None = None,
|
|
1826
1827
|
undo: bool | None = None,
|
|
1827
|
-
action:
|
|
1828
|
+
action: str | int | None = "TOGGLE",
|
|
1828
1829
|
):
|
|
1829
1830
|
"""Change selection of all Grease Pencil strokes currently visible
|
|
1830
1831
|
|
|
@@ -1844,7 +1845,7 @@ def select_all(
|
|
|
1844
1845
|
|
|
1845
1846
|
INVERT
|
|
1846
1847
|
Invert -- Invert selection of all elements.
|
|
1847
|
-
:type action:
|
|
1848
|
+
:type action: str | int | None
|
|
1848
1849
|
"""
|
|
1849
1850
|
|
|
1850
1851
|
...
|
|
@@ -1875,7 +1876,7 @@ def select_box(
|
|
|
1875
1876
|
ymin: typing.Any | None = 0,
|
|
1876
1877
|
ymax: typing.Any | None = 0,
|
|
1877
1878
|
wait_for_input: bool | typing.Any | None = True,
|
|
1878
|
-
mode:
|
|
1879
|
+
mode: str | int | None = "SET",
|
|
1879
1880
|
):
|
|
1880
1881
|
"""Select Grease Pencil strokes within a rectangular region
|
|
1881
1882
|
|
|
@@ -1908,7 +1909,7 @@ def select_box(
|
|
|
1908
1909
|
|
|
1909
1910
|
AND
|
|
1910
1911
|
Intersect -- Intersect existing selection.
|
|
1911
|
-
:type mode:
|
|
1912
|
+
:type mode: str | int | None
|
|
1912
1913
|
"""
|
|
1913
1914
|
|
|
1914
1915
|
...
|
|
@@ -1921,7 +1922,7 @@ def select_circle(
|
|
|
1921
1922
|
y: typing.Any | None = 0,
|
|
1922
1923
|
radius: typing.Any | None = 25,
|
|
1923
1924
|
wait_for_input: bool | typing.Any | None = True,
|
|
1924
|
-
mode:
|
|
1925
|
+
mode: str | int | None = "SET",
|
|
1925
1926
|
):
|
|
1926
1927
|
"""Select Grease Pencil strokes using brush selection
|
|
1927
1928
|
|
|
@@ -1946,7 +1947,7 @@ def select_circle(
|
|
|
1946
1947
|
|
|
1947
1948
|
SUB
|
|
1948
1949
|
Subtract -- Subtract existing selection.
|
|
1949
|
-
:type mode:
|
|
1950
|
+
:type mode: str | int | None
|
|
1950
1951
|
"""
|
|
1951
1952
|
|
|
1952
1953
|
...
|
|
@@ -1975,7 +1976,7 @@ def select_grouped(
|
|
|
1975
1976
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1976
1977
|
execution_context: str | int | None = None,
|
|
1977
1978
|
undo: bool | None = None,
|
|
1978
|
-
type:
|
|
1979
|
+
type: str | int | None = "LAYER",
|
|
1979
1980
|
):
|
|
1980
1981
|
"""Select all strokes with similar characteristics
|
|
1981
1982
|
|
|
@@ -1989,7 +1990,7 @@ def select_grouped(
|
|
|
1989
1990
|
|
|
1990
1991
|
MATERIAL
|
|
1991
1992
|
Material -- Shared materials.
|
|
1992
|
-
:type type:
|
|
1993
|
+
:type type: str | int | None
|
|
1993
1994
|
"""
|
|
1994
1995
|
|
|
1995
1996
|
...
|
|
@@ -1998,7 +1999,7 @@ def select_lasso(
|
|
|
1998
1999
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1999
2000
|
execution_context: str | int | None = None,
|
|
2000
2001
|
undo: bool | None = None,
|
|
2001
|
-
mode:
|
|
2002
|
+
mode: str | int | None = "SET",
|
|
2002
2003
|
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
|
|
2003
2004
|
):
|
|
2004
2005
|
"""Select Grease Pencil strokes using lasso selection
|
|
@@ -2022,7 +2023,7 @@ def select_lasso(
|
|
|
2022
2023
|
|
|
2023
2024
|
AND
|
|
2024
2025
|
Intersect -- Intersect existing selection.
|
|
2025
|
-
:type mode:
|
|
2026
|
+
:type mode: str | int | None
|
|
2026
2027
|
:param path: Path
|
|
2027
2028
|
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None
|
|
2028
2029
|
"""
|
|
@@ -2097,7 +2098,7 @@ def select_random(
|
|
|
2097
2098
|
undo: bool | None = None,
|
|
2098
2099
|
ratio: typing.Any | None = 0.5,
|
|
2099
2100
|
seed: typing.Any | None = 0,
|
|
2100
|
-
action:
|
|
2101
|
+
action: str | int | None = "SELECT",
|
|
2101
2102
|
unselect_ends: bool | typing.Any | None = False,
|
|
2102
2103
|
):
|
|
2103
2104
|
"""Select random points for non selected strokes
|
|
@@ -2116,7 +2117,7 @@ def select_random(
|
|
|
2116
2117
|
|
|
2117
2118
|
DESELECT
|
|
2118
2119
|
Deselect -- Deselect all elements.
|
|
2119
|
-
:type action:
|
|
2120
|
+
:type action: str | int | None
|
|
2120
2121
|
:param unselect_ends: Unselect Ends, Do not select the first and last point of the stroke
|
|
2121
2122
|
:type unselect_ends: bool | typing.Any | None
|
|
2122
2123
|
"""
|
|
@@ -2248,7 +2249,7 @@ def stroke_arrange(
|
|
|
2248
2249
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2249
2250
|
execution_context: str | int | None = None,
|
|
2250
2251
|
undo: bool | None = None,
|
|
2251
|
-
direction:
|
|
2252
|
+
direction: str | int | None = "UP",
|
|
2252
2253
|
):
|
|
2253
2254
|
"""Arrange selected strokes up/down in the display order of the active layer
|
|
2254
2255
|
|
|
@@ -2256,7 +2257,7 @@ def stroke_arrange(
|
|
|
2256
2257
|
:type execution_context: str | int | None
|
|
2257
2258
|
:type undo: bool | None
|
|
2258
2259
|
:param direction: Direction
|
|
2259
|
-
:type direction:
|
|
2260
|
+
:type direction: str | int | None
|
|
2260
2261
|
"""
|
|
2261
2262
|
|
|
2262
2263
|
...
|
|
@@ -2265,7 +2266,7 @@ def stroke_caps_set(
|
|
|
2265
2266
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2266
2267
|
execution_context: str | int | None = None,
|
|
2267
2268
|
undo: bool | None = None,
|
|
2268
|
-
type:
|
|
2269
|
+
type: str | int | None = "TOGGLE",
|
|
2269
2270
|
):
|
|
2270
2271
|
"""Change stroke caps mode (rounded or flat)
|
|
2271
2272
|
|
|
@@ -2285,7 +2286,7 @@ def stroke_caps_set(
|
|
|
2285
2286
|
|
|
2286
2287
|
DEFAULT
|
|
2287
2288
|
Default -- Set as default rounded.
|
|
2288
|
-
:type type:
|
|
2289
|
+
:type type: str | int | None
|
|
2289
2290
|
"""
|
|
2290
2291
|
|
|
2291
2292
|
...
|
|
@@ -2331,7 +2332,7 @@ def stroke_cyclical_set(
|
|
|
2331
2332
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2332
2333
|
execution_context: str | int | None = None,
|
|
2333
2334
|
undo: bool | None = None,
|
|
2334
|
-
type:
|
|
2335
|
+
type: str | int | None = "TOGGLE",
|
|
2335
2336
|
geometry: bool | typing.Any | None = False,
|
|
2336
2337
|
):
|
|
2337
2338
|
"""Close or open the selected stroke adding a segment from last to first point
|
|
@@ -2340,7 +2341,7 @@ def stroke_cyclical_set(
|
|
|
2340
2341
|
:type execution_context: str | int | None
|
|
2341
2342
|
:type undo: bool | None
|
|
2342
2343
|
:param type: Type
|
|
2343
|
-
:type type:
|
|
2344
|
+
:type type: str | int | None
|
|
2344
2345
|
:param geometry: Create Geometry, Create new geometry for closing stroke
|
|
2345
2346
|
:type geometry: bool | typing.Any | None
|
|
2346
2347
|
"""
|
|
@@ -2351,7 +2352,7 @@ def stroke_editcurve_set_handle_type(
|
|
|
2351
2352
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2352
2353
|
execution_context: str | int | None = None,
|
|
2353
2354
|
undo: bool | None = None,
|
|
2354
|
-
type:
|
|
2355
|
+
type: str | int | None = "AUTOMATIC",
|
|
2355
2356
|
):
|
|
2356
2357
|
"""Set the type of an edit curve handle
|
|
2357
2358
|
|
|
@@ -2359,7 +2360,7 @@ def stroke_editcurve_set_handle_type(
|
|
|
2359
2360
|
:type execution_context: str | int | None
|
|
2360
2361
|
:type undo: bool | None
|
|
2361
2362
|
:param type: Type, Spline type
|
|
2362
|
-
:type type:
|
|
2363
|
+
:type type: str | int | None
|
|
2363
2364
|
"""
|
|
2364
2365
|
|
|
2365
2366
|
...
|
|
@@ -2399,7 +2400,7 @@ def stroke_join(
|
|
|
2399
2400
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2400
2401
|
execution_context: str | int | None = None,
|
|
2401
2402
|
undo: bool | None = None,
|
|
2402
|
-
type:
|
|
2403
|
+
type: str | int | None = "JOIN",
|
|
2403
2404
|
leave_gaps: bool | typing.Any | None = False,
|
|
2404
2405
|
):
|
|
2405
2406
|
"""Join selected strokes (optionally as new stroke)
|
|
@@ -2408,7 +2409,7 @@ def stroke_join(
|
|
|
2408
2409
|
:type execution_context: str | int | None
|
|
2409
2410
|
:type undo: bool | None
|
|
2410
2411
|
:param type: Type
|
|
2411
|
-
:type type:
|
|
2412
|
+
:type type: str | int | None
|
|
2412
2413
|
:param leave_gaps: Leave Gaps, Leave gaps between joined strokes instead of linking them
|
|
2413
2414
|
:type leave_gaps: bool | typing.Any | None
|
|
2414
2415
|
"""
|
|
@@ -2419,7 +2420,7 @@ def stroke_merge(
|
|
|
2419
2420
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2420
2421
|
execution_context: str | int | None = None,
|
|
2421
2422
|
undo: bool | None = None,
|
|
2422
|
-
mode:
|
|
2423
|
+
mode: str | int | None = "STROKE",
|
|
2423
2424
|
back: bool | typing.Any | None = False,
|
|
2424
2425
|
additive: bool | typing.Any | None = False,
|
|
2425
2426
|
cyclic: bool | typing.Any | None = False,
|
|
@@ -2432,7 +2433,7 @@ def stroke_merge(
|
|
|
2432
2433
|
:type execution_context: str | int | None
|
|
2433
2434
|
:type undo: bool | None
|
|
2434
2435
|
:param mode: Mode
|
|
2435
|
-
:type mode:
|
|
2436
|
+
:type mode: str | int | None
|
|
2436
2437
|
:param back: Draw on Back, Draw new stroke below all previous strokes
|
|
2437
2438
|
:type back: bool | typing.Any | None
|
|
2438
2439
|
:param additive: Additive Drawing, Add to previous drawing
|
|
@@ -2494,7 +2495,7 @@ def stroke_normalize(
|
|
|
2494
2495
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2495
2496
|
execution_context: str | int | None = None,
|
|
2496
2497
|
undo: bool | None = None,
|
|
2497
|
-
mode:
|
|
2498
|
+
mode: str | int | None = "THICKNESS",
|
|
2498
2499
|
factor: typing.Any | None = 1.0,
|
|
2499
2500
|
value: typing.Any | None = 10,
|
|
2500
2501
|
):
|
|
@@ -2510,7 +2511,7 @@ def stroke_normalize(
|
|
|
2510
2511
|
|
|
2511
2512
|
OPACITY
|
|
2512
2513
|
Opacity -- Normalizes the stroke opacity by making all points use the same opacity value.
|
|
2513
|
-
:type mode:
|
|
2514
|
+
:type mode: str | int | None
|
|
2514
2515
|
:param factor: Factor
|
|
2515
2516
|
:type factor: typing.Any | None
|
|
2516
2517
|
:param value: Value, Value
|
|
@@ -2523,8 +2524,8 @@ def stroke_outline(
|
|
|
2523
2524
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2524
2525
|
execution_context: str | int | None = None,
|
|
2525
2526
|
undo: bool | None = None,
|
|
2526
|
-
view_mode:
|
|
2527
|
-
material_mode:
|
|
2527
|
+
view_mode: str | int | None = "VIEW",
|
|
2528
|
+
material_mode: str | int | None = "ACTIVE",
|
|
2528
2529
|
thickness: typing.Any | None = 1,
|
|
2529
2530
|
keep: bool | typing.Any | None = True,
|
|
2530
2531
|
subdivisions: typing.Any | None = 3,
|
|
@@ -2536,7 +2537,7 @@ def stroke_outline(
|
|
|
2536
2537
|
:type execution_context: str | int | None
|
|
2537
2538
|
:type undo: bool | None
|
|
2538
2539
|
:param view_mode: View
|
|
2539
|
-
:type view_mode:
|
|
2540
|
+
:type view_mode: str | int | None
|
|
2540
2541
|
:param material_mode: Material Mode
|
|
2541
2542
|
|
|
2542
2543
|
ACTIVE
|
|
@@ -2547,7 +2548,7 @@ def stroke_outline(
|
|
|
2547
2548
|
|
|
2548
2549
|
NEW
|
|
2549
2550
|
New Material.
|
|
2550
|
-
:type material_mode:
|
|
2551
|
+
:type material_mode: str | int | None
|
|
2551
2552
|
:param thickness: Thickness, Thickness of the stroke perimeter
|
|
2552
2553
|
:type thickness: typing.Any | None
|
|
2553
2554
|
:param keep: Keep Shape, Try to keep global shape when the stroke thickness change
|
|
@@ -2564,7 +2565,7 @@ def stroke_reset_vertex_color(
|
|
|
2564
2565
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2565
2566
|
execution_context: str | int | None = None,
|
|
2566
2567
|
undo: bool | None = None,
|
|
2567
|
-
mode:
|
|
2568
|
+
mode: str | int | None = "BOTH",
|
|
2568
2569
|
):
|
|
2569
2570
|
"""Reset vertex color for all or selected strokes
|
|
2570
2571
|
|
|
@@ -2581,7 +2582,7 @@ def stroke_reset_vertex_color(
|
|
|
2581
2582
|
|
|
2582
2583
|
BOTH
|
|
2583
2584
|
Stroke & Fill -- Reset Vertex Color to Stroke and Fill.
|
|
2584
|
-
:type mode:
|
|
2585
|
+
:type mode: str | int | None
|
|
2585
2586
|
"""
|
|
2586
2587
|
|
|
2587
2588
|
...
|
|
@@ -2610,7 +2611,7 @@ def stroke_separate(
|
|
|
2610
2611
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2611
2612
|
execution_context: str | int | None = None,
|
|
2612
2613
|
undo: bool | None = None,
|
|
2613
|
-
mode:
|
|
2614
|
+
mode: str | int | None = "POINT",
|
|
2614
2615
|
):
|
|
2615
2616
|
"""Separate the selected strokes or layer in a new grease pencil object
|
|
2616
2617
|
|
|
@@ -2627,7 +2628,7 @@ def stroke_separate(
|
|
|
2627
2628
|
|
|
2628
2629
|
LAYER
|
|
2629
2630
|
Active Layer -- Separate the strokes of the current layer.
|
|
2630
|
-
:type mode:
|
|
2631
|
+
:type mode: str | int | None
|
|
2631
2632
|
"""
|
|
2632
2633
|
|
|
2633
2634
|
...
|
|
@@ -2803,7 +2804,7 @@ def time_segment_move(
|
|
|
2803
2804
|
execution_context: str | int | None = None,
|
|
2804
2805
|
undo: bool | None = None,
|
|
2805
2806
|
modifier: str | typing.Any = "",
|
|
2806
|
-
type:
|
|
2807
|
+
type: str | int | None = "UP",
|
|
2807
2808
|
):
|
|
2808
2809
|
"""Move the active time segment up or down
|
|
2809
2810
|
|
|
@@ -2813,7 +2814,7 @@ def time_segment_move(
|
|
|
2813
2814
|
:param modifier: Modifier, Name of the modifier to edit
|
|
2814
2815
|
:type modifier: str | typing.Any
|
|
2815
2816
|
:param type: Type
|
|
2816
|
-
:type type:
|
|
2817
|
+
:type type: str | int | None
|
|
2817
2818
|
"""
|
|
2818
2819
|
|
|
2819
2820
|
...
|
|
@@ -2856,14 +2857,14 @@ def trace_image(
|
|
|
2856
2857
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2857
2858
|
execution_context: str | int | None = None,
|
|
2858
2859
|
undo: bool | None = None,
|
|
2859
|
-
target:
|
|
2860
|
+
target: str | int | None = "NEW",
|
|
2860
2861
|
thickness: typing.Any | None = 10,
|
|
2861
2862
|
resolution: typing.Any | None = 5,
|
|
2862
2863
|
scale: typing.Any | None = 1.0,
|
|
2863
2864
|
sample: typing.Any | None = 0.0,
|
|
2864
2865
|
threshold: typing.Any | None = 0.5,
|
|
2865
|
-
turnpolicy:
|
|
2866
|
-
mode:
|
|
2866
|
+
turnpolicy: str | int | None = "MINORITY",
|
|
2867
|
+
mode: str | int | None = "SINGLE",
|
|
2867
2868
|
use_current_frame: bool | typing.Any | None = True,
|
|
2868
2869
|
frame_number: typing.Any | None = 0,
|
|
2869
2870
|
):
|
|
@@ -2873,7 +2874,7 @@ def trace_image(
|
|
|
2873
2874
|
:type execution_context: str | int | None
|
|
2874
2875
|
:type undo: bool | None
|
|
2875
2876
|
:param target: Target Object, Target grease pencil
|
|
2876
|
-
:type target:
|
|
2877
|
+
:type target: str | int | None
|
|
2877
2878
|
:param thickness: Thickness
|
|
2878
2879
|
:type thickness: typing.Any | None
|
|
2879
2880
|
:param resolution: Resolution, Resolution of the generated curves
|
|
@@ -2906,7 +2907,7 @@ def trace_image(
|
|
|
2906
2907
|
|
|
2907
2908
|
RANDOM
|
|
2908
2909
|
Random -- Choose pseudo-randomly.
|
|
2909
|
-
:type turnpolicy:
|
|
2910
|
+
:type turnpolicy: str | int | None
|
|
2910
2911
|
:param mode: Mode, Determines if trace simple image or full sequence
|
|
2911
2912
|
|
|
2912
2913
|
SINGLE
|
|
@@ -2914,7 +2915,7 @@ def trace_image(
|
|
|
2914
2915
|
|
|
2915
2916
|
SEQUENCE
|
|
2916
2917
|
Sequence -- Trace full sequence.
|
|
2917
|
-
:type mode:
|
|
2918
|
+
:type mode: str | int | None
|
|
2918
2919
|
:param use_current_frame: Start At Current Frame, Trace Image starting in current image frame
|
|
2919
2920
|
:type use_current_frame: bool | typing.Any | None
|
|
2920
2921
|
:param frame_number: Trace Frame, Used to trace only one frame of the image sequence, set to zero to trace all
|
|
@@ -2927,7 +2928,7 @@ def transform_fill(
|
|
|
2927
2928
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2928
2929
|
execution_context: str | int | None = None,
|
|
2929
2930
|
undo: bool | None = None,
|
|
2930
|
-
mode:
|
|
2931
|
+
mode: str | int | None = "ROTATE",
|
|
2931
2932
|
location: typing.Any | None = (0.0, 0.0),
|
|
2932
2933
|
rotation: typing.Any | None = 0.0,
|
|
2933
2934
|
scale: typing.Any | None = 0.0,
|
|
@@ -2939,7 +2940,7 @@ def transform_fill(
|
|
|
2939
2940
|
:type execution_context: str | int | None
|
|
2940
2941
|
:type undo: bool | None
|
|
2941
2942
|
:param mode: Mode
|
|
2942
|
-
:type mode:
|
|
2943
|
+
:type mode: str | int | None
|
|
2943
2944
|
:param location: Location
|
|
2944
2945
|
:type location: typing.Any | None
|
|
2945
2946
|
:param rotation: Rotation
|
|
@@ -2970,7 +2971,7 @@ def vertex_color_brightness_contrast(
|
|
|
2970
2971
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2971
2972
|
execution_context: str | int | None = None,
|
|
2972
2973
|
undo: bool | None = None,
|
|
2973
|
-
mode:
|
|
2974
|
+
mode: str | int | None = "BOTH",
|
|
2974
2975
|
brightness: typing.Any | None = 0.0,
|
|
2975
2976
|
contrast: typing.Any | None = 0.0,
|
|
2976
2977
|
):
|
|
@@ -2980,7 +2981,7 @@ def vertex_color_brightness_contrast(
|
|
|
2980
2981
|
:type execution_context: str | int | None
|
|
2981
2982
|
:type undo: bool | None
|
|
2982
2983
|
:param mode: Mode
|
|
2983
|
-
:type mode:
|
|
2984
|
+
:type mode: str | int | None
|
|
2984
2985
|
:param brightness: Brightness
|
|
2985
2986
|
:type brightness: typing.Any | None
|
|
2986
2987
|
:param contrast: Contrast
|
|
@@ -2993,7 +2994,7 @@ def vertex_color_hsv(
|
|
|
2993
2994
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2994
2995
|
execution_context: str | int | None = None,
|
|
2995
2996
|
undo: bool | None = None,
|
|
2996
|
-
mode:
|
|
2997
|
+
mode: str | int | None = "BOTH",
|
|
2997
2998
|
h: typing.Any | None = 0.5,
|
|
2998
2999
|
s: typing.Any | None = 1.0,
|
|
2999
3000
|
v: typing.Any | None = 1.0,
|
|
@@ -3004,7 +3005,7 @@ def vertex_color_hsv(
|
|
|
3004
3005
|
:type execution_context: str | int | None
|
|
3005
3006
|
:type undo: bool | None
|
|
3006
3007
|
:param mode: Mode
|
|
3007
|
-
:type mode:
|
|
3008
|
+
:type mode: str | int | None
|
|
3008
3009
|
:param h: Hue
|
|
3009
3010
|
:type h: typing.Any | None
|
|
3010
3011
|
:param s: Saturation
|
|
@@ -3019,7 +3020,7 @@ def vertex_color_invert(
|
|
|
3019
3020
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
3020
3021
|
execution_context: str | int | None = None,
|
|
3021
3022
|
undo: bool | None = None,
|
|
3022
|
-
mode:
|
|
3023
|
+
mode: str | int | None = "BOTH",
|
|
3023
3024
|
):
|
|
3024
3025
|
"""Invert RGB values
|
|
3025
3026
|
|
|
@@ -3027,7 +3028,7 @@ def vertex_color_invert(
|
|
|
3027
3028
|
:type execution_context: str | int | None
|
|
3028
3029
|
:type undo: bool | None
|
|
3029
3030
|
:param mode: Mode
|
|
3030
|
-
:type mode:
|
|
3031
|
+
:type mode: str | int | None
|
|
3031
3032
|
"""
|
|
3032
3033
|
|
|
3033
3034
|
...
|
|
@@ -3036,7 +3037,7 @@ def vertex_color_levels(
|
|
|
3036
3037
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
3037
3038
|
execution_context: str | int | None = None,
|
|
3038
3039
|
undo: bool | None = None,
|
|
3039
|
-
mode:
|
|
3040
|
+
mode: str | int | None = "BOTH",
|
|
3040
3041
|
offset: typing.Any | None = 0.0,
|
|
3041
3042
|
gain: typing.Any | None = 1.0,
|
|
3042
3043
|
):
|
|
@@ -3046,7 +3047,7 @@ def vertex_color_levels(
|
|
|
3046
3047
|
:type execution_context: str | int | None
|
|
3047
3048
|
:type undo: bool | None
|
|
3048
3049
|
:param mode: Mode
|
|
3049
|
-
:type mode:
|
|
3050
|
+
:type mode: str | int | None
|
|
3050
3051
|
:param offset: Offset, Value to add to colors
|
|
3051
3052
|
:type offset: typing.Any | None
|
|
3052
3053
|
:param gain: Gain, Value to multiply colors by
|
|
@@ -3059,7 +3060,7 @@ def vertex_color_set(
|
|
|
3059
3060
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
3060
3061
|
execution_context: str | int | None = None,
|
|
3061
3062
|
undo: bool | None = None,
|
|
3062
|
-
mode:
|
|
3063
|
+
mode: str | int | None = "BOTH",
|
|
3063
3064
|
factor: typing.Any | None = 1.0,
|
|
3064
3065
|
):
|
|
3065
3066
|
"""Set active color to all selected vertex
|
|
@@ -3068,7 +3069,7 @@ def vertex_color_set(
|
|
|
3068
3069
|
:type execution_context: str | int | None
|
|
3069
3070
|
:type undo: bool | None
|
|
3070
3071
|
:param mode: Mode
|
|
3071
|
-
:type mode:
|
|
3072
|
+
:type mode: str | int | None
|
|
3072
3073
|
:param factor: Factor, Mix Factor
|
|
3073
3074
|
:type factor: typing.Any | None
|
|
3074
3075
|
"""
|