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