fake-bpy-module-latest 20250926__py3-none-any.whl → 20260115__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.
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_calltip/__init__.pyi +0 -13
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_import/__init__.pyi +0 -5
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_namespace/__init__.pyi +0 -11
- {bl_console_utils → _bl_console_utils}/autocomplete/intellisense/__init__.pyi +0 -10
- {bl_i18n_utils → _bl_i18n_utils}/__init__.pyi +1 -0
- {bl_i18n_utils → _bl_i18n_utils}/bl_extract_messages/__init__.pyi +1 -0
- {bl_i18n_utils → _bl_i18n_utils}/settings/__init__.pyi +2 -0
- _bl_i18n_utils/utils_spell_check/__init__.pyi +22 -0
- {bl_ui_utils → _bl_ui_utils}/__init__.pyi +1 -0
- _bpy_internal/__init__.pyi +1 -0
- _bpy_internal/disk_file_hash_service/__init__.pyi +19 -0
- _bpy_internal/disk_file_hash_service/backend_sqlite/__init__.pyi +48 -0
- _bpy_internal/disk_file_hash_service/hash_service/__init__.pyi +64 -0
- _bpy_internal/disk_file_hash_service/types/__init__.pyi +53 -0
- _bpy_types/__init__.pyi +18 -123
- {rna_info → _rna_info}/__init__.pyi +0 -1
- addon_utils/__init__.pyi +0 -13
- aud/__init__.pyi +55 -131
- bl_math/__init__.pyi +2 -12
- bl_operators/__init__.pyi +1 -0
- bl_operators/add_mesh_torus/__init__.pyi +0 -2
- bl_operators/anim/__init__.pyi +47 -24
- bl_operators/assets/__init__.pyi +0 -6
- bl_operators/bone_selection_sets/__init__.pyi +0 -28
- bl_operators/clip/__init__.pyi +0 -20
- bl_operators/connect_to_output/__init__.pyi +0 -2
- bl_operators/console/__init__.pyi +0 -10
- bl_operators/constraint/__init__.pyi +0 -8
- bl_operators/copy_global_transform/__init__.pyi +261 -0
- bl_operators/file/__init__.pyi +0 -6
- bl_operators/freestyle/__init__.pyi +0 -8
- bl_operators/geometry_nodes/__init__.pyi +0 -8
- bl_operators/grease_pencil/__init__.pyi +0 -2
- bl_operators/image/__init__.pyi +0 -10
- bl_operators/image_as_planes/__init__.pyi +0 -4
- bl_operators/mesh/__init__.pyi +0 -4
- bl_operators/node/__init__.pyi +37 -56
- bl_operators/object/__init__.pyi +0 -37
- bl_operators/object_align/__init__.pyi +0 -2
- bl_operators/object_quick_effects/__init__.pyi +0 -8
- bl_operators/object_randomize_transform/__init__.pyi +0 -2
- bl_operators/presets/__init__.pyi +0 -50
- bl_operators/rigidbody/__init__.pyi +0 -6
- bl_operators/screen_play_rendered_anim/__init__.pyi +0 -2
- bl_operators/sequencer/__init__.pyi +0 -16
- bl_operators/spreadsheet/__init__.pyi +0 -2
- bl_operators/userpref/__init__.pyi +0 -50
- bl_operators/uvcalc_follow_active/__init__.pyi +1 -3
- bl_operators/uvcalc_lightmap/__init__.pyi +0 -2
- bl_operators/uvcalc_transform/__init__.pyi +21 -12
- bl_operators/vertexpaint_dirt/__init__.pyi +0 -2
- bl_operators/view3d/__init__.pyi +0 -16
- bl_operators/wm/__init__.pyi +0 -92
- bl_operators/world/__init__.pyi +0 -2
- bl_ui/__init__.pyi +3 -4
- bl_ui/anim/__init__.pyi +0 -2
- bl_ui/asset_shelf/__init__.pyi +0 -2
- bl_ui/generic_ui_list/__init__.pyi +0 -16
- bl_ui/node_add_menu/__init__.pyi +23 -25
- bl_ui/node_add_menu_compositor/__init__.pyi +71 -53
- bl_ui/node_add_menu_geometry/__init__.pyi +81 -193
- bl_ui/node_add_menu_shader/__init__.pyi +21 -39
- bl_ui/node_add_menu_texture/__init__.pyi +1 -17
- bl_ui/properties_collection/__init__.pyi +0 -14
- bl_ui/properties_constraint/__init__.pyi +64 -150
- bl_ui/properties_data_armature/__init__.pyi +0 -36
- bl_ui/properties_data_bone/__init__.pyi +0 -20
- bl_ui/properties_data_camera/__init__.pyi +0 -30
- bl_ui/properties_data_curve/__init__.pyi +0 -30
- bl_ui/properties_data_curves/__init__.pyi +0 -16
- bl_ui/properties_data_empty/__init__.pyi +0 -4
- bl_ui/properties_data_grease_pencil/__init__.pyi +0 -40
- bl_ui/properties_data_lattice/__init__.pyi +0 -8
- bl_ui/properties_data_light/__init__.pyi +0 -20
- bl_ui/properties_data_lightprobe/__init__.pyi +0 -28
- bl_ui/properties_data_mesh/__init__.pyi +0 -42
- bl_ui/properties_data_metaball/__init__.pyi +0 -12
- bl_ui/properties_data_modifier/__init__.pyi +12 -19
- bl_ui/properties_data_pointcloud/__init__.pyi +0 -12
- bl_ui/properties_data_shaderfx/__init__.pyi +0 -2
- bl_ui/properties_data_speaker/__init__.pyi +0 -12
- bl_ui/properties_data_volume/__init__.pyi +0 -18
- bl_ui/properties_freestyle/__init__.pyi +0 -50
- bl_ui/properties_grease_pencil_common/__init__.pyi +0 -14
- bl_ui/properties_mask_common/__init__.pyi +0 -14
- bl_ui/properties_material/__init__.pyi +0 -32
- bl_ui/properties_material_gpencil/__init__.pyi +0 -22
- bl_ui/properties_object/__init__.pyi +35 -42
- bl_ui/properties_output/__init__.pyi +0 -40
- bl_ui/properties_paint_common/__init__.pyi +23 -12
- bl_ui/properties_particle/__init__.pyi +0 -106
- bl_ui/properties_physics_cloth/__init__.pyi +0 -28
- bl_ui/properties_physics_common/__init__.pyi +0 -2
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +0 -44
- bl_ui/properties_physics_field/__init__.pyi +0 -20
- bl_ui/properties_physics_fluid/__init__.pyi +0 -56
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +0 -2
- bl_ui/properties_physics_rigidbody/__init__.pyi +0 -16
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +0 -26
- bl_ui/properties_physics_softbody/__init__.pyi +0 -30
- bl_ui/properties_render/__init__.pyi +29 -88
- bl_ui/properties_scene/__init__.pyi +0 -34
- bl_ui/properties_strip/__init__.pyi +744 -0
- bl_ui/properties_strip_modifier/__init__.pyi +45 -0
- bl_ui/properties_texture/__init__.pyi +0 -54
- bl_ui/properties_view_layer/__init__.pyi +7 -28
- bl_ui/properties_workspace/__init__.pyi +0 -8
- bl_ui/properties_world/__init__.pyi +0 -22
- bl_ui/space_clip/__init__.pyi +1 -150
- bl_ui/space_console/__init__.pyi +0 -12
- bl_ui/space_dopesheet/__init__.pyi +52 -60
- bl_ui/space_filebrowser/__init__.pyi +0 -60
- bl_ui/space_graph/__init__.pyi +0 -44
- bl_ui/space_image/__init__.pyi +2 -144
- bl_ui/space_info/__init__.pyi +0 -12
- bl_ui/space_nla/__init__.pyi +0 -36
- bl_ui/space_node/__init__.pyi +29 -137
- bl_ui/space_outliner/__init__.pyi +0 -30
- bl_ui/space_properties/__init__.pyi +29 -6
- bl_ui/space_sequencer/__init__.pyi +46 -912
- bl_ui/space_spreadsheet/__init__.pyi +0 -6
- bl_ui/space_statusbar/__init__.pyi +0 -2
- bl_ui/space_text/__init__.pyi +0 -32
- bl_ui/space_time/__init__.pyi +7 -41
- bl_ui/space_topbar/__init__.pyi +7 -52
- bl_ui/space_userpref/__init__.pyi +7 -188
- bl_ui/space_view3d/__init__.pyi +36 -544
- bl_ui/space_view3d_sidebar/__init__.pyi +127 -0
- bl_ui/space_view3d_toolbar/__init__.pyi +2 -163
- blf/__init__.pyi +6 -50
- bmesh/__init__.pyi +0 -7
- bmesh/geometry/__init__.pyi +0 -3
- bmesh/ops/__init__.pyi +2 -450
- bmesh/types/__init__.pyi +294 -634
- bmesh/utils/__init__.pyi +16 -43
- bpy/app/__init__.pyi +56 -59
- bpy/app/icons/__init__.pyi +0 -6
- bpy/app/timers/__init__.pyi +0 -6
- bpy/app/translations/__init__.pyi +1 -16
- bpy/msgbus/__init__.pyi +1 -4
- bpy/ops/action/__init__.pyi +17 -164
- bpy/ops/anim/__init__.pyi +38 -279
- bpy/ops/armature/__init__.pyi +18 -192
- bpy/ops/asset/__init__.pyi +11 -97
- bpy/ops/boid/__init__.pyi +7 -38
- bpy/ops/brush/__init__.pyi +3 -104
- bpy/ops/buttons/__init__.pyi +4 -71
- bpy/ops/cachefile/__init__.pyi +2 -63
- bpy/ops/camera/__init__.pyi +0 -11
- bpy/ops/clip/__init__.pyi +43 -427
- bpy/ops/cloth/__init__.pyi +0 -5
- bpy/ops/collection/__init__.pyi +3 -35
- bpy/ops/console/__init__.pyi +10 -88
- bpy/ops/constraint/__init__.pyi +3 -80
- bpy/ops/curve/__init__.pyi +23 -254
- bpy/ops/curves/__init__.pyi +17 -166
- bpy/ops/cycles/__init__.pyi +1 -14
- bpy/ops/dpaint/__init__.pyi +3 -21
- bpy/ops/ed/__init__.pyi +10 -82
- bpy/ops/export_anim/__init__.pyi +2 -10
- bpy/ops/export_scene/__init__.pyi +1 -155
- bpy/ops/extensions/__init__.pyi +15 -150
- bpy/ops/file/__init__.pyi +29 -216
- bpy/ops/fluid/__init__.pyi +13 -70
- bpy/ops/font/__init__.pyi +10 -134
- bpy/ops/geometry/__init__.pyi +3 -124
- bpy/ops/gizmogroup/__init__.pyi +1 -12
- bpy/ops/gpencil/__init__.pyi +5 -38
- bpy/ops/graph/__init__.pyi +20 -315
- bpy/ops/grease_pencil/__init__.pyi +41 -518
- bpy/ops/image/__init__.pyi +19 -379
- bpy/ops/import_anim/__init__.pyi +2 -16
- bpy/ops/import_curve/__init__.pyi +0 -6
- bpy/ops/import_scene/__init__.pyi +0 -50
- bpy/ops/info/__init__.pyi +4 -35
- bpy/ops/lattice/__init__.pyi +3 -33
- bpy/ops/marker/__init__.pyi +4 -49
- bpy/ops/mask/__init__.pyi +17 -176
- bpy/ops/material/__init__.pyi +3 -15
- bpy/ops/mball/__init__.pyi +1 -30
- bpy/ops/mesh/__init__.pyi +32 -915
- bpy/ops/nla/__init__.pyi +22 -183
- bpy/ops/node/__init__.pyi +279 -662
- bpy/ops/object/__init__.pyi +139 -1254
- bpy/ops/outliner/__init__.pyi +47 -327
- bpy/ops/paint/__init__.pyi +14 -279
- bpy/ops/paintcurve/__init__.pyi +4 -36
- bpy/ops/palette/__init__.pyi +3 -27
- bpy/ops/particle/__init__.pyi +20 -160
- bpy/ops/pointcloud/__init__.pyi +3 -35
- bpy/ops/pose/__init__.pyi +28 -233
- bpy/ops/poselib/__init__.pyi +4 -69
- bpy/ops/preferences/__init__.pyi +9 -177
- bpy/ops/ptcache/__init__.pyi +5 -31
- bpy/ops/render/__init__.pyi +10 -74
- bpy/ops/rigidbody/__init__.pyi +6 -56
- bpy/ops/scene/__init__.pyi +22 -167
- bpy/ops/screen/__init__.pyi +36 -202
- bpy/ops/script/__init__.pyi +1 -12
- bpy/ops/sculpt/__init__.pyi +36 -311
- bpy/ops/sculpt_curves/__init__.pyi +1 -20
- bpy/ops/sequencer/__init__.pyi +96 -667
- bpy/ops/sound/__init__.pyi +3 -109
- bpy/ops/spreadsheet/__init__.pyi +5 -32
- bpy/ops/surface/__init__.pyi +0 -48
- bpy/ops/text/__init__.pyi +27 -225
- bpy/ops/text_editor/__init__.pyi +0 -5
- bpy/ops/texture/__init__.pyi +3 -18
- bpy/ops/transform/__init__.pyi +10 -382
- bpy/ops/ui/__init__.pyi +29 -154
- bpy/ops/uilist/__init__.pyi +0 -13
- bpy/ops/uv/__init__.pyi +52 -305
- bpy/ops/view2d/__init__.pyi +3 -73
- bpy/ops/view3d/__init__.pyi +37 -339
- bpy/ops/wm/__init__.pyi +116 -1316
- bpy/ops/workspace/__init__.pyi +7 -39
- bpy/ops/world/__init__.pyi +2 -10
- bpy/path/__init__.pyi +0 -34
- bpy/props/__init__.pyi +15 -157
- bpy/stub_internal/rna_enums/__init__.pyi +65 -33
- bpy/types/__init__.pyi +19924 -57212
- bpy/utils/__init__.pyi +4 -75
- bpy/utils/previews/__init__.pyi +1 -10
- bpy/utils/units/__init__.pyi +0 -12
- bpy_extras/anim_utils/__init__.pyi +24 -16
- bpy_extras/bmesh_utils/__init__.pyi +0 -1
- bpy_extras/id_map_utils/__init__.pyi +14 -6
- bpy_extras/image_utils/__init__.pyi +0 -9
- bpy_extras/io_utils/__init__.pyi +2 -22
- bpy_extras/keyconfig_utils/__init__.pyi +1 -1
- bpy_extras/mesh_utils/__init__.pyi +0 -12
- bpy_extras/object_utils/__init__.pyi +0 -14
- bpy_extras/view3d_utils/__init__.pyi +0 -18
- {fake_bpy_module_latest-20250926.dist-info → fake_bpy_module_latest-20260115.dist-info}/METADATA +4 -1
- fake_bpy_module_latest-20260115.dist-info/RECORD +382 -0
- {fake_bpy_module_latest-20250926.dist-info → fake_bpy_module_latest-20260115.dist-info}/top_level.txt +14 -14
- freestyle/chainingiterators/__init__.pyi +0 -22
- freestyle/functions/__init__.pyi +0 -139
- freestyle/predicates/__init__.pyi +0 -51
- freestyle/shaders/__init__.pyi +0 -65
- freestyle/types/__init__.pyi +139 -777
- freestyle/utils/ContextFunctions/__init__.pyi +0 -23
- freestyle/utils/__init__.pyi +1 -7
- gpu/capabilities/__init__.pyi +0 -21
- gpu/matrix/__init__.pyi +1 -10
- gpu/platform/__init__.pyi +0 -5
- gpu/shader/__init__.pyi +22 -6
- gpu/state/__init__.pyi +59 -38
- gpu/texture/__init__.pyi +0 -2
- gpu/types/__init__.pyi +162 -230
- gpu_extras/batch/__init__.pyi +0 -4
- gpu_extras/presets/__init__.pyi +6 -8
- idprop/types/__init__.pyi +5 -5
- imbuf/__init__.pyi +2 -9
- imbuf/types/__init__.pyi +5 -25
- keyingsets_builtins/__init__.pyi +1 -45
- mathutils/__init__.pyi +82 -2172
- mathutils/bvhtree/__init__.pyi +2 -23
- mathutils/geometry/__init__.pyi +41 -133
- mathutils/interpolate/__init__.pyi +3 -4
- mathutils/kdtree/__init__.pyi +0 -11
- mathutils/noise/__init__.pyi +0 -62
- fake_bpy_module_latest-20250926.dist-info/RECORD +0 -373
- {animsys_refactor → _animsys_refactor}/__init__.pyi +0 -0
- {animsys_refactor → _animsys_refactor}/py.typed +0 -0
- {bl_console_utils → _bl_console_utils}/__init__.pyi +0 -0
- {bl_console_utils → _bl_console_utils}/autocomplete/__init__.pyi +0 -0
- {bl_console_utils → _bl_console_utils}/py.typed +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/merge_po/__init__.pyi +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/py.typed +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/utils/__init__.pyi +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/utils_cli/__init__.pyi +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/utils_languages_menu/__init__.pyi +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/utils_rtl/__init__.pyi +0 -0
- {bl_previews_utils → _bl_previews_utils}/__init__.pyi +0 -0
- {bl_previews_utils → _bl_previews_utils}/bl_previews_render/__init__.pyi +0 -0
- {bl_previews_utils → _bl_previews_utils}/py.typed +0 -0
- {bl_rna_utils → _bl_rna_utils}/__init__.pyi +0 -0
- {bl_rna_utils → _bl_rna_utils}/data_path/__init__.pyi +0 -0
- {bl_rna_utils → _bl_rna_utils}/py.typed +0 -0
- {bl_text_utils → _bl_text_utils}/__init__.pyi +0 -0
- {bl_text_utils → _bl_text_utils}/external_editor/__init__.pyi +0 -0
- {bl_text_utils → _bl_text_utils}/py.typed +0 -0
- {bl_ui_utils → _bl_ui_utils}/layout/__init__.pyi +0 -0
- {bl_ui_utils → _bl_ui_utils}/py.typed +0 -0
- {bpy_restrict_state → _bpy_restrict_state}/__init__.pyi +0 -0
- {bpy_restrict_state → _bpy_restrict_state}/py.typed +0 -0
- {console_python → _console_python}/__init__.pyi +0 -0
- {console_python → _console_python}/py.typed +0 -0
- {console_shell → _console_shell}/__init__.pyi +0 -0
- {console_shell → _console_shell}/py.typed +0 -0
- {graphviz_export → _graphviz_export}/__init__.pyi +0 -0
- {graphviz_export → _graphviz_export}/py.typed +0 -0
- {keyingsets_utils → _keyingsets_utils}/__init__.pyi +0 -0
- {keyingsets_utils → _keyingsets_utils}/py.typed +0 -0
- {rna_info → _rna_info}/py.typed +0 -0
- {rna_xml → _rna_xml}/__init__.pyi +0 -0
- {rna_xml → _rna_xml}/py.typed +0 -0
- {fake_bpy_module_latest-20250926.dist-info → fake_bpy_module_latest-20260115.dist-info}/WHEEL +0 -0
|
@@ -15,10 +15,7 @@ def active_frame_delete(
|
|
|
15
15
|
) -> None:
|
|
16
16
|
"""Delete the active Grease Pencil frame(s)
|
|
17
17
|
|
|
18
|
-
:type execution_context: int | str | None
|
|
19
|
-
:type undo: bool | None
|
|
20
18
|
:param all: Delete all, Delete active keyframes of all layers
|
|
21
|
-
:type all: bool | None
|
|
22
19
|
"""
|
|
23
20
|
|
|
24
21
|
def bake_grease_pencil_animation(
|
|
@@ -36,18 +33,11 @@ def bake_grease_pencil_animation(
|
|
|
36
33
|
) -> None:
|
|
37
34
|
"""Bake Grease Pencil object transform to Grease Pencil keyframes
|
|
38
35
|
|
|
39
|
-
:type execution_context: int | str | None
|
|
40
|
-
:type undo: bool | None
|
|
41
36
|
:param frame_start: Start Frame, The start frame
|
|
42
|
-
:type frame_start: int | None
|
|
43
37
|
:param frame_end: End Frame, The end frame of animation
|
|
44
|
-
:type frame_end: int | None
|
|
45
38
|
:param step: Step, Step between generated frames
|
|
46
|
-
:type step: int | None
|
|
47
39
|
:param only_selected: Only Selected Keyframes, Convert only selected keyframes
|
|
48
|
-
:type only_selected: bool | None
|
|
49
40
|
:param frame_target: Target Frame, Destination frame
|
|
50
|
-
:type frame_target: int | None
|
|
51
41
|
:param project_type: Projection Type
|
|
52
42
|
|
|
53
43
|
KEEP
|
|
@@ -67,7 +57,6 @@ def bake_grease_pencil_animation(
|
|
|
67
57
|
|
|
68
58
|
CURSOR
|
|
69
59
|
Cursor -- Reproject the strokes using the orientation of 3D cursor.
|
|
70
|
-
:type project_type: typing.Literal['KEEP','FRONT','SIDE','TOP','VIEW','CURSOR'] | None
|
|
71
60
|
"""
|
|
72
61
|
|
|
73
62
|
def brush_stroke(
|
|
@@ -82,10 +71,7 @@ def brush_stroke(
|
|
|
82
71
|
) -> None:
|
|
83
72
|
"""Draw a new stroke in the active Grease Pencil object
|
|
84
73
|
|
|
85
|
-
:type execution_context: int | str | None
|
|
86
|
-
:type undo: bool | None
|
|
87
74
|
:param stroke: Stroke
|
|
88
|
-
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
|
|
89
75
|
:param mode: Stroke Mode, Action taken when a paint stroke is made
|
|
90
76
|
|
|
91
77
|
NORMAL
|
|
@@ -99,9 +85,7 @@ def brush_stroke(
|
|
|
99
85
|
|
|
100
86
|
ERASE
|
|
101
87
|
Erase -- Switch brush to erase mode for duration of stroke.
|
|
102
|
-
:type mode: typing.Literal['NORMAL','INVERT','SMOOTH','ERASE'] | None
|
|
103
88
|
:param pen_flip: Pen Flip, Whether a tablets eraser mode is being used
|
|
104
|
-
:type pen_flip: bool | None
|
|
105
89
|
"""
|
|
106
90
|
|
|
107
91
|
def caps_set(
|
|
@@ -113,8 +97,6 @@ def caps_set(
|
|
|
113
97
|
) -> None:
|
|
114
98
|
"""Change curve caps mode (rounded or flat)
|
|
115
99
|
|
|
116
|
-
:type execution_context: int | str | None
|
|
117
|
-
:type undo: bool | None
|
|
118
100
|
:param type: Type
|
|
119
101
|
|
|
120
102
|
ROUND
|
|
@@ -128,7 +110,6 @@ def caps_set(
|
|
|
128
110
|
|
|
129
111
|
END
|
|
130
112
|
Toggle End.
|
|
131
|
-
:type type: typing.Literal['ROUND','FLAT','START','END'] | None
|
|
132
113
|
"""
|
|
133
114
|
|
|
134
115
|
def clean_loose(
|
|
@@ -140,10 +121,7 @@ def clean_loose(
|
|
|
140
121
|
) -> None:
|
|
141
122
|
"""Remove loose points
|
|
142
123
|
|
|
143
|
-
:type execution_context: int | str | None
|
|
144
|
-
:type undo: bool | None
|
|
145
124
|
:param limit: Limit, Number of points to consider stroke as loose
|
|
146
|
-
:type limit: int | None
|
|
147
125
|
"""
|
|
148
126
|
|
|
149
127
|
def convert_curve_type(
|
|
@@ -156,12 +134,8 @@ def convert_curve_type(
|
|
|
156
134
|
) -> None:
|
|
157
135
|
"""Convert type of selected curves
|
|
158
136
|
|
|
159
|
-
:type execution_context: int | str | None
|
|
160
|
-
:type undo: bool | None
|
|
161
137
|
:param type: Type
|
|
162
|
-
:type type: bpy.stub_internal.rna_enums.CurvesTypeItems | None
|
|
163
138
|
:param threshold: Threshold, The distance that the resulting points are allowed to be within
|
|
164
|
-
:type threshold: float | None
|
|
165
139
|
"""
|
|
166
140
|
|
|
167
141
|
def copy(
|
|
@@ -169,11 +143,7 @@ def copy(
|
|
|
169
143
|
undo: bool | None = None,
|
|
170
144
|
/,
|
|
171
145
|
) -> None:
|
|
172
|
-
"""Copy the selected Grease Pencil points or strokes to the internal clipboard
|
|
173
|
-
|
|
174
|
-
:type execution_context: int | str | None
|
|
175
|
-
:type undo: bool | None
|
|
176
|
-
"""
|
|
146
|
+
"""Copy the selected Grease Pencil points or strokes to the internal clipboard"""
|
|
177
147
|
|
|
178
148
|
def cyclical_set(
|
|
179
149
|
execution_context: int | str | None = None,
|
|
@@ -185,12 +155,8 @@ def cyclical_set(
|
|
|
185
155
|
) -> None:
|
|
186
156
|
"""Close or open the selected stroke adding a segment from last to first point
|
|
187
157
|
|
|
188
|
-
:type execution_context: int | str | None
|
|
189
|
-
:type undo: bool | None
|
|
190
158
|
:param type: Type
|
|
191
|
-
:type type: typing.Literal['CLOSE','OPEN','TOGGLE'] | None
|
|
192
159
|
:param subdivide_cyclic_segment: Match Point Density, Add point in the new segment to keep the same density
|
|
193
|
-
:type subdivide_cyclic_segment: bool | None
|
|
194
160
|
"""
|
|
195
161
|
|
|
196
162
|
def delete(
|
|
@@ -198,22 +164,14 @@ def delete(
|
|
|
198
164
|
undo: bool | None = None,
|
|
199
165
|
/,
|
|
200
166
|
) -> None:
|
|
201
|
-
"""Delete selected strokes or points
|
|
202
|
-
|
|
203
|
-
:type execution_context: int | str | None
|
|
204
|
-
:type undo: bool | None
|
|
205
|
-
"""
|
|
167
|
+
"""Delete selected strokes or points"""
|
|
206
168
|
|
|
207
169
|
def delete_breakdown(
|
|
208
170
|
execution_context: int | str | None = None,
|
|
209
171
|
undo: bool | None = None,
|
|
210
172
|
/,
|
|
211
173
|
) -> None:
|
|
212
|
-
"""Remove breakdown frames generated by interpolating between two Grease Pencil frames
|
|
213
|
-
|
|
214
|
-
:type execution_context: int | str | None
|
|
215
|
-
:type undo: bool | None
|
|
216
|
-
"""
|
|
174
|
+
"""Remove breakdown frames generated by interpolating between two Grease Pencil frames"""
|
|
217
175
|
|
|
218
176
|
def delete_frame(
|
|
219
177
|
execution_context: int | str | None = None,
|
|
@@ -224,8 +182,6 @@ def delete_frame(
|
|
|
224
182
|
) -> None:
|
|
225
183
|
"""Delete Grease Pencil Frame(s)
|
|
226
184
|
|
|
227
|
-
:type execution_context: int | str | None
|
|
228
|
-
:type undo: bool | None
|
|
229
185
|
:param type: Type, Method used for deleting Grease Pencil frames
|
|
230
186
|
|
|
231
187
|
ACTIVE_FRAME
|
|
@@ -233,7 +189,6 @@ def delete_frame(
|
|
|
233
189
|
|
|
234
190
|
ALL_FRAMES
|
|
235
191
|
All Active Frames -- Delete active frames for all layers.
|
|
236
|
-
:type type: typing.Literal['ACTIVE_FRAME','ALL_FRAMES'] | None
|
|
237
192
|
"""
|
|
238
193
|
|
|
239
194
|
def dissolve(
|
|
@@ -245,8 +200,6 @@ def dissolve(
|
|
|
245
200
|
) -> None:
|
|
246
201
|
"""Delete selected points without splitting strokes
|
|
247
202
|
|
|
248
|
-
:type execution_context: int | str | None
|
|
249
|
-
:type undo: bool | None
|
|
250
203
|
:param type: Type, Method used for dissolving stroke points
|
|
251
204
|
|
|
252
205
|
POINTS
|
|
@@ -257,7 +210,6 @@ def dissolve(
|
|
|
257
210
|
|
|
258
211
|
UNSELECT
|
|
259
212
|
Dissolve Unselect -- Dissolve all unselected points.
|
|
260
|
-
:type type: typing.Literal['POINTS','BETWEEN','UNSELECT'] | None
|
|
261
213
|
"""
|
|
262
214
|
|
|
263
215
|
def duplicate(
|
|
@@ -265,11 +217,7 @@ def duplicate(
|
|
|
265
217
|
undo: bool | None = None,
|
|
266
218
|
/,
|
|
267
219
|
) -> None:
|
|
268
|
-
"""Duplicate the selected points
|
|
269
|
-
|
|
270
|
-
:type execution_context: int | str | None
|
|
271
|
-
:type undo: bool | None
|
|
272
|
-
"""
|
|
220
|
+
"""Duplicate the selected points"""
|
|
273
221
|
|
|
274
222
|
def duplicate_move(
|
|
275
223
|
execution_context: int | str | None = None,
|
|
@@ -281,12 +229,8 @@ def duplicate_move(
|
|
|
281
229
|
) -> None:
|
|
282
230
|
"""Make copies of the selected Grease Pencil strokes and move them
|
|
283
231
|
|
|
284
|
-
:type execution_context: int | str | None
|
|
285
|
-
:type undo: bool | None
|
|
286
232
|
:param GREASE_PENCIL_OT_duplicate: Duplicate, Duplicate the selected points
|
|
287
|
-
:type GREASE_PENCIL_OT_duplicate: typing.Any | None
|
|
288
233
|
:param TRANSFORM_OT_translate: Move, Move selected items
|
|
289
|
-
:type TRANSFORM_OT_translate: bpy.ops.transform.translate | None
|
|
290
234
|
"""
|
|
291
235
|
|
|
292
236
|
def erase_box(
|
|
@@ -302,18 +246,11 @@ def erase_box(
|
|
|
302
246
|
) -> None:
|
|
303
247
|
"""Erase points in the box region
|
|
304
248
|
|
|
305
|
-
:type execution_context: int | str | None
|
|
306
|
-
:type undo: bool | None
|
|
307
249
|
:param xmin: X Min
|
|
308
|
-
:type xmin: int | None
|
|
309
250
|
:param xmax: X Max
|
|
310
|
-
:type xmax: int | None
|
|
311
251
|
:param ymin: Y Min
|
|
312
|
-
:type ymin: int | None
|
|
313
252
|
:param ymax: Y Max
|
|
314
|
-
:type ymax: int | None
|
|
315
253
|
:param wait_for_input: Wait for Input
|
|
316
|
-
:type wait_for_input: bool | None
|
|
317
254
|
"""
|
|
318
255
|
|
|
319
256
|
def erase_lasso(
|
|
@@ -328,16 +265,10 @@ def erase_lasso(
|
|
|
328
265
|
) -> None:
|
|
329
266
|
"""Erase points in the lasso region
|
|
330
267
|
|
|
331
|
-
:type execution_context: int | str | None
|
|
332
|
-
:type undo: bool | None
|
|
333
268
|
:param path: Path
|
|
334
|
-
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None
|
|
335
269
|
:param use_smooth_stroke: Stabilize Stroke, Selection lags behind mouse and follows a smoother path
|
|
336
|
-
:type use_smooth_stroke: bool | None
|
|
337
270
|
:param smooth_stroke_factor: Smooth Stroke Factor, Higher values gives a smoother stroke
|
|
338
|
-
:type smooth_stroke_factor: float | None
|
|
339
271
|
:param smooth_stroke_radius: Smooth Stroke Radius, Minimum distance from last point before selection continues
|
|
340
|
-
:type smooth_stroke_radius: int | None
|
|
341
272
|
"""
|
|
342
273
|
|
|
343
274
|
def extrude(
|
|
@@ -345,11 +276,7 @@ def extrude(
|
|
|
345
276
|
undo: bool | None = None,
|
|
346
277
|
/,
|
|
347
278
|
) -> None:
|
|
348
|
-
"""Extrude the selected points
|
|
349
|
-
|
|
350
|
-
:type execution_context: int | str | None
|
|
351
|
-
:type undo: bool | None
|
|
352
|
-
"""
|
|
279
|
+
"""Extrude the selected points"""
|
|
353
280
|
|
|
354
281
|
def extrude_move(
|
|
355
282
|
execution_context: int | str | None = None,
|
|
@@ -361,12 +288,8 @@ def extrude_move(
|
|
|
361
288
|
) -> None:
|
|
362
289
|
"""Extrude selected points and move them
|
|
363
290
|
|
|
364
|
-
:type execution_context: int | str | None
|
|
365
|
-
:type undo: bool | None
|
|
366
291
|
:param GREASE_PENCIL_OT_extrude: Extrude Stroke Points, Extrude the selected points
|
|
367
|
-
:type GREASE_PENCIL_OT_extrude: typing.Any | None
|
|
368
292
|
:param TRANSFORM_OT_translate: Move, Move selected items
|
|
369
|
-
:type TRANSFORM_OT_translate: bpy.ops.transform.translate | None
|
|
370
293
|
"""
|
|
371
294
|
|
|
372
295
|
def fill(
|
|
@@ -379,12 +302,8 @@ def fill(
|
|
|
379
302
|
) -> None:
|
|
380
303
|
"""Fill with color the shape formed by strokes
|
|
381
304
|
|
|
382
|
-
:type execution_context: int | str | None
|
|
383
|
-
:type undo: bool | None
|
|
384
305
|
:param invert: Invert, Find boundary of unfilled instead of filled regions
|
|
385
|
-
:type invert: bool | None
|
|
386
306
|
:param precision: Precision, Use precision movement for extension lines
|
|
387
|
-
:type precision: bool | None
|
|
388
307
|
"""
|
|
389
308
|
|
|
390
309
|
def frame_clean_duplicate(
|
|
@@ -396,10 +315,7 @@ def frame_clean_duplicate(
|
|
|
396
315
|
) -> None:
|
|
397
316
|
"""Remove any keyframe that is a duplicate of the previous one
|
|
398
317
|
|
|
399
|
-
:type execution_context: int | str | None
|
|
400
|
-
:type undo: bool | None
|
|
401
318
|
:param selected: Selected, Only delete selected keyframes
|
|
402
|
-
:type selected: bool | None
|
|
403
319
|
"""
|
|
404
320
|
|
|
405
321
|
def frame_duplicate(
|
|
@@ -411,10 +327,7 @@ def frame_duplicate(
|
|
|
411
327
|
) -> None:
|
|
412
328
|
"""Make a copy of the active Grease Pencil frame(s)
|
|
413
329
|
|
|
414
|
-
:type execution_context: int | str | None
|
|
415
|
-
:type undo: bool | None
|
|
416
330
|
:param all: Duplicate all, Duplicate active keyframes of all layer
|
|
417
|
-
:type all: bool | None
|
|
418
331
|
"""
|
|
419
332
|
|
|
420
333
|
def insert_blank_frame(
|
|
@@ -427,12 +340,8 @@ def insert_blank_frame(
|
|
|
427
340
|
) -> None:
|
|
428
341
|
"""Insert a blank frame on the current scene frame
|
|
429
342
|
|
|
430
|
-
:type execution_context: int | str | None
|
|
431
|
-
:type undo: bool | None
|
|
432
343
|
:param all_layers: All Layers, Insert a blank frame in all editable layers
|
|
433
|
-
:type all_layers: bool | None
|
|
434
344
|
:param duration: Duration
|
|
435
|
-
:type duration: int | None
|
|
436
345
|
"""
|
|
437
346
|
|
|
438
347
|
def interpolate(
|
|
@@ -450,22 +359,13 @@ def interpolate(
|
|
|
450
359
|
) -> None:
|
|
451
360
|
"""Interpolate Grease Pencil strokes between frames
|
|
452
361
|
|
|
453
|
-
:type execution_context: int | str | None
|
|
454
|
-
:type undo: bool | None
|
|
455
362
|
:param shift: Shift, Bias factor for which frame has more influence on the interpolated strokes
|
|
456
|
-
:type shift: float | None
|
|
457
363
|
:param layers: Layer, Layers included in the interpolation
|
|
458
|
-
:type layers: typing.Literal['ACTIVE','ALL'] | None
|
|
459
364
|
:param exclude_breakdowns: Exclude Breakdowns, Exclude existing Breakdowns keyframes as interpolation extremes
|
|
460
|
-
:type exclude_breakdowns: bool | None
|
|
461
365
|
:param use_selection: Use Selection, Use only selected strokes for interpolating
|
|
462
|
-
:type use_selection: bool | None
|
|
463
366
|
:param flip: Flip Mode, Invert destination stroke to match start and end with source stroke
|
|
464
|
-
:type flip: typing.Literal['NONE','FLIP','AUTO'] | None
|
|
465
367
|
:param smooth_steps: Iterations, Number of times to smooth newly created strokes
|
|
466
|
-
:type smooth_steps: int | None
|
|
467
368
|
:param smooth_factor: Smooth, Amount of smoothing to apply to interpolated strokes, to reduce jitter/noise
|
|
468
|
-
:type smooth_factor: float | None
|
|
469
369
|
"""
|
|
470
370
|
|
|
471
371
|
def interpolate_sequence(
|
|
@@ -503,22 +403,13 @@ def interpolate_sequence(
|
|
|
503
403
|
) -> None:
|
|
504
404
|
"""Generate in-betweens to smoothly interpolate between Grease Pencil frames
|
|
505
405
|
|
|
506
|
-
:type execution_context: int | str | None
|
|
507
|
-
:type undo: bool | None
|
|
508
406
|
:param step: Step, Number of frames between generated interpolated frames
|
|
509
|
-
:type step: int | None
|
|
510
407
|
:param layers: Layer, Layers included in the interpolation
|
|
511
|
-
:type layers: typing.Literal['ACTIVE','ALL'] | None
|
|
512
408
|
:param exclude_breakdowns: Exclude Breakdowns, Exclude existing Breakdowns keyframes as interpolation extremes
|
|
513
|
-
:type exclude_breakdowns: bool | None
|
|
514
409
|
:param use_selection: Use Selection, Use only selected strokes for interpolating
|
|
515
|
-
:type use_selection: bool | None
|
|
516
410
|
:param flip: Flip Mode, Invert destination stroke to match start and end with source stroke
|
|
517
|
-
:type flip: typing.Literal['NONE','FLIP','AUTO'] | None
|
|
518
411
|
:param smooth_steps: Iterations, Number of times to smooth newly created strokes
|
|
519
|
-
:type smooth_steps: int | None
|
|
520
412
|
:param smooth_factor: Smooth, Amount of smoothing to apply to interpolated strokes, to reduce jitter/noise
|
|
521
|
-
:type smooth_factor: float | None
|
|
522
413
|
:param type: Type, Interpolation method to use the next time Interpolate Sequence is run
|
|
523
414
|
|
|
524
415
|
LINEAR
|
|
@@ -556,15 +447,10 @@ def interpolate_sequence(
|
|
|
556
447
|
|
|
557
448
|
ELASTIC
|
|
558
449
|
Elastic -- Exponentially decaying sine wave, like an elastic band.
|
|
559
|
-
:type type: typing.Literal['LINEAR','CUSTOM','SINE','QUAD','CUBIC','QUART','QUINT','EXPO','CIRC','BACK','BOUNCE','ELASTIC'] | None
|
|
560
450
|
:param easing: Easing, Which ends of the segment between the preceding and following Grease Pencil frames easing interpolation is applied to
|
|
561
|
-
:type easing: bpy.stub_internal.rna_enums.BeztripleInterpolationEasingItems | None
|
|
562
451
|
:param back: Back, Amount of overshoot for back easing
|
|
563
|
-
:type back: float | None
|
|
564
452
|
:param amplitude: Amplitude, Amount to boost elastic bounces for elastic easing
|
|
565
|
-
:type amplitude: float | None
|
|
566
453
|
:param period: Period, Time between bounces for elastic easing
|
|
567
|
-
:type period: float | None
|
|
568
454
|
"""
|
|
569
455
|
|
|
570
456
|
def join_selection(
|
|
@@ -576,8 +462,6 @@ def join_selection(
|
|
|
576
462
|
) -> None:
|
|
577
463
|
"""New stroke from selected points/strokes
|
|
578
464
|
|
|
579
|
-
:type execution_context: int | str | None
|
|
580
|
-
:type undo: bool | None
|
|
581
465
|
:param type: Type, Defines how the operator will behave on the selection in the active layer
|
|
582
466
|
|
|
583
467
|
JOINSTROKES
|
|
@@ -588,7 +472,6 @@ def join_selection(
|
|
|
588
472
|
|
|
589
473
|
SPLIT
|
|
590
474
|
Split -- Split the selected point to a new stroke.
|
|
591
|
-
:type type: typing.Literal['JOINSTROKES','SPLITCOPY','SPLIT'] | None
|
|
592
475
|
"""
|
|
593
476
|
|
|
594
477
|
def layer_active(
|
|
@@ -600,10 +483,7 @@ def layer_active(
|
|
|
600
483
|
) -> None:
|
|
601
484
|
"""Set the active Grease Pencil layer
|
|
602
485
|
|
|
603
|
-
:type execution_context: int | str | None
|
|
604
|
-
:type undo: bool | None
|
|
605
486
|
:param layer: Grease Pencil Layer
|
|
606
|
-
:type layer: int | None
|
|
607
487
|
"""
|
|
608
488
|
|
|
609
489
|
def layer_add(
|
|
@@ -615,10 +495,7 @@ def layer_add(
|
|
|
615
495
|
) -> None:
|
|
616
496
|
"""Add a new Grease Pencil layer in the active object
|
|
617
497
|
|
|
618
|
-
:type execution_context: int | str | None
|
|
619
|
-
:type undo: bool | None
|
|
620
498
|
:param new_layer_name: Name, Name of the new layer
|
|
621
|
-
:type new_layer_name: str
|
|
622
499
|
"""
|
|
623
500
|
|
|
624
501
|
def layer_duplicate(
|
|
@@ -630,10 +507,7 @@ def layer_duplicate(
|
|
|
630
507
|
) -> None:
|
|
631
508
|
"""Make a copy of the active Grease Pencil layer
|
|
632
509
|
|
|
633
|
-
:type execution_context: int | str | None
|
|
634
|
-
:type undo: bool | None
|
|
635
510
|
:param empty_keyframes: Empty Keyframes, Add Empty Keyframes
|
|
636
|
-
:type empty_keyframes: bool | None
|
|
637
511
|
"""
|
|
638
512
|
|
|
639
513
|
def layer_duplicate_object(
|
|
@@ -646,12 +520,8 @@ def layer_duplicate_object(
|
|
|
646
520
|
) -> None:
|
|
647
521
|
"""Make a copy of the active Grease Pencil layer to selected object
|
|
648
522
|
|
|
649
|
-
:type execution_context: int | str | None
|
|
650
|
-
:type undo: bool | None
|
|
651
523
|
:param only_active: Only Active, Copy only active Layer, uncheck to append all layers
|
|
652
|
-
:type only_active: bool | None
|
|
653
524
|
:param mode: Mode
|
|
654
|
-
:type mode: typing.Literal['ALL','ACTIVE'] | None
|
|
655
525
|
"""
|
|
656
526
|
|
|
657
527
|
def layer_group_add(
|
|
@@ -663,10 +533,7 @@ def layer_group_add(
|
|
|
663
533
|
) -> None:
|
|
664
534
|
"""Add a new Grease Pencil layer group in the active object
|
|
665
535
|
|
|
666
|
-
:type execution_context: int | str | None
|
|
667
|
-
:type undo: bool | None
|
|
668
536
|
:param new_layer_group_name: Name, Name of the new layer group
|
|
669
|
-
:type new_layer_group_name: str
|
|
670
537
|
"""
|
|
671
538
|
|
|
672
539
|
def layer_group_color_tag(
|
|
@@ -689,10 +556,7 @@ def layer_group_color_tag(
|
|
|
689
556
|
) -> None:
|
|
690
557
|
"""Change layer group icon
|
|
691
558
|
|
|
692
|
-
:type execution_context: int | str | None
|
|
693
|
-
:type undo: bool | None
|
|
694
559
|
:param color_tag: Color Tag
|
|
695
|
-
:type color_tag: typing.Literal['NONE','COLOR1','COLOR2','COLOR3','COLOR4','COLOR5','COLOR6','COLOR7','COLOR8'] | None
|
|
696
560
|
"""
|
|
697
561
|
|
|
698
562
|
def layer_group_remove(
|
|
@@ -704,10 +568,7 @@ def layer_group_remove(
|
|
|
704
568
|
) -> None:
|
|
705
569
|
"""Remove Grease Pencil layer group in the active object
|
|
706
570
|
|
|
707
|
-
:type execution_context: int | str | None
|
|
708
|
-
:type undo: bool | None
|
|
709
571
|
:param keep_children: Keep children nodes, Keep the children nodes of the group and only delete the group itself
|
|
710
|
-
:type keep_children: bool | None
|
|
711
572
|
"""
|
|
712
573
|
|
|
713
574
|
def layer_hide(
|
|
@@ -719,10 +580,7 @@ def layer_hide(
|
|
|
719
580
|
) -> None:
|
|
720
581
|
"""Hide selected/unselected Grease Pencil layers
|
|
721
582
|
|
|
722
|
-
:type execution_context: int | str | None
|
|
723
|
-
:type undo: bool | None
|
|
724
583
|
:param unselected: Unselected, Hide unselected rather than selected layers
|
|
725
|
-
:type unselected: bool | None
|
|
726
584
|
"""
|
|
727
585
|
|
|
728
586
|
def layer_isolate(
|
|
@@ -734,10 +592,7 @@ def layer_isolate(
|
|
|
734
592
|
) -> None:
|
|
735
593
|
"""Make only active layer visible/editable
|
|
736
594
|
|
|
737
|
-
:type execution_context: int | str | None
|
|
738
|
-
:type undo: bool | None
|
|
739
595
|
:param affect_visibility: Affect Visibility, Also affect the visibility
|
|
740
|
-
:type affect_visibility: bool | None
|
|
741
596
|
"""
|
|
742
597
|
|
|
743
598
|
def layer_lock_all(
|
|
@@ -749,10 +604,7 @@ def layer_lock_all(
|
|
|
749
604
|
) -> None:
|
|
750
605
|
"""Lock all Grease Pencil layers to prevent them from being accidentally modified
|
|
751
606
|
|
|
752
|
-
:type execution_context: int | str | None
|
|
753
|
-
:type undo: bool | None
|
|
754
607
|
:param lock: Lock Value, Lock/Unlock all layers
|
|
755
|
-
:type lock: bool | None
|
|
756
608
|
"""
|
|
757
609
|
|
|
758
610
|
def layer_mask_add(
|
|
@@ -764,10 +616,7 @@ def layer_mask_add(
|
|
|
764
616
|
) -> None:
|
|
765
617
|
"""Add new layer as masking
|
|
766
618
|
|
|
767
|
-
:type execution_context: int | str | None
|
|
768
|
-
:type undo: bool | None
|
|
769
619
|
:param name: Layer, Name of the layer
|
|
770
|
-
:type name: str
|
|
771
620
|
"""
|
|
772
621
|
|
|
773
622
|
def layer_mask_remove(
|
|
@@ -775,11 +624,7 @@ def layer_mask_remove(
|
|
|
775
624
|
undo: bool | None = None,
|
|
776
625
|
/,
|
|
777
626
|
) -> None:
|
|
778
|
-
"""Remove Layer Mask
|
|
779
|
-
|
|
780
|
-
:type execution_context: int | str | None
|
|
781
|
-
:type undo: bool | None
|
|
782
|
-
"""
|
|
627
|
+
"""Remove Layer Mask"""
|
|
783
628
|
|
|
784
629
|
def layer_mask_reorder(
|
|
785
630
|
execution_context: int | str | None = None,
|
|
@@ -790,10 +635,7 @@ def layer_mask_reorder(
|
|
|
790
635
|
) -> None:
|
|
791
636
|
"""Reorder the active Grease Pencil mask layer up/down in the list
|
|
792
637
|
|
|
793
|
-
:type execution_context: int | str | None
|
|
794
|
-
:type undo: bool | None
|
|
795
638
|
:param direction: Direction
|
|
796
|
-
:type direction: typing.Literal['UP','DOWN'] | None
|
|
797
639
|
"""
|
|
798
640
|
|
|
799
641
|
def layer_merge(
|
|
@@ -805,8 +647,6 @@ def layer_merge(
|
|
|
805
647
|
) -> None:
|
|
806
648
|
"""Combine layers based on the mode into one layer
|
|
807
649
|
|
|
808
|
-
:type execution_context: int | str | None
|
|
809
|
-
:type undo: bool | None
|
|
810
650
|
:param mode: Mode
|
|
811
651
|
|
|
812
652
|
ACTIVE
|
|
@@ -817,7 +657,6 @@ def layer_merge(
|
|
|
817
657
|
|
|
818
658
|
ALL
|
|
819
659
|
All -- Combine all layers into a single layer.
|
|
820
|
-
:type mode: typing.Literal['ACTIVE','GROUP','ALL'] | None
|
|
821
660
|
"""
|
|
822
661
|
|
|
823
662
|
def layer_move(
|
|
@@ -829,10 +668,7 @@ def layer_move(
|
|
|
829
668
|
) -> None:
|
|
830
669
|
"""Move the active Grease Pencil layer or Group
|
|
831
670
|
|
|
832
|
-
:type execution_context: int | str | None
|
|
833
|
-
:type undo: bool | None
|
|
834
671
|
:param direction: Direction
|
|
835
|
-
:type direction: typing.Literal['UP','DOWN'] | None
|
|
836
672
|
"""
|
|
837
673
|
|
|
838
674
|
def layer_remove(
|
|
@@ -840,22 +676,14 @@ def layer_remove(
|
|
|
840
676
|
undo: bool | None = None,
|
|
841
677
|
/,
|
|
842
678
|
) -> None:
|
|
843
|
-
"""Remove the active Grease Pencil layer
|
|
844
|
-
|
|
845
|
-
:type execution_context: int | str | None
|
|
846
|
-
:type undo: bool | None
|
|
847
|
-
"""
|
|
679
|
+
"""Remove the active Grease Pencil layer"""
|
|
848
680
|
|
|
849
681
|
def layer_reveal(
|
|
850
682
|
execution_context: int | str | None = None,
|
|
851
683
|
undo: bool | None = None,
|
|
852
684
|
/,
|
|
853
685
|
) -> None:
|
|
854
|
-
"""Show all Grease Pencil layers
|
|
855
|
-
|
|
856
|
-
:type execution_context: int | str | None
|
|
857
|
-
:type undo: bool | None
|
|
858
|
-
"""
|
|
686
|
+
"""Show all Grease Pencil layers"""
|
|
859
687
|
|
|
860
688
|
def material_copy_to_object(
|
|
861
689
|
execution_context: int | str | None = None,
|
|
@@ -866,10 +694,7 @@ def material_copy_to_object(
|
|
|
866
694
|
) -> None:
|
|
867
695
|
"""Append Materials of the active Grease Pencil to other object
|
|
868
696
|
|
|
869
|
-
:type execution_context: int | str | None
|
|
870
|
-
:type undo: bool | None
|
|
871
697
|
:param only_active: Only Active, Append only active material, uncheck to append all materials
|
|
872
|
-
:type only_active: bool | None
|
|
873
698
|
"""
|
|
874
699
|
|
|
875
700
|
def material_hide(
|
|
@@ -881,10 +706,7 @@ def material_hide(
|
|
|
881
706
|
) -> None:
|
|
882
707
|
"""Hide active/inactive Grease Pencil material(s)
|
|
883
708
|
|
|
884
|
-
:type execution_context: int | str | None
|
|
885
|
-
:type undo: bool | None
|
|
886
709
|
:param invert: Invert, Hide inactive materials instead of the active one
|
|
887
|
-
:type invert: bool | None
|
|
888
710
|
"""
|
|
889
711
|
|
|
890
712
|
def material_isolate(
|
|
@@ -896,10 +718,7 @@ def material_isolate(
|
|
|
896
718
|
) -> None:
|
|
897
719
|
"""Toggle whether the active material is the only one that is editable and/or visible
|
|
898
720
|
|
|
899
|
-
:type execution_context: int | str | None
|
|
900
|
-
:type undo: bool | None
|
|
901
721
|
:param affect_visibility: Affect Visibility, In addition to toggling the editability, also affect the visibility
|
|
902
|
-
:type affect_visibility: bool | None
|
|
903
722
|
"""
|
|
904
723
|
|
|
905
724
|
def material_lock_all(
|
|
@@ -907,44 +726,28 @@ def material_lock_all(
|
|
|
907
726
|
undo: bool | None = None,
|
|
908
727
|
/,
|
|
909
728
|
) -> None:
|
|
910
|
-
"""Lock all Grease Pencil materials to prevent them from being accidentally modified
|
|
911
|
-
|
|
912
|
-
:type execution_context: int | str | None
|
|
913
|
-
:type undo: bool | None
|
|
914
|
-
"""
|
|
729
|
+
"""Lock all Grease Pencil materials to prevent them from being accidentally modified"""
|
|
915
730
|
|
|
916
731
|
def material_lock_unselected(
|
|
917
732
|
execution_context: int | str | None = None,
|
|
918
733
|
undo: bool | None = None,
|
|
919
734
|
/,
|
|
920
735
|
) -> None:
|
|
921
|
-
"""Lock any material not used in any selected stroke
|
|
922
|
-
|
|
923
|
-
:type execution_context: int | str | None
|
|
924
|
-
:type undo: bool | None
|
|
925
|
-
"""
|
|
736
|
+
"""Lock any material not used in any selected stroke"""
|
|
926
737
|
|
|
927
738
|
def material_lock_unused(
|
|
928
739
|
execution_context: int | str | None = None,
|
|
929
740
|
undo: bool | None = None,
|
|
930
741
|
/,
|
|
931
742
|
) -> None:
|
|
932
|
-
"""Lock and hide any material not used
|
|
933
|
-
|
|
934
|
-
:type execution_context: int | str | None
|
|
935
|
-
:type undo: bool | None
|
|
936
|
-
"""
|
|
743
|
+
"""Lock and hide any material not used"""
|
|
937
744
|
|
|
938
745
|
def material_reveal(
|
|
939
746
|
execution_context: int | str | None = None,
|
|
940
747
|
undo: bool | None = None,
|
|
941
748
|
/,
|
|
942
749
|
) -> None:
|
|
943
|
-
"""Unhide all hidden Grease Pencil materials
|
|
944
|
-
|
|
945
|
-
:type execution_context: int | str | None
|
|
946
|
-
:type undo: bool | None
|
|
947
|
-
"""
|
|
750
|
+
"""Unhide all hidden Grease Pencil materials"""
|
|
948
751
|
|
|
949
752
|
def material_select(
|
|
950
753
|
execution_context: int | str | None = None,
|
|
@@ -955,10 +758,7 @@ def material_select(
|
|
|
955
758
|
) -> None:
|
|
956
759
|
"""Select/Deselect all Grease Pencil strokes using current material
|
|
957
760
|
|
|
958
|
-
:type execution_context: int | str | None
|
|
959
|
-
:type undo: bool | None
|
|
960
761
|
:param deselect: Deselect, Unselect strokes
|
|
961
|
-
:type deselect: bool | None
|
|
962
762
|
"""
|
|
963
763
|
|
|
964
764
|
def material_unlock_all(
|
|
@@ -966,11 +766,7 @@ def material_unlock_all(
|
|
|
966
766
|
undo: bool | None = None,
|
|
967
767
|
/,
|
|
968
768
|
) -> None:
|
|
969
|
-
"""Unlock all Grease Pencil materials so that they can be edited
|
|
970
|
-
|
|
971
|
-
:type execution_context: int | str | None
|
|
972
|
-
:type undo: bool | None
|
|
973
|
-
"""
|
|
769
|
+
"""Unlock all Grease Pencil materials so that they can be edited"""
|
|
974
770
|
|
|
975
771
|
def move_to_layer(
|
|
976
772
|
execution_context: int | str | None = None,
|
|
@@ -982,12 +778,8 @@ def move_to_layer(
|
|
|
982
778
|
) -> None:
|
|
983
779
|
"""Move selected strokes to another layer
|
|
984
780
|
|
|
985
|
-
:type execution_context: int | str | None
|
|
986
|
-
:type undo: bool | None
|
|
987
781
|
:param target_layer_name: Name, Target Grease Pencil Layer
|
|
988
|
-
:type target_layer_name: str
|
|
989
782
|
:param add_new_layer: New Layer, Move selection to a new layer
|
|
990
|
-
:type add_new_layer: bool | None
|
|
991
783
|
"""
|
|
992
784
|
|
|
993
785
|
def outline(
|
|
@@ -1003,16 +795,10 @@ def outline(
|
|
|
1003
795
|
) -> None:
|
|
1004
796
|
"""Convert selected strokes to perimeter
|
|
1005
797
|
|
|
1006
|
-
:type execution_context: int | str | None
|
|
1007
|
-
:type undo: bool | None
|
|
1008
798
|
:param type: Projection Mode
|
|
1009
|
-
:type type: typing.Literal['VIEW','FRONT','SIDE','TOP','CURSOR','CAMERA'] | None
|
|
1010
799
|
:param radius: Radius
|
|
1011
|
-
:type radius: float | None
|
|
1012
800
|
:param offset_factor: Offset Factor
|
|
1013
|
-
:type offset_factor: float | None
|
|
1014
801
|
:param corner_subdivisions: Corner Subdivisions
|
|
1015
|
-
:type corner_subdivisions: int | None
|
|
1016
802
|
"""
|
|
1017
803
|
|
|
1018
804
|
def paintmode_toggle(
|
|
@@ -1024,10 +810,7 @@ def paintmode_toggle(
|
|
|
1024
810
|
) -> None:
|
|
1025
811
|
"""Enter/Exit paint mode for Grease Pencil strokes
|
|
1026
812
|
|
|
1027
|
-
:type execution_context: int | str | None
|
|
1028
|
-
:type undo: bool | None
|
|
1029
813
|
:param back: Return to Previous Mode, Return to previous mode
|
|
1030
|
-
:type back: bool | None
|
|
1031
814
|
"""
|
|
1032
815
|
|
|
1033
816
|
def paste(
|
|
@@ -1041,14 +824,9 @@ def paste(
|
|
|
1041
824
|
) -> None:
|
|
1042
825
|
"""Paste Grease Pencil points or strokes from the internal clipboard to the active layer
|
|
1043
826
|
|
|
1044
|
-
:type execution_context: int | str | None
|
|
1045
|
-
:type undo: bool | None
|
|
1046
827
|
:param type: Type
|
|
1047
|
-
:type type: typing.Literal['ACTIVE','LAYER'] | None
|
|
1048
828
|
:param paste_back: Paste on Back, Add pasted strokes behind all strokes
|
|
1049
|
-
:type paste_back: bool | None
|
|
1050
829
|
:param keep_world_transform: Keep World Transform, Keep the world transform of strokes from the clipboard unchanged
|
|
1051
|
-
:type keep_world_transform: bool | None
|
|
1052
830
|
"""
|
|
1053
831
|
|
|
1054
832
|
def pen(
|
|
@@ -1069,40 +847,24 @@ def pen(
|
|
|
1069
847
|
select_point: bool | None = False,
|
|
1070
848
|
move_point: bool | None = False,
|
|
1071
849
|
cycle_handle_type: bool | None = False,
|
|
1072
|
-
|
|
850
|
+
size: float | None = 0.01,
|
|
1073
851
|
) -> None:
|
|
1074
852
|
"""Construct and edit splines
|
|
1075
853
|
|
|
1076
|
-
:type execution_context: int | str | None
|
|
1077
|
-
:type undo: bool | None
|
|
1078
854
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
1079
|
-
:type extend: bool | None
|
|
1080
855
|
:param deselect: Deselect, Remove from selection
|
|
1081
|
-
:type deselect: bool | None
|
|
1082
856
|
:param toggle: Toggle Selection, Toggle the selection
|
|
1083
|
-
:type toggle: bool | None
|
|
1084
857
|
:param deselect_all: Deselect On Nothing, Deselect all when nothing under the cursor
|
|
1085
|
-
:type deselect_all: bool | None
|
|
1086
858
|
:param select_passthrough: Only Select Unselected, Ignore the select action when the element is already selected
|
|
1087
|
-
:type select_passthrough: bool | None
|
|
1088
859
|
:param extrude_point: Extrude Point, Add a point connected to the last selected point
|
|
1089
|
-
:type extrude_point: bool | None
|
|
1090
860
|
:param extrude_handle: Extrude Handle Type, Type of the extruded handle
|
|
1091
|
-
:type extrude_handle: typing.Literal['AUTO','VECTOR'] | None
|
|
1092
861
|
:param delete_point: Delete Point, Delete an existing point
|
|
1093
|
-
:type delete_point: bool | None
|
|
1094
862
|
:param insert_point: Insert Point, Insert Point into a curve segment
|
|
1095
|
-
:type insert_point: bool | None
|
|
1096
863
|
:param move_segment: Move Segment, Delete an existing point
|
|
1097
|
-
:type move_segment: bool | None
|
|
1098
864
|
:param select_point: Select Point, Select a point or its handles
|
|
1099
|
-
:type select_point: bool | None
|
|
1100
865
|
:param move_point: Move Point, Move a point or its handles
|
|
1101
|
-
:type move_point: bool | None
|
|
1102
866
|
:param cycle_handle_type: Cycle Handle Type, Cycle between all four handle types
|
|
1103
|
-
:
|
|
1104
|
-
:param radius: Radius
|
|
1105
|
-
:type radius: float | None
|
|
867
|
+
:param size: Size, Diameter of new points
|
|
1106
868
|
"""
|
|
1107
869
|
|
|
1108
870
|
def primitive_arc(
|
|
@@ -1116,12 +878,8 @@ def primitive_arc(
|
|
|
1116
878
|
) -> None:
|
|
1117
879
|
"""Create predefined Grease Pencil stroke arcs
|
|
1118
880
|
|
|
1119
|
-
:type execution_context: int | str | None
|
|
1120
|
-
:type undo: bool | None
|
|
1121
881
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
1122
|
-
:type subdivision: int | None
|
|
1123
882
|
:param type: Type, Type of shape
|
|
1124
|
-
:type type: typing.Literal['BOX','LINE','POLYLINE','CIRCLE','ARC','CURVE'] | None
|
|
1125
883
|
"""
|
|
1126
884
|
|
|
1127
885
|
def primitive_box(
|
|
@@ -1135,12 +893,8 @@ def primitive_box(
|
|
|
1135
893
|
) -> None:
|
|
1136
894
|
"""Create predefined Grease Pencil stroke boxes
|
|
1137
895
|
|
|
1138
|
-
:type execution_context: int | str | None
|
|
1139
|
-
:type undo: bool | None
|
|
1140
896
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
1141
|
-
:type subdivision: int | None
|
|
1142
897
|
:param type: Type, Type of shape
|
|
1143
|
-
:type type: typing.Literal['BOX','LINE','POLYLINE','CIRCLE','ARC','CURVE'] | None
|
|
1144
898
|
"""
|
|
1145
899
|
|
|
1146
900
|
def primitive_circle(
|
|
@@ -1154,12 +908,8 @@ def primitive_circle(
|
|
|
1154
908
|
) -> None:
|
|
1155
909
|
"""Create predefined Grease Pencil stroke circles
|
|
1156
910
|
|
|
1157
|
-
:type execution_context: int | str | None
|
|
1158
|
-
:type undo: bool | None
|
|
1159
911
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
1160
|
-
:type subdivision: int | None
|
|
1161
912
|
:param type: Type, Type of shape
|
|
1162
|
-
:type type: typing.Literal['BOX','LINE','POLYLINE','CIRCLE','ARC','CURVE'] | None
|
|
1163
913
|
"""
|
|
1164
914
|
|
|
1165
915
|
def primitive_curve(
|
|
@@ -1173,12 +923,8 @@ def primitive_curve(
|
|
|
1173
923
|
) -> None:
|
|
1174
924
|
"""Create predefined Grease Pencil stroke curve shapes
|
|
1175
925
|
|
|
1176
|
-
:type execution_context: int | str | None
|
|
1177
|
-
:type undo: bool | None
|
|
1178
926
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
1179
|
-
:type subdivision: int | None
|
|
1180
927
|
:param type: Type, Type of shape
|
|
1181
|
-
:type type: typing.Literal['BOX','LINE','POLYLINE','CIRCLE','ARC','CURVE'] | None
|
|
1182
928
|
"""
|
|
1183
929
|
|
|
1184
930
|
def primitive_line(
|
|
@@ -1192,12 +938,8 @@ def primitive_line(
|
|
|
1192
938
|
) -> None:
|
|
1193
939
|
"""Create predefined Grease Pencil stroke lines
|
|
1194
940
|
|
|
1195
|
-
:type execution_context: int | str | None
|
|
1196
|
-
:type undo: bool | None
|
|
1197
941
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
1198
|
-
:type subdivision: int | None
|
|
1199
942
|
:param type: Type, Type of shape
|
|
1200
|
-
:type type: typing.Literal['BOX','LINE','POLYLINE','CIRCLE','ARC','CURVE'] | None
|
|
1201
943
|
"""
|
|
1202
944
|
|
|
1203
945
|
def primitive_polyline(
|
|
@@ -1211,12 +953,8 @@ def primitive_polyline(
|
|
|
1211
953
|
) -> None:
|
|
1212
954
|
"""Create predefined Grease Pencil stroke polylines
|
|
1213
955
|
|
|
1214
|
-
:type execution_context: int | str | None
|
|
1215
|
-
:type undo: bool | None
|
|
1216
956
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
1217
|
-
:type subdivision: int | None
|
|
1218
957
|
:param type: Type, Type of shape
|
|
1219
|
-
:type type: typing.Literal['BOX','LINE','POLYLINE','CIRCLE','ARC','CURVE'] | None
|
|
1220
958
|
"""
|
|
1221
959
|
|
|
1222
960
|
def relative_layer_mask_add(
|
|
@@ -1228,10 +966,7 @@ def relative_layer_mask_add(
|
|
|
1228
966
|
) -> None:
|
|
1229
967
|
"""Mask active layer with layer above or below
|
|
1230
968
|
|
|
1231
|
-
:type execution_context: int | str | None
|
|
1232
|
-
:type undo: bool | None
|
|
1233
969
|
:param mode: Mode, Which relative layer (above or below) to use as a mask
|
|
1234
|
-
:type mode: typing.Literal['ABOVE','BELOW'] | None
|
|
1235
970
|
"""
|
|
1236
971
|
|
|
1237
972
|
def remove_fill_guides(
|
|
@@ -1243,10 +978,7 @@ def remove_fill_guides(
|
|
|
1243
978
|
) -> None:
|
|
1244
979
|
"""Remove all the strokes that were created from the fill tool as guides
|
|
1245
980
|
|
|
1246
|
-
:type execution_context: int | str | None
|
|
1247
|
-
:type undo: bool | None
|
|
1248
981
|
:param mode: Mode
|
|
1249
|
-
:type mode: typing.Literal['ACTIVE_FRAME','ALL_FRAMES'] | None
|
|
1250
982
|
"""
|
|
1251
983
|
|
|
1252
984
|
def reorder(
|
|
@@ -1258,10 +990,7 @@ def reorder(
|
|
|
1258
990
|
) -> None:
|
|
1259
991
|
"""Change the display order of the selected strokes
|
|
1260
992
|
|
|
1261
|
-
:type execution_context: int | str | None
|
|
1262
|
-
:type undo: bool | None
|
|
1263
993
|
:param direction: Direction
|
|
1264
|
-
:type direction: typing.Literal['TOP','UP','DOWN','BOTTOM'] | None
|
|
1265
994
|
"""
|
|
1266
995
|
|
|
1267
996
|
def reproject(
|
|
@@ -1276,8 +1005,6 @@ def reproject(
|
|
|
1276
1005
|
) -> None:
|
|
1277
1006
|
"""Reproject the selected strokes from the current viewpoint as if they had been newly drawn (e.g. to fix problems from accidental 3D cursor movement or accidental viewport changes, or for matching deforming geometry)
|
|
1278
1007
|
|
|
1279
|
-
:type execution_context: int | str | None
|
|
1280
|
-
:type undo: bool | None
|
|
1281
1008
|
:param type: Projection Type
|
|
1282
1009
|
|
|
1283
1010
|
FRONT
|
|
@@ -1297,11 +1024,8 @@ def reproject(
|
|
|
1297
1024
|
|
|
1298
1025
|
CURSOR
|
|
1299
1026
|
Cursor -- Reproject the strokes using the orientation of 3D cursor.
|
|
1300
|
-
:type type: typing.Literal['FRONT','SIDE','TOP','VIEW','SURFACE','CURSOR'] | None
|
|
1301
1027
|
:param keep_original: Keep Original, Keep original strokes and create a copy before reprojecting
|
|
1302
|
-
:type keep_original: bool | None
|
|
1303
1028
|
:param offset: Surface Offset
|
|
1304
|
-
:type offset: float | None
|
|
1305
1029
|
"""
|
|
1306
1030
|
|
|
1307
1031
|
def reset_uvs(
|
|
@@ -1309,11 +1033,7 @@ def reset_uvs(
|
|
|
1309
1033
|
undo: bool | None = None,
|
|
1310
1034
|
/,
|
|
1311
1035
|
) -> None:
|
|
1312
|
-
"""Reset UV transformation to default values
|
|
1313
|
-
|
|
1314
|
-
:type execution_context: int | str | None
|
|
1315
|
-
:type undo: bool | None
|
|
1316
|
-
"""
|
|
1036
|
+
"""Reset UV transformation to default values"""
|
|
1317
1037
|
|
|
1318
1038
|
def sculpt_paint(
|
|
1319
1039
|
execution_context: int | str | None = None,
|
|
@@ -1327,10 +1047,7 @@ def sculpt_paint(
|
|
|
1327
1047
|
) -> None:
|
|
1328
1048
|
"""Sculpt strokes in the active Grease Pencil object
|
|
1329
1049
|
|
|
1330
|
-
:type execution_context: int | str | None
|
|
1331
|
-
:type undo: bool | None
|
|
1332
1050
|
:param stroke: Stroke
|
|
1333
|
-
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
|
|
1334
1051
|
:param mode: Stroke Mode, Action taken when a paint stroke is made
|
|
1335
1052
|
|
|
1336
1053
|
NORMAL
|
|
@@ -1344,9 +1061,7 @@ def sculpt_paint(
|
|
|
1344
1061
|
|
|
1345
1062
|
ERASE
|
|
1346
1063
|
Erase -- Switch brush to erase mode for duration of stroke.
|
|
1347
|
-
:type mode: typing.Literal['NORMAL','INVERT','SMOOTH','ERASE'] | None
|
|
1348
1064
|
:param pen_flip: Pen Flip, Whether a tablets eraser mode is being used
|
|
1349
|
-
:type pen_flip: bool | None
|
|
1350
1065
|
"""
|
|
1351
1066
|
|
|
1352
1067
|
def sculptmode_toggle(
|
|
@@ -1358,10 +1073,7 @@ def sculptmode_toggle(
|
|
|
1358
1073
|
) -> None:
|
|
1359
1074
|
"""Enter/Exit sculpt mode for Grease Pencil strokes
|
|
1360
1075
|
|
|
1361
|
-
:type execution_context: int | str | None
|
|
1362
|
-
:type undo: bool | None
|
|
1363
1076
|
:param back: Return to Previous Mode, Return to previous mode
|
|
1364
|
-
:type back: bool | None
|
|
1365
1077
|
"""
|
|
1366
1078
|
|
|
1367
1079
|
def select_all(
|
|
@@ -1373,8 +1085,6 @@ def select_all(
|
|
|
1373
1085
|
) -> None:
|
|
1374
1086
|
"""(De)select all visible strokes
|
|
1375
1087
|
|
|
1376
|
-
:type execution_context: int | str | None
|
|
1377
|
-
:type undo: bool | None
|
|
1378
1088
|
:param action: Action, Selection action to execute
|
|
1379
1089
|
|
|
1380
1090
|
TOGGLE
|
|
@@ -1388,7 +1098,6 @@ def select_all(
|
|
|
1388
1098
|
|
|
1389
1099
|
INVERT
|
|
1390
1100
|
Invert -- Invert selection of all elements.
|
|
1391
|
-
:type action: typing.Literal['TOGGLE','SELECT','DESELECT','INVERT'] | None
|
|
1392
1101
|
"""
|
|
1393
1102
|
|
|
1394
1103
|
def select_alternate(
|
|
@@ -1400,10 +1109,7 @@ def select_alternate(
|
|
|
1400
1109
|
) -> None:
|
|
1401
1110
|
"""Select alternated points in strokes with already selected points
|
|
1402
1111
|
|
|
1403
|
-
:type execution_context: int | str | None
|
|
1404
|
-
:type undo: bool | None
|
|
1405
1112
|
:param deselect_ends: Deselect Ends, (De)select the first and last point of each stroke
|
|
1406
|
-
:type deselect_ends: bool | None
|
|
1407
1113
|
"""
|
|
1408
1114
|
|
|
1409
1115
|
def select_ends(
|
|
@@ -1416,12 +1122,8 @@ def select_ends(
|
|
|
1416
1122
|
) -> None:
|
|
1417
1123
|
"""Select end points of strokes
|
|
1418
1124
|
|
|
1419
|
-
:type execution_context: int | str | None
|
|
1420
|
-
:type undo: bool | None
|
|
1421
1125
|
:param amount_start: Amount Start, Number of points to select from the start
|
|
1422
|
-
:type amount_start: int | None
|
|
1423
1126
|
:param amount_end: Amount End, Number of points to select from the end
|
|
1424
|
-
:type amount_end: int | None
|
|
1425
1127
|
"""
|
|
1426
1128
|
|
|
1427
1129
|
def select_less(
|
|
@@ -1429,33 +1131,21 @@ def select_less(
|
|
|
1429
1131
|
undo: bool | None = None,
|
|
1430
1132
|
/,
|
|
1431
1133
|
) -> None:
|
|
1432
|
-
"""Shrink the selection by one point
|
|
1433
|
-
|
|
1434
|
-
:type execution_context: int | str | None
|
|
1435
|
-
:type undo: bool | None
|
|
1436
|
-
"""
|
|
1134
|
+
"""Shrink the selection by one point"""
|
|
1437
1135
|
|
|
1438
1136
|
def select_linked(
|
|
1439
1137
|
execution_context: int | str | None = None,
|
|
1440
1138
|
undo: bool | None = None,
|
|
1441
1139
|
/,
|
|
1442
1140
|
) -> None:
|
|
1443
|
-
"""Select all points in curves with any point selection
|
|
1444
|
-
|
|
1445
|
-
:type execution_context: int | str | None
|
|
1446
|
-
:type undo: bool | None
|
|
1447
|
-
"""
|
|
1141
|
+
"""Select all points in curves with any point selection"""
|
|
1448
1142
|
|
|
1449
1143
|
def select_more(
|
|
1450
1144
|
execution_context: int | str | None = None,
|
|
1451
1145
|
undo: bool | None = None,
|
|
1452
1146
|
/,
|
|
1453
1147
|
) -> None:
|
|
1454
|
-
"""Grow the selection by one point
|
|
1455
|
-
|
|
1456
|
-
:type execution_context: int | str | None
|
|
1457
|
-
:type undo: bool | None
|
|
1458
|
-
"""
|
|
1148
|
+
"""Grow the selection by one point"""
|
|
1459
1149
|
|
|
1460
1150
|
def select_random(
|
|
1461
1151
|
execution_context: int | str | None = None,
|
|
@@ -1468,12 +1158,8 @@ def select_random(
|
|
|
1468
1158
|
) -> None:
|
|
1469
1159
|
"""Selects random points from the current strokes selection
|
|
1470
1160
|
|
|
1471
|
-
:type execution_context: int | str | None
|
|
1472
|
-
:type undo: bool | None
|
|
1473
1161
|
:param ratio: Ratio, Portion of items to select randomly
|
|
1474
|
-
:type ratio: float | None
|
|
1475
1162
|
:param seed: Random Seed, Seed for the random number generator
|
|
1476
|
-
:type seed: int | None
|
|
1477
1163
|
:param action: Action, Selection action to execute
|
|
1478
1164
|
|
|
1479
1165
|
SELECT
|
|
@@ -1481,7 +1167,6 @@ def select_random(
|
|
|
1481
1167
|
|
|
1482
1168
|
DESELECT
|
|
1483
1169
|
Deselect -- Deselect all elements.
|
|
1484
|
-
:type action: typing.Literal['SELECT','DESELECT'] | None
|
|
1485
1170
|
"""
|
|
1486
1171
|
|
|
1487
1172
|
def select_similar(
|
|
@@ -1495,12 +1180,8 @@ def select_similar(
|
|
|
1495
1180
|
) -> None:
|
|
1496
1181
|
"""Select all strokes with similar characteristics
|
|
1497
1182
|
|
|
1498
|
-
:type execution_context: int | str | None
|
|
1499
|
-
:type undo: bool | None
|
|
1500
1183
|
:param mode: Mode
|
|
1501
|
-
:type mode: typing.Literal['LAYER','MATERIAL','VERTEX_COLOR','RADIUS','OPACITY'] | None
|
|
1502
1184
|
:param threshold: Threshold
|
|
1503
|
-
:type threshold: float | None
|
|
1504
1185
|
"""
|
|
1505
1186
|
|
|
1506
1187
|
def separate(
|
|
@@ -1512,8 +1193,6 @@ def separate(
|
|
|
1512
1193
|
) -> None:
|
|
1513
1194
|
"""Separate the selected geometry into a new Grease Pencil object
|
|
1514
1195
|
|
|
1515
|
-
:type execution_context: int | str | None
|
|
1516
|
-
:type undo: bool | None
|
|
1517
1196
|
:param mode: Mode
|
|
1518
1197
|
|
|
1519
1198
|
SELECTED
|
|
@@ -1524,7 +1203,6 @@ def separate(
|
|
|
1524
1203
|
|
|
1525
1204
|
LAYER
|
|
1526
1205
|
By Layer -- Separate by layer.
|
|
1527
|
-
:type mode: typing.Literal['SELECTED','MATERIAL','LAYER'] | None
|
|
1528
1206
|
"""
|
|
1529
1207
|
|
|
1530
1208
|
def set_active_material(
|
|
@@ -1532,10 +1210,20 @@ def set_active_material(
|
|
|
1532
1210
|
undo: bool | None = None,
|
|
1533
1211
|
/,
|
|
1534
1212
|
) -> None:
|
|
1535
|
-
"""Set the selected stroke material as the active material
|
|
1213
|
+
"""Set the selected stroke material as the active material"""
|
|
1536
1214
|
|
|
1537
|
-
|
|
1538
|
-
:
|
|
1215
|
+
def set_corner_type(
|
|
1216
|
+
execution_context: int | str | None = None,
|
|
1217
|
+
undo: bool | None = None,
|
|
1218
|
+
/,
|
|
1219
|
+
*,
|
|
1220
|
+
corner_type: typing.Literal["ROUND", "FLAT", "SHARP"] | None = "SHARP",
|
|
1221
|
+
miter_angle: float | None = 0.785398,
|
|
1222
|
+
) -> None:
|
|
1223
|
+
"""Set the corner type of the selected points
|
|
1224
|
+
|
|
1225
|
+
:param corner_type: Corner Type
|
|
1226
|
+
:param miter_angle: Miter Cut Angle, All corners sharper than the Miter angle will be cut flat
|
|
1539
1227
|
"""
|
|
1540
1228
|
|
|
1541
1229
|
def set_curve_resolution(
|
|
@@ -1547,10 +1235,7 @@ def set_curve_resolution(
|
|
|
1547
1235
|
) -> None:
|
|
1548
1236
|
"""Set resolution of selected curves
|
|
1549
1237
|
|
|
1550
|
-
:type execution_context: int | str | None
|
|
1551
|
-
:type undo: bool | None
|
|
1552
1238
|
:param resolution: Resolution, The resolution to use for each curve segment
|
|
1553
|
-
:type resolution: int | None
|
|
1554
1239
|
"""
|
|
1555
1240
|
|
|
1556
1241
|
def set_curve_type(
|
|
@@ -1563,12 +1248,8 @@ def set_curve_type(
|
|
|
1563
1248
|
) -> None:
|
|
1564
1249
|
"""Set type of selected curves
|
|
1565
1250
|
|
|
1566
|
-
:type execution_context: int | str | None
|
|
1567
|
-
:type undo: bool | None
|
|
1568
1251
|
:param type: Type, Curve type
|
|
1569
|
-
:type type: bpy.stub_internal.rna_enums.CurvesTypeItems | None
|
|
1570
1252
|
:param use_handles: Handles, Take handle information into account in the conversion
|
|
1571
|
-
:type use_handles: bool | None
|
|
1572
1253
|
"""
|
|
1573
1254
|
|
|
1574
1255
|
def set_handle_type(
|
|
@@ -1581,8 +1262,6 @@ def set_handle_type(
|
|
|
1581
1262
|
) -> None:
|
|
1582
1263
|
"""Set the handle type for Bézier curves
|
|
1583
1264
|
|
|
1584
|
-
:type execution_context: int | str | None
|
|
1585
|
-
:type undo: bool | None
|
|
1586
1265
|
:param type: Type
|
|
1587
1266
|
|
|
1588
1267
|
AUTO
|
|
@@ -1599,7 +1278,6 @@ def set_handle_type(
|
|
|
1599
1278
|
|
|
1600
1279
|
TOGGLE_FREE_ALIGN
|
|
1601
1280
|
Toggle Free/Align -- Replace Free handles with Align, and all Align with Free handles.
|
|
1602
|
-
:type type: typing.Literal['AUTO','VECTOR','ALIGN','FREE_ALIGN','TOGGLE_FREE_ALIGN'] | None
|
|
1603
1281
|
"""
|
|
1604
1282
|
|
|
1605
1283
|
def set_material(
|
|
@@ -1611,10 +1289,7 @@ def set_material(
|
|
|
1611
1289
|
) -> None:
|
|
1612
1290
|
"""Set active material
|
|
1613
1291
|
|
|
1614
|
-
:type execution_context: int | str | None
|
|
1615
|
-
:type undo: bool | None
|
|
1616
1292
|
:param slot: Material Slot
|
|
1617
|
-
:type slot: str | None
|
|
1618
1293
|
"""
|
|
1619
1294
|
|
|
1620
1295
|
def set_selection_mode(
|
|
@@ -1626,10 +1301,7 @@ def set_selection_mode(
|
|
|
1626
1301
|
) -> None:
|
|
1627
1302
|
"""Change the selection mode for Grease Pencil strokes
|
|
1628
1303
|
|
|
1629
|
-
:type execution_context: int | str | None
|
|
1630
|
-
:type undo: bool | None
|
|
1631
1304
|
:param mode: Mode
|
|
1632
|
-
:type mode: bpy.stub_internal.rna_enums.GreasePencilSelectmodeItems | None
|
|
1633
1305
|
"""
|
|
1634
1306
|
|
|
1635
1307
|
def set_start_point(
|
|
@@ -1637,11 +1309,7 @@ def set_start_point(
|
|
|
1637
1309
|
undo: bool | None = None,
|
|
1638
1310
|
/,
|
|
1639
1311
|
) -> None:
|
|
1640
|
-
"""Select which point is the beginning of the curve
|
|
1641
|
-
|
|
1642
|
-
:type execution_context: int | str | None
|
|
1643
|
-
:type undo: bool | None
|
|
1644
|
-
"""
|
|
1312
|
+
"""Select which point is the beginning of the curve"""
|
|
1645
1313
|
|
|
1646
1314
|
def set_uniform_opacity(
|
|
1647
1315
|
execution_context: int | str | None = None,
|
|
@@ -1653,12 +1321,8 @@ def set_uniform_opacity(
|
|
|
1653
1321
|
) -> None:
|
|
1654
1322
|
"""Set all stroke points to same opacity
|
|
1655
1323
|
|
|
1656
|
-
:type execution_context: int | str | None
|
|
1657
|
-
:type undo: bool | None
|
|
1658
1324
|
:param opacity_stroke: Stroke Opacity
|
|
1659
|
-
:type opacity_stroke: float | None
|
|
1660
1325
|
:param opacity_fill: Fill Opacity
|
|
1661
|
-
:type opacity_fill: float | None
|
|
1662
1326
|
"""
|
|
1663
1327
|
|
|
1664
1328
|
def set_uniform_thickness(
|
|
@@ -1670,10 +1334,7 @@ def set_uniform_thickness(
|
|
|
1670
1334
|
) -> None:
|
|
1671
1335
|
"""Set all stroke points to same thickness
|
|
1672
1336
|
|
|
1673
|
-
:type execution_context: int | str | None
|
|
1674
|
-
:type undo: bool | None
|
|
1675
1337
|
:param thickness: Thickness, Thickness
|
|
1676
|
-
:type thickness: float | None
|
|
1677
1338
|
"""
|
|
1678
1339
|
|
|
1679
1340
|
def snap_cursor_to_selected(
|
|
@@ -1681,11 +1342,7 @@ def snap_cursor_to_selected(
|
|
|
1681
1342
|
undo: bool | None = None,
|
|
1682
1343
|
/,
|
|
1683
1344
|
) -> None:
|
|
1684
|
-
"""Snap cursor to center of selected points
|
|
1685
|
-
|
|
1686
|
-
:type execution_context: int | str | None
|
|
1687
|
-
:type undo: bool | None
|
|
1688
|
-
"""
|
|
1345
|
+
"""Snap cursor to center of selected points"""
|
|
1689
1346
|
|
|
1690
1347
|
def snap_to_cursor(
|
|
1691
1348
|
execution_context: int | str | None = None,
|
|
@@ -1696,10 +1353,7 @@ def snap_to_cursor(
|
|
|
1696
1353
|
) -> None:
|
|
1697
1354
|
"""Snap selected points/strokes to the cursor
|
|
1698
1355
|
|
|
1699
|
-
:type execution_context: int | str | None
|
|
1700
|
-
:type undo: bool | None
|
|
1701
1356
|
:param use_offset: With Offset, Offset the entire stroke instead of selected points only
|
|
1702
|
-
:type use_offset: bool | None
|
|
1703
1357
|
"""
|
|
1704
1358
|
|
|
1705
1359
|
def snap_to_grid(
|
|
@@ -1707,11 +1361,7 @@ def snap_to_grid(
|
|
|
1707
1361
|
undo: bool | None = None,
|
|
1708
1362
|
/,
|
|
1709
1363
|
) -> None:
|
|
1710
|
-
"""Snap selected points to the nearest grid points
|
|
1711
|
-
|
|
1712
|
-
:type execution_context: int | str | None
|
|
1713
|
-
:type undo: bool | None
|
|
1714
|
-
"""
|
|
1364
|
+
"""Snap selected points to the nearest grid points"""
|
|
1715
1365
|
|
|
1716
1366
|
def stroke_material_set(
|
|
1717
1367
|
execution_context: int | str | None = None,
|
|
@@ -1722,10 +1372,7 @@ def stroke_material_set(
|
|
|
1722
1372
|
) -> None:
|
|
1723
1373
|
"""Assign the active material slot to the selected strokes
|
|
1724
1374
|
|
|
1725
|
-
:type execution_context: int | str | None
|
|
1726
|
-
:type undo: bool | None
|
|
1727
1375
|
:param material: Material, Name of the material
|
|
1728
|
-
:type material: str
|
|
1729
1376
|
"""
|
|
1730
1377
|
|
|
1731
1378
|
def stroke_merge_by_distance(
|
|
@@ -1738,12 +1385,8 @@ def stroke_merge_by_distance(
|
|
|
1738
1385
|
) -> None:
|
|
1739
1386
|
"""Merge points by distance
|
|
1740
1387
|
|
|
1741
|
-
:type execution_context: int | str | None
|
|
1742
|
-
:type undo: bool | None
|
|
1743
1388
|
:param threshold: Threshold
|
|
1744
|
-
:type threshold: float | None
|
|
1745
1389
|
:param use_unselected: Unselected, Use whole stroke, not only selected points
|
|
1746
|
-
:type use_unselected: bool | None
|
|
1747
1390
|
"""
|
|
1748
1391
|
|
|
1749
1392
|
def stroke_reset_vertex_color(
|
|
@@ -1755,10 +1398,7 @@ def stroke_reset_vertex_color(
|
|
|
1755
1398
|
) -> None:
|
|
1756
1399
|
"""Reset vertex color for all or selected strokes
|
|
1757
1400
|
|
|
1758
|
-
:type execution_context: int | str | None
|
|
1759
|
-
:type undo: bool | None
|
|
1760
1401
|
:param mode: Mode
|
|
1761
|
-
:type mode: typing.Literal['STROKE','FILL','BOTH'] | None
|
|
1762
1402
|
"""
|
|
1763
1403
|
|
|
1764
1404
|
def stroke_simplify(
|
|
@@ -1774,16 +1414,10 @@ def stroke_simplify(
|
|
|
1774
1414
|
) -> None:
|
|
1775
1415
|
"""Simplify selected strokes
|
|
1776
1416
|
|
|
1777
|
-
:type execution_context: int | str | None
|
|
1778
|
-
:type undo: bool | None
|
|
1779
1417
|
:param factor: Factor
|
|
1780
|
-
:type factor: float | None
|
|
1781
1418
|
:param length: Length
|
|
1782
|
-
:type length: float | None
|
|
1783
1419
|
:param distance: Distance
|
|
1784
|
-
:type distance: float | None
|
|
1785
1420
|
:param steps: Steps
|
|
1786
|
-
:type steps: int | None
|
|
1787
1421
|
:param mode: Mode, Method used for simplifying stroke points
|
|
1788
1422
|
|
|
1789
1423
|
FIXED
|
|
@@ -1797,7 +1431,6 @@ def stroke_simplify(
|
|
|
1797
1431
|
|
|
1798
1432
|
MERGE
|
|
1799
1433
|
Merge -- Simplify the stroke by merging vertices closer than a given distance.
|
|
1800
|
-
:type mode: typing.Literal['FIXED','ADAPTIVE','SAMPLE','MERGE'] | None
|
|
1801
1434
|
"""
|
|
1802
1435
|
|
|
1803
1436
|
def stroke_smooth(
|
|
@@ -1815,22 +1448,13 @@ def stroke_smooth(
|
|
|
1815
1448
|
) -> None:
|
|
1816
1449
|
"""Smooth selected strokes
|
|
1817
1450
|
|
|
1818
|
-
:type execution_context: int | str | None
|
|
1819
|
-
:type undo: bool | None
|
|
1820
1451
|
:param iterations: Iterations
|
|
1821
|
-
:type iterations: int | None
|
|
1822
1452
|
:param factor: Factor
|
|
1823
|
-
:type factor: float | None
|
|
1824
1453
|
:param smooth_ends: Smooth Endpoints
|
|
1825
|
-
:type smooth_ends: bool | None
|
|
1826
1454
|
:param keep_shape: Keep Shape
|
|
1827
|
-
:type keep_shape: bool | None
|
|
1828
1455
|
:param smooth_position: Position
|
|
1829
|
-
:type smooth_position: bool | None
|
|
1830
1456
|
:param smooth_radius: Radius
|
|
1831
|
-
:type smooth_radius: bool | None
|
|
1832
1457
|
:param smooth_opacity: Opacity
|
|
1833
|
-
:type smooth_opacity: bool | None
|
|
1834
1458
|
"""
|
|
1835
1459
|
|
|
1836
1460
|
def stroke_split(
|
|
@@ -1838,11 +1462,7 @@ def stroke_split(
|
|
|
1838
1462
|
undo: bool | None = None,
|
|
1839
1463
|
/,
|
|
1840
1464
|
) -> None:
|
|
1841
|
-
"""Split selected points to a new stroke
|
|
1842
|
-
|
|
1843
|
-
:type execution_context: int | str | None
|
|
1844
|
-
:type undo: bool | None
|
|
1845
|
-
"""
|
|
1465
|
+
"""Split selected points to a new stroke"""
|
|
1846
1466
|
|
|
1847
1467
|
def stroke_subdivide(
|
|
1848
1468
|
execution_context: int | str | None = None,
|
|
@@ -1854,12 +1474,8 @@ def stroke_subdivide(
|
|
|
1854
1474
|
) -> None:
|
|
1855
1475
|
"""Subdivide between continuous selected points of the stroke adding a point half way between them
|
|
1856
1476
|
|
|
1857
|
-
:type execution_context: int | str | None
|
|
1858
|
-
:type undo: bool | None
|
|
1859
1477
|
:param number_cuts: Number of Cuts
|
|
1860
|
-
:type number_cuts: int | None
|
|
1861
1478
|
:param only_selected: Selected Points, Smooth only selected points in the stroke
|
|
1862
|
-
:type only_selected: bool | None
|
|
1863
1479
|
"""
|
|
1864
1480
|
|
|
1865
1481
|
def stroke_subdivide_smooth(
|
|
@@ -1872,12 +1488,8 @@ def stroke_subdivide_smooth(
|
|
|
1872
1488
|
) -> None:
|
|
1873
1489
|
"""Subdivide strokes and smooth them
|
|
1874
1490
|
|
|
1875
|
-
:type execution_context: int | str | None
|
|
1876
|
-
:type undo: bool | None
|
|
1877
1491
|
:param GREASE_PENCIL_OT_stroke_subdivide: Subdivide Stroke, Subdivide between continuous selected points of the stroke adding a point half way between them
|
|
1878
|
-
:type GREASE_PENCIL_OT_stroke_subdivide: typing.Any | None
|
|
1879
1492
|
:param GREASE_PENCIL_OT_stroke_smooth: Smooth Stroke, Smooth selected strokes
|
|
1880
|
-
:type GREASE_PENCIL_OT_stroke_smooth: typing.Any | None
|
|
1881
1493
|
"""
|
|
1882
1494
|
|
|
1883
1495
|
def stroke_switch_direction(
|
|
@@ -1885,11 +1497,7 @@ def stroke_switch_direction(
|
|
|
1885
1497
|
undo: bool | None = None,
|
|
1886
1498
|
/,
|
|
1887
1499
|
) -> None:
|
|
1888
|
-
"""Change direction of the points of the selected strokes
|
|
1889
|
-
|
|
1890
|
-
:type execution_context: int | str | None
|
|
1891
|
-
:type undo: bool | None
|
|
1892
|
-
"""
|
|
1500
|
+
"""Change direction of the points of the selected strokes"""
|
|
1893
1501
|
|
|
1894
1502
|
def stroke_trim(
|
|
1895
1503
|
execution_context: int | str | None = None,
|
|
@@ -1903,16 +1511,10 @@ def stroke_trim(
|
|
|
1903
1511
|
) -> None:
|
|
1904
1512
|
"""Delete stroke points in between intersecting strokes
|
|
1905
1513
|
|
|
1906
|
-
:type execution_context: int | str | None
|
|
1907
|
-
:type undo: bool | None
|
|
1908
1514
|
:param path: Path
|
|
1909
|
-
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None
|
|
1910
1515
|
:param use_smooth_stroke: Stabilize Stroke, Selection lags behind mouse and follows a smoother path
|
|
1911
|
-
:type use_smooth_stroke: bool | None
|
|
1912
1516
|
:param smooth_stroke_factor: Smooth Stroke Factor, Higher values gives a smoother stroke
|
|
1913
|
-
:type smooth_stroke_factor: float | None
|
|
1914
1517
|
:param smooth_stroke_radius: Smooth Stroke Radius, Minimum distance from last point before selection continues
|
|
1915
|
-
:type smooth_stroke_radius: int | None
|
|
1916
1518
|
"""
|
|
1917
1519
|
|
|
1918
1520
|
def texture_gradient(
|
|
@@ -1929,20 +1531,12 @@ def texture_gradient(
|
|
|
1929
1531
|
) -> None:
|
|
1930
1532
|
"""Draw a line to set the fill material gradient for the selected strokes
|
|
1931
1533
|
|
|
1932
|
-
:type execution_context: int | str | None
|
|
1933
|
-
:type undo: bool | None
|
|
1934
1534
|
:param xstart: X Start
|
|
1935
|
-
:type xstart: int | None
|
|
1936
1535
|
:param xend: X End
|
|
1937
|
-
:type xend: int | None
|
|
1938
1536
|
:param ystart: Y Start
|
|
1939
|
-
:type ystart: int | None
|
|
1940
1537
|
:param yend: Y End
|
|
1941
|
-
:type yend: int | None
|
|
1942
1538
|
:param flip: Flip
|
|
1943
|
-
:type flip: bool | None
|
|
1944
1539
|
:param cursor: Cursor, Mouse cursor style to use during the modal operator
|
|
1945
|
-
:type cursor: int | None
|
|
1946
1540
|
"""
|
|
1947
1541
|
|
|
1948
1542
|
def trace_image(
|
|
@@ -1963,14 +1557,9 @@ def trace_image(
|
|
|
1963
1557
|
) -> None:
|
|
1964
1558
|
"""Extract Grease Pencil strokes from image
|
|
1965
1559
|
|
|
1966
|
-
:type execution_context: int | str | None
|
|
1967
|
-
:type undo: bool | None
|
|
1968
1560
|
:param target: Target Object, Target Grease Pencil
|
|
1969
|
-
:type target: typing.Literal['NEW','SELECTED'] | None
|
|
1970
1561
|
:param radius: Radius
|
|
1971
|
-
:type radius: float | None
|
|
1972
1562
|
:param threshold: Color Threshold, Determine the lightness threshold above which strokes are generated
|
|
1973
|
-
:type threshold: float | None
|
|
1974
1563
|
:param turnpolicy: Turn Policy, Determines how to resolve ambiguities during decomposition of bitmaps into paths
|
|
1975
1564
|
|
|
1976
1565
|
FOREGROUND
|
|
@@ -1993,7 +1582,6 @@ def trace_image(
|
|
|
1993
1582
|
|
|
1994
1583
|
RANDOM
|
|
1995
1584
|
Random -- Choose pseudo-randomly.
|
|
1996
|
-
:type turnpolicy: typing.Literal['FOREGROUND','BACKGROUND','LEFT','RIGHT','MINORITY','MAJORITY','RANDOM'] | None
|
|
1997
1585
|
:param mode: Mode, Determines if trace simple image or full sequence
|
|
1998
1586
|
|
|
1999
1587
|
SINGLE
|
|
@@ -2001,11 +1589,8 @@ def trace_image(
|
|
|
2001
1589
|
|
|
2002
1590
|
SEQUENCE
|
|
2003
1591
|
Sequence -- Trace full sequence.
|
|
2004
|
-
:type mode: typing.Literal['SINGLE','SEQUENCE'] | None
|
|
2005
1592
|
:param use_current_frame: Start At Current Frame, Trace Image starting in current image frame
|
|
2006
|
-
:type use_current_frame: bool | None
|
|
2007
1593
|
:param frame_number: Trace Frame, Used to trace only one frame of the image sequence, set to zero to trace all
|
|
2008
|
-
:type frame_number: int | None
|
|
2009
1594
|
"""
|
|
2010
1595
|
|
|
2011
1596
|
def vertex_brush_stroke(
|
|
@@ -2020,10 +1605,7 @@ def vertex_brush_stroke(
|
|
|
2020
1605
|
) -> None:
|
|
2021
1606
|
"""Draw on vertex colors in the active Grease Pencil object
|
|
2022
1607
|
|
|
2023
|
-
:type execution_context: int | str | None
|
|
2024
|
-
:type undo: bool | None
|
|
2025
1608
|
:param stroke: Stroke
|
|
2026
|
-
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
|
|
2027
1609
|
:param mode: Stroke Mode, Action taken when a paint stroke is made
|
|
2028
1610
|
|
|
2029
1611
|
NORMAL
|
|
@@ -2037,9 +1619,7 @@ def vertex_brush_stroke(
|
|
|
2037
1619
|
|
|
2038
1620
|
ERASE
|
|
2039
1621
|
Erase -- Switch brush to erase mode for duration of stroke.
|
|
2040
|
-
:type mode: typing.Literal['NORMAL','INVERT','SMOOTH','ERASE'] | None
|
|
2041
1622
|
:param pen_flip: Pen Flip, Whether a tablets eraser mode is being used
|
|
2042
|
-
:type pen_flip: bool | None
|
|
2043
1623
|
"""
|
|
2044
1624
|
|
|
2045
1625
|
def vertex_color_brightness_contrast(
|
|
@@ -2053,14 +1633,9 @@ def vertex_color_brightness_contrast(
|
|
|
2053
1633
|
) -> None:
|
|
2054
1634
|
"""Adjust vertex color brightness/contrast
|
|
2055
1635
|
|
|
2056
|
-
:type execution_context: int | str | None
|
|
2057
|
-
:type undo: bool | None
|
|
2058
1636
|
:param mode: Mode
|
|
2059
|
-
:type mode: typing.Literal['STROKE','FILL','BOTH'] | None
|
|
2060
1637
|
:param brightness: Brightness
|
|
2061
|
-
:type brightness: float | None
|
|
2062
1638
|
:param contrast: Contrast
|
|
2063
|
-
:type contrast: float | None
|
|
2064
1639
|
"""
|
|
2065
1640
|
|
|
2066
1641
|
def vertex_color_hsv(
|
|
@@ -2075,16 +1650,10 @@ def vertex_color_hsv(
|
|
|
2075
1650
|
) -> None:
|
|
2076
1651
|
"""Adjust vertex color HSV values
|
|
2077
1652
|
|
|
2078
|
-
:type execution_context: int | str | None
|
|
2079
|
-
:type undo: bool | None
|
|
2080
1653
|
:param mode: Mode
|
|
2081
|
-
:type mode: typing.Literal['STROKE','FILL','BOTH'] | None
|
|
2082
1654
|
:param h: Hue
|
|
2083
|
-
:type h: float | None
|
|
2084
1655
|
:param s: Saturation
|
|
2085
|
-
:type s: float | None
|
|
2086
1656
|
:param v: Value
|
|
2087
|
-
:type v: float | None
|
|
2088
1657
|
"""
|
|
2089
1658
|
|
|
2090
1659
|
def vertex_color_invert(
|
|
@@ -2096,10 +1665,7 @@ def vertex_color_invert(
|
|
|
2096
1665
|
) -> None:
|
|
2097
1666
|
"""Invert RGB values
|
|
2098
1667
|
|
|
2099
|
-
:type execution_context: int | str | None
|
|
2100
|
-
:type undo: bool | None
|
|
2101
1668
|
:param mode: Mode
|
|
2102
|
-
:type mode: typing.Literal['STROKE','FILL','BOTH'] | None
|
|
2103
1669
|
"""
|
|
2104
1670
|
|
|
2105
1671
|
def vertex_color_levels(
|
|
@@ -2113,14 +1679,9 @@ def vertex_color_levels(
|
|
|
2113
1679
|
) -> None:
|
|
2114
1680
|
"""Adjust levels of vertex colors
|
|
2115
1681
|
|
|
2116
|
-
:type execution_context: int | str | None
|
|
2117
|
-
:type undo: bool | None
|
|
2118
1682
|
:param mode: Mode
|
|
2119
|
-
:type mode: typing.Literal['STROKE','FILL','BOTH'] | None
|
|
2120
1683
|
:param offset: Offset, Value to add to colors
|
|
2121
|
-
:type offset: float | None
|
|
2122
1684
|
:param gain: Gain, Value to multiply colors by
|
|
2123
|
-
:type gain: float | None
|
|
2124
1685
|
"""
|
|
2125
1686
|
|
|
2126
1687
|
def vertex_color_set(
|
|
@@ -2133,12 +1694,8 @@ def vertex_color_set(
|
|
|
2133
1694
|
) -> None:
|
|
2134
1695
|
"""Set active color to all selected vertex
|
|
2135
1696
|
|
|
2136
|
-
:type execution_context: int | str | None
|
|
2137
|
-
:type undo: bool | None
|
|
2138
1697
|
:param mode: Mode
|
|
2139
|
-
:type mode: typing.Literal['STROKE','FILL','BOTH'] | None
|
|
2140
1698
|
:param factor: Factor, Mix Factor
|
|
2141
|
-
:type factor: float | None
|
|
2142
1699
|
"""
|
|
2143
1700
|
|
|
2144
1701
|
def vertex_group_normalize(
|
|
@@ -2146,11 +1703,7 @@ def vertex_group_normalize(
|
|
|
2146
1703
|
undo: bool | None = None,
|
|
2147
1704
|
/,
|
|
2148
1705
|
) -> None:
|
|
2149
|
-
"""Normalize weights of the active vertex group
|
|
2150
|
-
|
|
2151
|
-
:type execution_context: int | str | None
|
|
2152
|
-
:type undo: bool | None
|
|
2153
|
-
"""
|
|
1706
|
+
"""Normalize weights of the active vertex group"""
|
|
2154
1707
|
|
|
2155
1708
|
def vertex_group_normalize_all(
|
|
2156
1709
|
execution_context: int | str | None = None,
|
|
@@ -2161,10 +1714,7 @@ def vertex_group_normalize_all(
|
|
|
2161
1714
|
) -> None:
|
|
2162
1715
|
"""Normalize the weights of all vertex groups, so that for each vertex, the sum of all weights is 1.0
|
|
2163
1716
|
|
|
2164
|
-
:type execution_context: int | str | None
|
|
2165
|
-
:type undo: bool | None
|
|
2166
1717
|
:param lock_active: Lock Active, Keep the values of the active group while normalizing others
|
|
2167
|
-
:type lock_active: bool | None
|
|
2168
1718
|
"""
|
|
2169
1719
|
|
|
2170
1720
|
def vertex_group_smooth(
|
|
@@ -2177,12 +1727,8 @@ def vertex_group_smooth(
|
|
|
2177
1727
|
) -> None:
|
|
2178
1728
|
"""Smooth the weights of the active vertex group
|
|
2179
1729
|
|
|
2180
|
-
:type execution_context: int | str | None
|
|
2181
|
-
:type undo: bool | None
|
|
2182
1730
|
:param factor: Factor
|
|
2183
|
-
:type factor: float | None
|
|
2184
1731
|
:param repeat: Iterations
|
|
2185
|
-
:type repeat: int | None
|
|
2186
1732
|
"""
|
|
2187
1733
|
|
|
2188
1734
|
def vertexmode_toggle(
|
|
@@ -2194,10 +1740,7 @@ def vertexmode_toggle(
|
|
|
2194
1740
|
) -> None:
|
|
2195
1741
|
"""Enter/Exit vertex paint mode for Grease Pencil strokes
|
|
2196
1742
|
|
|
2197
|
-
:type execution_context: int | str | None
|
|
2198
|
-
:type undo: bool | None
|
|
2199
1743
|
:param back: Return to Previous Mode, Return to previous mode
|
|
2200
|
-
:type back: bool | None
|
|
2201
1744
|
"""
|
|
2202
1745
|
|
|
2203
1746
|
def weight_brush_stroke(
|
|
@@ -2212,10 +1755,7 @@ def weight_brush_stroke(
|
|
|
2212
1755
|
) -> None:
|
|
2213
1756
|
"""Draw weight on stroke points in the active Grease Pencil object
|
|
2214
1757
|
|
|
2215
|
-
:type execution_context: int | str | None
|
|
2216
|
-
:type undo: bool | None
|
|
2217
1758
|
:param stroke: Stroke
|
|
2218
|
-
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
|
|
2219
1759
|
:param mode: Stroke Mode, Action taken when a paint stroke is made
|
|
2220
1760
|
|
|
2221
1761
|
NORMAL
|
|
@@ -2229,9 +1769,7 @@ def weight_brush_stroke(
|
|
|
2229
1769
|
|
|
2230
1770
|
ERASE
|
|
2231
1771
|
Erase -- Switch brush to erase mode for duration of stroke.
|
|
2232
|
-
:type mode: typing.Literal['NORMAL','INVERT','SMOOTH','ERASE'] | None
|
|
2233
1772
|
:param pen_flip: Pen Flip, Whether a tablets eraser mode is being used
|
|
2234
|
-
:type pen_flip: bool | None
|
|
2235
1773
|
"""
|
|
2236
1774
|
|
|
2237
1775
|
def weight_invert(
|
|
@@ -2239,33 +1777,21 @@ def weight_invert(
|
|
|
2239
1777
|
undo: bool | None = None,
|
|
2240
1778
|
/,
|
|
2241
1779
|
) -> None:
|
|
2242
|
-
"""Invert the weight of active vertex group
|
|
2243
|
-
|
|
2244
|
-
:type execution_context: int | str | None
|
|
2245
|
-
:type undo: bool | None
|
|
2246
|
-
"""
|
|
1780
|
+
"""Invert the weight of active vertex group"""
|
|
2247
1781
|
|
|
2248
1782
|
def weight_sample(
|
|
2249
1783
|
execution_context: int | str | None = None,
|
|
2250
1784
|
undo: bool | None = None,
|
|
2251
1785
|
/,
|
|
2252
1786
|
) -> None:
|
|
2253
|
-
"""Set the weight of the Draw tool to the weight of the vertex under the mouse cursor
|
|
2254
|
-
|
|
2255
|
-
:type execution_context: int | str | None
|
|
2256
|
-
:type undo: bool | None
|
|
2257
|
-
"""
|
|
1787
|
+
"""Set the weight of the Draw tool to the weight of the vertex under the mouse cursor"""
|
|
2258
1788
|
|
|
2259
1789
|
def weight_toggle_direction(
|
|
2260
1790
|
execution_context: int | str | None = None,
|
|
2261
1791
|
undo: bool | None = None,
|
|
2262
1792
|
/,
|
|
2263
1793
|
) -> None:
|
|
2264
|
-
"""Toggle Add/Subtract for the weight paint draw tool
|
|
2265
|
-
|
|
2266
|
-
:type execution_context: int | str | None
|
|
2267
|
-
:type undo: bool | None
|
|
2268
|
-
"""
|
|
1794
|
+
"""Toggle Add/Subtract for the weight paint draw tool"""
|
|
2269
1795
|
|
|
2270
1796
|
def weightmode_toggle(
|
|
2271
1797
|
execution_context: int | str | None = None,
|
|
@@ -2276,8 +1802,5 @@ def weightmode_toggle(
|
|
|
2276
1802
|
) -> None:
|
|
2277
1803
|
"""Enter/Exit weight paint mode for Grease Pencil strokes
|
|
2278
1804
|
|
|
2279
|
-
:type execution_context: int | str | None
|
|
2280
|
-
:type undo: bool | None
|
|
2281
1805
|
:param back: Return to Previous Mode, Return to previous mode
|
|
2282
|
-
:type back: bool | None
|
|
2283
1806
|
"""
|