fake-bpy-module 20240518__py3-none-any.whl → 20240519__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fake-bpy-module might be problematic. Click here for more details.
- _bpy_internal/__init__.pyi +2 -1
- _bpy_internal/freedesktop/__init__.pyi +2 -1
- addon_utils/__init__.pyi +2 -1
- animsys_refactor/__init__.pyi +2 -1
- aud/__init__.pyi +2 -1
- bgl/__init__.pyi +2 -1
- bl_app_override/__init__.pyi +2 -1
- bl_app_override/helpers/__init__.pyi +2 -1
- bl_app_template_utils/__init__.pyi +2 -1
- bl_console_utils/__init__.pyi +2 -1
- bl_console_utils/autocomplete/__init__.pyi +2 -1
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +2 -1
- bl_console_utils/autocomplete/complete_import/__init__.pyi +2 -1
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -1
- bl_console_utils/autocomplete/intellisense/__init__.pyi +2 -1
- bl_i18n_utils/__init__.pyi +2 -1
- bl_i18n_utils/bl_extract_messages/__init__.pyi +2 -1
- bl_i18n_utils/merge_po/__init__.pyi +2 -1
- bl_i18n_utils/settings/__init__.pyi +2 -1
- bl_i18n_utils/utils/__init__.pyi +2 -1
- bl_i18n_utils/utils_cli/__init__.pyi +2 -1
- bl_i18n_utils/utils_languages_menu/__init__.pyi +2 -1
- bl_i18n_utils/utils_rtl/__init__.pyi +2 -1
- bl_keymap_utils/__init__.pyi +2 -1
- bl_keymap_utils/io/__init__.pyi +2 -1
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +2 -1
- bl_keymap_utils/platform_helpers/__init__.pyi +2 -1
- bl_keymap_utils/versioning/__init__.pyi +2 -1
- bl_math/__init__.pyi +2 -1
- bl_operators/__init__.pyi +2 -1
- bl_operators/add_mesh_torus/__init__.pyi +2 -1
- bl_operators/anim/__init__.pyi +2 -1
- bl_operators/assets/__init__.pyi +2 -1
- bl_operators/bmesh/__init__.pyi +2 -1
- bl_operators/bmesh/find_adjacent/__init__.pyi +2 -1
- bl_operators/clip/__init__.pyi +2 -1
- bl_operators/console/__init__.pyi +2 -1
- bl_operators/constraint/__init__.pyi +2 -1
- bl_operators/file/__init__.pyi +2 -1
- bl_operators/freestyle/__init__.pyi +2 -1
- bl_operators/geometry_nodes/__init__.pyi +2 -1
- bl_operators/image/__init__.pyi +2 -1
- bl_operators/mesh/__init__.pyi +2 -1
- bl_operators/node/__init__.pyi +2 -1
- bl_operators/object/__init__.pyi +2 -1
- bl_operators/object_align/__init__.pyi +2 -1
- bl_operators/object_quick_effects/__init__.pyi +2 -1
- bl_operators/object_randomize_transform/__init__.pyi +2 -1
- bl_operators/presets/__init__.pyi +2 -1
- bl_operators/rigidbody/__init__.pyi +2 -1
- bl_operators/screen_play_rendered_anim/__init__.pyi +2 -1
- bl_operators/sequencer/__init__.pyi +2 -1
- bl_operators/spreadsheet/__init__.pyi +2 -1
- bl_operators/userpref/__init__.pyi +2 -1
- bl_operators/uvcalc_follow_active/__init__.pyi +2 -1
- bl_operators/uvcalc_lightmap/__init__.pyi +2 -1
- bl_operators/uvcalc_transform/__init__.pyi +2 -1
- bl_operators/vertexpaint_dirt/__init__.pyi +2 -1
- bl_operators/view3d/__init__.pyi +2 -1
- bl_operators/wm/__init__.pyi +2 -1
- bl_operators/world/__init__.pyi +2 -1
- bl_previews_utils/__init__.pyi +2 -1
- bl_previews_utils/bl_previews_render/__init__.pyi +2 -1
- bl_rna_utils/__init__.pyi +2 -1
- bl_rna_utils/data_path/__init__.pyi +2 -1
- bl_text_utils/__init__.pyi +2 -1
- bl_text_utils/external_editor/__init__.pyi +2 -1
- bl_ui/__init__.pyi +2 -1
- bl_ui/anim/__init__.pyi +2 -1
- bl_ui/asset_shelf/__init__.pyi +2 -1
- bl_ui/generic_ui_list/__init__.pyi +2 -1
- bl_ui/node_add_menu/__init__.pyi +2 -1
- bl_ui/node_add_menu_compositor/__init__.pyi +2 -1
- bl_ui/node_add_menu_geometry/__init__.pyi +2 -1
- bl_ui/node_add_menu_shader/__init__.pyi +2 -1
- bl_ui/node_add_menu_texture/__init__.pyi +2 -1
- bl_ui/properties_animviz/__init__.pyi +2 -1
- bl_ui/properties_collection/__init__.pyi +2 -1
- bl_ui/properties_constraint/__init__.pyi +2 -1
- bl_ui/properties_data_armature/__init__.pyi +2 -1
- bl_ui/properties_data_bone/__init__.pyi +2 -1
- bl_ui/properties_data_camera/__init__.pyi +2 -1
- bl_ui/properties_data_curve/__init__.pyi +2 -1
- bl_ui/properties_data_curves/__init__.pyi +2 -1
- bl_ui/properties_data_empty/__init__.pyi +2 -1
- bl_ui/properties_data_gpencil/__init__.pyi +2 -1
- bl_ui/properties_data_grease_pencil/__init__.pyi +2 -1
- bl_ui/properties_data_lattice/__init__.pyi +2 -1
- bl_ui/properties_data_light/__init__.pyi +2 -1
- bl_ui/properties_data_lightprobe/__init__.pyi +2 -1
- bl_ui/properties_data_mesh/__init__.pyi +2 -1
- bl_ui/properties_data_metaball/__init__.pyi +2 -1
- bl_ui/properties_data_modifier/__init__.pyi +2 -1
- bl_ui/properties_data_pointcloud/__init__.pyi +2 -1
- bl_ui/properties_data_shaderfx/__init__.pyi +2 -1
- bl_ui/properties_data_speaker/__init__.pyi +2 -1
- bl_ui/properties_data_volume/__init__.pyi +2 -1
- bl_ui/properties_freestyle/__init__.pyi +2 -1
- bl_ui/properties_grease_pencil_common/__init__.pyi +2 -1
- bl_ui/properties_mask_common/__init__.pyi +2 -1
- bl_ui/properties_material/__init__.pyi +2 -1
- bl_ui/properties_material_gpencil/__init__.pyi +2 -1
- bl_ui/properties_object/__init__.pyi +2 -1
- bl_ui/properties_output/__init__.pyi +2 -1
- bl_ui/properties_paint_common/__init__.pyi +2 -1
- bl_ui/properties_particle/__init__.pyi +2 -1
- bl_ui/properties_physics_cloth/__init__.pyi +2 -1
- bl_ui/properties_physics_common/__init__.pyi +2 -1
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +2 -1
- bl_ui/properties_physics_field/__init__.pyi +2 -1
- bl_ui/properties_physics_fluid/__init__.pyi +2 -1
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +2 -1
- bl_ui/properties_physics_rigidbody/__init__.pyi +2 -1
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2 -1
- bl_ui/properties_physics_softbody/__init__.pyi +2 -1
- bl_ui/properties_render/__init__.pyi +2 -1
- bl_ui/properties_scene/__init__.pyi +2 -1
- bl_ui/properties_texture/__init__.pyi +2 -1
- bl_ui/properties_view_layer/__init__.pyi +2 -1
- bl_ui/properties_workspace/__init__.pyi +2 -1
- bl_ui/properties_world/__init__.pyi +2 -1
- bl_ui/space_clip/__init__.pyi +2 -1
- bl_ui/space_console/__init__.pyi +2 -1
- bl_ui/space_dopesheet/__init__.pyi +2 -1
- bl_ui/space_filebrowser/__init__.pyi +2 -1
- bl_ui/space_graph/__init__.pyi +2 -1
- bl_ui/space_image/__init__.pyi +2 -1
- bl_ui/space_info/__init__.pyi +2 -1
- bl_ui/space_nla/__init__.pyi +2 -1
- bl_ui/space_node/__init__.pyi +2 -1
- bl_ui/space_outliner/__init__.pyi +2 -1
- bl_ui/space_properties/__init__.pyi +2 -1
- bl_ui/space_sequencer/__init__.pyi +2 -1
- bl_ui/space_spreadsheet/__init__.pyi +2 -1
- bl_ui/space_statusbar/__init__.pyi +2 -1
- bl_ui/space_text/__init__.pyi +2 -1
- bl_ui/space_time/__init__.pyi +2 -1
- bl_ui/space_toolsystem_common/__init__.pyi +2 -1
- bl_ui/space_toolsystem_toolbar/__init__.pyi +2 -1
- bl_ui/space_topbar/__init__.pyi +2 -1
- bl_ui/space_userpref/__init__.pyi +2 -1
- bl_ui/space_view3d/__init__.pyi +2 -1
- bl_ui/space_view3d_toolbar/__init__.pyi +2 -1
- bl_ui/temp_anim_layers/__init__.pyi +2 -1
- bl_ui/utils/__init__.pyi +2 -1
- bl_ui_utils/__init__.pyi +2 -1
- bl_ui_utils/bug_report_url/__init__.pyi +2 -1
- bl_ui_utils/layout/__init__.pyi +2 -1
- blend_render_info/__init__.pyi +2 -1
- blf/__init__.pyi +2 -1
- bmesh/__init__.pyi +2 -1
- bmesh/geometry/__init__.pyi +2 -1
- bmesh/ops/__init__.pyi +2 -1
- bmesh/types/__init__.pyi +28 -27
- bmesh/utils/__init__.pyi +2 -1
- bpy/__init__.pyi +2 -1
- bpy/app/__init__.pyi +2 -1
- bpy/app/handlers/__init__.pyi +2 -1
- bpy/app/icons/__init__.pyi +2 -1
- bpy/app/timers/__init__.pyi +8 -15
- bpy/app/translations/__init__.pyi +2 -1
- bpy/msgbus/__init__.pyi +2 -1
- bpy/ops/__init__.pyi +2 -1
- bpy/ops/action/__init__.pyi +22 -21
- bpy/ops/anim/__init__.pyi +32 -31
- bpy/ops/armature/__init__.pyi +22 -21
- bpy/ops/asset/__init__.pyi +8 -7
- bpy/ops/bl_pkg/__init__.pyi +4 -3
- bpy/ops/boid/__init__.pyi +2 -1
- bpy/ops/brush/__init__.pyi +10 -9
- bpy/ops/buttons/__init__.pyi +10 -9
- bpy/ops/cachefile/__init__.pyi +12 -11
- bpy/ops/camera/__init__.pyi +2 -1
- bpy/ops/clip/__init__.pyi +38 -37
- bpy/ops/cloth/__init__.pyi +2 -1
- bpy/ops/collection/__init__.pyi +8 -7
- bpy/ops/console/__init__.pyi +8 -7
- bpy/ops/constraint/__init__.pyi +30 -29
- bpy/ops/curve/__init__.pyi +32 -31
- bpy/ops/curves/__init__.pyi +10 -9
- bpy/ops/cycles/__init__.pyi +2 -1
- bpy/ops/dpaint/__init__.pyi +4 -3
- bpy/ops/ed/__init__.pyi +6 -5
- bpy/ops/export_anim/__init__.pyi +4 -3
- bpy/ops/export_scene/__init__.pyi +40 -39
- bpy/ops/file/__init__.pyi +20 -19
- bpy/ops/fluid/__init__.pyi +2 -1
- bpy/ops/font/__init__.pyi +22 -21
- bpy/ops/geometry/__init__.pyi +4 -3
- bpy/ops/gizmogroup/__init__.pyi +2 -1
- bpy/ops/gpencil/__init__.pyi +134 -133
- bpy/ops/graph/__init__.pyi +40 -39
- bpy/ops/grease_pencil/__init__.pyi +42 -41
- bpy/ops/image/__init__.pyi +22 -21
- bpy/ops/import_anim/__init__.pyi +10 -9
- bpy/ops/import_curve/__init__.pyi +2 -1
- bpy/ops/import_scene/__init__.pyi +20 -19
- bpy/ops/info/__init__.pyi +6 -5
- bpy/ops/lattice/__init__.pyi +8 -7
- bpy/ops/marker/__init__.pyi +10 -9
- bpy/ops/mask/__init__.pyi +14 -13
- bpy/ops/material/__init__.pyi +2 -1
- bpy/ops/mball/__init__.pyi +8 -7
- bpy/ops/mesh/__init__.pyi +112 -111
- bpy/ops/nla/__init__.pyi +16 -15
- bpy/ops/node/__init__.pyi +32 -31
- bpy/ops/object/__init__.pyi +186 -185
- bpy/ops/outliner/__init__.pyi +38 -37
- bpy/ops/paint/__init__.pyi +50 -49
- bpy/ops/paintcurve/__init__.pyi +2 -1
- bpy/ops/palette/__init__.pyi +6 -5
- bpy/ops/particle/__init__.pyi +16 -15
- bpy/ops/pose/__init__.pyi +32 -31
- bpy/ops/poselib/__init__.pyi +2 -1
- bpy/ops/preferences/__init__.pyi +14 -13
- bpy/ops/ptcache/__init__.pyi +2 -1
- bpy/ops/render/__init__.pyi +4 -3
- bpy/ops/rigidbody/__init__.pyi +10 -9
- bpy/ops/scene/__init__.pyi +18 -17
- bpy/ops/screen/__init__.pyi +16 -15
- bpy/ops/script/__init__.pyi +2 -1
- bpy/ops/sculpt/__init__.pyi +68 -67
- bpy/ops/sculpt_curves/__init__.pyi +4 -3
- bpy/ops/sequencer/__init__.pyi +74 -73
- bpy/ops/sound/__init__.pyi +20 -19
- bpy/ops/spreadsheet/__init__.pyi +2 -1
- bpy/ops/surface/__init__.pyi +14 -13
- bpy/ops/text/__init__.pyi +24 -23
- bpy/ops/text_editor/__init__.pyi +2 -1
- bpy/ops/texture/__init__.pyi +4 -3
- bpy/ops/transform/__init__.pyi +32 -31
- bpy/ops/ui/__init__.pyi +8 -7
- bpy/ops/uilist/__init__.pyi +4 -3
- bpy/ops/uv/__init__.pyi +66 -65
- bpy/ops/view2d/__init__.pyi +2 -1
- bpy/ops/view3d/__init__.pyi +36 -35
- bpy/ops/wm/__init__.pyi +188 -187
- bpy/ops/workspace/__init__.pyi +2 -1
- bpy/ops/world/__init__.pyi +2 -1
- bpy/path/__init__.pyi +2 -1
- bpy/props/__init__.pyi +2 -1
- bpy/types/__init__.pyi +131 -79
- bpy/utils/__init__.pyi +2 -1
- bpy/utils/previews/__init__.pyi +2 -1
- bpy/utils/units/__init__.pyi +2 -1
- bpy_extras/__init__.pyi +2 -1
- bpy_extras/anim_utils/__init__.pyi +2 -1
- bpy_extras/asset_utils/__init__.pyi +2 -1
- bpy_extras/bmesh_utils/__init__.pyi +2 -1
- bpy_extras/extensions/__init__.pyi +2 -1
- bpy_extras/extensions/junction_module/__init__.pyi +2 -1
- bpy_extras/id_map_utils/__init__.pyi +2 -1
- bpy_extras/image_utils/__init__.pyi +2 -1
- bpy_extras/io_utils/__init__.pyi +2 -1
- bpy_extras/keyconfig_utils/__init__.pyi +2 -1
- bpy_extras/mesh_utils/__init__.pyi +2 -1
- bpy_extras/node_shader_utils/__init__.pyi +2 -1
- bpy_extras/node_utils/__init__.pyi +2 -1
- bpy_extras/object_utils/__init__.pyi +2 -1
- bpy_extras/view3d_utils/__init__.pyi +2 -1
- bpy_extras/wm_utils/__init__.pyi +2 -1
- bpy_extras/wm_utils/progress_report/__init__.pyi +2 -1
- bpy_restrict_state/__init__.pyi +2 -1
- bpy_types/__init__.pyi +2 -1
- console_python/__init__.pyi +2 -1
- console_shell/__init__.pyi +2 -1
- {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240519.dist-info}/METADATA +1 -1
- fake_bpy_module-20240519.dist-info/RECORD +353 -0
- freestyle/__init__.pyi +2 -1
- freestyle/chainingiterators/__init__.pyi +2 -1
- freestyle/functions/__init__.pyi +2 -1
- freestyle/predicates/__init__.pyi +2 -1
- freestyle/shaders/__init__.pyi +2 -1
- freestyle/types/__init__.pyi +2 -1
- freestyle/utils/ContextFunctions/__init__.pyi +2 -1
- freestyle/utils/__init__.pyi +2 -1
- gpu/__init__.pyi +2 -1
- gpu/capabilities/__init__.pyi +2 -1
- gpu/matrix/__init__.pyi +2 -1
- gpu/platform/__init__.pyi +2 -1
- gpu/select/__init__.pyi +2 -1
- gpu/shader/__init__.pyi +2 -1
- gpu/state/__init__.pyi +2 -1
- gpu/texture/__init__.pyi +2 -1
- gpu/types/__init__.pyi +2 -1
- gpu_extras/__init__.pyi +2 -1
- gpu_extras/batch/__init__.pyi +2 -1
- gpu_extras/presets/__init__.pyi +2 -1
- graphviz_export/__init__.pyi +2 -1
- idprop/__init__.pyi +2 -1
- idprop/types/__init__.pyi +2 -1
- imbuf/__init__.pyi +2 -1
- imbuf/types/__init__.pyi +2 -1
- keyingsets_builtins/__init__.pyi +2 -1
- keyingsets_utils/__init__.pyi +2 -1
- mathutils/__init__.pyi +2 -1
- mathutils/bvhtree/__init__.pyi +2 -1
- mathutils/geometry/__init__.pyi +2 -1
- mathutils/interpolate/__init__.pyi +2 -1
- mathutils/kdtree/__init__.pyi +2 -1
- mathutils/noise/__init__.pyi +2 -1
- nodeitems_builtins/__init__.pyi +2 -1
- nodeitems_utils/__init__.pyi +2 -1
- rna_info/__init__.pyi +2 -1
- rna_keymap_ui/__init__.pyi +2 -1
- rna_prop_ui/__init__.pyi +2 -1
- rna_xml/__init__.pyi +2 -1
- sys_info/__init__.pyi +2 -1
- fake_bpy_module-20240518.dist-info/RECORD +0 -353
- {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240519.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240519.dist-info}/top_level.txt +0 -0
bpy/ops/graph/__init__.pyi
CHANGED
|
@@ -2,7 +2,8 @@ import typing
|
|
|
2
2
|
import bpy.ops.transform
|
|
3
3
|
import bpy.types
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
6
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
6
7
|
|
|
7
8
|
def bake_keys(
|
|
8
9
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -248,7 +249,7 @@ def decimate(
|
|
|
248
249
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
249
250
|
execution_context: str | int | None = None,
|
|
250
251
|
undo: bool | None = None,
|
|
251
|
-
mode:
|
|
252
|
+
mode: str | int | None = "RATIO",
|
|
252
253
|
factor: typing.Any | None = 0.333333,
|
|
253
254
|
remove_error_margin: typing.Any | None = 0.0,
|
|
254
255
|
):
|
|
@@ -264,7 +265,7 @@ def decimate(
|
|
|
264
265
|
|
|
265
266
|
ERROR
|
|
266
267
|
Error Margin -- Use an error margin to specify how much the curve is allowed to deviate from the original path.
|
|
267
|
-
:type mode:
|
|
268
|
+
:type mode: str | int | None
|
|
268
269
|
:param factor: Remove, The ratio of remaining keyframes after the operation
|
|
269
270
|
:type factor: typing.Any | None
|
|
270
271
|
:param remove_error_margin: Max Error Margin, How much the new decimated curve is allowed to deviate from the original
|
|
@@ -413,7 +414,7 @@ def equalize_handles(
|
|
|
413
414
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
414
415
|
execution_context: str | int | None = None,
|
|
415
416
|
undo: bool | None = None,
|
|
416
|
-
side:
|
|
417
|
+
side: str | int | None = "LEFT",
|
|
417
418
|
handle_length: typing.Any | None = 5.0,
|
|
418
419
|
flatten: bool | typing.Any | None = False,
|
|
419
420
|
):
|
|
@@ -432,7 +433,7 @@ def equalize_handles(
|
|
|
432
433
|
|
|
433
434
|
BOTH
|
|
434
435
|
Both -- Equalize both of a keyframe's handles.
|
|
435
|
-
:type side:
|
|
436
|
+
:type side: str | int | None
|
|
436
437
|
:param handle_length: Handle Length, Length to make selected keyframes' Bézier handles
|
|
437
438
|
:type handle_length: typing.Any | None
|
|
438
439
|
:param flatten: Flatten, Make the values of the selected keyframes' handles the same as their respective keyframes
|
|
@@ -459,7 +460,7 @@ def extrapolation_type(
|
|
|
459
460
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
460
461
|
execution_context: str | int | None = None,
|
|
461
462
|
undo: bool | None = None,
|
|
462
|
-
type:
|
|
463
|
+
type: str | int | None = "CONSTANT",
|
|
463
464
|
):
|
|
464
465
|
"""Set extrapolation mode for selected F-Curves
|
|
465
466
|
|
|
@@ -479,7 +480,7 @@ def extrapolation_type(
|
|
|
479
480
|
|
|
480
481
|
CLEAR_CYCLIC
|
|
481
482
|
Clear Cyclic (F-Modifier) -- Remove Cycles F-Modifier if not needed anymore.
|
|
482
|
-
:type type:
|
|
483
|
+
:type type: str | int | None
|
|
483
484
|
"""
|
|
484
485
|
|
|
485
486
|
...
|
|
@@ -658,7 +659,7 @@ def keyframe_insert(
|
|
|
658
659
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
659
660
|
execution_context: str | int | None = None,
|
|
660
661
|
undo: bool | None = None,
|
|
661
|
-
type:
|
|
662
|
+
type: str | int | None = "ALL",
|
|
662
663
|
):
|
|
663
664
|
"""Insert keyframes for the specified channels
|
|
664
665
|
|
|
@@ -681,7 +682,7 @@ def keyframe_insert(
|
|
|
681
682
|
|
|
682
683
|
CURSOR_SEL
|
|
683
684
|
Selected Channels at Cursor -- Insert a keyframe for selected F-Curves at the cursor point.
|
|
684
|
-
:type type:
|
|
685
|
+
:type type: str | int | None
|
|
685
686
|
"""
|
|
686
687
|
|
|
687
688
|
...
|
|
@@ -738,7 +739,7 @@ def mirror(
|
|
|
738
739
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
739
740
|
execution_context: str | int | None = None,
|
|
740
741
|
undo: bool | None = None,
|
|
741
|
-
type:
|
|
742
|
+
type: str | int | None = "CFRA",
|
|
742
743
|
):
|
|
743
744
|
"""Flip selected keyframes over the selected mirror line
|
|
744
745
|
|
|
@@ -761,7 +762,7 @@ def mirror(
|
|
|
761
762
|
|
|
762
763
|
MARKER
|
|
763
764
|
By Times Over First Selected Marker -- Flip times of selected keyframes using the first selected marker as the reference point.
|
|
764
|
-
:type type:
|
|
765
|
+
:type type: str | int | None
|
|
765
766
|
"""
|
|
766
767
|
|
|
767
768
|
...
|
|
@@ -876,7 +877,7 @@ def scale_from_neighbor(
|
|
|
876
877
|
execution_context: str | int | None = None,
|
|
877
878
|
undo: bool | None = None,
|
|
878
879
|
factor: typing.Any | None = 0.0,
|
|
879
|
-
anchor:
|
|
880
|
+
anchor: str | int | None = "LEFT",
|
|
880
881
|
):
|
|
881
882
|
"""Increase or decrease the value of selected keys in relationship to the neighboring one
|
|
882
883
|
|
|
@@ -886,7 +887,7 @@ def scale_from_neighbor(
|
|
|
886
887
|
:param factor: Factor, The factor to scale keys with
|
|
887
888
|
:type factor: typing.Any | None
|
|
888
889
|
:param anchor: Reference Key, Which end of the segment to use as a reference to scale from
|
|
889
|
-
:type anchor:
|
|
890
|
+
:type anchor: str | int | None
|
|
890
891
|
"""
|
|
891
892
|
|
|
892
893
|
...
|
|
@@ -895,7 +896,7 @@ def select_all(
|
|
|
895
896
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
896
897
|
execution_context: str | int | None = None,
|
|
897
898
|
undo: bool | None = None,
|
|
898
|
-
action:
|
|
899
|
+
action: str | int | None = "TOGGLE",
|
|
899
900
|
):
|
|
900
901
|
"""Toggle selection of all keyframes
|
|
901
902
|
|
|
@@ -915,7 +916,7 @@ def select_all(
|
|
|
915
916
|
|
|
916
917
|
INVERT
|
|
917
918
|
Invert -- Invert selection of all elements.
|
|
918
|
-
:type action:
|
|
919
|
+
:type action: str | int | None
|
|
919
920
|
"""
|
|
920
921
|
|
|
921
922
|
...
|
|
@@ -933,7 +934,7 @@ def select_box(
|
|
|
933
934
|
ymin: typing.Any | None = 0,
|
|
934
935
|
ymax: typing.Any | None = 0,
|
|
935
936
|
wait_for_input: bool | typing.Any | None = True,
|
|
936
|
-
mode:
|
|
937
|
+
mode: str | int | None = "SET",
|
|
937
938
|
):
|
|
938
939
|
"""Select all keyframes within the specified region
|
|
939
940
|
|
|
@@ -968,7 +969,7 @@ def select_box(
|
|
|
968
969
|
|
|
969
970
|
SUB
|
|
970
971
|
Subtract -- Subtract existing selection.
|
|
971
|
-
:type mode:
|
|
972
|
+
:type mode: str | int | None
|
|
972
973
|
"""
|
|
973
974
|
|
|
974
975
|
...
|
|
@@ -981,7 +982,7 @@ def select_circle(
|
|
|
981
982
|
y: typing.Any | None = 0,
|
|
982
983
|
radius: typing.Any | None = 25,
|
|
983
984
|
wait_for_input: bool | typing.Any | None = True,
|
|
984
|
-
mode:
|
|
985
|
+
mode: str | int | None = "SET",
|
|
985
986
|
use_curve_selection: bool | typing.Any | None = True,
|
|
986
987
|
):
|
|
987
988
|
"""Select keyframe points using circle selection
|
|
@@ -1007,7 +1008,7 @@ def select_circle(
|
|
|
1007
1008
|
|
|
1008
1009
|
SUB
|
|
1009
1010
|
Subtract -- Subtract existing selection.
|
|
1010
|
-
:type mode:
|
|
1011
|
+
:type mode: str | int | None
|
|
1011
1012
|
:param use_curve_selection: Select Curves, Allow selecting all the keyframes of a curve by selecting the curve itself
|
|
1012
1013
|
:type use_curve_selection: bool | typing.Any | None
|
|
1013
1014
|
"""
|
|
@@ -1018,7 +1019,7 @@ def select_column(
|
|
|
1018
1019
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1019
1020
|
execution_context: str | int | None = None,
|
|
1020
1021
|
undo: bool | None = None,
|
|
1021
|
-
mode:
|
|
1022
|
+
mode: str | int | None = "KEYS",
|
|
1022
1023
|
):
|
|
1023
1024
|
"""Select all keyframes on the specified frame(s)
|
|
1024
1025
|
|
|
@@ -1026,7 +1027,7 @@ def select_column(
|
|
|
1026
1027
|
:type execution_context: str | int | None
|
|
1027
1028
|
:type undo: bool | None
|
|
1028
1029
|
:param mode: Mode
|
|
1029
|
-
:type mode:
|
|
1030
|
+
:type mode: str | int | None
|
|
1030
1031
|
"""
|
|
1031
1032
|
|
|
1032
1033
|
...
|
|
@@ -1035,9 +1036,9 @@ def select_key_handles(
|
|
|
1035
1036
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1036
1037
|
execution_context: str | int | None = None,
|
|
1037
1038
|
undo: bool | None = None,
|
|
1038
|
-
left_handle_action:
|
|
1039
|
-
right_handle_action:
|
|
1040
|
-
key_action:
|
|
1039
|
+
left_handle_action: str | int | None = "SELECT",
|
|
1040
|
+
right_handle_action: str | int | None = "SELECT",
|
|
1041
|
+
key_action: str | int | None = "KEEP",
|
|
1041
1042
|
):
|
|
1042
1043
|
"""For selected keyframes, select/deselect any combination of the key itself and its handles
|
|
1043
1044
|
|
|
@@ -1054,7 +1055,7 @@ def select_key_handles(
|
|
|
1054
1055
|
|
|
1055
1056
|
KEEP
|
|
1056
1057
|
Keep -- Leave as is.
|
|
1057
|
-
:type left_handle_action:
|
|
1058
|
+
:type left_handle_action: str | int | None
|
|
1058
1059
|
:param right_handle_action: Right Handle, Effect on the right handle
|
|
1059
1060
|
|
|
1060
1061
|
SELECT
|
|
@@ -1065,7 +1066,7 @@ def select_key_handles(
|
|
|
1065
1066
|
|
|
1066
1067
|
KEEP
|
|
1067
1068
|
Keep -- Leave as is.
|
|
1068
|
-
:type right_handle_action:
|
|
1069
|
+
:type right_handle_action: str | int | None
|
|
1069
1070
|
:param key_action: Key, Effect on the key itself
|
|
1070
1071
|
|
|
1071
1072
|
SELECT
|
|
@@ -1076,7 +1077,7 @@ def select_key_handles(
|
|
|
1076
1077
|
|
|
1077
1078
|
KEEP
|
|
1078
1079
|
Keep -- Leave as is.
|
|
1079
|
-
:type key_action:
|
|
1080
|
+
:type key_action: str | int | None
|
|
1080
1081
|
"""
|
|
1081
1082
|
|
|
1082
1083
|
...
|
|
@@ -1086,7 +1087,7 @@ def select_lasso(
|
|
|
1086
1087
|
execution_context: str | int | None = None,
|
|
1087
1088
|
undo: bool | None = None,
|
|
1088
1089
|
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
|
|
1089
|
-
mode:
|
|
1090
|
+
mode: str | int | None = "SET",
|
|
1090
1091
|
use_curve_selection: bool | typing.Any | None = True,
|
|
1091
1092
|
):
|
|
1092
1093
|
"""Select keyframe points using lasso selection
|
|
@@ -1106,7 +1107,7 @@ def select_lasso(
|
|
|
1106
1107
|
|
|
1107
1108
|
SUB
|
|
1108
1109
|
Subtract -- Subtract existing selection.
|
|
1109
|
-
:type mode:
|
|
1110
|
+
:type mode: str | int | None
|
|
1110
1111
|
:param use_curve_selection: Select Curves, Allow selecting all the keyframes of a curve by selecting the curve itself
|
|
1111
1112
|
:type use_curve_selection: bool | typing.Any | None
|
|
1112
1113
|
"""
|
|
@@ -1117,7 +1118,7 @@ def select_leftright(
|
|
|
1117
1118
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1118
1119
|
execution_context: str | int | None = None,
|
|
1119
1120
|
undo: bool | None = None,
|
|
1120
|
-
mode:
|
|
1121
|
+
mode: str | int | None = "CHECK",
|
|
1121
1122
|
extend: bool | typing.Any | None = False,
|
|
1122
1123
|
):
|
|
1123
1124
|
"""Select keyframes to the left or the right of the current frame
|
|
@@ -1126,7 +1127,7 @@ def select_leftright(
|
|
|
1126
1127
|
:type execution_context: str | int | None
|
|
1127
1128
|
:type undo: bool | None
|
|
1128
1129
|
:param mode: Mode
|
|
1129
|
-
:type mode:
|
|
1130
|
+
:type mode: str | int | None
|
|
1130
1131
|
:param extend: Extend Select
|
|
1131
1132
|
:type extend: bool | typing.Any | None
|
|
1132
1133
|
"""
|
|
@@ -1180,7 +1181,7 @@ def shear(
|
|
|
1180
1181
|
execution_context: str | int | None = None,
|
|
1181
1182
|
undo: bool | None = None,
|
|
1182
1183
|
factor: typing.Any | None = 0.0,
|
|
1183
|
-
direction:
|
|
1184
|
+
direction: str | int | None = "FROM_LEFT",
|
|
1184
1185
|
):
|
|
1185
1186
|
"""Affect the value of the keys linearly, keeping the same relationship between them using either the left or the right key as reference
|
|
1186
1187
|
|
|
@@ -1196,7 +1197,7 @@ def shear(
|
|
|
1196
1197
|
|
|
1197
1198
|
FROM_RIGHT
|
|
1198
1199
|
From Right -- Shear the keys using the right key as reference.
|
|
1199
|
-
:type direction:
|
|
1200
|
+
:type direction: str | int | None
|
|
1200
1201
|
"""
|
|
1201
1202
|
|
|
1202
1203
|
...
|
|
@@ -1219,7 +1220,7 @@ def snap(
|
|
|
1219
1220
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1220
1221
|
execution_context: str | int | None = None,
|
|
1221
1222
|
undo: bool | None = None,
|
|
1222
|
-
type:
|
|
1223
|
+
type: str | int | None = "CFRA",
|
|
1223
1224
|
):
|
|
1224
1225
|
"""Snap selected keyframes to the chosen times/values
|
|
1225
1226
|
|
|
@@ -1245,7 +1246,7 @@ def snap(
|
|
|
1245
1246
|
|
|
1246
1247
|
HORIZONTAL
|
|
1247
1248
|
Flatten Handles -- Flatten handles for a smoother transition.
|
|
1248
|
-
:type type:
|
|
1249
|
+
:type type: str | int | None
|
|
1249
1250
|
"""
|
|
1250
1251
|
|
|
1251
1252
|
...
|
|
@@ -1290,8 +1291,8 @@ def sound_to_samples(
|
|
|
1290
1291
|
filemode: typing.Any | None = 9,
|
|
1291
1292
|
show_multiview: bool | typing.Any | None = False,
|
|
1292
1293
|
use_multiview: bool | typing.Any | None = False,
|
|
1293
|
-
display_type:
|
|
1294
|
-
sort_method: str | int |
|
|
1294
|
+
display_type: str | int | None = "DEFAULT",
|
|
1295
|
+
sort_method: str | int | None = "",
|
|
1295
1296
|
low: typing.Any | None = 0.0,
|
|
1296
1297
|
high: typing.Any | None = 100000.0,
|
|
1297
1298
|
attack: typing.Any | None = 0.005,
|
|
@@ -1364,9 +1365,9 @@ def sound_to_samples(
|
|
|
1364
1365
|
|
|
1365
1366
|
THUMBNAIL
|
|
1366
1367
|
Thumbnails -- Display files as thumbnails.
|
|
1367
|
-
:type display_type:
|
|
1368
|
+
:type display_type: str | int | None
|
|
1368
1369
|
:param sort_method: File sorting mode
|
|
1369
|
-
:type sort_method: str | int |
|
|
1370
|
+
:type sort_method: str | int | None
|
|
1370
1371
|
:param low: Lowest Frequency, Cutoff frequency of a high-pass filter that is applied to the audio data
|
|
1371
1372
|
:type low: typing.Any | None
|
|
1372
1373
|
:param high: Highest Frequency, Cutoff frequency of a low-pass filter that is applied to the audio data
|
|
@@ -2,7 +2,8 @@ import typing
|
|
|
2
2
|
import bpy.ops.transform
|
|
3
3
|
import bpy.types
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
6
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
6
7
|
|
|
7
8
|
def brush_stroke(
|
|
8
9
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -10,7 +11,7 @@ def brush_stroke(
|
|
|
10
11
|
undo: bool | None = None,
|
|
11
12
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
12
13
|
| None = None,
|
|
13
|
-
mode:
|
|
14
|
+
mode: str | int | None = "NORMAL",
|
|
14
15
|
):
|
|
15
16
|
"""Draw a new stroke in the active Grease Pencil object
|
|
16
17
|
|
|
@@ -29,7 +30,7 @@ def brush_stroke(
|
|
|
29
30
|
|
|
30
31
|
SMOOTH
|
|
31
32
|
Smooth -- Switch brush to smooth mode for duration of stroke.
|
|
32
|
-
:type mode:
|
|
33
|
+
:type mode: str | int | None
|
|
33
34
|
"""
|
|
34
35
|
|
|
35
36
|
...
|
|
@@ -38,7 +39,7 @@ def caps_set(
|
|
|
38
39
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
39
40
|
execution_context: str | int | None = None,
|
|
40
41
|
undo: bool | None = None,
|
|
41
|
-
type:
|
|
42
|
+
type: str | int | None = "ROUND",
|
|
42
43
|
):
|
|
43
44
|
"""Change curve caps mode (rounded or flat)
|
|
44
45
|
|
|
@@ -58,7 +59,7 @@ def caps_set(
|
|
|
58
59
|
|
|
59
60
|
END
|
|
60
61
|
Toggle End.
|
|
61
|
-
:type type:
|
|
62
|
+
:type type: str | int | None
|
|
62
63
|
"""
|
|
63
64
|
|
|
64
65
|
...
|
|
@@ -98,7 +99,7 @@ def cyclical_set(
|
|
|
98
99
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
99
100
|
execution_context: str | int | None = None,
|
|
100
101
|
undo: bool | None = None,
|
|
101
|
-
type:
|
|
102
|
+
type: str | int | None = "TOGGLE",
|
|
102
103
|
):
|
|
103
104
|
"""Close or open the selected stroke adding a segment from last to first point
|
|
104
105
|
|
|
@@ -106,7 +107,7 @@ def cyclical_set(
|
|
|
106
107
|
:type execution_context: str | int | None
|
|
107
108
|
:type undo: bool | None
|
|
108
109
|
:param type: Type
|
|
109
|
-
:type type:
|
|
110
|
+
:type type: str | int | None
|
|
110
111
|
"""
|
|
111
112
|
|
|
112
113
|
...
|
|
@@ -129,7 +130,7 @@ def delete_frame(
|
|
|
129
130
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
130
131
|
execution_context: str | int | None = None,
|
|
131
132
|
undo: bool | None = None,
|
|
132
|
-
type:
|
|
133
|
+
type: str | int | None = "ACTIVE_FRAME",
|
|
133
134
|
):
|
|
134
135
|
"""Delete Grease Pencil Frame(s)
|
|
135
136
|
|
|
@@ -143,7 +144,7 @@ def delete_frame(
|
|
|
143
144
|
|
|
144
145
|
ALL_FRAMES
|
|
145
146
|
All Active Frames -- Delete active frames for all layers.
|
|
146
|
-
:type type:
|
|
147
|
+
:type type: str | int | None
|
|
147
148
|
"""
|
|
148
149
|
|
|
149
150
|
...
|
|
@@ -152,7 +153,7 @@ def dissolve(
|
|
|
152
153
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
153
154
|
execution_context: str | int | None = None,
|
|
154
155
|
undo: bool | None = None,
|
|
155
|
-
type:
|
|
156
|
+
type: str | int | None = "POINTS",
|
|
156
157
|
):
|
|
157
158
|
"""Delete selected points without splitting strokes
|
|
158
159
|
|
|
@@ -169,7 +170,7 @@ def dissolve(
|
|
|
169
170
|
|
|
170
171
|
UNSELECT
|
|
171
172
|
Dissolve Unselect -- Dissolve all unselected points.
|
|
172
|
-
:type type:
|
|
173
|
+
:type type: str | int | None
|
|
173
174
|
"""
|
|
174
175
|
|
|
175
176
|
...
|
|
@@ -450,7 +451,7 @@ def layer_mask_reorder(
|
|
|
450
451
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
451
452
|
execution_context: str | int | None = None,
|
|
452
453
|
undo: bool | None = None,
|
|
453
|
-
direction:
|
|
454
|
+
direction: str | int | None = "UP",
|
|
454
455
|
):
|
|
455
456
|
"""Reorder the active Grease Pencil mask layer up/down in the list
|
|
456
457
|
|
|
@@ -458,7 +459,7 @@ def layer_mask_reorder(
|
|
|
458
459
|
:type execution_context: str | int | None
|
|
459
460
|
:type undo: bool | None
|
|
460
461
|
:param direction: Direction
|
|
461
|
-
:type direction:
|
|
462
|
+
:type direction: str | int | None
|
|
462
463
|
"""
|
|
463
464
|
|
|
464
465
|
...
|
|
@@ -482,7 +483,7 @@ def layer_reorder(
|
|
|
482
483
|
execution_context: str | int | None = None,
|
|
483
484
|
undo: bool | None = None,
|
|
484
485
|
target_layer_name: str | typing.Any = "Layer",
|
|
485
|
-
location:
|
|
486
|
+
location: str | int | None = "ABOVE",
|
|
486
487
|
):
|
|
487
488
|
"""Reorder the active Grease Pencil layer
|
|
488
489
|
|
|
@@ -492,7 +493,7 @@ def layer_reorder(
|
|
|
492
493
|
:param target_layer_name: Target Name, Name of the target layer
|
|
493
494
|
:type target_layer_name: str | typing.Any
|
|
494
495
|
:param location: Location
|
|
495
|
-
:type location:
|
|
496
|
+
:type location: str | int | None
|
|
496
497
|
"""
|
|
497
498
|
|
|
498
499
|
...
|
|
@@ -674,7 +675,7 @@ def primitive_arc(
|
|
|
674
675
|
execution_context: str | int | None = None,
|
|
675
676
|
undo: bool | None = None,
|
|
676
677
|
subdivision: typing.Any | None = 62,
|
|
677
|
-
type:
|
|
678
|
+
type: str | int | None = "ARC",
|
|
678
679
|
):
|
|
679
680
|
"""Create predefined grease pencil stroke arcs
|
|
680
681
|
|
|
@@ -684,7 +685,7 @@ def primitive_arc(
|
|
|
684
685
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
685
686
|
:type subdivision: typing.Any | None
|
|
686
687
|
:param type: Type, Type of shape
|
|
687
|
-
:type type:
|
|
688
|
+
:type type: str | int | None
|
|
688
689
|
"""
|
|
689
690
|
|
|
690
691
|
...
|
|
@@ -694,7 +695,7 @@ def primitive_box(
|
|
|
694
695
|
execution_context: str | int | None = None,
|
|
695
696
|
undo: bool | None = None,
|
|
696
697
|
subdivision: typing.Any | None = 3,
|
|
697
|
-
type:
|
|
698
|
+
type: str | int | None = "BOX",
|
|
698
699
|
):
|
|
699
700
|
"""Create predefined grease pencil stroke boxes
|
|
700
701
|
|
|
@@ -704,7 +705,7 @@ def primitive_box(
|
|
|
704
705
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
705
706
|
:type subdivision: typing.Any | None
|
|
706
707
|
:param type: Type, Type of shape
|
|
707
|
-
:type type:
|
|
708
|
+
:type type: str | int | None
|
|
708
709
|
"""
|
|
709
710
|
|
|
710
711
|
...
|
|
@@ -714,7 +715,7 @@ def primitive_circle(
|
|
|
714
715
|
execution_context: str | int | None = None,
|
|
715
716
|
undo: bool | None = None,
|
|
716
717
|
subdivision: typing.Any | None = 94,
|
|
717
|
-
type:
|
|
718
|
+
type: str | int | None = "CIRCLE",
|
|
718
719
|
):
|
|
719
720
|
"""Create predefined grease pencil stroke circles
|
|
720
721
|
|
|
@@ -724,7 +725,7 @@ def primitive_circle(
|
|
|
724
725
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
725
726
|
:type subdivision: typing.Any | None
|
|
726
727
|
:param type: Type, Type of shape
|
|
727
|
-
:type type:
|
|
728
|
+
:type type: str | int | None
|
|
728
729
|
"""
|
|
729
730
|
|
|
730
731
|
...
|
|
@@ -734,7 +735,7 @@ def primitive_curve(
|
|
|
734
735
|
execution_context: str | int | None = None,
|
|
735
736
|
undo: bool | None = None,
|
|
736
737
|
subdivision: typing.Any | None = 62,
|
|
737
|
-
type:
|
|
738
|
+
type: str | int | None = "CURVE",
|
|
738
739
|
):
|
|
739
740
|
"""Create predefined grease pencil stroke curve shapes
|
|
740
741
|
|
|
@@ -744,7 +745,7 @@ def primitive_curve(
|
|
|
744
745
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
745
746
|
:type subdivision: typing.Any | None
|
|
746
747
|
:param type: Type, Type of shape
|
|
747
|
-
:type type:
|
|
748
|
+
:type type: str | int | None
|
|
748
749
|
"""
|
|
749
750
|
|
|
750
751
|
...
|
|
@@ -754,7 +755,7 @@ def primitive_line(
|
|
|
754
755
|
execution_context: str | int | None = None,
|
|
755
756
|
undo: bool | None = None,
|
|
756
757
|
subdivision: typing.Any | None = 6,
|
|
757
|
-
type:
|
|
758
|
+
type: str | int | None = "LINE",
|
|
758
759
|
):
|
|
759
760
|
"""Create predefined grease pencil stroke lines
|
|
760
761
|
|
|
@@ -764,7 +765,7 @@ def primitive_line(
|
|
|
764
765
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
765
766
|
:type subdivision: typing.Any | None
|
|
766
767
|
:param type: Type, Type of shape
|
|
767
|
-
:type type:
|
|
768
|
+
:type type: str | int | None
|
|
768
769
|
"""
|
|
769
770
|
|
|
770
771
|
...
|
|
@@ -774,7 +775,7 @@ def primitive_polyline(
|
|
|
774
775
|
execution_context: str | int | None = None,
|
|
775
776
|
undo: bool | None = None,
|
|
776
777
|
subdivision: typing.Any | None = 6,
|
|
777
|
-
type:
|
|
778
|
+
type: str | int | None = "POLYLINE",
|
|
778
779
|
):
|
|
779
780
|
"""Create predefined grease pencil stroke polylines
|
|
780
781
|
|
|
@@ -784,7 +785,7 @@ def primitive_polyline(
|
|
|
784
785
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
785
786
|
:type subdivision: typing.Any | None
|
|
786
787
|
:param type: Type, Type of shape
|
|
787
|
-
:type type:
|
|
788
|
+
:type type: str | int | None
|
|
788
789
|
"""
|
|
789
790
|
|
|
790
791
|
...
|
|
@@ -793,7 +794,7 @@ def reorder(
|
|
|
793
794
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
794
795
|
execution_context: str | int | None = None,
|
|
795
796
|
undo: bool | None = None,
|
|
796
|
-
direction:
|
|
797
|
+
direction: str | int | None = "TOP",
|
|
797
798
|
):
|
|
798
799
|
"""Change the display order of the selected strokes
|
|
799
800
|
|
|
@@ -801,7 +802,7 @@ def reorder(
|
|
|
801
802
|
:type execution_context: str | int | None
|
|
802
803
|
:type undo: bool | None
|
|
803
804
|
:param direction: Direction
|
|
804
|
-
:type direction:
|
|
805
|
+
:type direction: str | int | None
|
|
805
806
|
"""
|
|
806
807
|
|
|
807
808
|
...
|
|
@@ -812,7 +813,7 @@ def sculpt_paint(
|
|
|
812
813
|
undo: bool | None = None,
|
|
813
814
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
814
815
|
| None = None,
|
|
815
|
-
mode:
|
|
816
|
+
mode: str | int | None = "NORMAL",
|
|
816
817
|
):
|
|
817
818
|
"""Draw a new stroke in the active Grease Pencil object
|
|
818
819
|
|
|
@@ -831,7 +832,7 @@ def sculpt_paint(
|
|
|
831
832
|
|
|
832
833
|
SMOOTH
|
|
833
834
|
Smooth -- Switch brush to smooth mode for duration of stroke.
|
|
834
|
-
:type mode:
|
|
835
|
+
:type mode: str | int | None
|
|
835
836
|
"""
|
|
836
837
|
|
|
837
838
|
...
|
|
@@ -840,7 +841,7 @@ def select_all(
|
|
|
840
841
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
841
842
|
execution_context: str | int | None = None,
|
|
842
843
|
undo: bool | None = None,
|
|
843
|
-
action:
|
|
844
|
+
action: str | int | None = "TOGGLE",
|
|
844
845
|
):
|
|
845
846
|
"""(De)select all visible strokes
|
|
846
847
|
|
|
@@ -860,7 +861,7 @@ def select_all(
|
|
|
860
861
|
|
|
861
862
|
INVERT
|
|
862
863
|
Invert -- Invert selection of all elements.
|
|
863
|
-
:type action:
|
|
864
|
+
:type action: str | int | None
|
|
864
865
|
"""
|
|
865
866
|
|
|
866
867
|
...
|
|
@@ -950,7 +951,7 @@ def select_random(
|
|
|
950
951
|
undo: bool | None = None,
|
|
951
952
|
ratio: typing.Any | None = 0.5,
|
|
952
953
|
seed: typing.Any | None = 0,
|
|
953
|
-
action:
|
|
954
|
+
action: str | int | None = "SELECT",
|
|
954
955
|
):
|
|
955
956
|
"""Selects random points from the current strokes selection
|
|
956
957
|
|
|
@@ -968,7 +969,7 @@ def select_random(
|
|
|
968
969
|
|
|
969
970
|
DESELECT
|
|
970
971
|
Deselect -- Deselect all elements.
|
|
971
|
-
:type action:
|
|
972
|
+
:type action: str | int | None
|
|
972
973
|
"""
|
|
973
974
|
|
|
974
975
|
...
|
|
@@ -977,7 +978,7 @@ def separate(
|
|
|
977
978
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
978
979
|
execution_context: str | int | None = None,
|
|
979
980
|
undo: bool | None = None,
|
|
980
|
-
mode:
|
|
981
|
+
mode: str | int | None = "SELECTED",
|
|
981
982
|
):
|
|
982
983
|
"""Separate the selected geometry into a new grease pencil object
|
|
983
984
|
|
|
@@ -994,7 +995,7 @@ def separate(
|
|
|
994
995
|
|
|
995
996
|
LAYER
|
|
996
997
|
By Layer -- Separate by layer.
|
|
997
|
-
:type mode:
|
|
998
|
+
:type mode: str | int | None
|
|
998
999
|
"""
|
|
999
1000
|
|
|
1000
1001
|
...
|
|
@@ -1017,7 +1018,7 @@ def set_material(
|
|
|
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
|
-
slot: str | int |
|
|
1021
|
+
slot: str | int | None = "DEFAULT",
|
|
1021
1022
|
):
|
|
1022
1023
|
"""Set active material
|
|
1023
1024
|
|
|
@@ -1025,7 +1026,7 @@ def set_material(
|
|
|
1025
1026
|
:type execution_context: str | int | None
|
|
1026
1027
|
:type undo: bool | None
|
|
1027
1028
|
:param slot: Material Slot
|
|
1028
|
-
:type slot: str | int |
|
|
1029
|
+
:type slot: str | int | None
|
|
1029
1030
|
"""
|
|
1030
1031
|
|
|
1031
1032
|
...
|
|
@@ -1292,7 +1293,7 @@ def weight_brush_stroke(
|
|
|
1292
1293
|
undo: bool | None = None,
|
|
1293
1294
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
1294
1295
|
| None = None,
|
|
1295
|
-
mode:
|
|
1296
|
+
mode: str | int | None = "NORMAL",
|
|
1296
1297
|
):
|
|
1297
1298
|
"""Draw weight on stroke points in the active Grease Pencil object
|
|
1298
1299
|
|
|
@@ -1311,7 +1312,7 @@ def weight_brush_stroke(
|
|
|
1311
1312
|
|
|
1312
1313
|
SMOOTH
|
|
1313
1314
|
Smooth -- Switch brush to smooth mode for duration of stroke.
|
|
1314
|
-
:type mode:
|
|
1315
|
+
:type mode: str | int | None
|
|
1315
1316
|
"""
|
|
1316
1317
|
|
|
1317
1318
|
...
|