fake-bpy-module 20240516__py3-none-any.whl → 20240518__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/freedesktop/__init__.pyi +17 -84
- addon_utils/__init__.pyi +44 -38
- animsys_refactor/__init__.pyi +7 -27
- aud/__init__.pyi +8 -11
- bgl/__init__.pyi +121 -1812
- bl_app_override/__init__.pyi +8 -19
- bl_app_override/helpers/__init__.pyi +5 -23
- bl_app_template_utils/__init__.pyi +5 -17
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +48 -10
- bl_console_utils/autocomplete/complete_import/__init__.pyi +27 -6
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +40 -8
- bl_console_utils/autocomplete/intellisense/__init__.pyi +31 -4
- bl_i18n_utils/bl_extract_messages/__init__.pyi +16 -67
- bl_i18n_utils/merge_po/__init__.pyi +1 -4
- bl_i18n_utils/settings/__init__.pyi +6 -24
- bl_i18n_utils/utils/__init__.pyi +93 -122
- bl_i18n_utils/utils_cli/__init__.pyi +6 -29
- bl_i18n_utils/utils_languages_menu/__init__.pyi +1 -4
- bl_i18n_utils/utils_rtl/__init__.pyi +8 -2
- bl_keymap_utils/io/__init__.pyi +9 -40
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -2
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +1 -4
- bl_keymap_utils/platform_helpers/__init__.pyi +2 -6
- bl_keymap_utils/versioning/__init__.pyi +1 -4
- bl_operators/__init__.pyi +2 -9
- bl_operators/add_mesh_torus/__init__.pyi +128 -59
- bl_operators/anim/__init__.pyi +1001 -398
- bl_operators/assets/__init__.pyi +376 -152
- bl_operators/bmesh/find_adjacent/__init__.pyi +10 -37
- bl_operators/clip/__init__.pyi +1264 -532
- bl_operators/console/__init__.pyi +626 -242
- bl_operators/constraint/__init__.pyi +502 -201
- bl_operators/file/__init__.pyi +376 -150
- bl_operators/freestyle/__init__.pyi +501 -200
- bl_operators/geometry_nodes/__init__.pyi +514 -266
- bl_operators/image/__init__.pyi +621 -251
- bl_operators/mesh/__init__.pyi +376 -150
- bl_operators/node/__init__.pyi +1253 -516
- bl_operators/object/__init__.pyi +1879 -755
- bl_operators/object_align/__init__.pyi +129 -64
- bl_operators/object_quick_effects/__init__.pyi +504 -213
- bl_operators/object_randomize_transform/__init__.pyi +129 -54
- bl_operators/presets/__init__.pyi +3072 -1403
- bl_operators/rigidbody/__init__.pyi +376 -150
- bl_operators/screen_play_rendered_anim/__init__.pyi +127 -54
- bl_operators/sequencer/__init__.pyi +1010 -434
- bl_operators/spreadsheet/__init__.pyi +126 -50
- bl_operators/userpref/__init__.pyi +3253 -1267
- bl_operators/uvcalc_follow_active/__init__.pyi +128 -59
- bl_operators/uvcalc_lightmap/__init__.pyi +139 -80
- bl_operators/uvcalc_transform/__init__.pyi +297 -159
- bl_operators/vertexpaint_dirt/__init__.pyi +128 -59
- bl_operators/view3d/__init__.pyi +868 -342
- bl_operators/wm/__init__.pyi +5795 -2388
- bl_operators/world/__init__.pyi +126 -50
- bl_previews_utils/bl_previews_render/__init__.pyi +7 -34
- bl_rna_utils/data_path/__init__.pyi +8 -4
- bl_text_utils/external_editor/__init__.pyi +1 -4
- bl_ui/__init__.pyi +366 -269
- bl_ui/anim/__init__.pyi +164 -74
- bl_ui/asset_shelf/__init__.pyi +129 -56
- bl_ui/generic_ui_list/__init__.pyi +412 -163
- bl_ui/node_add_menu/__init__.pyi +171 -94
- bl_ui/node_add_menu_compositor/__init__.pyi +2918 -1353
- bl_ui/node_add_menu_geometry/__init__.pyi +7789 -3616
- bl_ui/node_add_menu_shader/__init__.pyi +1630 -790
- bl_ui/node_add_menu_texture/__init__.pyi +1459 -675
- bl_ui/properties_animviz/__init__.pyi +2 -16
- bl_ui/properties_collection/__init__.pyi +807 -379
- bl_ui/properties_constraint/__init__.pyi +10292 -4941
- bl_ui/properties_data_armature/__init__.pyi +1615 -753
- bl_ui/properties_data_bone/__init__.pyi +1284 -608
- bl_ui/properties_data_camera/__init__.pyi +1854 -927
- bl_ui/properties_data_curve/__init__.pyi +1927 -937
- bl_ui/properties_data_curves/__init__.pyi +806 -375
- bl_ui/properties_data_empty/__init__.pyi +257 -125
- bl_ui/properties_data_gpencil/__init__.pyi +2376 -1130
- bl_ui/properties_data_grease_pencil/__init__.pyi +1898 -894
- bl_ui/properties_data_lattice/__init__.pyi +388 -188
- bl_ui/properties_data_light/__init__.pyi +1540 -756
- bl_ui/properties_data_lightprobe/__init__.pyi +1666 -810
- bl_ui/properties_data_mesh/__init__.pyi +2707 -1235
- bl_ui/properties_data_metaball/__init__.pyi +644 -308
- bl_ui/properties_data_modifier/__init__.pyi +1353 -671
- bl_ui/properties_data_pointcloud/__init__.pyi +679 -316
- bl_ui/properties_data_shaderfx/__init__.pyi +129 -67
- bl_ui/properties_data_speaker/__init__.pyi +644 -316
- bl_ui/properties_data_volume/__init__.pyi +1028 -484
- bl_ui/properties_freestyle/__init__.pyi +3112 -1619
- bl_ui/properties_grease_pencil_common/__init__.pyi +2454 -1123
- bl_ui/properties_mask_common/__init__.pyi +1102 -523
- bl_ui/properties_material/__init__.pyi +2089 -1009
- bl_ui/properties_material_gpencil/__init__.pyi +1348 -635
- bl_ui/properties_object/__init__.pyi +1832 -873
- bl_ui/properties_output/__init__.pyi +2405 -1173
- bl_ui/properties_paint_common/__init__.pyi +416 -386
- bl_ui/properties_particle/__init__.pyi +6740 -3346
- bl_ui/properties_physics_cloth/__init__.pyi +1822 -907
- bl_ui/properties_physics_common/__init__.pyi +135 -98
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +2817 -1391
- bl_ui/properties_physics_field/__init__.pyi +1282 -627
- bl_ui/properties_physics_fluid/__init__.pyi +3614 -1794
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +129 -60
- bl_ui/properties_physics_rigidbody/__init__.pyi +1026 -515
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +1665 -811
- bl_ui/properties_physics_softbody/__init__.pyi +1922 -967
- bl_ui/properties_render/__init__.pyi +6843 -3367
- bl_ui/properties_scene/__init__.pyi +1924 -913
- bl_ui/properties_texture/__init__.pyi +3371 -1667
- bl_ui/properties_view_layer/__init__.pyi +2344 -1107
- bl_ui/properties_workspace/__init__.pyi +516 -244
- bl_ui/properties_world/__init__.pyi +1284 -630
- bl_ui/space_clip/__init__.pyi +10172 -4695
- bl_ui/space_console/__init__.pyi +940 -423
- bl_ui/space_dopesheet/__init__.pyi +4325 -2013
- bl_ui/space_filebrowser/__init__.pyi +4172 -1903
- bl_ui/space_graph/__init__.pyi +3107 -1394
- bl_ui/space_image/__init__.pyi +9764 -4614
- bl_ui/space_info/__init__.pyi +939 -421
- bl_ui/space_nla/__init__.pyi +2623 -1183
- bl_ui/space_node/__init__.pyi +3995 -1840
- bl_ui/space_outliner/__init__.pyi +2203 -991
- bl_ui/space_properties/__init__.pyi +386 -165
- bl_ui/space_sequencer/__init__.pyi +10809 -4978
- bl_ui/space_spreadsheet/__init__.pyi +130 -53
- bl_ui/space_statusbar/__init__.pyi +129 -52
- bl_ui/space_text/__init__.pyi +2457 -1100
- bl_ui/space_time/__init__.pyi +1034 -481
- bl_ui/space_toolsystem_common/__init__.pyi +56 -211
- bl_ui/space_toolsystem_toolbar/__init__.pyi +153 -882
- bl_ui/space_topbar/__init__.pyi +3982 -1805
- bl_ui/space_userpref/__init__.pyi +11383 -5290
- bl_ui/space_view3d/__init__.pyi +40873 -18532
- bl_ui/space_view3d_toolbar/__init__.pyi +12570 -6502
- bl_ui/temp_anim_layers/__init__.pyi +130 -62
- bl_ui/utils/__init__.pyi +28 -27
- bl_ui_utils/bug_report_url/__init__.pyi +1 -4
- bl_ui_utils/layout/__init__.pyi +1 -1
- blend_render_info/__init__.pyi +3 -10
- blf/__init__.pyi +4 -4
- bmesh/geometry/__init__.pyi +2 -3
- bmesh/ops/__init__.pyi +372 -419
- bmesh/types/__init__.pyi +39 -56
- bmesh/utils/__init__.pyi +10 -13
- bpy/app/__init__.pyi +4 -4
- bpy/app/handlers/__init__.pyi +36 -36
- bpy/app/icons/__init__.pyi +8 -8
- bpy/app/timers/__init__.pyi +10 -10
- bpy/app/translations/__init__.pyi +20 -22
- bpy/msgbus/__init__.pyi +2 -4
- bpy/ops/action/__init__.pyi +316 -394
- bpy/ops/anim/__init__.pyi +442 -548
- bpy/ops/armature/__init__.pyi +374 -470
- bpy/ops/asset/__init__.pyi +152 -184
- bpy/ops/bl_pkg/__init__.pyi +221 -272
- bpy/ops/boid/__init__.pyi +50 -66
- bpy/ops/brush/__init__.pyi +72 -90
- bpy/ops/buttons/__init__.pyi +132 -144
- bpy/ops/cachefile/__init__.pyi +128 -138
- bpy/ops/camera/__init__.pyi +26 -30
- bpy/ops/clip/__init__.pyi +777 -964
- bpy/ops/cloth/__init__.pyi +12 -14
- bpy/ops/collection/__init__.pyi +68 -86
- bpy/ops/console/__init__.pyi +158 -200
- bpy/ops/constraint/__init__.pyi +178 -214
- bpy/ops/curve/__init__.pyi +473 -576
- bpy/ops/curves/__init__.pyi +247 -302
- bpy/ops/cycles/__init__.pyi +28 -34
- bpy/ops/dpaint/__init__.pyi +34 -44
- bpy/ops/ed/__init__.pyi +126 -150
- bpy/ops/export_anim/__init__.pyi +22 -24
- bpy/ops/export_scene/__init__.pyi +302 -336
- bpy/ops/file/__init__.pyi +352 -432
- bpy/ops/fluid/__init__.pyi +90 -118
- bpy/ops/font/__init__.pyi +258 -304
- bpy/ops/geometry/__init__.pyi +100 -120
- bpy/ops/gizmogroup/__init__.pyi +22 -26
- bpy/ops/gpencil/__init__.pyi +1469 -1778
- bpy/ops/graph/__init__.pyi +644 -776
- bpy/ops/grease_pencil/__init__.pyi +597 -748
- bpy/ops/image/__init__.pyi +648 -744
- bpy/ops/import_anim/__init__.pyi +30 -32
- bpy/ops/import_curve/__init__.pyi +10 -12
- bpy/ops/import_scene/__init__.pyi +88 -96
- bpy/ops/info/__init__.pyi +60 -74
- bpy/ops/lattice/__init__.pyi +64 -80
- bpy/ops/marker/__init__.pyi +108 -130
- bpy/ops/mask/__init__.pyi +322 -402
- bpy/ops/material/__init__.pyi +18 -24
- bpy/ops/mball/__init__.pyi +70 -86
- bpy/ops/mesh/__init__.pyi +1986 -2322
- bpy/ops/nla/__init__.pyi +333 -411
- bpy/ops/node/__init__.pyi +886 -1100
- bpy/ops/object/__init__.pyi +2585 -3078
- bpy/ops/outliner/__init__.pyi +498 -636
- bpy/ops/paint/__init__.pyi +565 -680
- bpy/ops/paintcurve/__init__.pyi +64 -80
- bpy/ops/palette/__init__.pyi +50 -64
- bpy/ops/particle/__init__.pyi +267 -340
- bpy/ops/pose/__init__.pyi +336 -414
- bpy/ops/poselib/__init__.pyi +72 -90
- bpy/ops/preferences/__init__.pyi +386 -463
- bpy/ops/ptcache/__init__.pyi +46 -60
- bpy/ops/render/__init__.pyi +130 -154
- bpy/ops/rigidbody/__init__.pyi +102 -128
- bpy/ops/scene/__init__.pyi +280 -358
- bpy/ops/screen/__init__.pyi +382 -460
- bpy/ops/script/__init__.pyi +24 -30
- bpy/ops/sculpt/__init__.pyi +458 -532
- bpy/ops/sculpt_curves/__init__.pyi +41 -50
- bpy/ops/sequencer/__init__.pyi +1066 -1244
- bpy/ops/sound/__init__.pyi +216 -230
- bpy/ops/spreadsheet/__init__.pyi +30 -38
- bpy/ops/surface/__init__.pyi +108 -120
- bpy/ops/text/__init__.pyi +390 -476
- bpy/ops/text_editor/__init__.pyi +12 -14
- bpy/ops/texture/__init__.pyi +26 -34
- bpy/ops/transform/__init__.pyi +792 -878
- bpy/ops/ui/__init__.pyi +228 -294
- bpy/ops/uilist/__init__.pyi +32 -38
- bpy/ops/uv/__init__.pyi +602 -704
- bpy/ops/view2d/__init__.pyi +156 -184
- bpy/ops/view3d/__init__.pyi +582 -718
- bpy/ops/wm/__init__.pyi +2683 -2928
- bpy/ops/workspace/__init__.pyi +46 -60
- bpy/ops/world/__init__.pyi +12 -16
- bpy/path/__init__.pyi +179 -75
- bpy/props/__init__.pyi +261 -263
- bpy/types/__init__.pyi +17058 -26311
- bpy/utils/__init__.pyi +247 -179
- bpy/utils/previews/__init__.pyi +58 -28
- bpy/utils/units/__init__.pyi +20 -20
- bpy_extras/anim_utils/__init__.pyi +68 -29
- bpy_extras/asset_utils/__init__.pyi +0 -10
- bpy_extras/bmesh_utils/__init__.pyi +9 -6
- bpy_extras/extensions/junction_module/__init__.pyi +6 -8
- bpy_extras/id_map_utils/__init__.pyi +3 -3
- bpy_extras/image_utils/__init__.pyi +44 -11
- bpy_extras/io_utils/__init__.pyi +116 -41
- bpy_extras/keyconfig_utils/__init__.pyi +4 -11
- bpy_extras/mesh_utils/__init__.pyi +71 -19
- bpy_extras/node_shader_utils/__init__.pyi +52 -288
- bpy_extras/node_utils/__init__.pyi +10 -10
- bpy_extras/object_utils/__init__.pyi +71 -14
- bpy_extras/view3d_utils/__init__.pyi +80 -10
- bpy_extras/wm_utils/progress_report/__init__.pyi +15 -38
- bpy_restrict_state/__init__.pyi +1 -14
- bpy_types/__init__.pyi +4203 -1605
- console_python/__init__.pyi +12 -37
- console_shell/__init__.pyi +5 -24
- {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240518.dist-info}/METADATA +1 -1
- fake_bpy_module-20240518.dist-info/RECORD +353 -0
- freestyle/chainingiterators/__init__.pyi +14 -44
- freestyle/functions/__init__.pyi +7 -33
- freestyle/predicates/__init__.pyi +44 -217
- freestyle/shaders/__init__.pyi +2 -12
- freestyle/types/__init__.pyi +84 -96
- freestyle/utils/ContextFunctions/__init__.pyi +2 -2
- freestyle/utils/__init__.pyi +6 -18
- gpu/matrix/__init__.pyi +6 -8
- gpu/state/__init__.pyi +2 -2
- gpu/types/__init__.pyi +12 -12
- gpu_extras/presets/__init__.pyi +2 -5
- graphviz_export/__init__.pyi +4 -9
- idprop/types/__init__.pyi +8 -35
- imbuf/__init__.pyi +4 -4
- imbuf/types/__init__.pyi +0 -2
- keyingsets_builtins/__init__.pyi +2692 -997
- keyingsets_utils/__init__.pyi +14 -69
- mathutils/__init__.pyi +194 -238
- mathutils/bvhtree/__init__.pyi +4 -6
- mathutils/geometry/__init__.pyi +153 -155
- mathutils/kdtree/__init__.pyi +8 -12
- mathutils/noise/__init__.pyi +26 -26
- nodeitems_builtins/__init__.pyi +5 -30
- nodeitems_utils/__init__.pyi +8 -45
- rna_info/__init__.pyi +39 -215
- rna_keymap_ui/__init__.pyi +6 -29
- rna_prop_ui/__init__.pyi +24 -62
- rna_xml/__init__.pyi +16 -39
- sys_info/__init__.pyi +1 -4
- _bpy_internal/freedesktop/py.typed +0 -0
- bl_app_override/helpers/py.typed +0 -0
- bl_console_utils/autocomplete/complete_calltip/py.typed +0 -0
- bl_console_utils/autocomplete/complete_import/py.typed +0 -0
- bl_console_utils/autocomplete/complete_namespace/py.typed +0 -0
- bl_console_utils/autocomplete/intellisense/py.typed +0 -0
- bl_console_utils/autocomplete/py.typed +0 -0
- bl_i18n_utils/bl_extract_messages/py.typed +0 -0
- bl_i18n_utils/merge_po/py.typed +0 -0
- bl_i18n_utils/settings/py.typed +0 -0
- bl_i18n_utils/utils/py.typed +0 -0
- bl_i18n_utils/utils_cli/py.typed +0 -0
- bl_i18n_utils/utils_languages_menu/py.typed +0 -0
- bl_i18n_utils/utils_rtl/py.typed +0 -0
- bl_keymap_utils/io/py.typed +0 -0
- bl_keymap_utils/keymap_from_toolbar/py.typed +0 -0
- bl_keymap_utils/keymap_hierarchy/py.typed +0 -0
- bl_keymap_utils/platform_helpers/py.typed +0 -0
- bl_keymap_utils/versioning/py.typed +0 -0
- bl_operators/add_mesh_torus/py.typed +0 -0
- bl_operators/anim/py.typed +0 -0
- bl_operators/assets/py.typed +0 -0
- bl_operators/bmesh/find_adjacent/py.typed +0 -0
- bl_operators/bmesh/py.typed +0 -0
- bl_operators/clip/py.typed +0 -0
- bl_operators/console/py.typed +0 -0
- bl_operators/constraint/py.typed +0 -0
- bl_operators/file/py.typed +0 -0
- bl_operators/freestyle/py.typed +0 -0
- bl_operators/geometry_nodes/py.typed +0 -0
- bl_operators/image/py.typed +0 -0
- bl_operators/mesh/py.typed +0 -0
- bl_operators/node/py.typed +0 -0
- bl_operators/object/py.typed +0 -0
- bl_operators/object_align/py.typed +0 -0
- bl_operators/object_quick_effects/py.typed +0 -0
- bl_operators/object_randomize_transform/py.typed +0 -0
- bl_operators/presets/py.typed +0 -0
- bl_operators/rigidbody/py.typed +0 -0
- bl_operators/screen_play_rendered_anim/py.typed +0 -0
- bl_operators/sequencer/py.typed +0 -0
- bl_operators/spreadsheet/py.typed +0 -0
- bl_operators/userpref/py.typed +0 -0
- bl_operators/uvcalc_follow_active/py.typed +0 -0
- bl_operators/uvcalc_lightmap/py.typed +0 -0
- bl_operators/uvcalc_transform/py.typed +0 -0
- bl_operators/vertexpaint_dirt/py.typed +0 -0
- bl_operators/view3d/py.typed +0 -0
- bl_operators/wm/py.typed +0 -0
- bl_operators/world/py.typed +0 -0
- bl_previews_utils/bl_previews_render/py.typed +0 -0
- bl_rna_utils/data_path/py.typed +0 -0
- bl_text_utils/external_editor/py.typed +0 -0
- bl_ui/anim/py.typed +0 -0
- bl_ui/asset_shelf/py.typed +0 -0
- bl_ui/generic_ui_list/py.typed +0 -0
- bl_ui/node_add_menu/py.typed +0 -0
- bl_ui/node_add_menu_compositor/py.typed +0 -0
- bl_ui/node_add_menu_geometry/py.typed +0 -0
- bl_ui/node_add_menu_shader/py.typed +0 -0
- bl_ui/node_add_menu_texture/py.typed +0 -0
- bl_ui/properties_animviz/py.typed +0 -0
- bl_ui/properties_collection/py.typed +0 -0
- bl_ui/properties_constraint/py.typed +0 -0
- bl_ui/properties_data_armature/py.typed +0 -0
- bl_ui/properties_data_bone/py.typed +0 -0
- bl_ui/properties_data_camera/py.typed +0 -0
- bl_ui/properties_data_curve/py.typed +0 -0
- bl_ui/properties_data_curves/py.typed +0 -0
- bl_ui/properties_data_empty/py.typed +0 -0
- bl_ui/properties_data_gpencil/py.typed +0 -0
- bl_ui/properties_data_grease_pencil/py.typed +0 -0
- bl_ui/properties_data_lattice/py.typed +0 -0
- bl_ui/properties_data_light/py.typed +0 -0
- bl_ui/properties_data_lightprobe/py.typed +0 -0
- bl_ui/properties_data_mesh/py.typed +0 -0
- bl_ui/properties_data_metaball/py.typed +0 -0
- bl_ui/properties_data_modifier/py.typed +0 -0
- bl_ui/properties_data_pointcloud/py.typed +0 -0
- bl_ui/properties_data_shaderfx/py.typed +0 -0
- bl_ui/properties_data_speaker/py.typed +0 -0
- bl_ui/properties_data_volume/py.typed +0 -0
- bl_ui/properties_freestyle/py.typed +0 -0
- bl_ui/properties_grease_pencil_common/py.typed +0 -0
- bl_ui/properties_mask_common/py.typed +0 -0
- bl_ui/properties_material/py.typed +0 -0
- bl_ui/properties_material_gpencil/py.typed +0 -0
- bl_ui/properties_object/py.typed +0 -0
- bl_ui/properties_output/py.typed +0 -0
- bl_ui/properties_paint_common/py.typed +0 -0
- bl_ui/properties_particle/py.typed +0 -0
- bl_ui/properties_physics_cloth/py.typed +0 -0
- bl_ui/properties_physics_common/py.typed +0 -0
- bl_ui/properties_physics_dynamicpaint/py.typed +0 -0
- bl_ui/properties_physics_field/py.typed +0 -0
- bl_ui/properties_physics_fluid/py.typed +0 -0
- bl_ui/properties_physics_geometry_nodes/py.typed +0 -0
- bl_ui/properties_physics_rigidbody/py.typed +0 -0
- bl_ui/properties_physics_rigidbody_constraint/py.typed +0 -0
- bl_ui/properties_physics_softbody/py.typed +0 -0
- bl_ui/properties_render/py.typed +0 -0
- bl_ui/properties_scene/py.typed +0 -0
- bl_ui/properties_texture/py.typed +0 -0
- bl_ui/properties_view_layer/py.typed +0 -0
- bl_ui/properties_workspace/py.typed +0 -0
- bl_ui/properties_world/py.typed +0 -0
- bl_ui/space_clip/py.typed +0 -0
- bl_ui/space_console/py.typed +0 -0
- bl_ui/space_dopesheet/py.typed +0 -0
- bl_ui/space_filebrowser/py.typed +0 -0
- bl_ui/space_graph/py.typed +0 -0
- bl_ui/space_image/py.typed +0 -0
- bl_ui/space_info/py.typed +0 -0
- bl_ui/space_nla/py.typed +0 -0
- bl_ui/space_node/py.typed +0 -0
- bl_ui/space_outliner/py.typed +0 -0
- bl_ui/space_properties/py.typed +0 -0
- bl_ui/space_sequencer/py.typed +0 -0
- bl_ui/space_spreadsheet/py.typed +0 -0
- bl_ui/space_statusbar/py.typed +0 -0
- bl_ui/space_text/py.typed +0 -0
- bl_ui/space_time/py.typed +0 -0
- bl_ui/space_toolsystem_common/py.typed +0 -0
- bl_ui/space_toolsystem_toolbar/py.typed +0 -0
- bl_ui/space_topbar/py.typed +0 -0
- bl_ui/space_userpref/py.typed +0 -0
- bl_ui/space_view3d/py.typed +0 -0
- bl_ui/space_view3d_toolbar/py.typed +0 -0
- bl_ui/temp_anim_layers/py.typed +0 -0
- bl_ui/utils/py.typed +0 -0
- bl_ui_utils/bug_report_url/py.typed +0 -0
- bl_ui_utils/layout/py.typed +0 -0
- bmesh/geometry/py.typed +0 -0
- bmesh/ops/py.typed +0 -0
- bmesh/types/py.typed +0 -0
- bmesh/utils/py.typed +0 -0
- bpy/app/handlers/py.typed +0 -0
- bpy/app/icons/py.typed +0 -0
- bpy/app/py.typed +0 -0
- bpy/app/timers/py.typed +0 -0
- bpy/app/translations/py.typed +0 -0
- bpy/msgbus/py.typed +0 -0
- bpy/ops/action/py.typed +0 -0
- bpy/ops/anim/py.typed +0 -0
- bpy/ops/armature/py.typed +0 -0
- bpy/ops/asset/py.typed +0 -0
- bpy/ops/bl_pkg/py.typed +0 -0
- bpy/ops/boid/py.typed +0 -0
- bpy/ops/brush/py.typed +0 -0
- bpy/ops/buttons/py.typed +0 -0
- bpy/ops/cachefile/py.typed +0 -0
- bpy/ops/camera/py.typed +0 -0
- bpy/ops/clip/py.typed +0 -0
- bpy/ops/cloth/py.typed +0 -0
- bpy/ops/collection/py.typed +0 -0
- bpy/ops/console/py.typed +0 -0
- bpy/ops/constraint/py.typed +0 -0
- bpy/ops/curve/py.typed +0 -0
- bpy/ops/curves/py.typed +0 -0
- bpy/ops/cycles/py.typed +0 -0
- bpy/ops/dpaint/py.typed +0 -0
- bpy/ops/ed/py.typed +0 -0
- bpy/ops/export_anim/py.typed +0 -0
- bpy/ops/export_scene/py.typed +0 -0
- bpy/ops/file/py.typed +0 -0
- bpy/ops/fluid/py.typed +0 -0
- bpy/ops/font/py.typed +0 -0
- bpy/ops/geometry/py.typed +0 -0
- bpy/ops/gizmogroup/py.typed +0 -0
- bpy/ops/gpencil/py.typed +0 -0
- bpy/ops/graph/py.typed +0 -0
- bpy/ops/grease_pencil/py.typed +0 -0
- bpy/ops/image/py.typed +0 -0
- bpy/ops/import_anim/py.typed +0 -0
- bpy/ops/import_curve/py.typed +0 -0
- bpy/ops/import_scene/py.typed +0 -0
- bpy/ops/info/py.typed +0 -0
- bpy/ops/lattice/py.typed +0 -0
- bpy/ops/marker/py.typed +0 -0
- bpy/ops/mask/py.typed +0 -0
- bpy/ops/material/py.typed +0 -0
- bpy/ops/mball/py.typed +0 -0
- bpy/ops/mesh/py.typed +0 -0
- bpy/ops/nla/py.typed +0 -0
- bpy/ops/node/py.typed +0 -0
- bpy/ops/object/py.typed +0 -0
- bpy/ops/outliner/py.typed +0 -0
- bpy/ops/paint/py.typed +0 -0
- bpy/ops/paintcurve/py.typed +0 -0
- bpy/ops/palette/py.typed +0 -0
- bpy/ops/particle/py.typed +0 -0
- bpy/ops/pose/py.typed +0 -0
- bpy/ops/poselib/py.typed +0 -0
- bpy/ops/preferences/py.typed +0 -0
- bpy/ops/ptcache/py.typed +0 -0
- bpy/ops/py.typed +0 -0
- bpy/ops/render/py.typed +0 -0
- bpy/ops/rigidbody/py.typed +0 -0
- bpy/ops/scene/py.typed +0 -0
- bpy/ops/screen/py.typed +0 -0
- bpy/ops/script/py.typed +0 -0
- bpy/ops/sculpt/py.typed +0 -0
- bpy/ops/sculpt_curves/py.typed +0 -0
- bpy/ops/sequencer/py.typed +0 -0
- bpy/ops/sound/py.typed +0 -0
- bpy/ops/spreadsheet/py.typed +0 -0
- bpy/ops/surface/py.typed +0 -0
- bpy/ops/text/py.typed +0 -0
- bpy/ops/text_editor/py.typed +0 -0
- bpy/ops/texture/py.typed +0 -0
- bpy/ops/transform/py.typed +0 -0
- bpy/ops/ui/py.typed +0 -0
- bpy/ops/uilist/py.typed +0 -0
- bpy/ops/uv/py.typed +0 -0
- bpy/ops/view2d/py.typed +0 -0
- bpy/ops/view3d/py.typed +0 -0
- bpy/ops/wm/py.typed +0 -0
- bpy/ops/workspace/py.typed +0 -0
- bpy/ops/world/py.typed +0 -0
- bpy/path/py.typed +0 -0
- bpy/props/py.typed +0 -0
- bpy/types/py.typed +0 -0
- bpy/utils/previews/py.typed +0 -0
- bpy/utils/py.typed +0 -0
- bpy/utils/units/py.typed +0 -0
- bpy_extras/anim_utils/py.typed +0 -0
- bpy_extras/asset_utils/py.typed +0 -0
- bpy_extras/bmesh_utils/py.typed +0 -0
- bpy_extras/extensions/junction_module/py.typed +0 -0
- bpy_extras/extensions/py.typed +0 -0
- bpy_extras/id_map_utils/py.typed +0 -0
- bpy_extras/image_utils/py.typed +0 -0
- bpy_extras/io_utils/py.typed +0 -0
- bpy_extras/keyconfig_utils/py.typed +0 -0
- bpy_extras/mesh_utils/py.typed +0 -0
- bpy_extras/node_shader_utils/py.typed +0 -0
- bpy_extras/node_utils/py.typed +0 -0
- bpy_extras/object_utils/py.typed +0 -0
- bpy_extras/view3d_utils/py.typed +0 -0
- bpy_extras/wm_utils/progress_report/py.typed +0 -0
- bpy_extras/wm_utils/py.typed +0 -0
- fake_bpy_module-20240516.dist-info/RECORD +0 -618
- freestyle/chainingiterators/py.typed +0 -0
- freestyle/functions/py.typed +0 -0
- freestyle/predicates/py.typed +0 -0
- freestyle/shaders/py.typed +0 -0
- freestyle/types/py.typed +0 -0
- freestyle/utils/ContextFunctions/py.typed +0 -0
- freestyle/utils/py.typed +0 -0
- gpu/capabilities/py.typed +0 -0
- gpu/matrix/py.typed +0 -0
- gpu/platform/py.typed +0 -0
- gpu/select/py.typed +0 -0
- gpu/shader/py.typed +0 -0
- gpu/state/py.typed +0 -0
- gpu/texture/py.typed +0 -0
- gpu/types/py.typed +0 -0
- gpu_extras/batch/py.typed +0 -0
- gpu_extras/presets/py.typed +0 -0
- idprop/types/py.typed +0 -0
- imbuf/types/py.typed +0 -0
- mathutils/bvhtree/py.typed +0 -0
- mathutils/geometry/py.typed +0 -0
- mathutils/interpolate/py.typed +0 -0
- mathutils/kdtree/py.typed +0 -0
- mathutils/noise/py.typed +0 -0
- {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240518.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240518.dist-info}/top_level.txt +0 -0
bpy/ops/gpencil/__init__.pyi
CHANGED
|
@@ -5,59 +5,52 @@ import bpy.types
|
|
|
5
5
|
GenericType = typing.TypeVar("GenericType")
|
|
6
6
|
|
|
7
7
|
def active_frame_delete(
|
|
8
|
-
override_context: typing.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
12
|
-
undo: typing.Optional[bool] = None,
|
|
8
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
9
|
+
execution_context: str | int | None = None,
|
|
10
|
+
undo: bool | None = None,
|
|
13
11
|
):
|
|
14
12
|
"""Delete the active frame for the active Grease Pencil Layer
|
|
15
13
|
|
|
16
|
-
:type override_context:
|
|
17
|
-
:type execution_context:
|
|
18
|
-
:type undo:
|
|
14
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
15
|
+
:type execution_context: str | int | None
|
|
16
|
+
:type undo: bool | None
|
|
19
17
|
"""
|
|
20
18
|
|
|
21
19
|
...
|
|
22
20
|
|
|
23
21
|
def active_frames_delete_all(
|
|
24
|
-
override_context: typing.
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
28
|
-
undo: typing.Optional[bool] = None,
|
|
22
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
23
|
+
execution_context: str | int | None = None,
|
|
24
|
+
undo: bool | None = None,
|
|
29
25
|
):
|
|
30
26
|
"""Delete the active frame(s) of all editable Grease Pencil layers
|
|
31
27
|
|
|
32
|
-
:type override_context:
|
|
33
|
-
:type execution_context:
|
|
34
|
-
:type undo:
|
|
28
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
29
|
+
:type execution_context: str | int | None
|
|
30
|
+
:type undo: bool | None
|
|
35
31
|
"""
|
|
36
32
|
|
|
37
33
|
...
|
|
38
34
|
|
|
39
35
|
def annotate(
|
|
40
|
-
override_context: typing.
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
53
|
-
] = None,
|
|
54
|
-
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
36
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
37
|
+
execution_context: str | int | None = None,
|
|
38
|
+
undo: bool | None = None,
|
|
39
|
+
mode: typing.Any | None = "DRAW",
|
|
40
|
+
arrowstyle_start: typing.Any | None = "NONE",
|
|
41
|
+
arrowstyle_end: typing.Any | None = "NONE",
|
|
42
|
+
use_stabilizer: bool | typing.Any | None = False,
|
|
43
|
+
stabilizer_factor: typing.Any | None = 0.75,
|
|
44
|
+
stabilizer_radius: typing.Any | None = 35,
|
|
45
|
+
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
46
|
+
| None = None,
|
|
47
|
+
wait_for_input: bool | typing.Any | None = True,
|
|
55
48
|
):
|
|
56
49
|
"""Make annotations on the active data
|
|
57
50
|
|
|
58
|
-
:type override_context:
|
|
59
|
-
:type execution_context:
|
|
60
|
-
:type undo:
|
|
51
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
52
|
+
:type execution_context: str | int | None
|
|
53
|
+
:type undo: bool | None
|
|
61
54
|
:param mode: Mode, Way to interpret mouse movements
|
|
62
55
|
|
|
63
56
|
DRAW
|
|
@@ -71,7 +64,7 @@ def annotate(
|
|
|
71
64
|
|
|
72
65
|
ERASER
|
|
73
66
|
Eraser -- Erase Annotation strokes.
|
|
74
|
-
:type mode: typing.
|
|
67
|
+
:type mode: typing.Any | None
|
|
75
68
|
:param arrowstyle_start: Start Arrow Style, Stroke start style
|
|
76
69
|
|
|
77
70
|
NONE
|
|
@@ -88,7 +81,7 @@ def annotate(
|
|
|
88
81
|
|
|
89
82
|
DIAMOND
|
|
90
83
|
Square -- Use square style.
|
|
91
|
-
:type arrowstyle_start: typing.
|
|
84
|
+
:type arrowstyle_start: typing.Any | None
|
|
92
85
|
:param arrowstyle_end: End Arrow Style, Stroke end style
|
|
93
86
|
|
|
94
87
|
NONE
|
|
@@ -105,81 +98,75 @@ def annotate(
|
|
|
105
98
|
|
|
106
99
|
DIAMOND
|
|
107
100
|
Square -- Use square style.
|
|
108
|
-
:type arrowstyle_end: typing.
|
|
101
|
+
:type arrowstyle_end: typing.Any | None
|
|
109
102
|
:param use_stabilizer: Stabilize Stroke, Helper to draw smooth and clean lines. Press Shift for an invert effect (even if this option is not active)
|
|
110
|
-
:type use_stabilizer:
|
|
103
|
+
:type use_stabilizer: bool | typing.Any | None
|
|
111
104
|
:param stabilizer_factor: Stabilizer Stroke Factor, Higher values gives a smoother stroke
|
|
112
|
-
:type stabilizer_factor: typing.
|
|
105
|
+
:type stabilizer_factor: typing.Any | None
|
|
113
106
|
:param stabilizer_radius: Stabilizer Stroke Radius, Minimum distance from last point before stroke continues
|
|
114
|
-
:type stabilizer_radius: typing.
|
|
107
|
+
:type stabilizer_radius: typing.Any | None
|
|
115
108
|
:param stroke: Stroke
|
|
116
|
-
:type stroke:
|
|
109
|
+
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
|
|
117
110
|
:param wait_for_input: Wait for Input, Wait for first click instead of painting immediately
|
|
118
|
-
:type wait_for_input:
|
|
111
|
+
:type wait_for_input: bool | typing.Any | None
|
|
119
112
|
"""
|
|
120
113
|
|
|
121
114
|
...
|
|
122
115
|
|
|
123
116
|
def annotation_active_frame_delete(
|
|
124
|
-
override_context: typing.
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
128
|
-
undo: typing.Optional[bool] = None,
|
|
117
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
118
|
+
execution_context: str | int | None = None,
|
|
119
|
+
undo: bool | None = None,
|
|
129
120
|
):
|
|
130
121
|
"""Delete the active frame for the active Annotation Layer
|
|
131
122
|
|
|
132
|
-
:type override_context:
|
|
133
|
-
:type execution_context:
|
|
134
|
-
:type undo:
|
|
123
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
124
|
+
:type execution_context: str | int | None
|
|
125
|
+
:type undo: bool | None
|
|
135
126
|
"""
|
|
136
127
|
|
|
137
128
|
...
|
|
138
129
|
|
|
139
130
|
def annotation_add(
|
|
140
|
-
override_context: typing.
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
144
|
-
undo: typing.Optional[bool] = None,
|
|
131
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
132
|
+
execution_context: str | int | None = None,
|
|
133
|
+
undo: bool | None = None,
|
|
145
134
|
):
|
|
146
135
|
"""Add new Annotation data-block
|
|
147
136
|
|
|
148
|
-
:type override_context:
|
|
149
|
-
:type execution_context:
|
|
150
|
-
:type undo:
|
|
137
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
138
|
+
:type execution_context: str | int | None
|
|
139
|
+
:type undo: bool | None
|
|
151
140
|
"""
|
|
152
141
|
|
|
153
142
|
...
|
|
154
143
|
|
|
155
144
|
def bake_grease_pencil_animation(
|
|
156
|
-
override_context: typing.
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
frame_target: typing.Optional[typing.Any] = 1,
|
|
166
|
-
project_type: typing.Optional[typing.Any] = "KEEP",
|
|
145
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
146
|
+
execution_context: str | int | None = None,
|
|
147
|
+
undo: bool | None = None,
|
|
148
|
+
frame_start: typing.Any | None = 1,
|
|
149
|
+
frame_end: typing.Any | None = 250,
|
|
150
|
+
step: typing.Any | None = 1,
|
|
151
|
+
only_selected: bool | typing.Any | None = False,
|
|
152
|
+
frame_target: typing.Any | None = 1,
|
|
153
|
+
project_type: typing.Any | None = "KEEP",
|
|
167
154
|
):
|
|
168
155
|
"""Bake grease pencil object transform to grease pencil keyframes
|
|
169
156
|
|
|
170
|
-
:type override_context:
|
|
171
|
-
:type execution_context:
|
|
172
|
-
:type undo:
|
|
157
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
158
|
+
:type execution_context: str | int | None
|
|
159
|
+
:type undo: bool | None
|
|
173
160
|
:param frame_start: Start Frame, The start frame
|
|
174
|
-
:type frame_start: typing.
|
|
161
|
+
:type frame_start: typing.Any | None
|
|
175
162
|
:param frame_end: End Frame, The end frame of animation
|
|
176
|
-
:type frame_end: typing.
|
|
163
|
+
:type frame_end: typing.Any | None
|
|
177
164
|
:param step: Step, Step between generated frames
|
|
178
|
-
:type step: typing.
|
|
165
|
+
:type step: typing.Any | None
|
|
179
166
|
:param only_selected: Only Selected Keyframes, Convert only selected keyframes
|
|
180
|
-
:type only_selected:
|
|
167
|
+
:type only_selected: bool | typing.Any | None
|
|
181
168
|
:param frame_target: Target Frame, Destination frame
|
|
182
|
-
:type frame_target: typing.
|
|
169
|
+
:type frame_target: typing.Any | None
|
|
183
170
|
:param project_type: Projection Type
|
|
184
171
|
|
|
185
172
|
KEEP
|
|
@@ -199,57 +186,55 @@ def bake_grease_pencil_animation(
|
|
|
199
186
|
|
|
200
187
|
CURSOR
|
|
201
188
|
Cursor -- Reproject the strokes using the orientation of 3D cursor.
|
|
202
|
-
:type project_type: typing.
|
|
189
|
+
:type project_type: typing.Any | None
|
|
203
190
|
"""
|
|
204
191
|
|
|
205
192
|
...
|
|
206
193
|
|
|
207
194
|
def bake_mesh_animation(
|
|
208
|
-
override_context: typing.
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
frame_target: typing.Optional[typing.Any] = 1,
|
|
224
|
-
project_type: typing.Optional[typing.Any] = "VIEW",
|
|
195
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
196
|
+
execution_context: str | int | None = None,
|
|
197
|
+
undo: bool | None = None,
|
|
198
|
+
target: typing.Any | None = "NEW",
|
|
199
|
+
frame_start: typing.Any | None = 1,
|
|
200
|
+
frame_end: typing.Any | None = 250,
|
|
201
|
+
step: typing.Any | None = 1,
|
|
202
|
+
thickness: typing.Any | None = 1,
|
|
203
|
+
angle: typing.Any | None = 1.22173,
|
|
204
|
+
offset: typing.Any | None = 0.001,
|
|
205
|
+
seams: bool | typing.Any | None = False,
|
|
206
|
+
faces: bool | typing.Any | None = True,
|
|
207
|
+
only_selected: bool | typing.Any | None = False,
|
|
208
|
+
frame_target: typing.Any | None = 1,
|
|
209
|
+
project_type: typing.Any | None = "VIEW",
|
|
225
210
|
):
|
|
226
211
|
"""Bake mesh animation to grease pencil strokes
|
|
227
212
|
|
|
228
|
-
:type override_context:
|
|
229
|
-
:type execution_context:
|
|
230
|
-
:type undo:
|
|
213
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
214
|
+
:type execution_context: str | int | None
|
|
215
|
+
:type undo: bool | None
|
|
231
216
|
:param target: Target Object, Target grease pencil
|
|
232
|
-
:type target: typing.
|
|
217
|
+
:type target: typing.Any | None
|
|
233
218
|
:param frame_start: Start Frame, The start frame
|
|
234
|
-
:type frame_start: typing.
|
|
219
|
+
:type frame_start: typing.Any | None
|
|
235
220
|
:param frame_end: End Frame, The end frame of animation
|
|
236
|
-
:type frame_end: typing.
|
|
221
|
+
:type frame_end: typing.Any | None
|
|
237
222
|
:param step: Step, Step between generated frames
|
|
238
|
-
:type step: typing.
|
|
223
|
+
:type step: typing.Any | None
|
|
239
224
|
:param thickness: Thickness
|
|
240
|
-
:type thickness: typing.
|
|
225
|
+
:type thickness: typing.Any | None
|
|
241
226
|
:param angle: Threshold Angle, Threshold to determine ends of the strokes
|
|
242
|
-
:type angle: typing.
|
|
227
|
+
:type angle: typing.Any | None
|
|
243
228
|
:param offset: Stroke Offset, Offset strokes from fill
|
|
244
|
-
:type offset: typing.
|
|
229
|
+
:type offset: typing.Any | None
|
|
245
230
|
:param seams: Only Seam Edges, Convert only seam edges
|
|
246
|
-
:type seams:
|
|
231
|
+
:type seams: bool | typing.Any | None
|
|
247
232
|
:param faces: Export Faces, Export faces as filled strokes
|
|
248
|
-
:type faces:
|
|
233
|
+
:type faces: bool | typing.Any | None
|
|
249
234
|
:param only_selected: Only Selected Keyframes, Convert only selected keyframes
|
|
250
|
-
:type only_selected:
|
|
235
|
+
:type only_selected: bool | typing.Any | None
|
|
251
236
|
:param frame_target: Target Frame, Destination frame
|
|
252
|
-
:type frame_target: typing.
|
|
237
|
+
:type frame_target: typing.Any | None
|
|
253
238
|
:param project_type: Projection Type
|
|
254
239
|
|
|
255
240
|
KEEP
|
|
@@ -269,89 +254,81 @@ def bake_mesh_animation(
|
|
|
269
254
|
|
|
270
255
|
CURSOR
|
|
271
256
|
Cursor -- Reproject the strokes using the orientation of 3D cursor.
|
|
272
|
-
:type project_type: typing.
|
|
257
|
+
:type project_type: typing.Any | None
|
|
273
258
|
"""
|
|
274
259
|
|
|
275
260
|
...
|
|
276
261
|
|
|
277
262
|
def blank_frame_add(
|
|
278
|
-
override_context: typing.
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
undo: typing.Optional[bool] = None,
|
|
283
|
-
all_layers: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
263
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
264
|
+
execution_context: str | int | None = None,
|
|
265
|
+
undo: bool | None = None,
|
|
266
|
+
all_layers: bool | typing.Any | None = False,
|
|
284
267
|
):
|
|
285
268
|
"""Insert a blank frame on the current frame (all subsequently existing frames, if any, are shifted right by one frame)
|
|
286
269
|
|
|
287
|
-
:type override_context:
|
|
288
|
-
:type execution_context:
|
|
289
|
-
:type undo:
|
|
270
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
271
|
+
:type execution_context: str | int | None
|
|
272
|
+
:type undo: bool | None
|
|
290
273
|
:param all_layers: All Layers, Create blank frame in all layers, not only active
|
|
291
|
-
:type all_layers:
|
|
274
|
+
:type all_layers: bool | typing.Any | None
|
|
292
275
|
"""
|
|
293
276
|
|
|
294
277
|
...
|
|
295
278
|
|
|
296
279
|
def brush_reset(
|
|
297
|
-
override_context: typing.
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
301
|
-
undo: typing.Optional[bool] = None,
|
|
280
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
281
|
+
execution_context: str | int | None = None,
|
|
282
|
+
undo: bool | None = None,
|
|
302
283
|
):
|
|
303
284
|
"""Reset brush to default parameters
|
|
304
285
|
|
|
305
|
-
:type override_context:
|
|
306
|
-
:type execution_context:
|
|
307
|
-
:type undo:
|
|
286
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
287
|
+
:type execution_context: str | int | None
|
|
288
|
+
:type undo: bool | None
|
|
308
289
|
"""
|
|
309
290
|
|
|
310
291
|
...
|
|
311
292
|
|
|
312
293
|
def brush_reset_all(
|
|
313
|
-
override_context: typing.
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
317
|
-
undo: typing.Optional[bool] = None,
|
|
294
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
295
|
+
execution_context: str | int | None = None,
|
|
296
|
+
undo: bool | None = None,
|
|
318
297
|
):
|
|
319
298
|
"""Delete all mode brushes and recreate a default set
|
|
320
299
|
|
|
321
|
-
:type override_context:
|
|
322
|
-
:type execution_context:
|
|
323
|
-
:type undo:
|
|
300
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
301
|
+
:type execution_context: str | int | None
|
|
302
|
+
:type undo: bool | None
|
|
324
303
|
"""
|
|
325
304
|
|
|
326
305
|
...
|
|
327
306
|
|
|
328
307
|
def convert(
|
|
329
|
-
override_context: typing.
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
seed: typing.Optional[typing.Any] = 0,
|
|
348
|
-
use_timing_data: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
308
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
309
|
+
execution_context: str | int | None = None,
|
|
310
|
+
undo: bool | None = None,
|
|
311
|
+
type: typing.Any | None = "PATH",
|
|
312
|
+
bevel_depth: typing.Any | None = 0.0,
|
|
313
|
+
bevel_resolution: typing.Any | None = 0,
|
|
314
|
+
use_normalize_weights: bool | typing.Any | None = True,
|
|
315
|
+
radius_multiplier: typing.Any | None = 1.0,
|
|
316
|
+
use_link_strokes: bool | typing.Any | None = False,
|
|
317
|
+
timing_mode: typing.Any | None = "FULL",
|
|
318
|
+
frame_range: typing.Any | None = 100,
|
|
319
|
+
start_frame: typing.Any | None = 1,
|
|
320
|
+
use_realtime: bool | typing.Any | None = False,
|
|
321
|
+
end_frame: typing.Any | None = 250,
|
|
322
|
+
gap_duration: typing.Any | None = 0.0,
|
|
323
|
+
gap_randomness: typing.Any | None = 0.0,
|
|
324
|
+
seed: typing.Any | None = 0,
|
|
325
|
+
use_timing_data: bool | typing.Any | None = False,
|
|
349
326
|
):
|
|
350
327
|
"""Convert the active Grease Pencil layer to a new Curve Object
|
|
351
328
|
|
|
352
|
-
:type override_context:
|
|
353
|
-
:type execution_context:
|
|
354
|
-
:type undo:
|
|
329
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
330
|
+
:type execution_context: str | int | None
|
|
331
|
+
:type undo: bool | None
|
|
355
332
|
:param type: Type, Which type of curve to convert to
|
|
356
333
|
|
|
357
334
|
PATH
|
|
@@ -362,17 +339,17 @@ def convert(
|
|
|
362
339
|
|
|
363
340
|
POLY
|
|
364
341
|
Polygon Curve -- Bézier curve with straight-line segments (vector handles).
|
|
365
|
-
:type type: typing.
|
|
342
|
+
:type type: typing.Any | None
|
|
366
343
|
:param bevel_depth: Bevel Depth
|
|
367
|
-
:type bevel_depth: typing.
|
|
344
|
+
:type bevel_depth: typing.Any | None
|
|
368
345
|
:param bevel_resolution: Bevel Resolution, Bevel resolution when depth is non-zero
|
|
369
|
-
:type bevel_resolution: typing.
|
|
346
|
+
:type bevel_resolution: typing.Any | None
|
|
370
347
|
:param use_normalize_weights: Normalize Weight, Normalize weight (set from stroke width)
|
|
371
|
-
:type use_normalize_weights:
|
|
348
|
+
:type use_normalize_weights: bool | typing.Any | None
|
|
372
349
|
:param radius_multiplier: Radius Factor, Multiplier for the points' radii (set from stroke width)
|
|
373
|
-
:type radius_multiplier: typing.
|
|
350
|
+
:type radius_multiplier: typing.Any | None
|
|
374
351
|
:param use_link_strokes: Link Strokes, Whether to link strokes with zero-radius sections of curves
|
|
375
|
-
:type use_link_strokes:
|
|
352
|
+
:type use_link_strokes: bool | typing.Any | None
|
|
376
353
|
:param timing_mode: Timing Mode, How to use timing data stored in strokes
|
|
377
354
|
|
|
378
355
|
NONE
|
|
@@ -386,91 +363,83 @@ def convert(
|
|
|
386
363
|
|
|
387
364
|
CUSTOMGAP
|
|
388
365
|
Custom Gaps -- Use the original timing, but with custom gap lengths (in frames).
|
|
389
|
-
:type timing_mode: typing.
|
|
366
|
+
:type timing_mode: typing.Any | None
|
|
390
367
|
:param frame_range: Frame Range, The duration of evaluation of the path control curve
|
|
391
|
-
:type frame_range: typing.
|
|
368
|
+
:type frame_range: typing.Any | None
|
|
392
369
|
:param start_frame: Start Frame, The start frame of the path control curve
|
|
393
|
-
:type start_frame: typing.
|
|
370
|
+
:type start_frame: typing.Any | None
|
|
394
371
|
:param use_realtime: Realtime, Whether the path control curve reproduces the drawing in realtime, starting from Start Frame
|
|
395
|
-
:type use_realtime:
|
|
372
|
+
:type use_realtime: bool | typing.Any | None
|
|
396
373
|
:param end_frame: End Frame, The end frame of the path control curve (if Realtime is not set)
|
|
397
|
-
:type end_frame: typing.
|
|
374
|
+
:type end_frame: typing.Any | None
|
|
398
375
|
:param gap_duration: Gap Duration, Custom Gap mode: (Average) length of gaps, in frames (Note: Realtime value, will be scaled if Realtime is not set)
|
|
399
|
-
:type gap_duration: typing.
|
|
376
|
+
:type gap_duration: typing.Any | None
|
|
400
377
|
:param gap_randomness: Gap Randomness, Custom Gap mode: Number of frames that gap lengths can vary
|
|
401
|
-
:type gap_randomness: typing.
|
|
378
|
+
:type gap_randomness: typing.Any | None
|
|
402
379
|
:param seed: Random Seed, Custom Gap mode: Random generator seed
|
|
403
|
-
:type seed: typing.
|
|
380
|
+
:type seed: typing.Any | None
|
|
404
381
|
:param use_timing_data: Has Valid Timing, Whether the converted Grease Pencil layer has valid timing data (internal use)
|
|
405
|
-
:type use_timing_data:
|
|
382
|
+
:type use_timing_data: bool | typing.Any | None
|
|
406
383
|
"""
|
|
407
384
|
|
|
408
385
|
...
|
|
409
386
|
|
|
410
387
|
def convert_old_files(
|
|
411
|
-
override_context: typing.
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
undo: typing.Optional[bool] = None,
|
|
416
|
-
annotation: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
388
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
389
|
+
execution_context: str | int | None = None,
|
|
390
|
+
undo: bool | None = None,
|
|
391
|
+
annotation: bool | typing.Any | None = False,
|
|
417
392
|
):
|
|
418
393
|
"""Convert 2.7x grease pencil files to 2.80
|
|
419
394
|
|
|
420
|
-
:type override_context:
|
|
421
|
-
:type execution_context:
|
|
422
|
-
:type undo:
|
|
395
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
396
|
+
:type execution_context: str | int | None
|
|
397
|
+
:type undo: bool | None
|
|
423
398
|
:param annotation: Annotation, Convert to Annotations
|
|
424
|
-
:type annotation:
|
|
399
|
+
:type annotation: bool | typing.Any | None
|
|
425
400
|
"""
|
|
426
401
|
|
|
427
402
|
...
|
|
428
403
|
|
|
429
404
|
def copy(
|
|
430
|
-
override_context: typing.
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
434
|
-
undo: typing.Optional[bool] = None,
|
|
405
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
406
|
+
execution_context: str | int | None = None,
|
|
407
|
+
undo: bool | None = None,
|
|
435
408
|
):
|
|
436
409
|
"""Copy selected Grease Pencil points and strokes
|
|
437
410
|
|
|
438
|
-
:type override_context:
|
|
439
|
-
:type execution_context:
|
|
440
|
-
:type undo:
|
|
411
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
412
|
+
:type execution_context: str | int | None
|
|
413
|
+
:type undo: bool | None
|
|
441
414
|
"""
|
|
442
415
|
|
|
443
416
|
...
|
|
444
417
|
|
|
445
418
|
def data_unlink(
|
|
446
|
-
override_context: typing.
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
450
|
-
undo: typing.Optional[bool] = None,
|
|
419
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
420
|
+
execution_context: str | int | None = None,
|
|
421
|
+
undo: bool | None = None,
|
|
451
422
|
):
|
|
452
423
|
"""Unlink active Annotation data-block
|
|
453
424
|
|
|
454
|
-
:type override_context:
|
|
455
|
-
:type execution_context:
|
|
456
|
-
:type undo:
|
|
425
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
426
|
+
:type execution_context: str | int | None
|
|
427
|
+
:type undo: bool | None
|
|
457
428
|
"""
|
|
458
429
|
|
|
459
430
|
...
|
|
460
431
|
|
|
461
432
|
def delete(
|
|
462
|
-
override_context: typing.
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
undo: typing.Optional[bool] = None,
|
|
467
|
-
type: typing.Optional[typing.Any] = "POINTS",
|
|
433
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
434
|
+
execution_context: str | int | None = None,
|
|
435
|
+
undo: bool | None = None,
|
|
436
|
+
type: typing.Any | None = "POINTS",
|
|
468
437
|
):
|
|
469
438
|
"""Delete selected Grease Pencil strokes, vertices, or frames
|
|
470
439
|
|
|
471
|
-
:type override_context:
|
|
472
|
-
:type execution_context:
|
|
473
|
-
:type undo:
|
|
440
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
441
|
+
:type execution_context: str | int | None
|
|
442
|
+
:type undo: bool | None
|
|
474
443
|
:param type: Type, Method used for deleting Grease Pencil data
|
|
475
444
|
|
|
476
445
|
POINTS
|
|
@@ -481,24 +450,22 @@ def delete(
|
|
|
481
450
|
|
|
482
451
|
FRAME
|
|
483
452
|
Frame -- Delete active frame.
|
|
484
|
-
:type type: typing.
|
|
453
|
+
:type type: typing.Any | None
|
|
485
454
|
"""
|
|
486
455
|
|
|
487
456
|
...
|
|
488
457
|
|
|
489
458
|
def dissolve(
|
|
490
|
-
override_context: typing.
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
undo: typing.Optional[bool] = None,
|
|
495
|
-
type: typing.Optional[typing.Any] = "POINTS",
|
|
459
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
460
|
+
execution_context: str | int | None = None,
|
|
461
|
+
undo: bool | None = None,
|
|
462
|
+
type: typing.Any | None = "POINTS",
|
|
496
463
|
):
|
|
497
464
|
"""Delete selected points without splitting strokes
|
|
498
465
|
|
|
499
|
-
:type override_context:
|
|
500
|
-
:type execution_context:
|
|
501
|
-
:type undo:
|
|
466
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
467
|
+
:type execution_context: str | int | None
|
|
468
|
+
:type undo: bool | None
|
|
502
469
|
:param type: Type, Method used for dissolving stroke points
|
|
503
470
|
|
|
504
471
|
POINTS
|
|
@@ -509,32 +476,29 @@ def dissolve(
|
|
|
509
476
|
|
|
510
477
|
UNSELECT
|
|
511
478
|
Dissolve Unselect -- Dissolve all unselected points.
|
|
512
|
-
:type type: typing.
|
|
479
|
+
:type type: typing.Any | None
|
|
513
480
|
"""
|
|
514
481
|
|
|
515
482
|
...
|
|
516
483
|
|
|
517
484
|
def draw(
|
|
518
|
-
override_context: typing.
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
disable_fill: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
530
|
-
disable_stabilizer: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
531
|
-
guide_last_angle: typing.Optional[typing.Any] = 0.0,
|
|
485
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
486
|
+
execution_context: str | int | None = None,
|
|
487
|
+
undo: bool | None = None,
|
|
488
|
+
mode: typing.Any | None = "DRAW",
|
|
489
|
+
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
490
|
+
| None = None,
|
|
491
|
+
wait_for_input: bool | typing.Any | None = True,
|
|
492
|
+
disable_straight: bool | typing.Any | None = False,
|
|
493
|
+
disable_fill: bool | typing.Any | None = False,
|
|
494
|
+
disable_stabilizer: bool | typing.Any | None = False,
|
|
495
|
+
guide_last_angle: typing.Any | None = 0.0,
|
|
532
496
|
):
|
|
533
497
|
"""Draw a new stroke in the active Grease Pencil object
|
|
534
498
|
|
|
535
|
-
:type override_context:
|
|
536
|
-
:type execution_context:
|
|
537
|
-
:type undo:
|
|
499
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
500
|
+
:type execution_context: str | int | None
|
|
501
|
+
:type undo: bool | None
|
|
538
502
|
:param mode: Mode, Way to interpret mouse movements
|
|
539
503
|
|
|
540
504
|
DRAW
|
|
@@ -545,191 +509,173 @@ def draw(
|
|
|
545
509
|
|
|
546
510
|
ERASER
|
|
547
511
|
Eraser -- Erase Grease Pencil strokes.
|
|
548
|
-
:type mode: typing.
|
|
512
|
+
:type mode: typing.Any | None
|
|
549
513
|
:param stroke: Stroke
|
|
550
|
-
:type stroke:
|
|
514
|
+
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
|
|
551
515
|
:param wait_for_input: Wait for Input, Wait for first click instead of painting immediately
|
|
552
|
-
:type wait_for_input:
|
|
516
|
+
:type wait_for_input: bool | typing.Any | None
|
|
553
517
|
:param disable_straight: No Straight lines, Disable key for straight lines
|
|
554
|
-
:type disable_straight:
|
|
518
|
+
:type disable_straight: bool | typing.Any | None
|
|
555
519
|
:param disable_fill: No Fill Areas, Disable fill to use stroke as fill boundary
|
|
556
|
-
:type disable_fill:
|
|
520
|
+
:type disable_fill: bool | typing.Any | None
|
|
557
521
|
:param disable_stabilizer: No Stabilizer
|
|
558
|
-
:type disable_stabilizer:
|
|
522
|
+
:type disable_stabilizer: bool | typing.Any | None
|
|
559
523
|
:param guide_last_angle: Angle, Speed guide angle
|
|
560
|
-
:type guide_last_angle: typing.
|
|
524
|
+
:type guide_last_angle: typing.Any | None
|
|
561
525
|
"""
|
|
562
526
|
|
|
563
527
|
...
|
|
564
528
|
|
|
565
529
|
def duplicate(
|
|
566
|
-
override_context: typing.
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
570
|
-
undo: typing.Optional[bool] = None,
|
|
530
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
531
|
+
execution_context: str | int | None = None,
|
|
532
|
+
undo: bool | None = None,
|
|
571
533
|
):
|
|
572
534
|
"""Duplicate the selected Grease Pencil strokes
|
|
573
535
|
|
|
574
|
-
:type override_context:
|
|
575
|
-
:type execution_context:
|
|
576
|
-
:type undo:
|
|
536
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
537
|
+
:type execution_context: str | int | None
|
|
538
|
+
:type undo: bool | None
|
|
577
539
|
"""
|
|
578
540
|
|
|
579
541
|
...
|
|
580
542
|
|
|
581
543
|
def duplicate_move(
|
|
582
|
-
override_context: typing.
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
GPENCIL_OT_duplicate: typing.Optional[duplicate] = None,
|
|
588
|
-
TRANSFORM_OT_translate: typing.Optional[bpy.ops.transform.translate] = None,
|
|
544
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
545
|
+
execution_context: str | int | None = None,
|
|
546
|
+
undo: bool | None = None,
|
|
547
|
+
GPENCIL_OT_duplicate: duplicate | None = None,
|
|
548
|
+
TRANSFORM_OT_translate: bpy.ops.transform.translate | None = None,
|
|
589
549
|
):
|
|
590
550
|
"""Make copies of the selected Grease Pencil strokes and move them
|
|
591
551
|
|
|
592
|
-
:type override_context:
|
|
593
|
-
:type execution_context:
|
|
594
|
-
:type undo:
|
|
552
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
553
|
+
:type execution_context: str | int | None
|
|
554
|
+
:type undo: bool | None
|
|
595
555
|
:param GPENCIL_OT_duplicate: Duplicate Strokes, Duplicate the selected Grease Pencil strokes
|
|
596
|
-
:type GPENCIL_OT_duplicate:
|
|
556
|
+
:type GPENCIL_OT_duplicate: duplicate | None
|
|
597
557
|
:param TRANSFORM_OT_translate: Move, Move selected items
|
|
598
|
-
:type TRANSFORM_OT_translate:
|
|
558
|
+
:type TRANSFORM_OT_translate: bpy.ops.transform.translate | None
|
|
599
559
|
"""
|
|
600
560
|
|
|
601
561
|
...
|
|
602
562
|
|
|
603
563
|
def editmode_toggle(
|
|
604
|
-
override_context: typing.
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
undo: typing.Optional[bool] = None,
|
|
609
|
-
back: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
564
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
565
|
+
execution_context: str | int | None = None,
|
|
566
|
+
undo: bool | None = None,
|
|
567
|
+
back: bool | typing.Any | None = False,
|
|
610
568
|
):
|
|
611
569
|
"""Enter/Exit edit mode for Grease Pencil strokes
|
|
612
570
|
|
|
613
|
-
:type override_context:
|
|
614
|
-
:type execution_context:
|
|
615
|
-
:type undo:
|
|
571
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
572
|
+
:type execution_context: str | int | None
|
|
573
|
+
:type undo: bool | None
|
|
616
574
|
:param back: Return to Previous Mode, Return to previous mode
|
|
617
|
-
:type back:
|
|
575
|
+
:type back: bool | typing.Any | None
|
|
618
576
|
"""
|
|
619
577
|
|
|
620
578
|
...
|
|
621
579
|
|
|
622
580
|
def extract_palette_vertex(
|
|
623
|
-
override_context: typing.
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
selected: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
629
|
-
threshold: typing.Optional[typing.Any] = 1,
|
|
581
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
582
|
+
execution_context: str | int | None = None,
|
|
583
|
+
undo: bool | None = None,
|
|
584
|
+
selected: bool | typing.Any | None = False,
|
|
585
|
+
threshold: typing.Any | None = 1,
|
|
630
586
|
):
|
|
631
587
|
"""Extract all colors used in Grease Pencil Vertex and create a Palette
|
|
632
588
|
|
|
633
|
-
:type override_context:
|
|
634
|
-
:type execution_context:
|
|
635
|
-
:type undo:
|
|
589
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
590
|
+
:type execution_context: str | int | None
|
|
591
|
+
:type undo: bool | None
|
|
636
592
|
:param selected: Only Selected, Convert only selected strokes
|
|
637
|
-
:type selected:
|
|
593
|
+
:type selected: bool | typing.Any | None
|
|
638
594
|
:param threshold: Threshold
|
|
639
|
-
:type threshold: typing.
|
|
595
|
+
:type threshold: typing.Any | None
|
|
640
596
|
"""
|
|
641
597
|
|
|
642
598
|
...
|
|
643
599
|
|
|
644
600
|
def extrude(
|
|
645
|
-
override_context: typing.
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
649
|
-
undo: typing.Optional[bool] = None,
|
|
601
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
602
|
+
execution_context: str | int | None = None,
|
|
603
|
+
undo: bool | None = None,
|
|
650
604
|
):
|
|
651
605
|
"""Extrude the selected Grease Pencil points
|
|
652
606
|
|
|
653
|
-
:type override_context:
|
|
654
|
-
:type execution_context:
|
|
655
|
-
:type undo:
|
|
607
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
608
|
+
:type execution_context: str | int | None
|
|
609
|
+
:type undo: bool | None
|
|
656
610
|
"""
|
|
657
611
|
|
|
658
612
|
...
|
|
659
613
|
|
|
660
614
|
def extrude_move(
|
|
661
|
-
override_context: typing.
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
GPENCIL_OT_extrude: typing.Optional[extrude] = None,
|
|
667
|
-
TRANSFORM_OT_translate: typing.Optional[bpy.ops.transform.translate] = None,
|
|
615
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
616
|
+
execution_context: str | int | None = None,
|
|
617
|
+
undo: bool | None = None,
|
|
618
|
+
GPENCIL_OT_extrude: extrude | None = None,
|
|
619
|
+
TRANSFORM_OT_translate: bpy.ops.transform.translate | None = None,
|
|
668
620
|
):
|
|
669
621
|
"""Extrude selected points and move them
|
|
670
622
|
|
|
671
|
-
:type override_context:
|
|
672
|
-
:type execution_context:
|
|
673
|
-
:type undo:
|
|
623
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
624
|
+
:type execution_context: str | int | None
|
|
625
|
+
:type undo: bool | None
|
|
674
626
|
:param GPENCIL_OT_extrude: Extrude Stroke Points, Extrude the selected Grease Pencil points
|
|
675
|
-
:type GPENCIL_OT_extrude:
|
|
627
|
+
:type GPENCIL_OT_extrude: extrude | None
|
|
676
628
|
:param TRANSFORM_OT_translate: Move, Move selected items
|
|
677
|
-
:type TRANSFORM_OT_translate:
|
|
629
|
+
:type TRANSFORM_OT_translate: bpy.ops.transform.translate | None
|
|
678
630
|
"""
|
|
679
631
|
|
|
680
632
|
...
|
|
681
633
|
|
|
682
634
|
def fill(
|
|
683
|
-
override_context: typing.
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
undo: typing.Optional[bool] = None,
|
|
688
|
-
on_back: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
635
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
636
|
+
execution_context: str | int | None = None,
|
|
637
|
+
undo: bool | None = None,
|
|
638
|
+
on_back: bool | typing.Any | None = False,
|
|
689
639
|
):
|
|
690
640
|
"""Fill with color the shape formed by strokes
|
|
691
641
|
|
|
692
|
-
:type override_context:
|
|
693
|
-
:type execution_context:
|
|
694
|
-
:type undo:
|
|
642
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
643
|
+
:type execution_context: str | int | None
|
|
644
|
+
:type undo: bool | None
|
|
695
645
|
:param on_back: Draw on Back, Send new stroke to back
|
|
696
|
-
:type on_back:
|
|
646
|
+
:type on_back: bool | typing.Any | None
|
|
697
647
|
"""
|
|
698
648
|
|
|
699
649
|
...
|
|
700
650
|
|
|
701
651
|
def frame_clean_duplicate(
|
|
702
|
-
override_context: typing.
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
undo: typing.Optional[bool] = None,
|
|
707
|
-
type: typing.Optional[typing.Any] = "ALL",
|
|
652
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
653
|
+
execution_context: str | int | None = None,
|
|
654
|
+
undo: bool | None = None,
|
|
655
|
+
type: typing.Any | None = "ALL",
|
|
708
656
|
):
|
|
709
657
|
"""Remove duplicate keyframes
|
|
710
658
|
|
|
711
|
-
:type override_context:
|
|
712
|
-
:type execution_context:
|
|
713
|
-
:type undo:
|
|
659
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
660
|
+
:type execution_context: str | int | None
|
|
661
|
+
:type undo: bool | None
|
|
714
662
|
:param type: Type
|
|
715
|
-
:type type: typing.
|
|
663
|
+
:type type: typing.Any | None
|
|
716
664
|
"""
|
|
717
665
|
|
|
718
666
|
...
|
|
719
667
|
|
|
720
668
|
def frame_clean_fill(
|
|
721
|
-
override_context: typing.
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
undo: typing.Optional[bool] = None,
|
|
726
|
-
mode: typing.Optional[typing.Any] = "ACTIVE",
|
|
669
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
670
|
+
execution_context: str | int | None = None,
|
|
671
|
+
undo: bool | None = None,
|
|
672
|
+
mode: typing.Any | None = "ACTIVE",
|
|
727
673
|
):
|
|
728
674
|
"""Remove 'no fill' boundary strokes
|
|
729
675
|
|
|
730
|
-
:type override_context:
|
|
731
|
-
:type execution_context:
|
|
732
|
-
:type undo:
|
|
676
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
677
|
+
:type execution_context: str | int | None
|
|
678
|
+
:type undo: bool | None
|
|
733
679
|
:param mode: Mode
|
|
734
680
|
|
|
735
681
|
ACTIVE
|
|
@@ -737,43 +683,39 @@ def frame_clean_fill(
|
|
|
737
683
|
|
|
738
684
|
ALL
|
|
739
685
|
All Frames -- Clean all frames in all layers.
|
|
740
|
-
:type mode: typing.
|
|
686
|
+
:type mode: typing.Any | None
|
|
741
687
|
"""
|
|
742
688
|
|
|
743
689
|
...
|
|
744
690
|
|
|
745
691
|
def frame_clean_loose(
|
|
746
|
-
override_context: typing.
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
undo: typing.Optional[bool] = None,
|
|
751
|
-
limit: typing.Optional[typing.Any] = 1,
|
|
692
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
693
|
+
execution_context: str | int | None = None,
|
|
694
|
+
undo: bool | None = None,
|
|
695
|
+
limit: typing.Any | None = 1,
|
|
752
696
|
):
|
|
753
697
|
"""Remove loose points
|
|
754
698
|
|
|
755
|
-
:type override_context:
|
|
756
|
-
:type execution_context:
|
|
757
|
-
:type undo:
|
|
699
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
700
|
+
:type execution_context: str | int | None
|
|
701
|
+
:type undo: bool | None
|
|
758
702
|
:param limit: Limit, Number of points to consider stroke as loose
|
|
759
|
-
:type limit: typing.
|
|
703
|
+
:type limit: typing.Any | None
|
|
760
704
|
"""
|
|
761
705
|
|
|
762
706
|
...
|
|
763
707
|
|
|
764
708
|
def frame_duplicate(
|
|
765
|
-
override_context: typing.
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
undo: typing.Optional[bool] = None,
|
|
770
|
-
mode: typing.Optional[typing.Any] = "ACTIVE",
|
|
709
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
710
|
+
execution_context: str | int | None = None,
|
|
711
|
+
undo: bool | None = None,
|
|
712
|
+
mode: typing.Any | None = "ACTIVE",
|
|
771
713
|
):
|
|
772
714
|
"""Make a copy of the active Grease Pencil Frame
|
|
773
715
|
|
|
774
|
-
:type override_context:
|
|
775
|
-
:type execution_context:
|
|
776
|
-
:type undo:
|
|
716
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
717
|
+
:type execution_context: str | int | None
|
|
718
|
+
:type undo: bool | None
|
|
777
719
|
:param mode: Mode
|
|
778
720
|
|
|
779
721
|
ACTIVE
|
|
@@ -781,196 +723,182 @@ def frame_duplicate(
|
|
|
781
723
|
|
|
782
724
|
ALL
|
|
783
725
|
All -- Duplicate active frames in all layers.
|
|
784
|
-
:type mode: typing.
|
|
726
|
+
:type mode: typing.Any | None
|
|
785
727
|
"""
|
|
786
728
|
|
|
787
729
|
...
|
|
788
730
|
|
|
789
731
|
def generate_weights(
|
|
790
|
-
override_context: typing.
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
ratio: typing.Optional[typing.Any] = 0.1,
|
|
798
|
-
decay: typing.Optional[typing.Any] = 0.8,
|
|
732
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
733
|
+
execution_context: str | int | None = None,
|
|
734
|
+
undo: bool | None = None,
|
|
735
|
+
mode: typing.Any | None = "NAME",
|
|
736
|
+
armature: str | int | typing.Any | None = "DEFAULT",
|
|
737
|
+
ratio: typing.Any | None = 0.1,
|
|
738
|
+
decay: typing.Any | None = 0.8,
|
|
799
739
|
):
|
|
800
740
|
"""Generate automatic weights for armatures (requires armature modifier)
|
|
801
741
|
|
|
802
|
-
:type override_context:
|
|
803
|
-
:type execution_context:
|
|
804
|
-
:type undo:
|
|
742
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
743
|
+
:type execution_context: str | int | None
|
|
744
|
+
:type undo: bool | None
|
|
805
745
|
:param mode: Mode
|
|
806
|
-
:type mode: typing.
|
|
746
|
+
:type mode: typing.Any | None
|
|
807
747
|
:param armature: Armature, Armature to use
|
|
808
|
-
:type armature:
|
|
748
|
+
:type armature: str | int | typing.Any | None
|
|
809
749
|
:param ratio: Ratio, Ratio between bone length and influence radius
|
|
810
|
-
:type ratio: typing.
|
|
750
|
+
:type ratio: typing.Any | None
|
|
811
751
|
:param decay: Decay, Factor to reduce influence depending of distance to bone axis
|
|
812
|
-
:type decay: typing.
|
|
752
|
+
:type decay: typing.Any | None
|
|
813
753
|
"""
|
|
814
754
|
|
|
815
755
|
...
|
|
816
756
|
|
|
817
757
|
def guide_rotate(
|
|
818
|
-
override_context: typing.
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
increment: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
824
|
-
angle: typing.Optional[typing.Any] = 0.0,
|
|
758
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
759
|
+
execution_context: str | int | None = None,
|
|
760
|
+
undo: bool | None = None,
|
|
761
|
+
increment: bool | typing.Any | None = True,
|
|
762
|
+
angle: typing.Any | None = 0.0,
|
|
825
763
|
):
|
|
826
764
|
"""Rotate guide angle
|
|
827
765
|
|
|
828
|
-
:type override_context:
|
|
829
|
-
:type execution_context:
|
|
830
|
-
:type undo:
|
|
766
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
767
|
+
:type execution_context: str | int | None
|
|
768
|
+
:type undo: bool | None
|
|
831
769
|
:param increment: Increment, Increment angle
|
|
832
|
-
:type increment:
|
|
770
|
+
:type increment: bool | typing.Any | None
|
|
833
771
|
:param angle: Angle, Guide angle
|
|
834
|
-
:type angle: typing.
|
|
772
|
+
:type angle: typing.Any | None
|
|
835
773
|
"""
|
|
836
774
|
|
|
837
775
|
...
|
|
838
776
|
|
|
839
777
|
def hide(
|
|
840
|
-
override_context: typing.
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
undo: typing.Optional[bool] = None,
|
|
845
|
-
unselected: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
778
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
779
|
+
execution_context: str | int | None = None,
|
|
780
|
+
undo: bool | None = None,
|
|
781
|
+
unselected: bool | typing.Any | None = False,
|
|
846
782
|
):
|
|
847
783
|
"""Hide selected/unselected Grease Pencil layers
|
|
848
784
|
|
|
849
|
-
:type override_context:
|
|
850
|
-
:type execution_context:
|
|
851
|
-
:type undo:
|
|
785
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
786
|
+
:type execution_context: str | int | None
|
|
787
|
+
:type undo: bool | None
|
|
852
788
|
:param unselected: Unselected, Hide unselected rather than selected layers
|
|
853
|
-
:type unselected:
|
|
789
|
+
:type unselected: bool | typing.Any | None
|
|
854
790
|
"""
|
|
855
791
|
|
|
856
792
|
...
|
|
857
793
|
|
|
858
794
|
def image_to_grease_pencil(
|
|
859
|
-
override_context: typing.
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
size: typing.Optional[typing.Any] = 0.005,
|
|
865
|
-
mask: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
795
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
796
|
+
execution_context: str | int | None = None,
|
|
797
|
+
undo: bool | None = None,
|
|
798
|
+
size: typing.Any | None = 0.005,
|
|
799
|
+
mask: bool | typing.Any | None = False,
|
|
866
800
|
):
|
|
867
801
|
"""Generate a Grease Pencil Object using Image as source
|
|
868
802
|
|
|
869
|
-
:type override_context:
|
|
870
|
-
:type execution_context:
|
|
871
|
-
:type undo:
|
|
803
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
804
|
+
:type execution_context: str | int | None
|
|
805
|
+
:type undo: bool | None
|
|
872
806
|
:param size: Point Size, Size used for grease pencil points
|
|
873
|
-
:type size: typing.
|
|
807
|
+
:type size: typing.Any | None
|
|
874
808
|
:param mask: Generate Mask, Create an inverted image for masking using alpha channel
|
|
875
|
-
:type mask:
|
|
809
|
+
:type mask: bool | typing.Any | None
|
|
876
810
|
"""
|
|
877
811
|
|
|
878
812
|
...
|
|
879
813
|
|
|
880
814
|
def interpolate(
|
|
881
|
-
override_context: typing.
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
smooth_factor: typing.Optional[typing.Any] = 0.0,
|
|
893
|
-
release_confirm: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
815
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
816
|
+
execution_context: str | int | None = None,
|
|
817
|
+
undo: bool | None = None,
|
|
818
|
+
shift: typing.Any | None = 0.0,
|
|
819
|
+
layers: typing.Any | None = "ACTIVE",
|
|
820
|
+
interpolate_selected_only: bool | typing.Any | None = False,
|
|
821
|
+
exclude_breakdowns: bool | typing.Any | None = False,
|
|
822
|
+
flip: typing.Any | None = "AUTO",
|
|
823
|
+
smooth_steps: typing.Any | None = 1,
|
|
824
|
+
smooth_factor: typing.Any | None = 0.0,
|
|
825
|
+
release_confirm: bool | typing.Any | None = False,
|
|
894
826
|
):
|
|
895
827
|
"""Interpolate grease pencil strokes between frames
|
|
896
828
|
|
|
897
|
-
:type override_context:
|
|
898
|
-
:type execution_context:
|
|
899
|
-
:type undo:
|
|
829
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
830
|
+
:type execution_context: str | int | None
|
|
831
|
+
:type undo: bool | None
|
|
900
832
|
:param shift: Shift, Bias factor for which frame has more influence on the interpolated strokes
|
|
901
|
-
:type shift: typing.
|
|
833
|
+
:type shift: typing.Any | None
|
|
902
834
|
:param layers: Layer, Layers included in the interpolation
|
|
903
|
-
:type layers: typing.
|
|
835
|
+
:type layers: typing.Any | None
|
|
904
836
|
:param interpolate_selected_only: Only Selected, Interpolate only selected strokes
|
|
905
|
-
:type interpolate_selected_only:
|
|
837
|
+
:type interpolate_selected_only: bool | typing.Any | None
|
|
906
838
|
:param exclude_breakdowns: Exclude Breakdowns, Exclude existing Breakdowns keyframes as interpolation extremes
|
|
907
|
-
:type exclude_breakdowns:
|
|
839
|
+
:type exclude_breakdowns: bool | typing.Any | None
|
|
908
840
|
:param flip: Flip Mode, Invert destination stroke to match start and end with source stroke
|
|
909
|
-
:type flip: typing.
|
|
841
|
+
:type flip: typing.Any | None
|
|
910
842
|
:param smooth_steps: Iterations, Number of times to smooth newly created strokes
|
|
911
|
-
:type smooth_steps: typing.
|
|
843
|
+
:type smooth_steps: typing.Any | None
|
|
912
844
|
:param smooth_factor: Smooth, Amount of smoothing to apply to interpolated strokes, to reduce jitter/noise
|
|
913
|
-
:type smooth_factor: typing.
|
|
845
|
+
:type smooth_factor: typing.Any | None
|
|
914
846
|
:param release_confirm: Confirm on Release
|
|
915
|
-
:type release_confirm:
|
|
847
|
+
:type release_confirm: bool | typing.Any | None
|
|
916
848
|
"""
|
|
917
849
|
|
|
918
850
|
...
|
|
919
851
|
|
|
920
852
|
def interpolate_reverse(
|
|
921
|
-
override_context: typing.
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
925
|
-
undo: typing.Optional[bool] = None,
|
|
853
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
854
|
+
execution_context: str | int | None = None,
|
|
855
|
+
undo: bool | None = None,
|
|
926
856
|
):
|
|
927
857
|
"""Remove breakdown frames generated by interpolating between two Grease Pencil frames
|
|
928
858
|
|
|
929
|
-
:type override_context:
|
|
930
|
-
:type execution_context:
|
|
931
|
-
:type undo:
|
|
859
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
860
|
+
:type execution_context: str | int | None
|
|
861
|
+
:type undo: bool | None
|
|
932
862
|
"""
|
|
933
863
|
|
|
934
864
|
...
|
|
935
865
|
|
|
936
866
|
def interpolate_sequence(
|
|
937
|
-
override_context: typing.
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
amplitude: typing.Optional[typing.Any] = 0.15,
|
|
953
|
-
period: typing.Optional[typing.Any] = 0.15,
|
|
867
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
868
|
+
execution_context: str | int | None = None,
|
|
869
|
+
undo: bool | None = None,
|
|
870
|
+
step: typing.Any | None = 1,
|
|
871
|
+
layers: typing.Any | None = "ACTIVE",
|
|
872
|
+
interpolate_selected_only: bool | typing.Any | None = False,
|
|
873
|
+
exclude_breakdowns: bool | typing.Any | None = False,
|
|
874
|
+
flip: typing.Any | None = "AUTO",
|
|
875
|
+
smooth_steps: typing.Any | None = 1,
|
|
876
|
+
smooth_factor: typing.Any | None = 0.0,
|
|
877
|
+
type: typing.Any | None = "LINEAR",
|
|
878
|
+
easing: typing.Any | None = "AUTO",
|
|
879
|
+
back: typing.Any | None = 1.702,
|
|
880
|
+
amplitude: typing.Any | None = 0.15,
|
|
881
|
+
period: typing.Any | None = 0.15,
|
|
954
882
|
):
|
|
955
883
|
"""Generate 'in-betweens' to smoothly interpolate between Grease Pencil frames
|
|
956
884
|
|
|
957
|
-
:type override_context:
|
|
958
|
-
:type execution_context:
|
|
959
|
-
:type undo:
|
|
885
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
886
|
+
:type execution_context: str | int | None
|
|
887
|
+
:type undo: bool | None
|
|
960
888
|
:param step: Step, Number of frames between generated interpolated frames
|
|
961
|
-
:type step: typing.
|
|
889
|
+
:type step: typing.Any | None
|
|
962
890
|
:param layers: Layer, Layers included in the interpolation
|
|
963
|
-
:type layers: typing.
|
|
891
|
+
:type layers: typing.Any | None
|
|
964
892
|
:param interpolate_selected_only: Only Selected, Interpolate only selected strokes
|
|
965
|
-
:type interpolate_selected_only:
|
|
893
|
+
:type interpolate_selected_only: bool | typing.Any | None
|
|
966
894
|
:param exclude_breakdowns: Exclude Breakdowns, Exclude existing Breakdowns keyframes as interpolation extremes
|
|
967
|
-
:type exclude_breakdowns:
|
|
895
|
+
:type exclude_breakdowns: bool | typing.Any | None
|
|
968
896
|
:param flip: Flip Mode, Invert destination stroke to match start and end with source stroke
|
|
969
|
-
:type flip: typing.
|
|
897
|
+
:type flip: typing.Any | None
|
|
970
898
|
:param smooth_steps: Iterations, Number of times to smooth newly created strokes
|
|
971
|
-
:type smooth_steps: typing.
|
|
899
|
+
:type smooth_steps: typing.Any | None
|
|
972
900
|
:param smooth_factor: Smooth, Amount of smoothing to apply to interpolated strokes, to reduce jitter/noise
|
|
973
|
-
:type smooth_factor: typing.
|
|
901
|
+
:type smooth_factor: typing.Any | None
|
|
974
902
|
:param type: Type, Interpolation method to use the next time 'Interpolate Sequence' is run
|
|
975
903
|
|
|
976
904
|
LINEAR
|
|
@@ -1008,7 +936,7 @@ def interpolate_sequence(
|
|
|
1008
936
|
|
|
1009
937
|
ELASTIC
|
|
1010
938
|
Elastic -- Exponentially decaying sine wave, like an elastic band.
|
|
1011
|
-
:type type: typing.
|
|
939
|
+
:type type: typing.Any | None
|
|
1012
940
|
:param easing: Easing, Which ends of the segment between the preceding and following grease pencil frames easing interpolation is applied to
|
|
1013
941
|
|
|
1014
942
|
AUTO
|
|
@@ -1022,255 +950,229 @@ def interpolate_sequence(
|
|
|
1022
950
|
|
|
1023
951
|
EASE_IN_OUT
|
|
1024
952
|
Ease In and Out -- Segment between both keyframes.
|
|
1025
|
-
:type easing: typing.
|
|
953
|
+
:type easing: typing.Any | None
|
|
1026
954
|
:param back: Back, Amount of overshoot for 'back' easing
|
|
1027
|
-
:type back: typing.
|
|
955
|
+
:type back: typing.Any | None
|
|
1028
956
|
:param amplitude: Amplitude, Amount to boost elastic bounces for 'elastic' easing
|
|
1029
|
-
:type amplitude: typing.
|
|
957
|
+
:type amplitude: typing.Any | None
|
|
1030
958
|
:param period: Period, Time between bounces for elastic easing
|
|
1031
|
-
:type period: typing.
|
|
959
|
+
:type period: typing.Any | None
|
|
1032
960
|
"""
|
|
1033
961
|
|
|
1034
962
|
...
|
|
1035
963
|
|
|
1036
964
|
def layer_active(
|
|
1037
|
-
override_context: typing.
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
undo: typing.Optional[bool] = None,
|
|
1042
|
-
layer: typing.Optional[typing.Any] = 0,
|
|
965
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
966
|
+
execution_context: str | int | None = None,
|
|
967
|
+
undo: bool | None = None,
|
|
968
|
+
layer: typing.Any | None = 0,
|
|
1043
969
|
):
|
|
1044
970
|
"""Active Grease Pencil layer
|
|
1045
971
|
|
|
1046
|
-
:type override_context:
|
|
1047
|
-
:type execution_context:
|
|
1048
|
-
:type undo:
|
|
972
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
973
|
+
:type execution_context: str | int | None
|
|
974
|
+
:type undo: bool | None
|
|
1049
975
|
:param layer: Grease Pencil Layer
|
|
1050
|
-
:type layer: typing.
|
|
976
|
+
:type layer: typing.Any | None
|
|
1051
977
|
"""
|
|
1052
978
|
|
|
1053
979
|
...
|
|
1054
980
|
|
|
1055
981
|
def layer_add(
|
|
1056
|
-
override_context: typing.
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
layer: typing.Optional[typing.Any] = 0,
|
|
1062
|
-
new_layer_name: typing.Union[str, typing.Any] = "",
|
|
982
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
983
|
+
execution_context: str | int | None = None,
|
|
984
|
+
undo: bool | None = None,
|
|
985
|
+
layer: typing.Any | None = 0,
|
|
986
|
+
new_layer_name: str | typing.Any = "",
|
|
1063
987
|
):
|
|
1064
988
|
"""Add new layer or note for the active data-block
|
|
1065
989
|
|
|
1066
|
-
:type override_context:
|
|
1067
|
-
:type execution_context:
|
|
1068
|
-
:type undo:
|
|
990
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
991
|
+
:type execution_context: str | int | None
|
|
992
|
+
:type undo: bool | None
|
|
1069
993
|
:param layer: Grease Pencil Layer
|
|
1070
|
-
:type layer: typing.
|
|
994
|
+
:type layer: typing.Any | None
|
|
1071
995
|
:param new_layer_name: Name, Name of the newly added layer
|
|
1072
|
-
:type new_layer_name:
|
|
996
|
+
:type new_layer_name: str | typing.Any
|
|
1073
997
|
"""
|
|
1074
998
|
|
|
1075
999
|
...
|
|
1076
1000
|
|
|
1077
1001
|
def layer_annotation_add(
|
|
1078
|
-
override_context: typing.
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1082
|
-
undo: typing.Optional[bool] = None,
|
|
1002
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1003
|
+
execution_context: str | int | None = None,
|
|
1004
|
+
undo: bool | None = None,
|
|
1083
1005
|
):
|
|
1084
1006
|
"""Add new Annotation layer or note for the active data-block
|
|
1085
1007
|
|
|
1086
|
-
:type override_context:
|
|
1087
|
-
:type execution_context:
|
|
1088
|
-
:type undo:
|
|
1008
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1009
|
+
:type execution_context: str | int | None
|
|
1010
|
+
:type undo: bool | None
|
|
1089
1011
|
"""
|
|
1090
1012
|
|
|
1091
1013
|
...
|
|
1092
1014
|
|
|
1093
1015
|
def layer_annotation_move(
|
|
1094
|
-
override_context: typing.
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
undo: typing.Optional[bool] = None,
|
|
1099
|
-
type: typing.Optional[typing.Any] = "UP",
|
|
1016
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1017
|
+
execution_context: str | int | None = None,
|
|
1018
|
+
undo: bool | None = None,
|
|
1019
|
+
type: typing.Any | None = "UP",
|
|
1100
1020
|
):
|
|
1101
1021
|
"""Move the active Annotation layer up/down in the list
|
|
1102
1022
|
|
|
1103
|
-
:type override_context:
|
|
1104
|
-
:type execution_context:
|
|
1105
|
-
:type undo:
|
|
1023
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1024
|
+
:type execution_context: str | int | None
|
|
1025
|
+
:type undo: bool | None
|
|
1106
1026
|
:param type: Type
|
|
1107
|
-
:type type: typing.
|
|
1027
|
+
:type type: typing.Any | None
|
|
1108
1028
|
"""
|
|
1109
1029
|
|
|
1110
1030
|
...
|
|
1111
1031
|
|
|
1112
1032
|
def layer_annotation_remove(
|
|
1113
|
-
override_context: typing.
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1117
|
-
undo: typing.Optional[bool] = None,
|
|
1033
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1034
|
+
execution_context: str | int | None = None,
|
|
1035
|
+
undo: bool | None = None,
|
|
1118
1036
|
):
|
|
1119
1037
|
"""Remove active Annotation layer
|
|
1120
1038
|
|
|
1121
|
-
:type override_context:
|
|
1122
|
-
:type execution_context:
|
|
1123
|
-
:type undo:
|
|
1039
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1040
|
+
:type execution_context: str | int | None
|
|
1041
|
+
:type undo: bool | None
|
|
1124
1042
|
"""
|
|
1125
1043
|
|
|
1126
1044
|
...
|
|
1127
1045
|
|
|
1128
1046
|
def layer_change(
|
|
1129
|
-
override_context: typing.
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
undo: typing.Optional[bool] = None,
|
|
1134
|
-
layer: typing.Optional[typing.Union[str, int, typing.Any]] = "DEFAULT",
|
|
1047
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1048
|
+
execution_context: str | int | None = None,
|
|
1049
|
+
undo: bool | None = None,
|
|
1050
|
+
layer: str | int | typing.Any | None = "DEFAULT",
|
|
1135
1051
|
):
|
|
1136
1052
|
"""Change active Grease Pencil layer
|
|
1137
1053
|
|
|
1138
|
-
:type override_context:
|
|
1139
|
-
:type execution_context:
|
|
1140
|
-
:type undo:
|
|
1054
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1055
|
+
:type execution_context: str | int | None
|
|
1056
|
+
:type undo: bool | None
|
|
1141
1057
|
:param layer: Grease Pencil Layer
|
|
1142
|
-
:type layer:
|
|
1058
|
+
:type layer: str | int | typing.Any | None
|
|
1143
1059
|
"""
|
|
1144
1060
|
|
|
1145
1061
|
...
|
|
1146
1062
|
|
|
1147
1063
|
def layer_duplicate(
|
|
1148
|
-
override_context: typing.
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
undo: typing.Optional[bool] = None,
|
|
1153
|
-
mode: typing.Optional[typing.Any] = "ALL",
|
|
1064
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1065
|
+
execution_context: str | int | None = None,
|
|
1066
|
+
undo: bool | None = None,
|
|
1067
|
+
mode: typing.Any | None = "ALL",
|
|
1154
1068
|
):
|
|
1155
1069
|
"""Make a copy of the active Grease Pencil layer
|
|
1156
1070
|
|
|
1157
|
-
:type override_context:
|
|
1158
|
-
:type execution_context:
|
|
1159
|
-
:type undo:
|
|
1071
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1072
|
+
:type execution_context: str | int | None
|
|
1073
|
+
:type undo: bool | None
|
|
1160
1074
|
:param mode: Mode
|
|
1161
|
-
:type mode: typing.
|
|
1075
|
+
:type mode: typing.Any | None
|
|
1162
1076
|
"""
|
|
1163
1077
|
|
|
1164
1078
|
...
|
|
1165
1079
|
|
|
1166
1080
|
def layer_duplicate_object(
|
|
1167
|
-
override_context: typing.
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
mode: typing.Optional[typing.Any] = "ALL",
|
|
1173
|
-
only_active: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
1081
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1082
|
+
execution_context: str | int | None = None,
|
|
1083
|
+
undo: bool | None = None,
|
|
1084
|
+
mode: typing.Any | None = "ALL",
|
|
1085
|
+
only_active: bool | typing.Any | None = True,
|
|
1174
1086
|
):
|
|
1175
1087
|
"""Make a copy of the active Grease Pencil layer to selected object
|
|
1176
1088
|
|
|
1177
|
-
:type override_context:
|
|
1178
|
-
:type execution_context:
|
|
1179
|
-
:type undo:
|
|
1089
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1090
|
+
:type execution_context: str | int | None
|
|
1091
|
+
:type undo: bool | None
|
|
1180
1092
|
:param mode: Mode
|
|
1181
|
-
:type mode: typing.
|
|
1093
|
+
:type mode: typing.Any | None
|
|
1182
1094
|
:param only_active: Only Active, Copy only active Layer, uncheck to append all layers
|
|
1183
|
-
:type only_active:
|
|
1095
|
+
:type only_active: bool | typing.Any | None
|
|
1184
1096
|
"""
|
|
1185
1097
|
|
|
1186
1098
|
...
|
|
1187
1099
|
|
|
1188
1100
|
def layer_isolate(
|
|
1189
|
-
override_context: typing.
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
undo: typing.Optional[bool] = None,
|
|
1194
|
-
affect_visibility: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1101
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1102
|
+
execution_context: str | int | None = None,
|
|
1103
|
+
undo: bool | None = None,
|
|
1104
|
+
affect_visibility: bool | typing.Any | None = False,
|
|
1195
1105
|
):
|
|
1196
1106
|
"""Toggle whether the active layer is the only one that can be edited and/or visible
|
|
1197
1107
|
|
|
1198
|
-
:type override_context:
|
|
1199
|
-
:type execution_context:
|
|
1200
|
-
:type undo:
|
|
1108
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1109
|
+
:type execution_context: str | int | None
|
|
1110
|
+
:type undo: bool | None
|
|
1201
1111
|
:param affect_visibility: Affect Visibility, In addition to toggling the editability, also affect the visibility
|
|
1202
|
-
:type affect_visibility:
|
|
1112
|
+
:type affect_visibility: bool | typing.Any | None
|
|
1203
1113
|
"""
|
|
1204
1114
|
|
|
1205
1115
|
...
|
|
1206
1116
|
|
|
1207
1117
|
def layer_mask_add(
|
|
1208
|
-
override_context: typing.
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
undo: typing.Optional[bool] = None,
|
|
1213
|
-
name: typing.Union[str, typing.Any] = "",
|
|
1118
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1119
|
+
execution_context: str | int | None = None,
|
|
1120
|
+
undo: bool | None = None,
|
|
1121
|
+
name: str | typing.Any = "",
|
|
1214
1122
|
):
|
|
1215
1123
|
"""Add new layer as masking
|
|
1216
1124
|
|
|
1217
|
-
:type override_context:
|
|
1218
|
-
:type execution_context:
|
|
1219
|
-
:type undo:
|
|
1125
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1126
|
+
:type execution_context: str | int | None
|
|
1127
|
+
:type undo: bool | None
|
|
1220
1128
|
:param name: Layer, Name of the layer
|
|
1221
|
-
:type name:
|
|
1129
|
+
:type name: str | typing.Any
|
|
1222
1130
|
"""
|
|
1223
1131
|
|
|
1224
1132
|
...
|
|
1225
1133
|
|
|
1226
1134
|
def layer_mask_move(
|
|
1227
|
-
override_context: typing.
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
undo: typing.Optional[bool] = None,
|
|
1232
|
-
type: typing.Optional[typing.Any] = "UP",
|
|
1135
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1136
|
+
execution_context: str | int | None = None,
|
|
1137
|
+
undo: bool | None = None,
|
|
1138
|
+
type: typing.Any | None = "UP",
|
|
1233
1139
|
):
|
|
1234
1140
|
"""Move the active Grease Pencil mask layer up/down in the list
|
|
1235
1141
|
|
|
1236
|
-
:type override_context:
|
|
1237
|
-
:type execution_context:
|
|
1238
|
-
:type undo:
|
|
1142
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1143
|
+
:type execution_context: str | int | None
|
|
1144
|
+
:type undo: bool | None
|
|
1239
1145
|
:param type: Type
|
|
1240
|
-
:type type: typing.
|
|
1146
|
+
:type type: typing.Any | None
|
|
1241
1147
|
"""
|
|
1242
1148
|
|
|
1243
1149
|
...
|
|
1244
1150
|
|
|
1245
1151
|
def layer_mask_remove(
|
|
1246
|
-
override_context: typing.
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1250
|
-
undo: typing.Optional[bool] = None,
|
|
1152
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1153
|
+
execution_context: str | int | None = None,
|
|
1154
|
+
undo: bool | None = None,
|
|
1251
1155
|
):
|
|
1252
1156
|
"""Remove Layer Mask
|
|
1253
1157
|
|
|
1254
|
-
:type override_context:
|
|
1255
|
-
:type execution_context:
|
|
1256
|
-
:type undo:
|
|
1158
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1159
|
+
:type execution_context: str | int | None
|
|
1160
|
+
:type undo: bool | None
|
|
1257
1161
|
"""
|
|
1258
1162
|
|
|
1259
1163
|
...
|
|
1260
1164
|
|
|
1261
1165
|
def layer_merge(
|
|
1262
|
-
override_context: typing.
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
undo: typing.Optional[bool] = None,
|
|
1267
|
-
mode: typing.Optional[typing.Any] = "ACTIVE",
|
|
1166
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1167
|
+
execution_context: str | int | None = None,
|
|
1168
|
+
undo: bool | None = None,
|
|
1169
|
+
mode: typing.Any | None = "ACTIVE",
|
|
1268
1170
|
):
|
|
1269
1171
|
"""Combine Layers
|
|
1270
1172
|
|
|
1271
|
-
:type override_context:
|
|
1272
|
-
:type execution_context:
|
|
1273
|
-
:type undo:
|
|
1173
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1174
|
+
:type execution_context: str | int | None
|
|
1175
|
+
:type undo: bool | None
|
|
1274
1176
|
:param mode: Mode
|
|
1275
1177
|
|
|
1276
1178
|
ACTIVE
|
|
@@ -1278,499 +1180,451 @@ def layer_merge(
|
|
|
1278
1180
|
|
|
1279
1181
|
ALL
|
|
1280
1182
|
All -- Combine all layers into the active layer.
|
|
1281
|
-
:type mode: typing.
|
|
1183
|
+
:type mode: typing.Any | None
|
|
1282
1184
|
"""
|
|
1283
1185
|
|
|
1284
1186
|
...
|
|
1285
1187
|
|
|
1286
1188
|
def layer_move(
|
|
1287
|
-
override_context: typing.
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
undo: typing.Optional[bool] = None,
|
|
1292
|
-
type: typing.Optional[typing.Any] = "UP",
|
|
1189
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1190
|
+
execution_context: str | int | None = None,
|
|
1191
|
+
undo: bool | None = None,
|
|
1192
|
+
type: typing.Any | None = "UP",
|
|
1293
1193
|
):
|
|
1294
1194
|
"""Move the active Grease Pencil layer up/down in the list
|
|
1295
1195
|
|
|
1296
|
-
:type override_context:
|
|
1297
|
-
:type execution_context:
|
|
1298
|
-
:type undo:
|
|
1196
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1197
|
+
:type execution_context: str | int | None
|
|
1198
|
+
:type undo: bool | None
|
|
1299
1199
|
:param type: Type
|
|
1300
|
-
:type type: typing.
|
|
1200
|
+
:type type: typing.Any | None
|
|
1301
1201
|
"""
|
|
1302
1202
|
|
|
1303
1203
|
...
|
|
1304
1204
|
|
|
1305
1205
|
def layer_remove(
|
|
1306
|
-
override_context: typing.
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1310
|
-
undo: typing.Optional[bool] = None,
|
|
1206
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1207
|
+
execution_context: str | int | None = None,
|
|
1208
|
+
undo: bool | None = None,
|
|
1311
1209
|
):
|
|
1312
1210
|
"""Remove active Grease Pencil layer
|
|
1313
1211
|
|
|
1314
|
-
:type override_context:
|
|
1315
|
-
:type execution_context:
|
|
1316
|
-
:type undo:
|
|
1212
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1213
|
+
:type execution_context: str | int | None
|
|
1214
|
+
:type undo: bool | None
|
|
1317
1215
|
"""
|
|
1318
1216
|
|
|
1319
1217
|
...
|
|
1320
1218
|
|
|
1321
1219
|
def lock_all(
|
|
1322
|
-
override_context: typing.
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1326
|
-
undo: typing.Optional[bool] = None,
|
|
1220
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1221
|
+
execution_context: str | int | None = None,
|
|
1222
|
+
undo: bool | None = None,
|
|
1327
1223
|
):
|
|
1328
1224
|
"""Lock all Grease Pencil layers to prevent them from being accidentally modified
|
|
1329
1225
|
|
|
1330
|
-
:type override_context:
|
|
1331
|
-
:type execution_context:
|
|
1332
|
-
:type undo:
|
|
1226
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1227
|
+
:type execution_context: str | int | None
|
|
1228
|
+
:type undo: bool | None
|
|
1333
1229
|
"""
|
|
1334
1230
|
|
|
1335
1231
|
...
|
|
1336
1232
|
|
|
1337
1233
|
def lock_layer(
|
|
1338
|
-
override_context: typing.
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1342
|
-
undo: typing.Optional[bool] = None,
|
|
1234
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1235
|
+
execution_context: str | int | None = None,
|
|
1236
|
+
undo: bool | None = None,
|
|
1343
1237
|
):
|
|
1344
1238
|
"""Lock and hide any color not used in any layer
|
|
1345
1239
|
|
|
1346
|
-
:type override_context:
|
|
1347
|
-
:type execution_context:
|
|
1348
|
-
:type undo:
|
|
1240
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1241
|
+
:type execution_context: str | int | None
|
|
1242
|
+
:type undo: bool | None
|
|
1349
1243
|
"""
|
|
1350
1244
|
|
|
1351
1245
|
...
|
|
1352
1246
|
|
|
1353
1247
|
def material_hide(
|
|
1354
|
-
override_context: typing.
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
undo: typing.Optional[bool] = None,
|
|
1359
|
-
unselected: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1248
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1249
|
+
execution_context: str | int | None = None,
|
|
1250
|
+
undo: bool | None = None,
|
|
1251
|
+
unselected: bool | typing.Any | None = False,
|
|
1360
1252
|
):
|
|
1361
1253
|
"""Hide selected/unselected Grease Pencil materials
|
|
1362
1254
|
|
|
1363
|
-
:type override_context:
|
|
1364
|
-
:type execution_context:
|
|
1365
|
-
:type undo:
|
|
1255
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1256
|
+
:type execution_context: str | int | None
|
|
1257
|
+
:type undo: bool | None
|
|
1366
1258
|
:param unselected: Unselected, Hide unselected rather than selected colors
|
|
1367
|
-
:type unselected:
|
|
1259
|
+
:type unselected: bool | typing.Any | None
|
|
1368
1260
|
"""
|
|
1369
1261
|
|
|
1370
1262
|
...
|
|
1371
1263
|
|
|
1372
1264
|
def material_isolate(
|
|
1373
|
-
override_context: typing.
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
undo: typing.Optional[bool] = None,
|
|
1378
|
-
affect_visibility: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1265
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1266
|
+
execution_context: str | int | None = None,
|
|
1267
|
+
undo: bool | None = None,
|
|
1268
|
+
affect_visibility: bool | typing.Any | None = False,
|
|
1379
1269
|
):
|
|
1380
1270
|
"""Toggle whether the active material is the only one that is editable and/or visible
|
|
1381
1271
|
|
|
1382
|
-
:type override_context:
|
|
1383
|
-
:type execution_context:
|
|
1384
|
-
:type undo:
|
|
1272
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1273
|
+
:type execution_context: str | int | None
|
|
1274
|
+
:type undo: bool | None
|
|
1385
1275
|
:param affect_visibility: Affect Visibility, In addition to toggling the editability, also affect the visibility
|
|
1386
|
-
:type affect_visibility:
|
|
1276
|
+
:type affect_visibility: bool | typing.Any | None
|
|
1387
1277
|
"""
|
|
1388
1278
|
|
|
1389
1279
|
...
|
|
1390
1280
|
|
|
1391
1281
|
def material_lock_all(
|
|
1392
|
-
override_context: typing.
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1396
|
-
undo: typing.Optional[bool] = None,
|
|
1282
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1283
|
+
execution_context: str | int | None = None,
|
|
1284
|
+
undo: bool | None = None,
|
|
1397
1285
|
):
|
|
1398
1286
|
"""Lock all Grease Pencil materials to prevent them from being accidentally modified
|
|
1399
1287
|
|
|
1400
|
-
:type override_context:
|
|
1401
|
-
:type execution_context:
|
|
1402
|
-
:type undo:
|
|
1288
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1289
|
+
:type execution_context: str | int | None
|
|
1290
|
+
:type undo: bool | None
|
|
1403
1291
|
"""
|
|
1404
1292
|
|
|
1405
1293
|
...
|
|
1406
1294
|
|
|
1407
1295
|
def material_lock_unused(
|
|
1408
|
-
override_context: typing.
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1412
|
-
undo: typing.Optional[bool] = None,
|
|
1296
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1297
|
+
execution_context: str | int | None = None,
|
|
1298
|
+
undo: bool | None = None,
|
|
1413
1299
|
):
|
|
1414
1300
|
"""Lock any material not used in any selected stroke
|
|
1415
1301
|
|
|
1416
|
-
:type override_context:
|
|
1417
|
-
:type execution_context:
|
|
1418
|
-
:type undo:
|
|
1302
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1303
|
+
:type execution_context: str | int | None
|
|
1304
|
+
:type undo: bool | None
|
|
1419
1305
|
"""
|
|
1420
1306
|
|
|
1421
1307
|
...
|
|
1422
1308
|
|
|
1423
1309
|
def material_reveal(
|
|
1424
|
-
override_context: typing.
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1428
|
-
undo: typing.Optional[bool] = None,
|
|
1310
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1311
|
+
execution_context: str | int | None = None,
|
|
1312
|
+
undo: bool | None = None,
|
|
1429
1313
|
):
|
|
1430
1314
|
"""Unhide all hidden Grease Pencil materials
|
|
1431
1315
|
|
|
1432
|
-
:type override_context:
|
|
1433
|
-
:type execution_context:
|
|
1434
|
-
:type undo:
|
|
1316
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1317
|
+
:type execution_context: str | int | None
|
|
1318
|
+
:type undo: bool | None
|
|
1435
1319
|
"""
|
|
1436
1320
|
|
|
1437
1321
|
...
|
|
1438
1322
|
|
|
1439
1323
|
def material_select(
|
|
1440
|
-
override_context: typing.
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
undo: typing.Optional[bool] = None,
|
|
1445
|
-
deselect: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1324
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1325
|
+
execution_context: str | int | None = None,
|
|
1326
|
+
undo: bool | None = None,
|
|
1327
|
+
deselect: bool | typing.Any | None = False,
|
|
1446
1328
|
):
|
|
1447
1329
|
"""Select/Deselect all Grease Pencil strokes using current material
|
|
1448
1330
|
|
|
1449
|
-
:type override_context:
|
|
1450
|
-
:type execution_context:
|
|
1451
|
-
:type undo:
|
|
1331
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1332
|
+
:type execution_context: str | int | None
|
|
1333
|
+
:type undo: bool | None
|
|
1452
1334
|
:param deselect: Deselect, Unselect strokes
|
|
1453
|
-
:type deselect:
|
|
1335
|
+
:type deselect: bool | typing.Any | None
|
|
1454
1336
|
"""
|
|
1455
1337
|
|
|
1456
1338
|
...
|
|
1457
1339
|
|
|
1458
1340
|
def material_set(
|
|
1459
|
-
override_context: typing.
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
undo: typing.Optional[bool] = None,
|
|
1464
|
-
slot: typing.Optional[typing.Union[str, int, typing.Any]] = "DEFAULT",
|
|
1341
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1342
|
+
execution_context: str | int | None = None,
|
|
1343
|
+
undo: bool | None = None,
|
|
1344
|
+
slot: str | int | typing.Any | None = "DEFAULT",
|
|
1465
1345
|
):
|
|
1466
1346
|
"""Set active material
|
|
1467
1347
|
|
|
1468
|
-
:type override_context:
|
|
1469
|
-
:type execution_context:
|
|
1470
|
-
:type undo:
|
|
1348
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1349
|
+
:type execution_context: str | int | None
|
|
1350
|
+
:type undo: bool | None
|
|
1471
1351
|
:param slot: Material Slot
|
|
1472
|
-
:type slot:
|
|
1352
|
+
:type slot: str | int | typing.Any | None
|
|
1473
1353
|
"""
|
|
1474
1354
|
|
|
1475
1355
|
...
|
|
1476
1356
|
|
|
1477
1357
|
def material_to_vertex_color(
|
|
1478
|
-
override_context: typing.
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
selected: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1486
|
-
threshold: typing.Optional[typing.Any] = 3,
|
|
1358
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1359
|
+
execution_context: str | int | None = None,
|
|
1360
|
+
undo: bool | None = None,
|
|
1361
|
+
remove: bool | typing.Any | None = True,
|
|
1362
|
+
palette: bool | typing.Any | None = True,
|
|
1363
|
+
selected: bool | typing.Any | None = False,
|
|
1364
|
+
threshold: typing.Any | None = 3,
|
|
1487
1365
|
):
|
|
1488
1366
|
"""Replace materials in strokes with Vertex Color
|
|
1489
1367
|
|
|
1490
|
-
:type override_context:
|
|
1491
|
-
:type execution_context:
|
|
1492
|
-
:type undo:
|
|
1368
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1369
|
+
:type execution_context: str | int | None
|
|
1370
|
+
:type undo: bool | None
|
|
1493
1371
|
:param remove: Remove Unused Materials, Remove any unused material after the conversion
|
|
1494
|
-
:type remove:
|
|
1372
|
+
:type remove: bool | typing.Any | None
|
|
1495
1373
|
:param palette: Create Palette, Create a new palette with colors
|
|
1496
|
-
:type palette:
|
|
1374
|
+
:type palette: bool | typing.Any | None
|
|
1497
1375
|
:param selected: Only Selected, Convert only selected strokes
|
|
1498
|
-
:type selected:
|
|
1376
|
+
:type selected: bool | typing.Any | None
|
|
1499
1377
|
:param threshold: Threshold
|
|
1500
|
-
:type threshold: typing.
|
|
1378
|
+
:type threshold: typing.Any | None
|
|
1501
1379
|
"""
|
|
1502
1380
|
|
|
1503
1381
|
...
|
|
1504
1382
|
|
|
1505
1383
|
def material_unlock_all(
|
|
1506
|
-
override_context: typing.
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1510
|
-
undo: typing.Optional[bool] = None,
|
|
1384
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1385
|
+
execution_context: str | int | None = None,
|
|
1386
|
+
undo: bool | None = None,
|
|
1511
1387
|
):
|
|
1512
1388
|
"""Unlock all Grease Pencil materials so that they can be edited
|
|
1513
1389
|
|
|
1514
|
-
:type override_context:
|
|
1515
|
-
:type execution_context:
|
|
1516
|
-
:type undo:
|
|
1390
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1391
|
+
:type execution_context: str | int | None
|
|
1392
|
+
:type undo: bool | None
|
|
1517
1393
|
"""
|
|
1518
1394
|
|
|
1519
1395
|
...
|
|
1520
1396
|
|
|
1521
1397
|
def materials_copy_to_object(
|
|
1522
|
-
override_context: typing.
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
undo: typing.Optional[bool] = None,
|
|
1527
|
-
only_active: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
1398
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1399
|
+
execution_context: str | int | None = None,
|
|
1400
|
+
undo: bool | None = None,
|
|
1401
|
+
only_active: bool | typing.Any | None = True,
|
|
1528
1402
|
):
|
|
1529
1403
|
"""Append Materials of the active Grease Pencil to other object
|
|
1530
1404
|
|
|
1531
|
-
:type override_context:
|
|
1532
|
-
:type execution_context:
|
|
1533
|
-
:type undo:
|
|
1405
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1406
|
+
:type execution_context: str | int | None
|
|
1407
|
+
:type undo: bool | None
|
|
1534
1408
|
:param only_active: Only Active, Append only active material, uncheck to append all materials
|
|
1535
|
-
:type only_active:
|
|
1409
|
+
:type only_active: bool | typing.Any | None
|
|
1536
1410
|
"""
|
|
1537
1411
|
|
|
1538
1412
|
...
|
|
1539
1413
|
|
|
1540
1414
|
def move_to_layer(
|
|
1541
|
-
override_context: typing.
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
layer: typing.Optional[typing.Any] = 0,
|
|
1547
|
-
new_layer_name: typing.Union[str, typing.Any] = "",
|
|
1415
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1416
|
+
execution_context: str | int | None = None,
|
|
1417
|
+
undo: bool | None = None,
|
|
1418
|
+
layer: typing.Any | None = 0,
|
|
1419
|
+
new_layer_name: str | typing.Any = "",
|
|
1548
1420
|
):
|
|
1549
1421
|
"""Move selected strokes to another layer
|
|
1550
1422
|
|
|
1551
|
-
:type override_context:
|
|
1552
|
-
:type execution_context:
|
|
1553
|
-
:type undo:
|
|
1423
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1424
|
+
:type execution_context: str | int | None
|
|
1425
|
+
:type undo: bool | None
|
|
1554
1426
|
:param layer: Grease Pencil Layer
|
|
1555
|
-
:type layer: typing.
|
|
1427
|
+
:type layer: typing.Any | None
|
|
1556
1428
|
:param new_layer_name: Name, Name of the newly added layer
|
|
1557
|
-
:type new_layer_name:
|
|
1429
|
+
:type new_layer_name: str | typing.Any
|
|
1558
1430
|
"""
|
|
1559
1431
|
|
|
1560
1432
|
...
|
|
1561
1433
|
|
|
1562
1434
|
def paintmode_toggle(
|
|
1563
|
-
override_context: typing.
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
undo: typing.Optional[bool] = None,
|
|
1568
|
-
back: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1435
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1436
|
+
execution_context: str | int | None = None,
|
|
1437
|
+
undo: bool | None = None,
|
|
1438
|
+
back: bool | typing.Any | None = False,
|
|
1569
1439
|
):
|
|
1570
1440
|
"""Enter/Exit paint mode for Grease Pencil strokes
|
|
1571
1441
|
|
|
1572
|
-
:type override_context:
|
|
1573
|
-
:type execution_context:
|
|
1574
|
-
:type undo:
|
|
1442
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1443
|
+
:type execution_context: str | int | None
|
|
1444
|
+
:type undo: bool | None
|
|
1575
1445
|
:param back: Return to Previous Mode, Return to previous mode
|
|
1576
|
-
:type back:
|
|
1446
|
+
:type back: bool | typing.Any | None
|
|
1577
1447
|
"""
|
|
1578
1448
|
|
|
1579
1449
|
...
|
|
1580
1450
|
|
|
1581
1451
|
def paste(
|
|
1582
|
-
override_context: typing.
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
type: typing.Optional[typing.Any] = "ACTIVE",
|
|
1588
|
-
paste_back: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1452
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1453
|
+
execution_context: str | int | None = None,
|
|
1454
|
+
undo: bool | None = None,
|
|
1455
|
+
type: typing.Any | None = "ACTIVE",
|
|
1456
|
+
paste_back: bool | typing.Any | None = False,
|
|
1589
1457
|
):
|
|
1590
1458
|
"""Paste previously copied strokes to active layer or to original layer
|
|
1591
1459
|
|
|
1592
|
-
:type override_context:
|
|
1593
|
-
:type execution_context:
|
|
1594
|
-
:type undo:
|
|
1460
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1461
|
+
:type execution_context: str | int | None
|
|
1462
|
+
:type undo: bool | None
|
|
1595
1463
|
:param type: Type
|
|
1596
|
-
:type type: typing.
|
|
1464
|
+
:type type: typing.Any | None
|
|
1597
1465
|
:param paste_back: Paste on Back, Add pasted strokes behind all strokes
|
|
1598
|
-
:type paste_back:
|
|
1466
|
+
:type paste_back: bool | typing.Any | None
|
|
1599
1467
|
"""
|
|
1600
1468
|
|
|
1601
1469
|
...
|
|
1602
1470
|
|
|
1603
1471
|
def primitive_box(
|
|
1604
|
-
override_context: typing.
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
type: typing.Optional[typing.Any] = "BOX",
|
|
1612
|
-
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
1472
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1473
|
+
execution_context: str | int | None = None,
|
|
1474
|
+
undo: bool | None = None,
|
|
1475
|
+
subdivision: typing.Any | None = 3,
|
|
1476
|
+
edges: typing.Any | None = 1,
|
|
1477
|
+
type: typing.Any | None = "BOX",
|
|
1478
|
+
wait_for_input: bool | typing.Any | None = True,
|
|
1613
1479
|
):
|
|
1614
1480
|
"""Create predefined grease pencil stroke box shapes
|
|
1615
1481
|
|
|
1616
|
-
:type override_context:
|
|
1617
|
-
:type execution_context:
|
|
1618
|
-
:type undo:
|
|
1482
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1483
|
+
:type execution_context: str | int | None
|
|
1484
|
+
:type undo: bool | None
|
|
1619
1485
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
1620
|
-
:type subdivision: typing.
|
|
1486
|
+
:type subdivision: typing.Any | None
|
|
1621
1487
|
:param edges: Edges, Number of points per segment
|
|
1622
|
-
:type edges: typing.
|
|
1488
|
+
:type edges: typing.Any | None
|
|
1623
1489
|
:param type: Type, Type of shape
|
|
1624
|
-
:type type: typing.
|
|
1490
|
+
:type type: typing.Any | None
|
|
1625
1491
|
:param wait_for_input: Wait for Input
|
|
1626
|
-
:type wait_for_input:
|
|
1492
|
+
:type wait_for_input: bool | typing.Any | None
|
|
1627
1493
|
"""
|
|
1628
1494
|
|
|
1629
1495
|
...
|
|
1630
1496
|
|
|
1631
1497
|
def primitive_circle(
|
|
1632
|
-
override_context: typing.
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
type: typing.Optional[typing.Any] = "CIRCLE",
|
|
1640
|
-
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
1498
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1499
|
+
execution_context: str | int | None = None,
|
|
1500
|
+
undo: bool | None = None,
|
|
1501
|
+
subdivision: typing.Any | None = 94,
|
|
1502
|
+
edges: typing.Any | None = 1,
|
|
1503
|
+
type: typing.Any | None = "CIRCLE",
|
|
1504
|
+
wait_for_input: bool | typing.Any | None = True,
|
|
1641
1505
|
):
|
|
1642
1506
|
"""Create predefined grease pencil stroke circle shapes
|
|
1643
1507
|
|
|
1644
|
-
:type override_context:
|
|
1645
|
-
:type execution_context:
|
|
1646
|
-
:type undo:
|
|
1508
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1509
|
+
:type execution_context: str | int | None
|
|
1510
|
+
:type undo: bool | None
|
|
1647
1511
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
1648
|
-
:type subdivision: typing.
|
|
1512
|
+
:type subdivision: typing.Any | None
|
|
1649
1513
|
:param edges: Edges, Number of points per segment
|
|
1650
|
-
:type edges: typing.
|
|
1514
|
+
:type edges: typing.Any | None
|
|
1651
1515
|
:param type: Type, Type of shape
|
|
1652
|
-
:type type: typing.
|
|
1516
|
+
:type type: typing.Any | None
|
|
1653
1517
|
:param wait_for_input: Wait for Input
|
|
1654
|
-
:type wait_for_input:
|
|
1518
|
+
:type wait_for_input: bool | typing.Any | None
|
|
1655
1519
|
"""
|
|
1656
1520
|
|
|
1657
1521
|
...
|
|
1658
1522
|
|
|
1659
1523
|
def primitive_curve(
|
|
1660
|
-
override_context: typing.
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
type: typing.Optional[typing.Any] = "CURVE",
|
|
1668
|
-
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
1524
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1525
|
+
execution_context: str | int | None = None,
|
|
1526
|
+
undo: bool | None = None,
|
|
1527
|
+
subdivision: typing.Any | None = 62,
|
|
1528
|
+
edges: typing.Any | None = 1,
|
|
1529
|
+
type: typing.Any | None = "CURVE",
|
|
1530
|
+
wait_for_input: bool | typing.Any | None = True,
|
|
1669
1531
|
):
|
|
1670
1532
|
"""Create predefined grease pencil stroke curve shapes
|
|
1671
1533
|
|
|
1672
|
-
:type override_context:
|
|
1673
|
-
:type execution_context:
|
|
1674
|
-
:type undo:
|
|
1534
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1535
|
+
:type execution_context: str | int | None
|
|
1536
|
+
:type undo: bool | None
|
|
1675
1537
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
1676
|
-
:type subdivision: typing.
|
|
1538
|
+
:type subdivision: typing.Any | None
|
|
1677
1539
|
:param edges: Edges, Number of points per segment
|
|
1678
|
-
:type edges: typing.
|
|
1540
|
+
:type edges: typing.Any | None
|
|
1679
1541
|
:param type: Type, Type of shape
|
|
1680
|
-
:type type: typing.
|
|
1542
|
+
:type type: typing.Any | None
|
|
1681
1543
|
:param wait_for_input: Wait for Input
|
|
1682
|
-
:type wait_for_input:
|
|
1544
|
+
:type wait_for_input: bool | typing.Any | None
|
|
1683
1545
|
"""
|
|
1684
1546
|
|
|
1685
1547
|
...
|
|
1686
1548
|
|
|
1687
1549
|
def primitive_line(
|
|
1688
|
-
override_context: typing.
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
type: typing.Optional[typing.Any] = "LINE",
|
|
1696
|
-
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
1550
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1551
|
+
execution_context: str | int | None = None,
|
|
1552
|
+
undo: bool | None = None,
|
|
1553
|
+
subdivision: typing.Any | None = 6,
|
|
1554
|
+
edges: typing.Any | None = 1,
|
|
1555
|
+
type: typing.Any | None = "LINE",
|
|
1556
|
+
wait_for_input: bool | typing.Any | None = True,
|
|
1697
1557
|
):
|
|
1698
1558
|
"""Create predefined grease pencil stroke lines
|
|
1699
1559
|
|
|
1700
|
-
:type override_context:
|
|
1701
|
-
:type execution_context:
|
|
1702
|
-
:type undo:
|
|
1560
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1561
|
+
:type execution_context: str | int | None
|
|
1562
|
+
:type undo: bool | None
|
|
1703
1563
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
1704
|
-
:type subdivision: typing.
|
|
1564
|
+
:type subdivision: typing.Any | None
|
|
1705
1565
|
:param edges: Edges, Number of points per segment
|
|
1706
|
-
:type edges: typing.
|
|
1566
|
+
:type edges: typing.Any | None
|
|
1707
1567
|
:param type: Type, Type of shape
|
|
1708
|
-
:type type: typing.
|
|
1568
|
+
:type type: typing.Any | None
|
|
1709
1569
|
:param wait_for_input: Wait for Input
|
|
1710
|
-
:type wait_for_input:
|
|
1570
|
+
:type wait_for_input: bool | typing.Any | None
|
|
1711
1571
|
"""
|
|
1712
1572
|
|
|
1713
1573
|
...
|
|
1714
1574
|
|
|
1715
1575
|
def primitive_polyline(
|
|
1716
|
-
override_context: typing.
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
type: typing.Optional[typing.Any] = "POLYLINE",
|
|
1724
|
-
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
1576
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1577
|
+
execution_context: str | int | None = None,
|
|
1578
|
+
undo: bool | None = None,
|
|
1579
|
+
subdivision: typing.Any | None = 6,
|
|
1580
|
+
edges: typing.Any | None = 1,
|
|
1581
|
+
type: typing.Any | None = "POLYLINE",
|
|
1582
|
+
wait_for_input: bool | typing.Any | None = True,
|
|
1725
1583
|
):
|
|
1726
1584
|
"""Create predefined grease pencil stroke polylines
|
|
1727
1585
|
|
|
1728
|
-
:type override_context:
|
|
1729
|
-
:type execution_context:
|
|
1730
|
-
:type undo:
|
|
1586
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1587
|
+
:type execution_context: str | int | None
|
|
1588
|
+
:type undo: bool | None
|
|
1731
1589
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
1732
|
-
:type subdivision: typing.
|
|
1590
|
+
:type subdivision: typing.Any | None
|
|
1733
1591
|
:param edges: Edges, Number of points per segment
|
|
1734
|
-
:type edges: typing.
|
|
1592
|
+
:type edges: typing.Any | None
|
|
1735
1593
|
:param type: Type, Type of shape
|
|
1736
|
-
:type type: typing.
|
|
1594
|
+
:type type: typing.Any | None
|
|
1737
1595
|
:param wait_for_input: Wait for Input
|
|
1738
|
-
:type wait_for_input:
|
|
1596
|
+
:type wait_for_input: bool | typing.Any | None
|
|
1739
1597
|
"""
|
|
1740
1598
|
|
|
1741
1599
|
...
|
|
1742
1600
|
|
|
1743
1601
|
def recalc_geometry(
|
|
1744
|
-
override_context: typing.
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1748
|
-
undo: typing.Optional[bool] = None,
|
|
1602
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1603
|
+
execution_context: str | int | None = None,
|
|
1604
|
+
undo: bool | None = None,
|
|
1749
1605
|
):
|
|
1750
1606
|
"""Update all internal geometry data
|
|
1751
1607
|
|
|
1752
|
-
:type override_context:
|
|
1753
|
-
:type execution_context:
|
|
1754
|
-
:type undo:
|
|
1608
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1609
|
+
:type execution_context: str | int | None
|
|
1610
|
+
:type undo: bool | None
|
|
1755
1611
|
"""
|
|
1756
1612
|
|
|
1757
1613
|
...
|
|
1758
1614
|
|
|
1759
1615
|
def reproject(
|
|
1760
|
-
override_context: typing.
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
keep_original: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1767
|
-
offset: typing.Optional[typing.Any] = 0.0,
|
|
1616
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1617
|
+
execution_context: str | int | None = None,
|
|
1618
|
+
undo: bool | None = None,
|
|
1619
|
+
type: typing.Any | None = "VIEW",
|
|
1620
|
+
keep_original: bool | typing.Any | None = False,
|
|
1621
|
+
offset: typing.Any | None = 0.0,
|
|
1768
1622
|
):
|
|
1769
1623
|
"""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)
|
|
1770
1624
|
|
|
1771
|
-
:type override_context:
|
|
1772
|
-
:type execution_context:
|
|
1773
|
-
:type undo:
|
|
1625
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1626
|
+
:type execution_context: str | int | None
|
|
1627
|
+
:type undo: bool | None
|
|
1774
1628
|
:param type: Projection Type
|
|
1775
1629
|
|
|
1776
1630
|
FRONT
|
|
@@ -1790,212 +1644,193 @@ def reproject(
|
|
|
1790
1644
|
|
|
1791
1645
|
CURSOR
|
|
1792
1646
|
Cursor -- Reproject the strokes using the orientation of 3D cursor.
|
|
1793
|
-
:type type: typing.
|
|
1647
|
+
:type type: typing.Any | None
|
|
1794
1648
|
:param keep_original: Keep Original, Keep original strokes and create a copy before reprojecting
|
|
1795
|
-
:type keep_original:
|
|
1649
|
+
:type keep_original: bool | typing.Any | None
|
|
1796
1650
|
:param offset: Surface Offset
|
|
1797
|
-
:type offset: typing.
|
|
1651
|
+
:type offset: typing.Any | None
|
|
1798
1652
|
"""
|
|
1799
1653
|
|
|
1800
1654
|
...
|
|
1801
1655
|
|
|
1802
1656
|
def reset_transform_fill(
|
|
1803
|
-
override_context: typing.
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
undo: typing.Optional[bool] = None,
|
|
1808
|
-
mode: typing.Optional[typing.Any] = "ALL",
|
|
1657
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1658
|
+
execution_context: str | int | None = None,
|
|
1659
|
+
undo: bool | None = None,
|
|
1660
|
+
mode: typing.Any | None = "ALL",
|
|
1809
1661
|
):
|
|
1810
1662
|
"""Reset any UV transformation and back to default values
|
|
1811
1663
|
|
|
1812
|
-
:type override_context:
|
|
1813
|
-
:type execution_context:
|
|
1814
|
-
:type undo:
|
|
1664
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1665
|
+
:type execution_context: str | int | None
|
|
1666
|
+
:type undo: bool | None
|
|
1815
1667
|
:param mode: Mode
|
|
1816
|
-
:type mode: typing.
|
|
1668
|
+
:type mode: typing.Any | None
|
|
1817
1669
|
"""
|
|
1818
1670
|
|
|
1819
1671
|
...
|
|
1820
1672
|
|
|
1821
1673
|
def reveal(
|
|
1822
|
-
override_context: typing.
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
undo: typing.Optional[bool] = None,
|
|
1827
|
-
select: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
1674
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1675
|
+
execution_context: str | int | None = None,
|
|
1676
|
+
undo: bool | None = None,
|
|
1677
|
+
select: bool | typing.Any | None = True,
|
|
1828
1678
|
):
|
|
1829
1679
|
"""Show all Grease Pencil layers
|
|
1830
1680
|
|
|
1831
|
-
:type override_context:
|
|
1832
|
-
:type execution_context:
|
|
1833
|
-
:type undo:
|
|
1681
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1682
|
+
:type execution_context: str | int | None
|
|
1683
|
+
:type undo: bool | None
|
|
1834
1684
|
:param select: Select
|
|
1835
|
-
:type select:
|
|
1685
|
+
:type select: bool | typing.Any | None
|
|
1836
1686
|
"""
|
|
1837
1687
|
|
|
1838
1688
|
...
|
|
1839
1689
|
|
|
1840
1690
|
def sculpt_paint(
|
|
1841
|
-
override_context: typing.
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
1848
|
-
] = None,
|
|
1849
|
-
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
1691
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1692
|
+
execution_context: str | int | None = None,
|
|
1693
|
+
undo: bool | None = None,
|
|
1694
|
+
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
1695
|
+
| None = None,
|
|
1696
|
+
wait_for_input: bool | typing.Any | None = True,
|
|
1850
1697
|
):
|
|
1851
1698
|
"""Apply tweaks to strokes by painting over the strokes
|
|
1852
1699
|
|
|
1853
|
-
:type override_context:
|
|
1854
|
-
:type execution_context:
|
|
1855
|
-
:type undo:
|
|
1700
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1701
|
+
:type execution_context: str | int | None
|
|
1702
|
+
:type undo: bool | None
|
|
1856
1703
|
:param stroke: Stroke
|
|
1857
|
-
:type stroke:
|
|
1704
|
+
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
|
|
1858
1705
|
:param wait_for_input: Wait for Input, Enter a mini 'sculpt-mode' if enabled, otherwise, exit after drawing a single stroke
|
|
1859
|
-
:type wait_for_input:
|
|
1706
|
+
:type wait_for_input: bool | typing.Any | None
|
|
1860
1707
|
"""
|
|
1861
1708
|
|
|
1862
1709
|
...
|
|
1863
1710
|
|
|
1864
1711
|
def sculptmode_toggle(
|
|
1865
|
-
override_context: typing.
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
undo: typing.Optional[bool] = None,
|
|
1870
|
-
back: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1712
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1713
|
+
execution_context: str | int | None = None,
|
|
1714
|
+
undo: bool | None = None,
|
|
1715
|
+
back: bool | typing.Any | None = False,
|
|
1871
1716
|
):
|
|
1872
1717
|
"""Enter/Exit sculpt mode for Grease Pencil strokes
|
|
1873
1718
|
|
|
1874
|
-
:type override_context:
|
|
1875
|
-
:type execution_context:
|
|
1876
|
-
:type undo:
|
|
1719
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1720
|
+
:type execution_context: str | int | None
|
|
1721
|
+
:type undo: bool | None
|
|
1877
1722
|
:param back: Return to Previous Mode, Return to previous mode
|
|
1878
|
-
:type back:
|
|
1723
|
+
:type back: bool | typing.Any | None
|
|
1879
1724
|
"""
|
|
1880
1725
|
|
|
1881
1726
|
...
|
|
1882
1727
|
|
|
1883
1728
|
def segment_add(
|
|
1884
|
-
override_context: typing.
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
undo: typing.Optional[bool] = None,
|
|
1889
|
-
modifier: typing.Union[str, typing.Any] = "",
|
|
1729
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1730
|
+
execution_context: str | int | None = None,
|
|
1731
|
+
undo: bool | None = None,
|
|
1732
|
+
modifier: str | typing.Any = "",
|
|
1890
1733
|
):
|
|
1891
1734
|
"""Add a segment to the dash modifier
|
|
1892
1735
|
|
|
1893
|
-
:type override_context:
|
|
1894
|
-
:type execution_context:
|
|
1895
|
-
:type undo:
|
|
1736
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1737
|
+
:type execution_context: str | int | None
|
|
1738
|
+
:type undo: bool | None
|
|
1896
1739
|
:param modifier: Modifier, Name of the modifier to edit
|
|
1897
|
-
:type modifier:
|
|
1740
|
+
:type modifier: str | typing.Any
|
|
1898
1741
|
"""
|
|
1899
1742
|
|
|
1900
1743
|
...
|
|
1901
1744
|
|
|
1902
1745
|
def segment_move(
|
|
1903
|
-
override_context: typing.
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
modifier: typing.Union[str, typing.Any] = "",
|
|
1909
|
-
type: typing.Optional[typing.Any] = "UP",
|
|
1746
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1747
|
+
execution_context: str | int | None = None,
|
|
1748
|
+
undo: bool | None = None,
|
|
1749
|
+
modifier: str | typing.Any = "",
|
|
1750
|
+
type: typing.Any | None = "UP",
|
|
1910
1751
|
):
|
|
1911
1752
|
"""Move the active dash segment up or down
|
|
1912
1753
|
|
|
1913
|
-
:type override_context:
|
|
1914
|
-
:type execution_context:
|
|
1915
|
-
:type undo:
|
|
1754
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1755
|
+
:type execution_context: str | int | None
|
|
1756
|
+
:type undo: bool | None
|
|
1916
1757
|
:param modifier: Modifier, Name of the modifier to edit
|
|
1917
|
-
:type modifier:
|
|
1758
|
+
:type modifier: str | typing.Any
|
|
1918
1759
|
:param type: Type
|
|
1919
|
-
:type type: typing.
|
|
1760
|
+
:type type: typing.Any | None
|
|
1920
1761
|
"""
|
|
1921
1762
|
|
|
1922
1763
|
...
|
|
1923
1764
|
|
|
1924
1765
|
def segment_remove(
|
|
1925
|
-
override_context: typing.
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
modifier: typing.Union[str, typing.Any] = "",
|
|
1931
|
-
index: typing.Optional[typing.Any] = 0,
|
|
1766
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1767
|
+
execution_context: str | int | None = None,
|
|
1768
|
+
undo: bool | None = None,
|
|
1769
|
+
modifier: str | typing.Any = "",
|
|
1770
|
+
index: typing.Any | None = 0,
|
|
1932
1771
|
):
|
|
1933
1772
|
"""Remove the active segment from the dash modifier
|
|
1934
1773
|
|
|
1935
|
-
:type override_context:
|
|
1936
|
-
:type execution_context:
|
|
1937
|
-
:type undo:
|
|
1774
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1775
|
+
:type execution_context: str | int | None
|
|
1776
|
+
:type undo: bool | None
|
|
1938
1777
|
:param modifier: Modifier, Name of the modifier to edit
|
|
1939
|
-
:type modifier:
|
|
1778
|
+
:type modifier: str | typing.Any
|
|
1940
1779
|
:param index: Index, Index of the segment to remove
|
|
1941
|
-
:type index: typing.
|
|
1780
|
+
:type index: typing.Any | None
|
|
1942
1781
|
"""
|
|
1943
1782
|
|
|
1944
1783
|
...
|
|
1945
1784
|
|
|
1946
1785
|
def select(
|
|
1947
|
-
override_context: typing.
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
location: typing.Optional[typing.Any] = (0, 0),
|
|
1959
|
-
use_shift_extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1786
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1787
|
+
execution_context: str | int | None = None,
|
|
1788
|
+
undo: bool | None = None,
|
|
1789
|
+
extend: bool | typing.Any | None = False,
|
|
1790
|
+
deselect: bool | typing.Any | None = False,
|
|
1791
|
+
toggle: bool | typing.Any | None = False,
|
|
1792
|
+
deselect_all: bool | typing.Any | None = False,
|
|
1793
|
+
select_passthrough: bool | typing.Any | None = False,
|
|
1794
|
+
entire_strokes: bool | typing.Any | None = False,
|
|
1795
|
+
location: typing.Any | None = (0, 0),
|
|
1796
|
+
use_shift_extend: bool | typing.Any | None = False,
|
|
1960
1797
|
):
|
|
1961
1798
|
"""Select Grease Pencil strokes and/or stroke points
|
|
1962
1799
|
|
|
1963
|
-
:type override_context:
|
|
1964
|
-
:type execution_context:
|
|
1965
|
-
:type undo:
|
|
1800
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1801
|
+
:type execution_context: str | int | None
|
|
1802
|
+
:type undo: bool | None
|
|
1966
1803
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
1967
|
-
:type extend:
|
|
1804
|
+
:type extend: bool | typing.Any | None
|
|
1968
1805
|
:param deselect: Deselect, Remove from selection
|
|
1969
|
-
:type deselect:
|
|
1806
|
+
:type deselect: bool | typing.Any | None
|
|
1970
1807
|
:param toggle: Toggle Selection, Toggle the selection
|
|
1971
|
-
:type toggle:
|
|
1808
|
+
:type toggle: bool | typing.Any | None
|
|
1972
1809
|
:param deselect_all: Deselect On Nothing, Deselect all when nothing under the cursor
|
|
1973
|
-
:type deselect_all:
|
|
1810
|
+
:type deselect_all: bool | typing.Any | None
|
|
1974
1811
|
:param select_passthrough: Only Select Unselected, Ignore the select action when the element is already selected
|
|
1975
|
-
:type select_passthrough:
|
|
1812
|
+
:type select_passthrough: bool | typing.Any | None
|
|
1976
1813
|
:param entire_strokes: Entire Strokes, Select entire strokes instead of just the nearest stroke vertex
|
|
1977
|
-
:type entire_strokes:
|
|
1814
|
+
:type entire_strokes: bool | typing.Any | None
|
|
1978
1815
|
:param location: Location, Mouse location
|
|
1979
|
-
:type location: typing.
|
|
1816
|
+
:type location: typing.Any | None
|
|
1980
1817
|
:param use_shift_extend: Extend
|
|
1981
|
-
:type use_shift_extend:
|
|
1818
|
+
:type use_shift_extend: bool | typing.Any | None
|
|
1982
1819
|
"""
|
|
1983
1820
|
|
|
1984
1821
|
...
|
|
1985
1822
|
|
|
1986
1823
|
def select_all(
|
|
1987
|
-
override_context: typing.
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
undo: typing.Optional[bool] = None,
|
|
1992
|
-
action: typing.Optional[typing.Any] = "TOGGLE",
|
|
1824
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1825
|
+
execution_context: str | int | None = None,
|
|
1826
|
+
undo: bool | None = None,
|
|
1827
|
+
action: typing.Any | None = "TOGGLE",
|
|
1993
1828
|
):
|
|
1994
1829
|
"""Change selection of all Grease Pencil strokes currently visible
|
|
1995
1830
|
|
|
1996
|
-
:type override_context:
|
|
1997
|
-
:type execution_context:
|
|
1998
|
-
:type undo:
|
|
1831
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1832
|
+
:type execution_context: str | int | None
|
|
1833
|
+
:type undo: bool | None
|
|
1999
1834
|
:param action: Action, Selection action to execute
|
|
2000
1835
|
|
|
2001
1836
|
TOGGLE
|
|
@@ -2009,58 +1844,54 @@ def select_all(
|
|
|
2009
1844
|
|
|
2010
1845
|
INVERT
|
|
2011
1846
|
Invert -- Invert selection of all elements.
|
|
2012
|
-
:type action: typing.
|
|
1847
|
+
:type action: typing.Any | None
|
|
2013
1848
|
"""
|
|
2014
1849
|
|
|
2015
1850
|
...
|
|
2016
1851
|
|
|
2017
1852
|
def select_alternate(
|
|
2018
|
-
override_context: typing.
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
undo: typing.Optional[bool] = None,
|
|
2023
|
-
unselect_ends: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1853
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1854
|
+
execution_context: str | int | None = None,
|
|
1855
|
+
undo: bool | None = None,
|
|
1856
|
+
unselect_ends: bool | typing.Any | None = False,
|
|
2024
1857
|
):
|
|
2025
1858
|
"""Select alternative points in same strokes as already selected points
|
|
2026
1859
|
|
|
2027
|
-
:type override_context:
|
|
2028
|
-
:type execution_context:
|
|
2029
|
-
:type undo:
|
|
1860
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1861
|
+
:type execution_context: str | int | None
|
|
1862
|
+
:type undo: bool | None
|
|
2030
1863
|
:param unselect_ends: Unselect Ends, Do not select the first and last point of the stroke
|
|
2031
|
-
:type unselect_ends:
|
|
1864
|
+
:type unselect_ends: bool | typing.Any | None
|
|
2032
1865
|
"""
|
|
2033
1866
|
|
|
2034
1867
|
...
|
|
2035
1868
|
|
|
2036
1869
|
def select_box(
|
|
2037
|
-
override_context: typing.
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
2047
|
-
mode: typing.Optional[typing.Any] = "SET",
|
|
1870
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1871
|
+
execution_context: str | int | None = None,
|
|
1872
|
+
undo: bool | None = None,
|
|
1873
|
+
xmin: typing.Any | None = 0,
|
|
1874
|
+
xmax: typing.Any | None = 0,
|
|
1875
|
+
ymin: typing.Any | None = 0,
|
|
1876
|
+
ymax: typing.Any | None = 0,
|
|
1877
|
+
wait_for_input: bool | typing.Any | None = True,
|
|
1878
|
+
mode: typing.Any | None = "SET",
|
|
2048
1879
|
):
|
|
2049
1880
|
"""Select Grease Pencil strokes within a rectangular region
|
|
2050
1881
|
|
|
2051
|
-
:type override_context:
|
|
2052
|
-
:type execution_context:
|
|
2053
|
-
:type undo:
|
|
1882
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1883
|
+
:type execution_context: str | int | None
|
|
1884
|
+
:type undo: bool | None
|
|
2054
1885
|
:param xmin: X Min
|
|
2055
|
-
:type xmin: typing.
|
|
1886
|
+
:type xmin: typing.Any | None
|
|
2056
1887
|
:param xmax: X Max
|
|
2057
|
-
:type xmax: typing.
|
|
1888
|
+
:type xmax: typing.Any | None
|
|
2058
1889
|
:param ymin: Y Min
|
|
2059
|
-
:type ymin: typing.
|
|
1890
|
+
:type ymin: typing.Any | None
|
|
2060
1891
|
:param ymax: Y Max
|
|
2061
|
-
:type ymax: typing.
|
|
1892
|
+
:type ymax: typing.Any | None
|
|
2062
1893
|
:param wait_for_input: Wait for Input
|
|
2063
|
-
:type wait_for_input:
|
|
1894
|
+
:type wait_for_input: bool | typing.Any | None
|
|
2064
1895
|
:param mode: Mode
|
|
2065
1896
|
|
|
2066
1897
|
SET
|
|
@@ -2077,36 +1908,34 @@ def select_box(
|
|
|
2077
1908
|
|
|
2078
1909
|
AND
|
|
2079
1910
|
Intersect -- Intersect existing selection.
|
|
2080
|
-
:type mode: typing.
|
|
1911
|
+
:type mode: typing.Any | None
|
|
2081
1912
|
"""
|
|
2082
1913
|
|
|
2083
1914
|
...
|
|
2084
1915
|
|
|
2085
1916
|
def select_circle(
|
|
2086
|
-
override_context: typing.
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
2095
|
-
mode: typing.Optional[typing.Any] = "SET",
|
|
1917
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1918
|
+
execution_context: str | int | None = None,
|
|
1919
|
+
undo: bool | None = None,
|
|
1920
|
+
x: typing.Any | None = 0,
|
|
1921
|
+
y: typing.Any | None = 0,
|
|
1922
|
+
radius: typing.Any | None = 25,
|
|
1923
|
+
wait_for_input: bool | typing.Any | None = True,
|
|
1924
|
+
mode: typing.Any | None = "SET",
|
|
2096
1925
|
):
|
|
2097
1926
|
"""Select Grease Pencil strokes using brush selection
|
|
2098
1927
|
|
|
2099
|
-
:type override_context:
|
|
2100
|
-
:type execution_context:
|
|
2101
|
-
:type undo:
|
|
1928
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1929
|
+
:type execution_context: str | int | None
|
|
1930
|
+
:type undo: bool | None
|
|
2102
1931
|
:param x: X
|
|
2103
|
-
:type x: typing.
|
|
1932
|
+
:type x: typing.Any | None
|
|
2104
1933
|
:param y: Y
|
|
2105
|
-
:type y: typing.
|
|
1934
|
+
:type y: typing.Any | None
|
|
2106
1935
|
:param radius: Radius
|
|
2107
|
-
:type radius: typing.
|
|
1936
|
+
:type radius: typing.Any | None
|
|
2108
1937
|
:param wait_for_input: Wait for Input
|
|
2109
|
-
:type wait_for_input:
|
|
1938
|
+
:type wait_for_input: bool | typing.Any | None
|
|
2110
1939
|
:param mode: Mode
|
|
2111
1940
|
|
|
2112
1941
|
SET
|
|
@@ -2117,46 +1946,42 @@ def select_circle(
|
|
|
2117
1946
|
|
|
2118
1947
|
SUB
|
|
2119
1948
|
Subtract -- Subtract existing selection.
|
|
2120
|
-
:type mode: typing.
|
|
1949
|
+
:type mode: typing.Any | None
|
|
2121
1950
|
"""
|
|
2122
1951
|
|
|
2123
1952
|
...
|
|
2124
1953
|
|
|
2125
1954
|
def select_first(
|
|
2126
|
-
override_context: typing.
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
only_selected_strokes: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
2132
|
-
extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1955
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1956
|
+
execution_context: str | int | None = None,
|
|
1957
|
+
undo: bool | None = None,
|
|
1958
|
+
only_selected_strokes: bool | typing.Any | None = False,
|
|
1959
|
+
extend: bool | typing.Any | None = False,
|
|
2133
1960
|
):
|
|
2134
1961
|
"""Select first point in Grease Pencil strokes
|
|
2135
1962
|
|
|
2136
|
-
:type override_context:
|
|
2137
|
-
:type execution_context:
|
|
2138
|
-
:type undo:
|
|
1963
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1964
|
+
:type execution_context: str | int | None
|
|
1965
|
+
:type undo: bool | None
|
|
2139
1966
|
:param only_selected_strokes: Selected Strokes Only, Only select the first point of strokes that already have points selected
|
|
2140
|
-
:type only_selected_strokes:
|
|
1967
|
+
:type only_selected_strokes: bool | typing.Any | None
|
|
2141
1968
|
:param extend: Extend, Extend selection instead of deselecting all other selected points
|
|
2142
|
-
:type extend:
|
|
1969
|
+
:type extend: bool | typing.Any | None
|
|
2143
1970
|
"""
|
|
2144
1971
|
|
|
2145
1972
|
...
|
|
2146
1973
|
|
|
2147
1974
|
def select_grouped(
|
|
2148
|
-
override_context: typing.
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
undo: typing.Optional[bool] = None,
|
|
2153
|
-
type: typing.Optional[typing.Any] = "LAYER",
|
|
1975
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1976
|
+
execution_context: str | int | None = None,
|
|
1977
|
+
undo: bool | None = None,
|
|
1978
|
+
type: typing.Any | None = "LAYER",
|
|
2154
1979
|
):
|
|
2155
1980
|
"""Select all strokes with similar characteristics
|
|
2156
1981
|
|
|
2157
|
-
:type override_context:
|
|
2158
|
-
:type execution_context:
|
|
2159
|
-
:type undo:
|
|
1982
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1983
|
+
:type execution_context: str | int | None
|
|
1984
|
+
:type undo: bool | None
|
|
2160
1985
|
:param type: Type
|
|
2161
1986
|
|
|
2162
1987
|
LAYER
|
|
@@ -2164,27 +1989,23 @@ def select_grouped(
|
|
|
2164
1989
|
|
|
2165
1990
|
MATERIAL
|
|
2166
1991
|
Material -- Shared materials.
|
|
2167
|
-
:type type: typing.
|
|
1992
|
+
:type type: typing.Any | None
|
|
2168
1993
|
"""
|
|
2169
1994
|
|
|
2170
1995
|
...
|
|
2171
1996
|
|
|
2172
1997
|
def select_lasso(
|
|
2173
|
-
override_context: typing.
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
mode: typing.Optional[typing.Any] = "SET",
|
|
2179
|
-
path: typing.Optional[
|
|
2180
|
-
bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
|
|
2181
|
-
] = None,
|
|
1998
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1999
|
+
execution_context: str | int | None = None,
|
|
2000
|
+
undo: bool | None = None,
|
|
2001
|
+
mode: typing.Any | None = "SET",
|
|
2002
|
+
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
|
|
2182
2003
|
):
|
|
2183
2004
|
"""Select Grease Pencil strokes using lasso selection
|
|
2184
2005
|
|
|
2185
|
-
:type override_context:
|
|
2186
|
-
:type execution_context:
|
|
2187
|
-
:type undo:
|
|
2006
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2007
|
+
:type execution_context: str | int | None
|
|
2008
|
+
:type undo: bool | None
|
|
2188
2009
|
:param mode: Mode
|
|
2189
2010
|
|
|
2190
2011
|
SET
|
|
@@ -2201,103 +2022,93 @@ def select_lasso(
|
|
|
2201
2022
|
|
|
2202
2023
|
AND
|
|
2203
2024
|
Intersect -- Intersect existing selection.
|
|
2204
|
-
:type mode: typing.
|
|
2025
|
+
:type mode: typing.Any | None
|
|
2205
2026
|
:param path: Path
|
|
2206
|
-
:type path:
|
|
2027
|
+
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None
|
|
2207
2028
|
"""
|
|
2208
2029
|
|
|
2209
2030
|
...
|
|
2210
2031
|
|
|
2211
2032
|
def select_last(
|
|
2212
|
-
override_context: typing.
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
only_selected_strokes: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
2218
|
-
extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
2033
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2034
|
+
execution_context: str | int | None = None,
|
|
2035
|
+
undo: bool | None = None,
|
|
2036
|
+
only_selected_strokes: bool | typing.Any | None = False,
|
|
2037
|
+
extend: bool | typing.Any | None = False,
|
|
2219
2038
|
):
|
|
2220
2039
|
"""Select last point in Grease Pencil strokes
|
|
2221
2040
|
|
|
2222
|
-
:type override_context:
|
|
2223
|
-
:type execution_context:
|
|
2224
|
-
:type undo:
|
|
2041
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2042
|
+
:type execution_context: str | int | None
|
|
2043
|
+
:type undo: bool | None
|
|
2225
2044
|
:param only_selected_strokes: Selected Strokes Only, Only select the last point of strokes that already have points selected
|
|
2226
|
-
:type only_selected_strokes:
|
|
2045
|
+
:type only_selected_strokes: bool | typing.Any | None
|
|
2227
2046
|
:param extend: Extend, Extend selection instead of deselecting all other selected points
|
|
2228
|
-
:type extend:
|
|
2047
|
+
:type extend: bool | typing.Any | None
|
|
2229
2048
|
"""
|
|
2230
2049
|
|
|
2231
2050
|
...
|
|
2232
2051
|
|
|
2233
2052
|
def select_less(
|
|
2234
|
-
override_context: typing.
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
2238
|
-
undo: typing.Optional[bool] = None,
|
|
2053
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2054
|
+
execution_context: str | int | None = None,
|
|
2055
|
+
undo: bool | None = None,
|
|
2239
2056
|
):
|
|
2240
2057
|
"""Shrink sets of selected Grease Pencil points
|
|
2241
2058
|
|
|
2242
|
-
:type override_context:
|
|
2243
|
-
:type execution_context:
|
|
2244
|
-
:type undo:
|
|
2059
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2060
|
+
:type execution_context: str | int | None
|
|
2061
|
+
:type undo: bool | None
|
|
2245
2062
|
"""
|
|
2246
2063
|
|
|
2247
2064
|
...
|
|
2248
2065
|
|
|
2249
2066
|
def select_linked(
|
|
2250
|
-
override_context: typing.
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
2254
|
-
undo: typing.Optional[bool] = None,
|
|
2067
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2068
|
+
execution_context: str | int | None = None,
|
|
2069
|
+
undo: bool | None = None,
|
|
2255
2070
|
):
|
|
2256
2071
|
"""Select all points in same strokes as already selected points
|
|
2257
2072
|
|
|
2258
|
-
:type override_context:
|
|
2259
|
-
:type execution_context:
|
|
2260
|
-
:type undo:
|
|
2073
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2074
|
+
:type execution_context: str | int | None
|
|
2075
|
+
:type undo: bool | None
|
|
2261
2076
|
"""
|
|
2262
2077
|
|
|
2263
2078
|
...
|
|
2264
2079
|
|
|
2265
2080
|
def select_more(
|
|
2266
|
-
override_context: typing.
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
2270
|
-
undo: typing.Optional[bool] = None,
|
|
2081
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2082
|
+
execution_context: str | int | None = None,
|
|
2083
|
+
undo: bool | None = None,
|
|
2271
2084
|
):
|
|
2272
2085
|
"""Grow sets of selected Grease Pencil points
|
|
2273
2086
|
|
|
2274
|
-
:type override_context:
|
|
2275
|
-
:type execution_context:
|
|
2276
|
-
:type undo:
|
|
2087
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2088
|
+
:type execution_context: str | int | None
|
|
2089
|
+
:type undo: bool | None
|
|
2277
2090
|
"""
|
|
2278
2091
|
|
|
2279
2092
|
...
|
|
2280
2093
|
|
|
2281
2094
|
def select_random(
|
|
2282
|
-
override_context: typing.
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
action: typing.Optional[typing.Any] = "SELECT",
|
|
2290
|
-
unselect_ends: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
2095
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2096
|
+
execution_context: str | int | None = None,
|
|
2097
|
+
undo: bool | None = None,
|
|
2098
|
+
ratio: typing.Any | None = 0.5,
|
|
2099
|
+
seed: typing.Any | None = 0,
|
|
2100
|
+
action: typing.Any | None = "SELECT",
|
|
2101
|
+
unselect_ends: bool | typing.Any | None = False,
|
|
2291
2102
|
):
|
|
2292
2103
|
"""Select random points for non selected strokes
|
|
2293
2104
|
|
|
2294
|
-
:type override_context:
|
|
2295
|
-
:type execution_context:
|
|
2296
|
-
:type undo:
|
|
2105
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2106
|
+
:type execution_context: str | int | None
|
|
2107
|
+
:type undo: bool | None
|
|
2297
2108
|
:param ratio: Ratio, Portion of items to select randomly
|
|
2298
|
-
:type ratio: typing.
|
|
2109
|
+
:type ratio: typing.Any | None
|
|
2299
2110
|
:param seed: Random Seed, Seed for the random number generator
|
|
2300
|
-
:type seed: typing.
|
|
2111
|
+
:type seed: typing.Any | None
|
|
2301
2112
|
:param action: Action, Selection action to execute
|
|
2302
2113
|
|
|
2303
2114
|
SELECT
|
|
@@ -2305,182 +2116,162 @@ def select_random(
|
|
|
2305
2116
|
|
|
2306
2117
|
DESELECT
|
|
2307
2118
|
Deselect -- Deselect all elements.
|
|
2308
|
-
:type action: typing.
|
|
2119
|
+
:type action: typing.Any | None
|
|
2309
2120
|
:param unselect_ends: Unselect Ends, Do not select the first and last point of the stroke
|
|
2310
|
-
:type unselect_ends:
|
|
2121
|
+
:type unselect_ends: bool | typing.Any | None
|
|
2311
2122
|
"""
|
|
2312
2123
|
|
|
2313
2124
|
...
|
|
2314
2125
|
|
|
2315
2126
|
def select_vertex_color(
|
|
2316
|
-
override_context: typing.
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
undo: typing.Optional[bool] = None,
|
|
2321
|
-
threshold: typing.Optional[typing.Any] = 0,
|
|
2127
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2128
|
+
execution_context: str | int | None = None,
|
|
2129
|
+
undo: bool | None = None,
|
|
2130
|
+
threshold: typing.Any | None = 0,
|
|
2322
2131
|
):
|
|
2323
2132
|
"""Select all points with similar vertex color of current selected
|
|
2324
2133
|
|
|
2325
|
-
:type override_context:
|
|
2326
|
-
:type execution_context:
|
|
2327
|
-
:type undo:
|
|
2134
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2135
|
+
:type execution_context: str | int | None
|
|
2136
|
+
:type undo: bool | None
|
|
2328
2137
|
:param threshold: Threshold, Tolerance of the selection. Higher values select a wider range of similar colors
|
|
2329
|
-
:type threshold: typing.
|
|
2138
|
+
:type threshold: typing.Any | None
|
|
2330
2139
|
"""
|
|
2331
2140
|
|
|
2332
2141
|
...
|
|
2333
2142
|
|
|
2334
2143
|
def selection_opacity_toggle(
|
|
2335
|
-
override_context: typing.
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
2339
|
-
undo: typing.Optional[bool] = None,
|
|
2144
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2145
|
+
execution_context: str | int | None = None,
|
|
2146
|
+
undo: bool | None = None,
|
|
2340
2147
|
):
|
|
2341
2148
|
"""Hide/Unhide selected points for Grease Pencil strokes setting alpha factor
|
|
2342
2149
|
|
|
2343
|
-
:type override_context:
|
|
2344
|
-
:type execution_context:
|
|
2345
|
-
:type undo:
|
|
2150
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2151
|
+
:type execution_context: str | int | None
|
|
2152
|
+
:type undo: bool | None
|
|
2346
2153
|
"""
|
|
2347
2154
|
|
|
2348
2155
|
...
|
|
2349
2156
|
|
|
2350
2157
|
def selectmode_toggle(
|
|
2351
|
-
override_context: typing.
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
undo: typing.Optional[bool] = None,
|
|
2356
|
-
mode: typing.Optional[typing.Any] = 0,
|
|
2158
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2159
|
+
execution_context: str | int | None = None,
|
|
2160
|
+
undo: bool | None = None,
|
|
2161
|
+
mode: typing.Any | None = 0,
|
|
2357
2162
|
):
|
|
2358
2163
|
"""Set selection mode for Grease Pencil strokes
|
|
2359
2164
|
|
|
2360
|
-
:type override_context:
|
|
2361
|
-
:type execution_context:
|
|
2362
|
-
:type undo:
|
|
2165
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2166
|
+
:type execution_context: str | int | None
|
|
2167
|
+
:type undo: bool | None
|
|
2363
2168
|
:param mode: Select Mode, Select mode
|
|
2364
|
-
:type mode: typing.
|
|
2169
|
+
:type mode: typing.Any | None
|
|
2365
2170
|
"""
|
|
2366
2171
|
|
|
2367
2172
|
...
|
|
2368
2173
|
|
|
2369
2174
|
def set_active_material(
|
|
2370
|
-
override_context: typing.
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
2374
|
-
undo: typing.Optional[bool] = None,
|
|
2175
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2176
|
+
execution_context: str | int | None = None,
|
|
2177
|
+
undo: bool | None = None,
|
|
2375
2178
|
):
|
|
2376
2179
|
"""Set the selected stroke material as the active material
|
|
2377
2180
|
|
|
2378
|
-
:type override_context:
|
|
2379
|
-
:type execution_context:
|
|
2380
|
-
:type undo:
|
|
2181
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2182
|
+
:type execution_context: str | int | None
|
|
2183
|
+
:type undo: bool | None
|
|
2381
2184
|
"""
|
|
2382
2185
|
|
|
2383
2186
|
...
|
|
2384
2187
|
|
|
2385
2188
|
def snap_cursor_to_selected(
|
|
2386
|
-
override_context: typing.
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
2390
|
-
undo: typing.Optional[bool] = None,
|
|
2189
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2190
|
+
execution_context: str | int | None = None,
|
|
2191
|
+
undo: bool | None = None,
|
|
2391
2192
|
):
|
|
2392
2193
|
"""Snap cursor to center of selected points
|
|
2393
2194
|
|
|
2394
|
-
:type override_context:
|
|
2395
|
-
:type execution_context:
|
|
2396
|
-
:type undo:
|
|
2195
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2196
|
+
:type execution_context: str | int | None
|
|
2197
|
+
:type undo: bool | None
|
|
2397
2198
|
"""
|
|
2398
2199
|
|
|
2399
2200
|
...
|
|
2400
2201
|
|
|
2401
2202
|
def snap_to_cursor(
|
|
2402
|
-
override_context: typing.
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
undo: typing.Optional[bool] = None,
|
|
2407
|
-
use_offset: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
2203
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2204
|
+
execution_context: str | int | None = None,
|
|
2205
|
+
undo: bool | None = None,
|
|
2206
|
+
use_offset: bool | typing.Any | None = True,
|
|
2408
2207
|
):
|
|
2409
2208
|
"""Snap selected points/strokes to the cursor
|
|
2410
2209
|
|
|
2411
|
-
:type override_context:
|
|
2412
|
-
:type execution_context:
|
|
2413
|
-
:type undo:
|
|
2210
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2211
|
+
:type execution_context: str | int | None
|
|
2212
|
+
:type undo: bool | None
|
|
2414
2213
|
:param use_offset: With Offset, Offset the entire stroke instead of selected points only
|
|
2415
|
-
:type use_offset:
|
|
2214
|
+
:type use_offset: bool | typing.Any | None
|
|
2416
2215
|
"""
|
|
2417
2216
|
|
|
2418
2217
|
...
|
|
2419
2218
|
|
|
2420
2219
|
def snap_to_grid(
|
|
2421
|
-
override_context: typing.
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
2425
|
-
undo: typing.Optional[bool] = None,
|
|
2220
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2221
|
+
execution_context: str | int | None = None,
|
|
2222
|
+
undo: bool | None = None,
|
|
2426
2223
|
):
|
|
2427
2224
|
"""Snap selected points to the nearest grid points
|
|
2428
2225
|
|
|
2429
|
-
:type override_context:
|
|
2430
|
-
:type execution_context:
|
|
2431
|
-
:type undo:
|
|
2226
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2227
|
+
:type execution_context: str | int | None
|
|
2228
|
+
:type undo: bool | None
|
|
2432
2229
|
"""
|
|
2433
2230
|
|
|
2434
2231
|
...
|
|
2435
2232
|
|
|
2436
2233
|
def stroke_apply_thickness(
|
|
2437
|
-
override_context: typing.
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
2441
|
-
undo: typing.Optional[bool] = None,
|
|
2234
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2235
|
+
execution_context: str | int | None = None,
|
|
2236
|
+
undo: bool | None = None,
|
|
2442
2237
|
):
|
|
2443
2238
|
"""Apply the thickness change of the layer to its strokes
|
|
2444
2239
|
|
|
2445
|
-
:type override_context:
|
|
2446
|
-
:type execution_context:
|
|
2447
|
-
:type undo:
|
|
2240
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2241
|
+
:type execution_context: str | int | None
|
|
2242
|
+
:type undo: bool | None
|
|
2448
2243
|
"""
|
|
2449
2244
|
|
|
2450
2245
|
...
|
|
2451
2246
|
|
|
2452
2247
|
def stroke_arrange(
|
|
2453
|
-
override_context: typing.
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
undo: typing.Optional[bool] = None,
|
|
2458
|
-
direction: typing.Optional[typing.Any] = "UP",
|
|
2248
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2249
|
+
execution_context: str | int | None = None,
|
|
2250
|
+
undo: bool | None = None,
|
|
2251
|
+
direction: typing.Any | None = "UP",
|
|
2459
2252
|
):
|
|
2460
2253
|
"""Arrange selected strokes up/down in the display order of the active layer
|
|
2461
2254
|
|
|
2462
|
-
:type override_context:
|
|
2463
|
-
:type execution_context:
|
|
2464
|
-
:type undo:
|
|
2255
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2256
|
+
:type execution_context: str | int | None
|
|
2257
|
+
:type undo: bool | None
|
|
2465
2258
|
:param direction: Direction
|
|
2466
|
-
:type direction: typing.
|
|
2259
|
+
:type direction: typing.Any | None
|
|
2467
2260
|
"""
|
|
2468
2261
|
|
|
2469
2262
|
...
|
|
2470
2263
|
|
|
2471
2264
|
def stroke_caps_set(
|
|
2472
|
-
override_context: typing.
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
undo: typing.Optional[bool] = None,
|
|
2477
|
-
type: typing.Optional[typing.Any] = "TOGGLE",
|
|
2265
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2266
|
+
execution_context: str | int | None = None,
|
|
2267
|
+
undo: bool | None = None,
|
|
2268
|
+
type: typing.Any | None = "TOGGLE",
|
|
2478
2269
|
):
|
|
2479
2270
|
"""Change stroke caps mode (rounded or flat)
|
|
2480
2271
|
|
|
2481
|
-
:type override_context:
|
|
2482
|
-
:type execution_context:
|
|
2483
|
-
:type undo:
|
|
2272
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2273
|
+
:type execution_context: str | int | None
|
|
2274
|
+
:type undo: bool | None
|
|
2484
2275
|
:param type: Type
|
|
2485
2276
|
|
|
2486
2277
|
TOGGLE
|
|
@@ -2494,248 +2285,224 @@ def stroke_caps_set(
|
|
|
2494
2285
|
|
|
2495
2286
|
DEFAULT
|
|
2496
2287
|
Default -- Set as default rounded.
|
|
2497
|
-
:type type: typing.
|
|
2288
|
+
:type type: typing.Any | None
|
|
2498
2289
|
"""
|
|
2499
2290
|
|
|
2500
2291
|
...
|
|
2501
2292
|
|
|
2502
2293
|
def stroke_change_color(
|
|
2503
|
-
override_context: typing.
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
undo: typing.Optional[bool] = None,
|
|
2508
|
-
material: typing.Union[str, typing.Any] = "",
|
|
2294
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2295
|
+
execution_context: str | int | None = None,
|
|
2296
|
+
undo: bool | None = None,
|
|
2297
|
+
material: str | typing.Any = "",
|
|
2509
2298
|
):
|
|
2510
2299
|
"""Move selected strokes to active material
|
|
2511
2300
|
|
|
2512
|
-
:type override_context:
|
|
2513
|
-
:type execution_context:
|
|
2514
|
-
:type undo:
|
|
2301
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2302
|
+
:type execution_context: str | int | None
|
|
2303
|
+
:type undo: bool | None
|
|
2515
2304
|
:param material: Material, Name of the material
|
|
2516
|
-
:type material:
|
|
2305
|
+
:type material: str | typing.Any
|
|
2517
2306
|
"""
|
|
2518
2307
|
|
|
2519
2308
|
...
|
|
2520
2309
|
|
|
2521
2310
|
def stroke_cutter(
|
|
2522
|
-
override_context: typing.
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
path: typing.Optional[
|
|
2528
|
-
bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
|
|
2529
|
-
] = None,
|
|
2530
|
-
flat_caps: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
2311
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2312
|
+
execution_context: str | int | None = None,
|
|
2313
|
+
undo: bool | None = None,
|
|
2314
|
+
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
|
|
2315
|
+
flat_caps: bool | typing.Any | None = False,
|
|
2531
2316
|
):
|
|
2532
2317
|
"""Select section and cut
|
|
2533
2318
|
|
|
2534
|
-
:type override_context:
|
|
2535
|
-
:type execution_context:
|
|
2536
|
-
:type undo:
|
|
2319
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2320
|
+
:type execution_context: str | int | None
|
|
2321
|
+
:type undo: bool | None
|
|
2537
2322
|
:param path: Path
|
|
2538
|
-
:type path:
|
|
2323
|
+
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None
|
|
2539
2324
|
:param flat_caps: Flat Caps
|
|
2540
|
-
:type flat_caps:
|
|
2325
|
+
:type flat_caps: bool | typing.Any | None
|
|
2541
2326
|
"""
|
|
2542
2327
|
|
|
2543
2328
|
...
|
|
2544
2329
|
|
|
2545
2330
|
def stroke_cyclical_set(
|
|
2546
|
-
override_context: typing.
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
type: typing.Optional[typing.Any] = "TOGGLE",
|
|
2552
|
-
geometry: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
2331
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2332
|
+
execution_context: str | int | None = None,
|
|
2333
|
+
undo: bool | None = None,
|
|
2334
|
+
type: typing.Any | None = "TOGGLE",
|
|
2335
|
+
geometry: bool | typing.Any | None = False,
|
|
2553
2336
|
):
|
|
2554
2337
|
"""Close or open the selected stroke adding a segment from last to first point
|
|
2555
2338
|
|
|
2556
|
-
:type override_context:
|
|
2557
|
-
:type execution_context:
|
|
2558
|
-
:type undo:
|
|
2339
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2340
|
+
:type execution_context: str | int | None
|
|
2341
|
+
:type undo: bool | None
|
|
2559
2342
|
:param type: Type
|
|
2560
|
-
:type type: typing.
|
|
2343
|
+
:type type: typing.Any | None
|
|
2561
2344
|
:param geometry: Create Geometry, Create new geometry for closing stroke
|
|
2562
|
-
:type geometry:
|
|
2345
|
+
:type geometry: bool | typing.Any | None
|
|
2563
2346
|
"""
|
|
2564
2347
|
|
|
2565
2348
|
...
|
|
2566
2349
|
|
|
2567
2350
|
def stroke_editcurve_set_handle_type(
|
|
2568
|
-
override_context: typing.
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
undo: typing.Optional[bool] = None,
|
|
2573
|
-
type: typing.Optional[typing.Any] = "AUTOMATIC",
|
|
2351
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2352
|
+
execution_context: str | int | None = None,
|
|
2353
|
+
undo: bool | None = None,
|
|
2354
|
+
type: typing.Any | None = "AUTOMATIC",
|
|
2574
2355
|
):
|
|
2575
2356
|
"""Set the type of an edit curve handle
|
|
2576
2357
|
|
|
2577
|
-
:type override_context:
|
|
2578
|
-
:type execution_context:
|
|
2579
|
-
:type undo:
|
|
2358
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2359
|
+
:type execution_context: str | int | None
|
|
2360
|
+
:type undo: bool | None
|
|
2580
2361
|
:param type: Type, Spline type
|
|
2581
|
-
:type type: typing.
|
|
2362
|
+
:type type: typing.Any | None
|
|
2582
2363
|
"""
|
|
2583
2364
|
|
|
2584
2365
|
...
|
|
2585
2366
|
|
|
2586
2367
|
def stroke_enter_editcurve_mode(
|
|
2587
|
-
override_context: typing.
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
undo: typing.Optional[bool] = None,
|
|
2592
|
-
error_threshold: typing.Optional[typing.Any] = 0.1,
|
|
2368
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2369
|
+
execution_context: str | int | None = None,
|
|
2370
|
+
undo: bool | None = None,
|
|
2371
|
+
error_threshold: typing.Any | None = 0.1,
|
|
2593
2372
|
):
|
|
2594
2373
|
"""Called to transform a stroke into a curve
|
|
2595
2374
|
|
|
2596
|
-
:type override_context:
|
|
2597
|
-
:type execution_context:
|
|
2598
|
-
:type undo:
|
|
2375
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2376
|
+
:type execution_context: str | int | None
|
|
2377
|
+
:type undo: bool | None
|
|
2599
2378
|
:param error_threshold: Error Threshold, Threshold on the maximum deviation from the actual stroke
|
|
2600
|
-
:type error_threshold: typing.
|
|
2379
|
+
:type error_threshold: typing.Any | None
|
|
2601
2380
|
"""
|
|
2602
2381
|
|
|
2603
2382
|
...
|
|
2604
2383
|
|
|
2605
2384
|
def stroke_flip(
|
|
2606
|
-
override_context: typing.
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
2610
|
-
undo: typing.Optional[bool] = None,
|
|
2385
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2386
|
+
execution_context: str | int | None = None,
|
|
2387
|
+
undo: bool | None = None,
|
|
2611
2388
|
):
|
|
2612
2389
|
"""Change direction of the points of the selected strokes
|
|
2613
2390
|
|
|
2614
|
-
:type override_context:
|
|
2615
|
-
:type execution_context:
|
|
2616
|
-
:type undo:
|
|
2391
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2392
|
+
:type execution_context: str | int | None
|
|
2393
|
+
:type undo: bool | None
|
|
2617
2394
|
"""
|
|
2618
2395
|
|
|
2619
2396
|
...
|
|
2620
2397
|
|
|
2621
2398
|
def stroke_join(
|
|
2622
|
-
override_context: typing.
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
type: typing.Optional[typing.Any] = "JOIN",
|
|
2628
|
-
leave_gaps: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
2399
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2400
|
+
execution_context: str | int | None = None,
|
|
2401
|
+
undo: bool | None = None,
|
|
2402
|
+
type: typing.Any | None = "JOIN",
|
|
2403
|
+
leave_gaps: bool | typing.Any | None = False,
|
|
2629
2404
|
):
|
|
2630
2405
|
"""Join selected strokes (optionally as new stroke)
|
|
2631
2406
|
|
|
2632
|
-
:type override_context:
|
|
2633
|
-
:type execution_context:
|
|
2634
|
-
:type undo:
|
|
2407
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2408
|
+
:type execution_context: str | int | None
|
|
2409
|
+
:type undo: bool | None
|
|
2635
2410
|
:param type: Type
|
|
2636
|
-
:type type: typing.
|
|
2411
|
+
:type type: typing.Any | None
|
|
2637
2412
|
:param leave_gaps: Leave Gaps, Leave gaps between joined strokes instead of linking them
|
|
2638
|
-
:type leave_gaps:
|
|
2413
|
+
:type leave_gaps: bool | typing.Any | None
|
|
2639
2414
|
"""
|
|
2640
2415
|
|
|
2641
2416
|
...
|
|
2642
2417
|
|
|
2643
2418
|
def stroke_merge(
|
|
2644
|
-
override_context: typing.
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
clear_point: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
2654
|
-
clear_stroke: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
2419
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2420
|
+
execution_context: str | int | None = None,
|
|
2421
|
+
undo: bool | None = None,
|
|
2422
|
+
mode: typing.Any | None = "STROKE",
|
|
2423
|
+
back: bool | typing.Any | None = False,
|
|
2424
|
+
additive: bool | typing.Any | None = False,
|
|
2425
|
+
cyclic: bool | typing.Any | None = False,
|
|
2426
|
+
clear_point: bool | typing.Any | None = False,
|
|
2427
|
+
clear_stroke: bool | typing.Any | None = False,
|
|
2655
2428
|
):
|
|
2656
2429
|
"""Create a new stroke with the selected stroke points
|
|
2657
2430
|
|
|
2658
|
-
:type override_context:
|
|
2659
|
-
:type execution_context:
|
|
2660
|
-
:type undo:
|
|
2431
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2432
|
+
:type execution_context: str | int | None
|
|
2433
|
+
:type undo: bool | None
|
|
2661
2434
|
:param mode: Mode
|
|
2662
|
-
:type mode: typing.
|
|
2435
|
+
:type mode: typing.Any | None
|
|
2663
2436
|
:param back: Draw on Back, Draw new stroke below all previous strokes
|
|
2664
|
-
:type back:
|
|
2437
|
+
:type back: bool | typing.Any | None
|
|
2665
2438
|
:param additive: Additive Drawing, Add to previous drawing
|
|
2666
|
-
:type additive:
|
|
2439
|
+
:type additive: bool | typing.Any | None
|
|
2667
2440
|
:param cyclic: Cyclic, Close new stroke
|
|
2668
|
-
:type cyclic:
|
|
2441
|
+
:type cyclic: bool | typing.Any | None
|
|
2669
2442
|
:param clear_point: Dissolve Points, Dissolve old selected points
|
|
2670
|
-
:type clear_point:
|
|
2443
|
+
:type clear_point: bool | typing.Any | None
|
|
2671
2444
|
:param clear_stroke: Delete Strokes, Delete old selected strokes
|
|
2672
|
-
:type clear_stroke:
|
|
2445
|
+
:type clear_stroke: bool | typing.Any | None
|
|
2673
2446
|
"""
|
|
2674
2447
|
|
|
2675
2448
|
...
|
|
2676
2449
|
|
|
2677
2450
|
def stroke_merge_by_distance(
|
|
2678
|
-
override_context: typing.
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
threshold: typing.Optional[typing.Any] = 0.001,
|
|
2684
|
-
use_unselected: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
2451
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2452
|
+
execution_context: str | int | None = None,
|
|
2453
|
+
undo: bool | None = None,
|
|
2454
|
+
threshold: typing.Any | None = 0.001,
|
|
2455
|
+
use_unselected: bool | typing.Any | None = False,
|
|
2685
2456
|
):
|
|
2686
2457
|
"""Merge points by distance
|
|
2687
2458
|
|
|
2688
|
-
:type override_context:
|
|
2689
|
-
:type execution_context:
|
|
2690
|
-
:type undo:
|
|
2459
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2460
|
+
:type execution_context: str | int | None
|
|
2461
|
+
:type undo: bool | None
|
|
2691
2462
|
:param threshold: Threshold
|
|
2692
|
-
:type threshold: typing.
|
|
2463
|
+
:type threshold: typing.Any | None
|
|
2693
2464
|
:param use_unselected: Unselected, Use whole stroke, not only selected points
|
|
2694
|
-
:type use_unselected:
|
|
2465
|
+
:type use_unselected: bool | typing.Any | None
|
|
2695
2466
|
"""
|
|
2696
2467
|
|
|
2697
2468
|
...
|
|
2698
2469
|
|
|
2699
2470
|
def stroke_merge_material(
|
|
2700
|
-
override_context: typing.
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
sat_threshold: typing.Optional[typing.Any] = 0.001,
|
|
2707
|
-
val_threshold: typing.Optional[typing.Any] = 0.001,
|
|
2471
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2472
|
+
execution_context: str | int | None = None,
|
|
2473
|
+
undo: bool | None = None,
|
|
2474
|
+
hue_threshold: typing.Any | None = 0.001,
|
|
2475
|
+
sat_threshold: typing.Any | None = 0.001,
|
|
2476
|
+
val_threshold: typing.Any | None = 0.001,
|
|
2708
2477
|
):
|
|
2709
2478
|
"""Replace materials in strokes merging similar
|
|
2710
2479
|
|
|
2711
|
-
:type override_context:
|
|
2712
|
-
:type execution_context:
|
|
2713
|
-
:type undo:
|
|
2480
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2481
|
+
:type execution_context: str | int | None
|
|
2482
|
+
:type undo: bool | None
|
|
2714
2483
|
:param hue_threshold: Hue Threshold
|
|
2715
|
-
:type hue_threshold: typing.
|
|
2484
|
+
:type hue_threshold: typing.Any | None
|
|
2716
2485
|
:param sat_threshold: Saturation Threshold
|
|
2717
|
-
:type sat_threshold: typing.
|
|
2486
|
+
:type sat_threshold: typing.Any | None
|
|
2718
2487
|
:param val_threshold: Value Threshold
|
|
2719
|
-
:type val_threshold: typing.
|
|
2488
|
+
:type val_threshold: typing.Any | None
|
|
2720
2489
|
"""
|
|
2721
2490
|
|
|
2722
2491
|
...
|
|
2723
2492
|
|
|
2724
2493
|
def stroke_normalize(
|
|
2725
|
-
override_context: typing.
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
factor: typing.Optional[typing.Any] = 1.0,
|
|
2732
|
-
value: typing.Optional[typing.Any] = 10,
|
|
2494
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2495
|
+
execution_context: str | int | None = None,
|
|
2496
|
+
undo: bool | None = None,
|
|
2497
|
+
mode: typing.Any | None = "THICKNESS",
|
|
2498
|
+
factor: typing.Any | None = 1.0,
|
|
2499
|
+
value: typing.Any | None = 10,
|
|
2733
2500
|
):
|
|
2734
2501
|
"""Normalize stroke attributes
|
|
2735
2502
|
|
|
2736
|
-
:type override_context:
|
|
2737
|
-
:type execution_context:
|
|
2738
|
-
:type undo:
|
|
2503
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2504
|
+
:type execution_context: str | int | None
|
|
2505
|
+
:type undo: bool | None
|
|
2739
2506
|
:param mode: Mode, Attribute to be normalized
|
|
2740
2507
|
|
|
2741
2508
|
THICKNESS
|
|
@@ -2743,35 +2510,33 @@ def stroke_normalize(
|
|
|
2743
2510
|
|
|
2744
2511
|
OPACITY
|
|
2745
2512
|
Opacity -- Normalizes the stroke opacity by making all points use the same opacity value.
|
|
2746
|
-
:type mode: typing.
|
|
2513
|
+
:type mode: typing.Any | None
|
|
2747
2514
|
:param factor: Factor
|
|
2748
|
-
:type factor: typing.
|
|
2515
|
+
:type factor: typing.Any | None
|
|
2749
2516
|
:param value: Value, Value
|
|
2750
|
-
:type value: typing.
|
|
2517
|
+
:type value: typing.Any | None
|
|
2751
2518
|
"""
|
|
2752
2519
|
|
|
2753
2520
|
...
|
|
2754
2521
|
|
|
2755
2522
|
def stroke_outline(
|
|
2756
|
-
override_context: typing.
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
subdivisions: typing.Optional[typing.Any] = 3,
|
|
2766
|
-
length: typing.Optional[typing.Any] = 0.0,
|
|
2523
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2524
|
+
execution_context: str | int | None = None,
|
|
2525
|
+
undo: bool | None = None,
|
|
2526
|
+
view_mode: typing.Any | None = "VIEW",
|
|
2527
|
+
material_mode: typing.Any | None = "ACTIVE",
|
|
2528
|
+
thickness: typing.Any | None = 1,
|
|
2529
|
+
keep: bool | typing.Any | None = True,
|
|
2530
|
+
subdivisions: typing.Any | None = 3,
|
|
2531
|
+
length: typing.Any | None = 0.0,
|
|
2767
2532
|
):
|
|
2768
2533
|
"""Convert stroke to perimeter
|
|
2769
2534
|
|
|
2770
|
-
:type override_context:
|
|
2771
|
-
:type execution_context:
|
|
2772
|
-
:type undo:
|
|
2535
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2536
|
+
:type execution_context: str | int | None
|
|
2537
|
+
:type undo: bool | None
|
|
2773
2538
|
:param view_mode: View
|
|
2774
|
-
:type view_mode: typing.
|
|
2539
|
+
:type view_mode: typing.Any | None
|
|
2775
2540
|
:param material_mode: Material Mode
|
|
2776
2541
|
|
|
2777
2542
|
ACTIVE
|
|
@@ -2782,32 +2547,30 @@ def stroke_outline(
|
|
|
2782
2547
|
|
|
2783
2548
|
NEW
|
|
2784
2549
|
New Material.
|
|
2785
|
-
:type material_mode: typing.
|
|
2550
|
+
:type material_mode: typing.Any | None
|
|
2786
2551
|
:param thickness: Thickness, Thickness of the stroke perimeter
|
|
2787
|
-
:type thickness: typing.
|
|
2552
|
+
:type thickness: typing.Any | None
|
|
2788
2553
|
:param keep: Keep Shape, Try to keep global shape when the stroke thickness change
|
|
2789
|
-
:type keep:
|
|
2554
|
+
:type keep: bool | typing.Any | None
|
|
2790
2555
|
:param subdivisions: Subdivisions
|
|
2791
|
-
:type subdivisions: typing.
|
|
2556
|
+
:type subdivisions: typing.Any | None
|
|
2792
2557
|
:param length: Sample Length
|
|
2793
|
-
:type length: typing.
|
|
2558
|
+
:type length: typing.Any | None
|
|
2794
2559
|
"""
|
|
2795
2560
|
|
|
2796
2561
|
...
|
|
2797
2562
|
|
|
2798
2563
|
def stroke_reset_vertex_color(
|
|
2799
|
-
override_context: typing.
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
undo: typing.Optional[bool] = None,
|
|
2804
|
-
mode: typing.Optional[typing.Any] = "BOTH",
|
|
2564
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2565
|
+
execution_context: str | int | None = None,
|
|
2566
|
+
undo: bool | None = None,
|
|
2567
|
+
mode: typing.Any | None = "BOTH",
|
|
2805
2568
|
):
|
|
2806
2569
|
"""Reset vertex color for all or selected strokes
|
|
2807
2570
|
|
|
2808
|
-
:type override_context:
|
|
2809
|
-
:type execution_context:
|
|
2810
|
-
:type undo:
|
|
2571
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2572
|
+
:type execution_context: str | int | None
|
|
2573
|
+
:type undo: bool | None
|
|
2811
2574
|
:param mode: Mode
|
|
2812
2575
|
|
|
2813
2576
|
STROKE
|
|
@@ -2818,46 +2581,42 @@ def stroke_reset_vertex_color(
|
|
|
2818
2581
|
|
|
2819
2582
|
BOTH
|
|
2820
2583
|
Stroke & Fill -- Reset Vertex Color to Stroke and Fill.
|
|
2821
|
-
:type mode: typing.
|
|
2584
|
+
:type mode: typing.Any | None
|
|
2822
2585
|
"""
|
|
2823
2586
|
|
|
2824
2587
|
...
|
|
2825
2588
|
|
|
2826
2589
|
def stroke_sample(
|
|
2827
|
-
override_context: typing.
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
length: typing.Optional[typing.Any] = 0.1,
|
|
2833
|
-
sharp_threshold: typing.Optional[typing.Any] = 0.1,
|
|
2590
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2591
|
+
execution_context: str | int | None = None,
|
|
2592
|
+
undo: bool | None = None,
|
|
2593
|
+
length: typing.Any | None = 0.1,
|
|
2594
|
+
sharp_threshold: typing.Any | None = 0.1,
|
|
2834
2595
|
):
|
|
2835
2596
|
"""Sample stroke points to predefined segment length
|
|
2836
2597
|
|
|
2837
|
-
:type override_context:
|
|
2838
|
-
:type execution_context:
|
|
2839
|
-
:type undo:
|
|
2598
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2599
|
+
:type execution_context: str | int | None
|
|
2600
|
+
:type undo: bool | None
|
|
2840
2601
|
:param length: Length
|
|
2841
|
-
:type length: typing.
|
|
2602
|
+
:type length: typing.Any | None
|
|
2842
2603
|
:param sharp_threshold: Sharp Threshold
|
|
2843
|
-
:type sharp_threshold: typing.
|
|
2604
|
+
:type sharp_threshold: typing.Any | None
|
|
2844
2605
|
"""
|
|
2845
2606
|
|
|
2846
2607
|
...
|
|
2847
2608
|
|
|
2848
2609
|
def stroke_separate(
|
|
2849
|
-
override_context: typing.
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
undo: typing.Optional[bool] = None,
|
|
2854
|
-
mode: typing.Optional[typing.Any] = "POINT",
|
|
2610
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2611
|
+
execution_context: str | int | None = None,
|
|
2612
|
+
undo: bool | None = None,
|
|
2613
|
+
mode: typing.Any | None = "POINT",
|
|
2855
2614
|
):
|
|
2856
2615
|
"""Separate the selected strokes or layer in a new grease pencil object
|
|
2857
2616
|
|
|
2858
|
-
:type override_context:
|
|
2859
|
-
:type execution_context:
|
|
2860
|
-
:type undo:
|
|
2617
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2618
|
+
:type execution_context: str | int | None
|
|
2619
|
+
:type undo: bool | None
|
|
2861
2620
|
:param mode: Mode
|
|
2862
2621
|
|
|
2863
2622
|
POINT
|
|
@@ -2868,287 +2627,263 @@ def stroke_separate(
|
|
|
2868
2627
|
|
|
2869
2628
|
LAYER
|
|
2870
2629
|
Active Layer -- Separate the strokes of the current layer.
|
|
2871
|
-
:type mode: typing.
|
|
2630
|
+
:type mode: typing.Any | None
|
|
2872
2631
|
"""
|
|
2873
2632
|
|
|
2874
2633
|
...
|
|
2875
2634
|
|
|
2876
2635
|
def stroke_simplify(
|
|
2877
|
-
override_context: typing.
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
undo: typing.Optional[bool] = None,
|
|
2882
|
-
factor: typing.Optional[typing.Any] = 0.0,
|
|
2636
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2637
|
+
execution_context: str | int | None = None,
|
|
2638
|
+
undo: bool | None = None,
|
|
2639
|
+
factor: typing.Any | None = 0.0,
|
|
2883
2640
|
):
|
|
2884
2641
|
"""Simplify selected strokes, reducing number of points
|
|
2885
2642
|
|
|
2886
|
-
:type override_context:
|
|
2887
|
-
:type execution_context:
|
|
2888
|
-
:type undo:
|
|
2643
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2644
|
+
:type execution_context: str | int | None
|
|
2645
|
+
:type undo: bool | None
|
|
2889
2646
|
:param factor: Factor
|
|
2890
|
-
:type factor: typing.
|
|
2647
|
+
:type factor: typing.Any | None
|
|
2891
2648
|
"""
|
|
2892
2649
|
|
|
2893
2650
|
...
|
|
2894
2651
|
|
|
2895
2652
|
def stroke_simplify_fixed(
|
|
2896
|
-
override_context: typing.
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
undo: typing.Optional[bool] = None,
|
|
2901
|
-
step: typing.Optional[typing.Any] = 1,
|
|
2653
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2654
|
+
execution_context: str | int | None = None,
|
|
2655
|
+
undo: bool | None = None,
|
|
2656
|
+
step: typing.Any | None = 1,
|
|
2902
2657
|
):
|
|
2903
2658
|
"""Simplify selected strokes, reducing number of points using fixed algorithm
|
|
2904
2659
|
|
|
2905
|
-
:type override_context:
|
|
2906
|
-
:type execution_context:
|
|
2907
|
-
:type undo:
|
|
2660
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2661
|
+
:type execution_context: str | int | None
|
|
2662
|
+
:type undo: bool | None
|
|
2908
2663
|
:param step: Steps, Number of simplify steps
|
|
2909
|
-
:type step: typing.
|
|
2664
|
+
:type step: typing.Any | None
|
|
2910
2665
|
"""
|
|
2911
2666
|
|
|
2912
2667
|
...
|
|
2913
2668
|
|
|
2914
2669
|
def stroke_smooth(
|
|
2915
|
-
override_context: typing.
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
smooth_strength: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
2926
|
-
smooth_uv: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
2670
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2671
|
+
execution_context: str | int | None = None,
|
|
2672
|
+
undo: bool | None = None,
|
|
2673
|
+
repeat: typing.Any | None = 2,
|
|
2674
|
+
factor: typing.Any | None = 1.0,
|
|
2675
|
+
only_selected: bool | typing.Any | None = True,
|
|
2676
|
+
smooth_position: bool | typing.Any | None = True,
|
|
2677
|
+
smooth_thickness: bool | typing.Any | None = True,
|
|
2678
|
+
smooth_strength: bool | typing.Any | None = False,
|
|
2679
|
+
smooth_uv: bool | typing.Any | None = False,
|
|
2927
2680
|
):
|
|
2928
2681
|
"""Smooth selected strokes
|
|
2929
2682
|
|
|
2930
|
-
:type override_context:
|
|
2931
|
-
:type execution_context:
|
|
2932
|
-
:type undo:
|
|
2683
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2684
|
+
:type execution_context: str | int | None
|
|
2685
|
+
:type undo: bool | None
|
|
2933
2686
|
:param repeat: Repeat
|
|
2934
|
-
:type repeat: typing.
|
|
2687
|
+
:type repeat: typing.Any | None
|
|
2935
2688
|
:param factor: Factor
|
|
2936
|
-
:type factor: typing.
|
|
2689
|
+
:type factor: typing.Any | None
|
|
2937
2690
|
:param only_selected: Selected Points, Smooth only selected points in the stroke
|
|
2938
|
-
:type only_selected:
|
|
2691
|
+
:type only_selected: bool | typing.Any | None
|
|
2939
2692
|
:param smooth_position: Position
|
|
2940
|
-
:type smooth_position:
|
|
2693
|
+
:type smooth_position: bool | typing.Any | None
|
|
2941
2694
|
:param smooth_thickness: Thickness
|
|
2942
|
-
:type smooth_thickness:
|
|
2695
|
+
:type smooth_thickness: bool | typing.Any | None
|
|
2943
2696
|
:param smooth_strength: Strength
|
|
2944
|
-
:type smooth_strength:
|
|
2697
|
+
:type smooth_strength: bool | typing.Any | None
|
|
2945
2698
|
:param smooth_uv: UV
|
|
2946
|
-
:type smooth_uv:
|
|
2699
|
+
:type smooth_uv: bool | typing.Any | None
|
|
2947
2700
|
"""
|
|
2948
2701
|
|
|
2949
2702
|
...
|
|
2950
2703
|
|
|
2951
2704
|
def stroke_split(
|
|
2952
|
-
override_context: typing.
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
2956
|
-
undo: typing.Optional[bool] = None,
|
|
2705
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2706
|
+
execution_context: str | int | None = None,
|
|
2707
|
+
undo: bool | None = None,
|
|
2957
2708
|
):
|
|
2958
2709
|
"""Split selected points as new stroke on same frame
|
|
2959
2710
|
|
|
2960
|
-
:type override_context:
|
|
2961
|
-
:type execution_context:
|
|
2962
|
-
:type undo:
|
|
2711
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2712
|
+
:type execution_context: str | int | None
|
|
2713
|
+
:type undo: bool | None
|
|
2963
2714
|
"""
|
|
2964
2715
|
|
|
2965
2716
|
...
|
|
2966
2717
|
|
|
2967
2718
|
def stroke_start_set(
|
|
2968
|
-
override_context: typing.
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
2972
|
-
undo: typing.Optional[bool] = None,
|
|
2719
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2720
|
+
execution_context: str | int | None = None,
|
|
2721
|
+
undo: bool | None = None,
|
|
2973
2722
|
):
|
|
2974
2723
|
"""Set start point for cyclic strokes
|
|
2975
2724
|
|
|
2976
|
-
:type override_context:
|
|
2977
|
-
:type execution_context:
|
|
2978
|
-
:type undo:
|
|
2725
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2726
|
+
:type execution_context: str | int | None
|
|
2727
|
+
:type undo: bool | None
|
|
2979
2728
|
"""
|
|
2980
2729
|
|
|
2981
2730
|
...
|
|
2982
2731
|
|
|
2983
2732
|
def stroke_subdivide(
|
|
2984
|
-
override_context: typing.
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
smooth_strength: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
2996
|
-
smooth_uv: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
2733
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2734
|
+
execution_context: str | int | None = None,
|
|
2735
|
+
undo: bool | None = None,
|
|
2736
|
+
number_cuts: typing.Any | None = 1,
|
|
2737
|
+
factor: typing.Any | None = 0.0,
|
|
2738
|
+
repeat: typing.Any | None = 1,
|
|
2739
|
+
only_selected: bool | typing.Any | None = True,
|
|
2740
|
+
smooth_position: bool | typing.Any | None = True,
|
|
2741
|
+
smooth_thickness: bool | typing.Any | None = True,
|
|
2742
|
+
smooth_strength: bool | typing.Any | None = False,
|
|
2743
|
+
smooth_uv: bool | typing.Any | None = False,
|
|
2997
2744
|
):
|
|
2998
2745
|
"""Subdivide between continuous selected points of the stroke adding a point half way between them
|
|
2999
2746
|
|
|
3000
|
-
:type override_context:
|
|
3001
|
-
:type execution_context:
|
|
3002
|
-
:type undo:
|
|
2747
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2748
|
+
:type execution_context: str | int | None
|
|
2749
|
+
:type undo: bool | None
|
|
3003
2750
|
:param number_cuts: Number of Cuts
|
|
3004
|
-
:type number_cuts: typing.
|
|
2751
|
+
:type number_cuts: typing.Any | None
|
|
3005
2752
|
:param factor: Smooth
|
|
3006
|
-
:type factor: typing.
|
|
2753
|
+
:type factor: typing.Any | None
|
|
3007
2754
|
:param repeat: Repeat
|
|
3008
|
-
:type repeat: typing.
|
|
2755
|
+
:type repeat: typing.Any | None
|
|
3009
2756
|
:param only_selected: Selected Points, Smooth only selected points in the stroke
|
|
3010
|
-
:type only_selected:
|
|
2757
|
+
:type only_selected: bool | typing.Any | None
|
|
3011
2758
|
:param smooth_position: Position
|
|
3012
|
-
:type smooth_position:
|
|
2759
|
+
:type smooth_position: bool | typing.Any | None
|
|
3013
2760
|
:param smooth_thickness: Thickness
|
|
3014
|
-
:type smooth_thickness:
|
|
2761
|
+
:type smooth_thickness: bool | typing.Any | None
|
|
3015
2762
|
:param smooth_strength: Strength
|
|
3016
|
-
:type smooth_strength:
|
|
2763
|
+
:type smooth_strength: bool | typing.Any | None
|
|
3017
2764
|
:param smooth_uv: UV
|
|
3018
|
-
:type smooth_uv:
|
|
2765
|
+
:type smooth_uv: bool | typing.Any | None
|
|
3019
2766
|
"""
|
|
3020
2767
|
|
|
3021
2768
|
...
|
|
3022
2769
|
|
|
3023
2770
|
def stroke_trim(
|
|
3024
|
-
override_context: typing.
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
3028
|
-
undo: typing.Optional[bool] = None,
|
|
2771
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2772
|
+
execution_context: str | int | None = None,
|
|
2773
|
+
undo: bool | None = None,
|
|
3029
2774
|
):
|
|
3030
2775
|
"""Trim selected stroke to first loop or intersection
|
|
3031
2776
|
|
|
3032
|
-
:type override_context:
|
|
3033
|
-
:type execution_context:
|
|
3034
|
-
:type undo:
|
|
2777
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2778
|
+
:type execution_context: str | int | None
|
|
2779
|
+
:type undo: bool | None
|
|
3035
2780
|
"""
|
|
3036
2781
|
|
|
3037
2782
|
...
|
|
3038
2783
|
|
|
3039
2784
|
def time_segment_add(
|
|
3040
|
-
override_context: typing.
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
undo: typing.Optional[bool] = None,
|
|
3045
|
-
modifier: typing.Union[str, typing.Any] = "",
|
|
2785
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2786
|
+
execution_context: str | int | None = None,
|
|
2787
|
+
undo: bool | None = None,
|
|
2788
|
+
modifier: str | typing.Any = "",
|
|
3046
2789
|
):
|
|
3047
2790
|
"""Add a segment to the time modifier
|
|
3048
2791
|
|
|
3049
|
-
:type override_context:
|
|
3050
|
-
:type execution_context:
|
|
3051
|
-
:type undo:
|
|
2792
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2793
|
+
:type execution_context: str | int | None
|
|
2794
|
+
:type undo: bool | None
|
|
3052
2795
|
:param modifier: Modifier, Name of the modifier to edit
|
|
3053
|
-
:type modifier:
|
|
2796
|
+
:type modifier: str | typing.Any
|
|
3054
2797
|
"""
|
|
3055
2798
|
|
|
3056
2799
|
...
|
|
3057
2800
|
|
|
3058
2801
|
def time_segment_move(
|
|
3059
|
-
override_context: typing.
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
modifier: typing.Union[str, typing.Any] = "",
|
|
3065
|
-
type: typing.Optional[typing.Any] = "UP",
|
|
2802
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2803
|
+
execution_context: str | int | None = None,
|
|
2804
|
+
undo: bool | None = None,
|
|
2805
|
+
modifier: str | typing.Any = "",
|
|
2806
|
+
type: typing.Any | None = "UP",
|
|
3066
2807
|
):
|
|
3067
2808
|
"""Move the active time segment up or down
|
|
3068
2809
|
|
|
3069
|
-
:type override_context:
|
|
3070
|
-
:type execution_context:
|
|
3071
|
-
:type undo:
|
|
2810
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2811
|
+
:type execution_context: str | int | None
|
|
2812
|
+
:type undo: bool | None
|
|
3072
2813
|
:param modifier: Modifier, Name of the modifier to edit
|
|
3073
|
-
:type modifier:
|
|
2814
|
+
:type modifier: str | typing.Any
|
|
3074
2815
|
:param type: Type
|
|
3075
|
-
:type type: typing.
|
|
2816
|
+
:type type: typing.Any | None
|
|
3076
2817
|
"""
|
|
3077
2818
|
|
|
3078
2819
|
...
|
|
3079
2820
|
|
|
3080
2821
|
def time_segment_remove(
|
|
3081
|
-
override_context: typing.
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
modifier: typing.Union[str, typing.Any] = "",
|
|
3087
|
-
index: typing.Optional[typing.Any] = 0,
|
|
2822
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2823
|
+
execution_context: str | int | None = None,
|
|
2824
|
+
undo: bool | None = None,
|
|
2825
|
+
modifier: str | typing.Any = "",
|
|
2826
|
+
index: typing.Any | None = 0,
|
|
3088
2827
|
):
|
|
3089
2828
|
"""Remove the active segment from the time modifier
|
|
3090
2829
|
|
|
3091
|
-
:type override_context:
|
|
3092
|
-
:type execution_context:
|
|
3093
|
-
:type undo:
|
|
2830
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2831
|
+
:type execution_context: str | int | None
|
|
2832
|
+
:type undo: bool | None
|
|
3094
2833
|
:param modifier: Modifier, Name of the modifier to edit
|
|
3095
|
-
:type modifier:
|
|
2834
|
+
:type modifier: str | typing.Any
|
|
3096
2835
|
:param index: Index, Index of the segment to remove
|
|
3097
|
-
:type index: typing.
|
|
2836
|
+
:type index: typing.Any | None
|
|
3098
2837
|
"""
|
|
3099
2838
|
|
|
3100
2839
|
...
|
|
3101
2840
|
|
|
3102
2841
|
def tint_flip(
|
|
3103
|
-
override_context: typing.
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
3107
|
-
undo: typing.Optional[bool] = None,
|
|
2842
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2843
|
+
execution_context: str | int | None = None,
|
|
2844
|
+
undo: bool | None = None,
|
|
3108
2845
|
):
|
|
3109
2846
|
"""Switch tint colors
|
|
3110
2847
|
|
|
3111
|
-
:type override_context:
|
|
3112
|
-
:type execution_context:
|
|
3113
|
-
:type undo:
|
|
2848
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2849
|
+
:type execution_context: str | int | None
|
|
2850
|
+
:type undo: bool | None
|
|
3114
2851
|
"""
|
|
3115
2852
|
|
|
3116
2853
|
...
|
|
3117
2854
|
|
|
3118
2855
|
def trace_image(
|
|
3119
|
-
override_context: typing.
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
use_current_frame: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
3133
|
-
frame_number: typing.Optional[typing.Any] = 0,
|
|
2856
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2857
|
+
execution_context: str | int | None = None,
|
|
2858
|
+
undo: bool | None = None,
|
|
2859
|
+
target: typing.Any | None = "NEW",
|
|
2860
|
+
thickness: typing.Any | None = 10,
|
|
2861
|
+
resolution: typing.Any | None = 5,
|
|
2862
|
+
scale: typing.Any | None = 1.0,
|
|
2863
|
+
sample: typing.Any | None = 0.0,
|
|
2864
|
+
threshold: typing.Any | None = 0.5,
|
|
2865
|
+
turnpolicy: typing.Any | None = "MINORITY",
|
|
2866
|
+
mode: typing.Any | None = "SINGLE",
|
|
2867
|
+
use_current_frame: bool | typing.Any | None = True,
|
|
2868
|
+
frame_number: typing.Any | None = 0,
|
|
3134
2869
|
):
|
|
3135
2870
|
"""Extract Grease Pencil strokes from image
|
|
3136
2871
|
|
|
3137
|
-
:type override_context:
|
|
3138
|
-
:type execution_context:
|
|
3139
|
-
:type undo:
|
|
2872
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2873
|
+
:type execution_context: str | int | None
|
|
2874
|
+
:type undo: bool | None
|
|
3140
2875
|
:param target: Target Object, Target grease pencil
|
|
3141
|
-
:type target: typing.
|
|
2876
|
+
:type target: typing.Any | None
|
|
3142
2877
|
:param thickness: Thickness
|
|
3143
|
-
:type thickness: typing.
|
|
2878
|
+
:type thickness: typing.Any | None
|
|
3144
2879
|
:param resolution: Resolution, Resolution of the generated curves
|
|
3145
|
-
:type resolution: typing.
|
|
2880
|
+
:type resolution: typing.Any | None
|
|
3146
2881
|
:param scale: Scale, Scale of the final stroke
|
|
3147
|
-
:type scale: typing.
|
|
2882
|
+
:type scale: typing.Any | None
|
|
3148
2883
|
:param sample: Sample, Distance to sample points, zero to disable
|
|
3149
|
-
:type sample: typing.
|
|
2884
|
+
:type sample: typing.Any | None
|
|
3150
2885
|
:param threshold: Color Threshold, Determine the lightness threshold above which strokes are generated
|
|
3151
|
-
:type threshold: typing.
|
|
2886
|
+
:type threshold: typing.Any | None
|
|
3152
2887
|
:param turnpolicy: Turn Policy, Determines how to resolve ambiguities during decomposition of bitmaps into paths
|
|
3153
2888
|
|
|
3154
2889
|
BLACK
|
|
@@ -3171,7 +2906,7 @@ def trace_image(
|
|
|
3171
2906
|
|
|
3172
2907
|
RANDOM
|
|
3173
2908
|
Random -- Choose pseudo-randomly.
|
|
3174
|
-
:type turnpolicy: typing.
|
|
2909
|
+
:type turnpolicy: typing.Any | None
|
|
3175
2910
|
:param mode: Mode, Determines if trace simple image or full sequence
|
|
3176
2911
|
|
|
3177
2912
|
SINGLE
|
|
@@ -3179,432 +2914,388 @@ def trace_image(
|
|
|
3179
2914
|
|
|
3180
2915
|
SEQUENCE
|
|
3181
2916
|
Sequence -- Trace full sequence.
|
|
3182
|
-
:type mode: typing.
|
|
2917
|
+
:type mode: typing.Any | None
|
|
3183
2918
|
:param use_current_frame: Start At Current Frame, Trace Image starting in current image frame
|
|
3184
|
-
:type use_current_frame:
|
|
2919
|
+
:type use_current_frame: bool | typing.Any | None
|
|
3185
2920
|
:param frame_number: Trace Frame, Used to trace only one frame of the image sequence, set to zero to trace all
|
|
3186
|
-
:type frame_number: typing.
|
|
2921
|
+
:type frame_number: typing.Any | None
|
|
3187
2922
|
"""
|
|
3188
2923
|
|
|
3189
2924
|
...
|
|
3190
2925
|
|
|
3191
2926
|
def transform_fill(
|
|
3192
|
-
override_context: typing.
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
scale: typing.Optional[typing.Any] = 0.0,
|
|
3201
|
-
release_confirm: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
2927
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2928
|
+
execution_context: str | int | None = None,
|
|
2929
|
+
undo: bool | None = None,
|
|
2930
|
+
mode: typing.Any | None = "ROTATE",
|
|
2931
|
+
location: typing.Any | None = (0.0, 0.0),
|
|
2932
|
+
rotation: typing.Any | None = 0.0,
|
|
2933
|
+
scale: typing.Any | None = 0.0,
|
|
2934
|
+
release_confirm: bool | typing.Any | None = False,
|
|
3202
2935
|
):
|
|
3203
2936
|
"""Transform grease pencil stroke fill
|
|
3204
2937
|
|
|
3205
|
-
:type override_context:
|
|
3206
|
-
:type execution_context:
|
|
3207
|
-
:type undo:
|
|
2938
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2939
|
+
:type execution_context: str | int | None
|
|
2940
|
+
:type undo: bool | None
|
|
3208
2941
|
:param mode: Mode
|
|
3209
|
-
:type mode: typing.
|
|
2942
|
+
:type mode: typing.Any | None
|
|
3210
2943
|
:param location: Location
|
|
3211
|
-
:type location: typing.
|
|
2944
|
+
:type location: typing.Any | None
|
|
3212
2945
|
:param rotation: Rotation
|
|
3213
|
-
:type rotation: typing.
|
|
2946
|
+
:type rotation: typing.Any | None
|
|
3214
2947
|
:param scale: Scale
|
|
3215
|
-
:type scale: typing.
|
|
2948
|
+
:type scale: typing.Any | None
|
|
3216
2949
|
:param release_confirm: Confirm on Release
|
|
3217
|
-
:type release_confirm:
|
|
2950
|
+
:type release_confirm: bool | typing.Any | None
|
|
3218
2951
|
"""
|
|
3219
2952
|
|
|
3220
2953
|
...
|
|
3221
2954
|
|
|
3222
2955
|
def unlock_all(
|
|
3223
|
-
override_context: typing.
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
3227
|
-
undo: typing.Optional[bool] = None,
|
|
2956
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2957
|
+
execution_context: str | int | None = None,
|
|
2958
|
+
undo: bool | None = None,
|
|
3228
2959
|
):
|
|
3229
2960
|
"""Unlock all Grease Pencil layers so that they can be edited
|
|
3230
2961
|
|
|
3231
|
-
:type override_context:
|
|
3232
|
-
:type execution_context:
|
|
3233
|
-
:type undo:
|
|
2962
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2963
|
+
:type execution_context: str | int | None
|
|
2964
|
+
:type undo: bool | None
|
|
3234
2965
|
"""
|
|
3235
2966
|
|
|
3236
2967
|
...
|
|
3237
2968
|
|
|
3238
2969
|
def vertex_color_brightness_contrast(
|
|
3239
|
-
override_context: typing.
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
brightness: typing.Optional[typing.Any] = 0.0,
|
|
3246
|
-
contrast: typing.Optional[typing.Any] = 0.0,
|
|
2970
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2971
|
+
execution_context: str | int | None = None,
|
|
2972
|
+
undo: bool | None = None,
|
|
2973
|
+
mode: typing.Any | None = "BOTH",
|
|
2974
|
+
brightness: typing.Any | None = 0.0,
|
|
2975
|
+
contrast: typing.Any | None = 0.0,
|
|
3247
2976
|
):
|
|
3248
2977
|
"""Adjust vertex color brightness/contrast
|
|
3249
2978
|
|
|
3250
|
-
:type override_context:
|
|
3251
|
-
:type execution_context:
|
|
3252
|
-
:type undo:
|
|
2979
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
2980
|
+
:type execution_context: str | int | None
|
|
2981
|
+
:type undo: bool | None
|
|
3253
2982
|
:param mode: Mode
|
|
3254
|
-
:type mode: typing.
|
|
2983
|
+
:type mode: typing.Any | None
|
|
3255
2984
|
:param brightness: Brightness
|
|
3256
|
-
:type brightness: typing.
|
|
2985
|
+
:type brightness: typing.Any | None
|
|
3257
2986
|
:param contrast: Contrast
|
|
3258
|
-
:type contrast: typing.
|
|
2987
|
+
:type contrast: typing.Any | None
|
|
3259
2988
|
"""
|
|
3260
2989
|
|
|
3261
2990
|
...
|
|
3262
2991
|
|
|
3263
2992
|
def vertex_color_hsv(
|
|
3264
|
-
override_context: typing.
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
s: typing.Optional[typing.Any] = 1.0,
|
|
3272
|
-
v: typing.Optional[typing.Any] = 1.0,
|
|
2993
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
2994
|
+
execution_context: str | int | None = None,
|
|
2995
|
+
undo: bool | None = None,
|
|
2996
|
+
mode: typing.Any | None = "BOTH",
|
|
2997
|
+
h: typing.Any | None = 0.5,
|
|
2998
|
+
s: typing.Any | None = 1.0,
|
|
2999
|
+
v: typing.Any | None = 1.0,
|
|
3273
3000
|
):
|
|
3274
3001
|
"""Adjust vertex color HSV values
|
|
3275
3002
|
|
|
3276
|
-
:type override_context:
|
|
3277
|
-
:type execution_context:
|
|
3278
|
-
:type undo:
|
|
3003
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
3004
|
+
:type execution_context: str | int | None
|
|
3005
|
+
:type undo: bool | None
|
|
3279
3006
|
:param mode: Mode
|
|
3280
|
-
:type mode: typing.
|
|
3007
|
+
:type mode: typing.Any | None
|
|
3281
3008
|
:param h: Hue
|
|
3282
|
-
:type h: typing.
|
|
3009
|
+
:type h: typing.Any | None
|
|
3283
3010
|
:param s: Saturation
|
|
3284
|
-
:type s: typing.
|
|
3011
|
+
:type s: typing.Any | None
|
|
3285
3012
|
:param v: Value
|
|
3286
|
-
:type v: typing.
|
|
3013
|
+
:type v: typing.Any | None
|
|
3287
3014
|
"""
|
|
3288
3015
|
|
|
3289
3016
|
...
|
|
3290
3017
|
|
|
3291
3018
|
def vertex_color_invert(
|
|
3292
|
-
override_context: typing.
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
undo: typing.Optional[bool] = None,
|
|
3297
|
-
mode: typing.Optional[typing.Any] = "BOTH",
|
|
3019
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
3020
|
+
execution_context: str | int | None = None,
|
|
3021
|
+
undo: bool | None = None,
|
|
3022
|
+
mode: typing.Any | None = "BOTH",
|
|
3298
3023
|
):
|
|
3299
3024
|
"""Invert RGB values
|
|
3300
3025
|
|
|
3301
|
-
:type override_context:
|
|
3302
|
-
:type execution_context:
|
|
3303
|
-
:type undo:
|
|
3026
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
3027
|
+
:type execution_context: str | int | None
|
|
3028
|
+
:type undo: bool | None
|
|
3304
3029
|
:param mode: Mode
|
|
3305
|
-
:type mode: typing.
|
|
3030
|
+
:type mode: typing.Any | None
|
|
3306
3031
|
"""
|
|
3307
3032
|
|
|
3308
3033
|
...
|
|
3309
3034
|
|
|
3310
3035
|
def vertex_color_levels(
|
|
3311
|
-
override_context: typing.
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
offset: typing.Optional[typing.Any] = 0.0,
|
|
3318
|
-
gain: typing.Optional[typing.Any] = 1.0,
|
|
3036
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
3037
|
+
execution_context: str | int | None = None,
|
|
3038
|
+
undo: bool | None = None,
|
|
3039
|
+
mode: typing.Any | None = "BOTH",
|
|
3040
|
+
offset: typing.Any | None = 0.0,
|
|
3041
|
+
gain: typing.Any | None = 1.0,
|
|
3319
3042
|
):
|
|
3320
3043
|
"""Adjust levels of vertex colors
|
|
3321
3044
|
|
|
3322
|
-
:type override_context:
|
|
3323
|
-
:type execution_context:
|
|
3324
|
-
:type undo:
|
|
3045
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
3046
|
+
:type execution_context: str | int | None
|
|
3047
|
+
:type undo: bool | None
|
|
3325
3048
|
:param mode: Mode
|
|
3326
|
-
:type mode: typing.
|
|
3049
|
+
:type mode: typing.Any | None
|
|
3327
3050
|
:param offset: Offset, Value to add to colors
|
|
3328
|
-
:type offset: typing.
|
|
3051
|
+
:type offset: typing.Any | None
|
|
3329
3052
|
:param gain: Gain, Value to multiply colors by
|
|
3330
|
-
:type gain: typing.
|
|
3053
|
+
:type gain: typing.Any | None
|
|
3331
3054
|
"""
|
|
3332
3055
|
|
|
3333
3056
|
...
|
|
3334
3057
|
|
|
3335
3058
|
def vertex_color_set(
|
|
3336
|
-
override_context: typing.
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
|
|
3340
|
-
|
|
3341
|
-
mode: typing.Optional[typing.Any] = "BOTH",
|
|
3342
|
-
factor: typing.Optional[typing.Any] = 1.0,
|
|
3059
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
3060
|
+
execution_context: str | int | None = None,
|
|
3061
|
+
undo: bool | None = None,
|
|
3062
|
+
mode: typing.Any | None = "BOTH",
|
|
3063
|
+
factor: typing.Any | None = 1.0,
|
|
3343
3064
|
):
|
|
3344
3065
|
"""Set active color to all selected vertex
|
|
3345
3066
|
|
|
3346
|
-
:type override_context:
|
|
3347
|
-
:type execution_context:
|
|
3348
|
-
:type undo:
|
|
3067
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
3068
|
+
:type execution_context: str | int | None
|
|
3069
|
+
:type undo: bool | None
|
|
3349
3070
|
:param mode: Mode
|
|
3350
|
-
:type mode: typing.
|
|
3071
|
+
:type mode: typing.Any | None
|
|
3351
3072
|
:param factor: Factor, Mix Factor
|
|
3352
|
-
:type factor: typing.
|
|
3073
|
+
:type factor: typing.Any | None
|
|
3353
3074
|
"""
|
|
3354
3075
|
|
|
3355
3076
|
...
|
|
3356
3077
|
|
|
3357
3078
|
def vertex_group_assign(
|
|
3358
|
-
override_context: typing.
|
|
3359
|
-
|
|
3360
|
-
|
|
3361
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
3362
|
-
undo: typing.Optional[bool] = None,
|
|
3079
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
3080
|
+
execution_context: str | int | None = None,
|
|
3081
|
+
undo: bool | None = None,
|
|
3363
3082
|
):
|
|
3364
3083
|
"""Assign the selected vertices to the active vertex group
|
|
3365
3084
|
|
|
3366
|
-
:type override_context:
|
|
3367
|
-
:type execution_context:
|
|
3368
|
-
:type undo:
|
|
3085
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
3086
|
+
:type execution_context: str | int | None
|
|
3087
|
+
:type undo: bool | None
|
|
3369
3088
|
"""
|
|
3370
3089
|
|
|
3371
3090
|
...
|
|
3372
3091
|
|
|
3373
3092
|
def vertex_group_deselect(
|
|
3374
|
-
override_context: typing.
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
3378
|
-
undo: typing.Optional[bool] = None,
|
|
3093
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
3094
|
+
execution_context: str | int | None = None,
|
|
3095
|
+
undo: bool | None = None,
|
|
3379
3096
|
):
|
|
3380
3097
|
"""Deselect all selected vertices assigned to the active vertex group
|
|
3381
3098
|
|
|
3382
|
-
:type override_context:
|
|
3383
|
-
:type execution_context:
|
|
3384
|
-
:type undo:
|
|
3099
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
3100
|
+
:type execution_context: str | int | None
|
|
3101
|
+
:type undo: bool | None
|
|
3385
3102
|
"""
|
|
3386
3103
|
|
|
3387
3104
|
...
|
|
3388
3105
|
|
|
3389
3106
|
def vertex_group_invert(
|
|
3390
|
-
override_context: typing.
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
3394
|
-
undo: typing.Optional[bool] = None,
|
|
3107
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
3108
|
+
execution_context: str | int | None = None,
|
|
3109
|
+
undo: bool | None = None,
|
|
3395
3110
|
):
|
|
3396
3111
|
"""Invert weights to the active vertex group
|
|
3397
3112
|
|
|
3398
|
-
:type override_context:
|
|
3399
|
-
:type execution_context:
|
|
3400
|
-
:type undo:
|
|
3113
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
3114
|
+
:type execution_context: str | int | None
|
|
3115
|
+
:type undo: bool | None
|
|
3401
3116
|
"""
|
|
3402
3117
|
|
|
3403
3118
|
...
|
|
3404
3119
|
|
|
3405
3120
|
def vertex_group_normalize(
|
|
3406
|
-
override_context: typing.
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
3410
|
-
undo: typing.Optional[bool] = None,
|
|
3121
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
3122
|
+
execution_context: str | int | None = None,
|
|
3123
|
+
undo: bool | None = None,
|
|
3411
3124
|
):
|
|
3412
3125
|
"""Normalize weights to the active vertex group
|
|
3413
3126
|
|
|
3414
|
-
:type override_context:
|
|
3415
|
-
:type execution_context:
|
|
3416
|
-
:type undo:
|
|
3127
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
3128
|
+
:type execution_context: str | int | None
|
|
3129
|
+
:type undo: bool | None
|
|
3417
3130
|
"""
|
|
3418
3131
|
|
|
3419
3132
|
...
|
|
3420
3133
|
|
|
3421
3134
|
def vertex_group_normalize_all(
|
|
3422
|
-
override_context: typing.
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
undo: typing.Optional[bool] = None,
|
|
3427
|
-
lock_active: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
3135
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
3136
|
+
execution_context: str | int | None = None,
|
|
3137
|
+
undo: bool | None = None,
|
|
3138
|
+
lock_active: bool | typing.Any | None = True,
|
|
3428
3139
|
):
|
|
3429
3140
|
"""Normalize all weights of all vertex groups, so that for each vertex, the sum of all weights is 1.0
|
|
3430
3141
|
|
|
3431
|
-
:type override_context:
|
|
3432
|
-
:type execution_context:
|
|
3433
|
-
:type undo:
|
|
3142
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
3143
|
+
:type execution_context: str | int | None
|
|
3144
|
+
:type undo: bool | None
|
|
3434
3145
|
:param lock_active: Lock Active, Keep the values of the active group while normalizing others
|
|
3435
|
-
:type lock_active:
|
|
3146
|
+
:type lock_active: bool | typing.Any | None
|
|
3436
3147
|
"""
|
|
3437
3148
|
|
|
3438
3149
|
...
|
|
3439
3150
|
|
|
3440
3151
|
def vertex_group_remove_from(
|
|
3441
|
-
override_context: typing.
|
|
3442
|
-
|
|
3443
|
-
|
|
3444
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
3445
|
-
undo: typing.Optional[bool] = None,
|
|
3152
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
3153
|
+
execution_context: str | int | None = None,
|
|
3154
|
+
undo: bool | None = None,
|
|
3446
3155
|
):
|
|
3447
3156
|
"""Remove the selected vertices from active or all vertex group(s)
|
|
3448
3157
|
|
|
3449
|
-
:type override_context:
|
|
3450
|
-
:type execution_context:
|
|
3451
|
-
:type undo:
|
|
3158
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
3159
|
+
:type execution_context: str | int | None
|
|
3160
|
+
:type undo: bool | None
|
|
3452
3161
|
"""
|
|
3453
3162
|
|
|
3454
3163
|
...
|
|
3455
3164
|
|
|
3456
3165
|
def vertex_group_select(
|
|
3457
|
-
override_context: typing.
|
|
3458
|
-
|
|
3459
|
-
|
|
3460
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
3461
|
-
undo: typing.Optional[bool] = None,
|
|
3166
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
3167
|
+
execution_context: str | int | None = None,
|
|
3168
|
+
undo: bool | None = None,
|
|
3462
3169
|
):
|
|
3463
3170
|
"""Select all the vertices assigned to the active vertex group
|
|
3464
3171
|
|
|
3465
|
-
:type override_context:
|
|
3466
|
-
:type execution_context:
|
|
3467
|
-
:type undo:
|
|
3172
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
3173
|
+
:type execution_context: str | int | None
|
|
3174
|
+
:type undo: bool | None
|
|
3468
3175
|
"""
|
|
3469
3176
|
|
|
3470
3177
|
...
|
|
3471
3178
|
|
|
3472
3179
|
def vertex_group_smooth(
|
|
3473
|
-
override_context: typing.
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
factor: typing.Optional[typing.Any] = 0.5,
|
|
3479
|
-
repeat: typing.Optional[typing.Any] = 1,
|
|
3180
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
3181
|
+
execution_context: str | int | None = None,
|
|
3182
|
+
undo: bool | None = None,
|
|
3183
|
+
factor: typing.Any | None = 0.5,
|
|
3184
|
+
repeat: typing.Any | None = 1,
|
|
3480
3185
|
):
|
|
3481
3186
|
"""Smooth weights to the active vertex group
|
|
3482
3187
|
|
|
3483
|
-
:type override_context:
|
|
3484
|
-
:type execution_context:
|
|
3485
|
-
:type undo:
|
|
3188
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
3189
|
+
:type execution_context: str | int | None
|
|
3190
|
+
:type undo: bool | None
|
|
3486
3191
|
:param factor: Factor
|
|
3487
|
-
:type factor: typing.
|
|
3192
|
+
:type factor: typing.Any | None
|
|
3488
3193
|
:param repeat: Iterations
|
|
3489
|
-
:type repeat: typing.
|
|
3194
|
+
:type repeat: typing.Any | None
|
|
3490
3195
|
"""
|
|
3491
3196
|
|
|
3492
3197
|
...
|
|
3493
3198
|
|
|
3494
3199
|
def vertex_paint(
|
|
3495
|
-
override_context: typing.
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
3502
|
-
] = None,
|
|
3503
|
-
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
3200
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
3201
|
+
execution_context: str | int | None = None,
|
|
3202
|
+
undo: bool | None = None,
|
|
3203
|
+
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
3204
|
+
| None = None,
|
|
3205
|
+
wait_for_input: bool | typing.Any | None = True,
|
|
3504
3206
|
):
|
|
3505
3207
|
"""Paint stroke points with a color
|
|
3506
3208
|
|
|
3507
|
-
:type override_context:
|
|
3508
|
-
:type execution_context:
|
|
3509
|
-
:type undo:
|
|
3209
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
3210
|
+
:type execution_context: str | int | None
|
|
3211
|
+
:type undo: bool | None
|
|
3510
3212
|
:param stroke: Stroke
|
|
3511
|
-
:type stroke:
|
|
3213
|
+
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
|
|
3512
3214
|
:param wait_for_input: Wait for Input
|
|
3513
|
-
:type wait_for_input:
|
|
3215
|
+
:type wait_for_input: bool | typing.Any | None
|
|
3514
3216
|
"""
|
|
3515
3217
|
|
|
3516
3218
|
...
|
|
3517
3219
|
|
|
3518
3220
|
def vertexmode_toggle(
|
|
3519
|
-
override_context: typing.
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
undo: typing.Optional[bool] = None,
|
|
3524
|
-
back: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
3221
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
3222
|
+
execution_context: str | int | None = None,
|
|
3223
|
+
undo: bool | None = None,
|
|
3224
|
+
back: bool | typing.Any | None = False,
|
|
3525
3225
|
):
|
|
3526
3226
|
"""Enter/Exit vertex paint mode for Grease Pencil strokes
|
|
3527
3227
|
|
|
3528
|
-
:type override_context:
|
|
3529
|
-
:type execution_context:
|
|
3530
|
-
:type undo:
|
|
3228
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
3229
|
+
:type execution_context: str | int | None
|
|
3230
|
+
:type undo: bool | None
|
|
3531
3231
|
:param back: Return to Previous Mode, Return to previous mode
|
|
3532
|
-
:type back:
|
|
3232
|
+
:type back: bool | typing.Any | None
|
|
3533
3233
|
"""
|
|
3534
3234
|
|
|
3535
3235
|
...
|
|
3536
3236
|
|
|
3537
3237
|
def weight_paint(
|
|
3538
|
-
override_context: typing.
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
3545
|
-
] = None,
|
|
3546
|
-
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
3238
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
3239
|
+
execution_context: str | int | None = None,
|
|
3240
|
+
undo: bool | None = None,
|
|
3241
|
+
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
3242
|
+
| None = None,
|
|
3243
|
+
wait_for_input: bool | typing.Any | None = True,
|
|
3547
3244
|
):
|
|
3548
3245
|
"""Draw weight on stroke points
|
|
3549
3246
|
|
|
3550
|
-
:type override_context:
|
|
3551
|
-
:type execution_context:
|
|
3552
|
-
:type undo:
|
|
3247
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
3248
|
+
:type execution_context: str | int | None
|
|
3249
|
+
:type undo: bool | None
|
|
3553
3250
|
:param stroke: Stroke
|
|
3554
|
-
:type stroke:
|
|
3251
|
+
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
|
|
3555
3252
|
:param wait_for_input: Wait for Input
|
|
3556
|
-
:type wait_for_input:
|
|
3253
|
+
:type wait_for_input: bool | typing.Any | None
|
|
3557
3254
|
"""
|
|
3558
3255
|
|
|
3559
3256
|
...
|
|
3560
3257
|
|
|
3561
3258
|
def weight_sample(
|
|
3562
|
-
override_context: typing.
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
3566
|
-
undo: typing.Optional[bool] = None,
|
|
3259
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
3260
|
+
execution_context: str | int | None = None,
|
|
3261
|
+
undo: bool | None = None,
|
|
3567
3262
|
):
|
|
3568
3263
|
"""Use the mouse to sample a weight in the 3D view
|
|
3569
3264
|
|
|
3570
|
-
:type override_context:
|
|
3571
|
-
:type execution_context:
|
|
3572
|
-
:type undo:
|
|
3265
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
3266
|
+
:type execution_context: str | int | None
|
|
3267
|
+
:type undo: bool | None
|
|
3573
3268
|
"""
|
|
3574
3269
|
|
|
3575
3270
|
...
|
|
3576
3271
|
|
|
3577
3272
|
def weight_toggle_direction(
|
|
3578
|
-
override_context: typing.
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
3582
|
-
undo: typing.Optional[bool] = None,
|
|
3273
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
3274
|
+
execution_context: str | int | None = None,
|
|
3275
|
+
undo: bool | None = None,
|
|
3583
3276
|
):
|
|
3584
3277
|
"""Toggle Add/Subtract for the weight paint draw tool
|
|
3585
3278
|
|
|
3586
|
-
:type override_context:
|
|
3587
|
-
:type execution_context:
|
|
3588
|
-
:type undo:
|
|
3279
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
3280
|
+
:type execution_context: str | int | None
|
|
3281
|
+
:type undo: bool | None
|
|
3589
3282
|
"""
|
|
3590
3283
|
|
|
3591
3284
|
...
|
|
3592
3285
|
|
|
3593
3286
|
def weightmode_toggle(
|
|
3594
|
-
override_context: typing.
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
undo: typing.Optional[bool] = None,
|
|
3599
|
-
back: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
3287
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
3288
|
+
execution_context: str | int | None = None,
|
|
3289
|
+
undo: bool | None = None,
|
|
3290
|
+
back: bool | typing.Any | None = False,
|
|
3600
3291
|
):
|
|
3601
3292
|
"""Enter/Exit weight paint mode for Grease Pencil strokes
|
|
3602
3293
|
|
|
3603
|
-
:type override_context:
|
|
3604
|
-
:type execution_context:
|
|
3605
|
-
:type undo:
|
|
3294
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
3295
|
+
:type execution_context: str | int | None
|
|
3296
|
+
:type undo: bool | None
|
|
3606
3297
|
:param back: Return to Previous Mode, Return to previous mode
|
|
3607
|
-
:type back:
|
|
3298
|
+
:type back: bool | typing.Any | None
|
|
3608
3299
|
"""
|
|
3609
3300
|
|
|
3610
3301
|
...
|