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