fake-bpy-module 20240515__py3-none-any.whl → 20240517__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 +2 -2
- addon_utils/__init__.pyi +43 -12
- animsys_refactor/__init__.pyi +4 -4
- aud/__init__.pyi +7 -7
- bgl/__init__.pyi +121 -183
- bl_app_override/__init__.pyi +5 -5
- bl_app_override/helpers/__init__.pyi +3 -1
- bl_app_template_utils/__init__.pyi +5 -5
- 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 +5 -5
- bl_i18n_utils/settings/__init__.pyi +4 -2
- bl_i18n_utils/utils/__init__.pyi +86 -58
- bl_i18n_utils/utils_rtl/__init__.pyi +8 -2
- bl_keymap_utils/io/__init__.pyi +4 -4
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -2
- bl_keymap_utils/platform_helpers/__init__.pyi +2 -2
- bl_operators/add_mesh_torus/__init__.pyi +126 -41
- bl_operators/anim/__init__.pyi +1001 -328
- bl_operators/assets/__init__.pyi +376 -123
- bl_operators/bmesh/find_adjacent/__init__.pyi +3 -3
- bl_operators/clip/__init__.pyi +1250 -409
- bl_operators/console/__init__.pyi +626 -205
- bl_operators/constraint/__init__.pyi +502 -165
- bl_operators/file/__init__.pyi +376 -123
- bl_operators/freestyle/__init__.pyi +501 -164
- bl_operators/geometry_nodes/__init__.pyi +501 -164
- bl_operators/image/__init__.pyi +621 -200
- bl_operators/mesh/__init__.pyi +376 -123
- bl_operators/node/__init__.pyi +1243 -402
- bl_operators/object/__init__.pyi +1876 -615
- bl_operators/object_align/__init__.pyi +126 -41
- bl_operators/object_quick_effects/__init__.pyi +502 -165
- bl_operators/object_randomize_transform/__init__.pyi +126 -41
- bl_operators/presets/__init__.pyi +3069 -1027
- bl_operators/rigidbody/__init__.pyi +376 -123
- bl_operators/screen_play_rendered_anim/__init__.pyi +126 -41
- bl_operators/sequencer/__init__.pyi +1009 -331
- bl_operators/spreadsheet/__init__.pyi +126 -41
- bl_operators/userpref/__init__.pyi +3263 -1078
- bl_operators/uvcalc_follow_active/__init__.pyi +126 -41
- bl_operators/uvcalc_lightmap/__init__.pyi +137 -47
- bl_operators/uvcalc_transform/__init__.pyi +289 -90
- bl_operators/vertexpaint_dirt/__init__.pyi +126 -41
- bl_operators/view3d/__init__.pyi +868 -279
- bl_operators/wm/__init__.pyi +5777 -1934
- bl_operators/world/__init__.pyi +126 -41
- bl_previews_utils/bl_previews_render/__init__.pyi +1 -1
- bl_rna_utils/data_path/__init__.pyi +8 -3
- bl_ui/__init__.pyi +338 -131
- bl_ui/anim/__init__.pyi +164 -64
- bl_ui/asset_shelf/__init__.pyi +129 -42
- bl_ui/generic_ui_list/__init__.pyi +412 -135
- bl_ui/node_add_menu/__init__.pyi +168 -68
- bl_ui/node_add_menu_compositor/__init__.pyi +2921 -1138
- bl_ui/node_add_menu_geometry/__init__.pyi +7785 -3032
- bl_ui/node_add_menu_shader/__init__.pyi +1621 -630
- bl_ui/node_add_menu_texture/__init__.pyi +1459 -567
- bl_ui/properties_animviz/__init__.pyi +2 -2
- bl_ui/properties_collection/__init__.pyi +806 -274
- bl_ui/properties_constraint/__init__.pyi +10253 -3458
- bl_ui/properties_data_armature/__init__.pyi +1615 -552
- bl_ui/properties_data_bone/__init__.pyi +1288 -425
- bl_ui/properties_data_camera/__init__.pyi +1854 -631
- bl_ui/properties_data_curve/__init__.pyi +1929 -636
- bl_ui/properties_data_curves/__init__.pyi +806 -274
- bl_ui/properties_data_empty/__init__.pyi +257 -84
- bl_ui/properties_data_gpencil/__init__.pyi +2380 -803
- bl_ui/properties_data_grease_pencil/__init__.pyi +1902 -656
- bl_ui/properties_data_lattice/__init__.pyi +388 -127
- bl_ui/properties_data_light/__init__.pyi +1541 -506
- bl_ui/properties_data_lightprobe/__init__.pyi +1667 -548
- bl_ui/properties_data_mesh/__init__.pyi +2704 -929
- bl_ui/properties_data_metaball/__init__.pyi +644 -211
- bl_ui/properties_data_modifier/__init__.pyi +1353 -502
- bl_ui/properties_data_pointcloud/__init__.pyi +679 -233
- bl_ui/properties_data_shaderfx/__init__.pyi +129 -42
- bl_ui/properties_data_speaker/__init__.pyi +644 -211
- bl_ui/properties_data_volume/__init__.pyi +1030 -339
- bl_ui/properties_freestyle/__init__.pyi +3113 -1035
- bl_ui/properties_grease_pencil_common/__init__.pyi +2464 -933
- bl_ui/properties_mask_common/__init__.pyi +1101 -420
- bl_ui/properties_material/__init__.pyi +2091 -699
- bl_ui/properties_material_gpencil/__init__.pyi +1350 -466
- bl_ui/properties_object/__init__.pyi +1838 -618
- bl_ui/properties_output/__init__.pyi +2414 -831
- bl_ui/properties_paint_common/__init__.pyi +412 -289
- bl_ui/properties_particle/__init__.pyi +6737 -2241
- bl_ui/properties_physics_cloth/__init__.pyi +1825 -612
- bl_ui/properties_physics_common/__init__.pyi +129 -42
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +2821 -928
- bl_ui/properties_physics_field/__init__.pyi +1283 -422
- bl_ui/properties_physics_fluid/__init__.pyi +3620 -1203
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +129 -42
- bl_ui/properties_physics_rigidbody/__init__.pyi +1027 -338
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +1667 -548
- bl_ui/properties_physics_softbody/__init__.pyi +1924 -633
- bl_ui/properties_render/__init__.pyi +6830 -2263
- bl_ui/properties_scene/__init__.pyi +1929 -636
- bl_ui/properties_texture/__init__.pyi +3370 -1118
- bl_ui/properties_view_layer/__init__.pyi +2346 -782
- bl_ui/properties_workspace/__init__.pyi +516 -169
- bl_ui/properties_world/__init__.pyi +1284 -421
- bl_ui/space_clip/__init__.pyi +10134 -3639
- bl_ui/space_console/__init__.pyi +939 -357
- bl_ui/space_dopesheet/__init__.pyi +4327 -1562
- bl_ui/space_filebrowser/__init__.pyi +4164 -1499
- bl_ui/space_graph/__init__.pyi +3108 -1179
- bl_ui/space_image/__init__.pyi +9766 -3596
- bl_ui/space_info/__init__.pyi +939 -357
- bl_ui/space_nla/__init__.pyi +2620 -988
- bl_ui/space_node/__init__.pyi +3994 -1434
- bl_ui/space_outliner/__init__.pyi +2203 -842
- bl_ui/space_properties/__init__.pyi +386 -127
- bl_ui/space_sequencer/__init__.pyi +10773 -3878
- bl_ui/space_spreadsheet/__init__.pyi +130 -43
- bl_ui/space_statusbar/__init__.pyi +129 -42
- bl_ui/space_text/__init__.pyi +2458 -925
- bl_ui/space_time/__init__.pyi +1033 -378
- bl_ui/space_toolsystem_common/__init__.pyi +20 -16
- bl_ui/space_toolsystem_toolbar/__init__.pyi +40 -21
- bl_ui/space_topbar/__init__.pyi +3980 -1496
- bl_ui/space_userpref/__init__.pyi +11378 -3802
- bl_ui/space_view3d/__init__.pyi +40870 -15361
- bl_ui/space_view3d_toolbar/__init__.pyi +12520 -4647
- bl_ui/temp_anim_layers/__init__.pyi +129 -42
- bl_ui/utils/__init__.pyi +28 -20
- bl_ui_utils/bug_report_url/__init__.pyi +1 -1
- bl_ui_utils/layout/__init__.pyi +1 -1
- blend_render_info/__init__.pyi +1 -1
- blf/__init__.pyi +4 -4
- bmesh/geometry/__init__.pyi +2 -3
- bmesh/ops/__init__.pyi +372 -419
- bmesh/types/__init__.pyi +38 -38
- 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/__init__.pyi +1 -2
- 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 +460 -0
- 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 -415
- 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 +616 -726
- 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 -124
- 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 +2680 -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 +45462 -50321
- bpy/utils/__init__.pyi +242 -118
- bpy/utils/previews/__init__.pyi +58 -28
- bpy/utils/units/__init__.pyi +20 -20
- bpy_extras/anim_utils/__init__.pyi +68 -28
- bpy_extras/bmesh_utils/__init__.pyi +8 -2
- bpy_extras/extensions/junction_module/__init__.pyi +5 -2
- bpy_extras/id_map_utils/__init__.pyi +3 -3
- bpy_extras/image_utils/__init__.pyi +44 -11
- bpy_extras/io_utils/__init__.pyi +113 -18
- bpy_extras/keyconfig_utils/__init__.pyi +2 -2
- bpy_extras/mesh_utils/__init__.pyi +71 -19
- bpy_extras/node_shader_utils/__init__.pyi +9 -4
- bpy_extras/node_utils/__init__.pyi +9 -2
- bpy_extras/object_utils/__init__.pyi +71 -12
- bpy_extras/view3d_utils/__init__.pyi +80 -10
- bpy_extras/wm_utils/progress_report/__init__.pyi +13 -10
- bpy_types/__init__.pyi +4197 -1333
- console_python/__init__.pyi +6 -1
- {fake_bpy_module-20240515.dist-info → fake_bpy_module-20240517.dist-info}/METADATA +1 -1
- fake_bpy_module-20240517.dist-info/RECORD +353 -0
- freestyle/chainingiterators/__init__.pyi +4 -4
- freestyle/shaders/__init__.pyi +2 -2
- freestyle/types/__init__.pyi +84 -96
- freestyle/utils/ContextFunctions/__init__.pyi +2 -2
- freestyle/utils/__init__.pyi +3 -3
- 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 -2
- idprop/types/__init__.pyi +2 -2
- imbuf/__init__.pyi +4 -4
- keyingsets_builtins/__init__.pyi +2688 -839
- mathutils/__init__.pyi +194 -238
- mathutils/bvhtree/__init__.pyi +4 -4
- mathutils/geometry/__init__.pyi +153 -155
- mathutils/kdtree/__init__.pyi +8 -12
- mathutils/noise/__init__.pyi +26 -26
- nodeitems_utils/__init__.pyi +1 -1
- rna_info/__init__.pyi +17 -15
- rna_keymap_ui/__init__.pyi +1 -1
- rna_prop_ui/__init__.pyi +16 -14
- rna_xml/__init__.pyi +12 -12
- _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/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_mesh/__init__.pyi +0 -67
- bpy/ops/export_mesh/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_mesh/__init__.pyi +0 -49
- bpy/ops/import_mesh/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-20240515.dist-info/RECORD +0 -620
- 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-20240515.dist-info → fake_bpy_module-20240517.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240515.dist-info → fake_bpy_module-20240517.dist-info}/top_level.txt +0 -0
|
@@ -5,23 +5,20 @@ import bpy.types
|
|
|
5
5
|
GenericType = typing.TypeVar("GenericType")
|
|
6
6
|
|
|
7
7
|
def brush_stroke(
|
|
8
|
-
override_context: typing.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
15
|
-
] = None,
|
|
16
|
-
mode: typing.Optional[typing.Any] = "NORMAL",
|
|
8
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
9
|
+
execution_context: str | int | None = None,
|
|
10
|
+
undo: bool | None = None,
|
|
11
|
+
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
12
|
+
| None = None,
|
|
13
|
+
mode: typing.Any | None = "NORMAL",
|
|
17
14
|
):
|
|
18
15
|
"""Draw a new stroke in the active Grease Pencil object
|
|
19
16
|
|
|
20
|
-
:type override_context:
|
|
21
|
-
:type execution_context:
|
|
22
|
-
:type undo:
|
|
17
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
18
|
+
:type execution_context: str | int | None
|
|
19
|
+
:type undo: bool | None
|
|
23
20
|
:param stroke: Stroke
|
|
24
|
-
:type stroke:
|
|
21
|
+
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
|
|
25
22
|
:param mode: Stroke Mode, Action taken when a paint stroke is made
|
|
26
23
|
|
|
27
24
|
NORMAL
|
|
@@ -32,24 +29,22 @@ def brush_stroke(
|
|
|
32
29
|
|
|
33
30
|
SMOOTH
|
|
34
31
|
Smooth -- Switch brush to smooth mode for duration of stroke.
|
|
35
|
-
:type mode: typing.
|
|
32
|
+
:type mode: typing.Any | None
|
|
36
33
|
"""
|
|
37
34
|
|
|
38
35
|
...
|
|
39
36
|
|
|
40
37
|
def caps_set(
|
|
41
|
-
override_context: typing.
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
undo: typing.Optional[bool] = None,
|
|
46
|
-
type: typing.Optional[typing.Any] = "ROUND",
|
|
38
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
39
|
+
execution_context: str | int | None = None,
|
|
40
|
+
undo: bool | None = None,
|
|
41
|
+
type: typing.Any | None = "ROUND",
|
|
47
42
|
):
|
|
48
43
|
"""Change curve caps mode (rounded or flat)
|
|
49
44
|
|
|
50
|
-
:type override_context:
|
|
51
|
-
:type execution_context:
|
|
52
|
-
:type undo:
|
|
45
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
46
|
+
:type execution_context: str | int | None
|
|
47
|
+
:type undo: bool | None
|
|
53
48
|
:param type: Type
|
|
54
49
|
|
|
55
50
|
ROUND
|
|
@@ -63,94 +58,84 @@ def caps_set(
|
|
|
63
58
|
|
|
64
59
|
END
|
|
65
60
|
Toggle End.
|
|
66
|
-
:type type: typing.
|
|
61
|
+
:type type: typing.Any | None
|
|
67
62
|
"""
|
|
68
63
|
|
|
69
64
|
...
|
|
70
65
|
|
|
71
66
|
def clean_loose(
|
|
72
|
-
override_context: typing.
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
undo: typing.Optional[bool] = None,
|
|
77
|
-
limit: typing.Optional[typing.Any] = 1,
|
|
67
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
68
|
+
execution_context: str | int | None = None,
|
|
69
|
+
undo: bool | None = None,
|
|
70
|
+
limit: typing.Any | None = 1,
|
|
78
71
|
):
|
|
79
72
|
"""Remove loose points
|
|
80
73
|
|
|
81
|
-
:type override_context:
|
|
82
|
-
:type execution_context:
|
|
83
|
-
:type undo:
|
|
74
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
75
|
+
:type execution_context: str | int | None
|
|
76
|
+
:type undo: bool | None
|
|
84
77
|
:param limit: Limit, Number of points to consider stroke as loose
|
|
85
|
-
:type limit: typing.
|
|
78
|
+
:type limit: typing.Any | None
|
|
86
79
|
"""
|
|
87
80
|
|
|
88
81
|
...
|
|
89
82
|
|
|
90
83
|
def copy(
|
|
91
|
-
override_context: typing.
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
95
|
-
undo: typing.Optional[bool] = None,
|
|
84
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
85
|
+
execution_context: str | int | None = None,
|
|
86
|
+
undo: bool | None = None,
|
|
96
87
|
):
|
|
97
88
|
"""Copy the selected Grease Pencil points or strokes to the internal clipboard
|
|
98
89
|
|
|
99
|
-
:type override_context:
|
|
100
|
-
:type execution_context:
|
|
101
|
-
:type undo:
|
|
90
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
91
|
+
:type execution_context: str | int | None
|
|
92
|
+
:type undo: bool | None
|
|
102
93
|
"""
|
|
103
94
|
|
|
104
95
|
...
|
|
105
96
|
|
|
106
97
|
def cyclical_set(
|
|
107
|
-
override_context: typing.
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
undo: typing.Optional[bool] = None,
|
|
112
|
-
type: typing.Optional[typing.Any] = "TOGGLE",
|
|
98
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
99
|
+
execution_context: str | int | None = None,
|
|
100
|
+
undo: bool | None = None,
|
|
101
|
+
type: typing.Any | None = "TOGGLE",
|
|
113
102
|
):
|
|
114
103
|
"""Close or open the selected stroke adding a segment from last to first point
|
|
115
104
|
|
|
116
|
-
:type override_context:
|
|
117
|
-
:type execution_context:
|
|
118
|
-
:type undo:
|
|
105
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
106
|
+
:type execution_context: str | int | None
|
|
107
|
+
:type undo: bool | None
|
|
119
108
|
:param type: Type
|
|
120
|
-
:type type: typing.
|
|
109
|
+
:type type: typing.Any | None
|
|
121
110
|
"""
|
|
122
111
|
|
|
123
112
|
...
|
|
124
113
|
|
|
125
114
|
def delete(
|
|
126
|
-
override_context: typing.
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
130
|
-
undo: typing.Optional[bool] = None,
|
|
115
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
116
|
+
execution_context: str | int | None = None,
|
|
117
|
+
undo: bool | None = None,
|
|
131
118
|
):
|
|
132
119
|
"""Delete selected strokes or points
|
|
133
120
|
|
|
134
|
-
:type override_context:
|
|
135
|
-
:type execution_context:
|
|
136
|
-
:type undo:
|
|
121
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
122
|
+
:type execution_context: str | int | None
|
|
123
|
+
:type undo: bool | None
|
|
137
124
|
"""
|
|
138
125
|
|
|
139
126
|
...
|
|
140
127
|
|
|
141
128
|
def delete_frame(
|
|
142
|
-
override_context: typing.
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
undo: typing.Optional[bool] = None,
|
|
147
|
-
type: typing.Optional[typing.Any] = "ACTIVE_FRAME",
|
|
129
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
130
|
+
execution_context: str | int | None = None,
|
|
131
|
+
undo: bool | None = None,
|
|
132
|
+
type: typing.Any | None = "ACTIVE_FRAME",
|
|
148
133
|
):
|
|
149
134
|
"""Delete Grease Pencil Frame(s)
|
|
150
135
|
|
|
151
|
-
:type override_context:
|
|
152
|
-
:type execution_context:
|
|
153
|
-
:type undo:
|
|
136
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
137
|
+
:type execution_context: str | int | None
|
|
138
|
+
:type undo: bool | None
|
|
154
139
|
:param type: Type, Method used for deleting Grease Pencil frames
|
|
155
140
|
|
|
156
141
|
ACTIVE_FRAME
|
|
@@ -158,24 +143,22 @@ def delete_frame(
|
|
|
158
143
|
|
|
159
144
|
ALL_FRAMES
|
|
160
145
|
All Active Frames -- Delete active frames for all layers.
|
|
161
|
-
:type type: typing.
|
|
146
|
+
:type type: typing.Any | None
|
|
162
147
|
"""
|
|
163
148
|
|
|
164
149
|
...
|
|
165
150
|
|
|
166
151
|
def dissolve(
|
|
167
|
-
override_context: typing.
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
undo: typing.Optional[bool] = None,
|
|
172
|
-
type: typing.Optional[typing.Any] = "POINTS",
|
|
152
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
153
|
+
execution_context: str | int | None = None,
|
|
154
|
+
undo: bool | None = None,
|
|
155
|
+
type: typing.Any | None = "POINTS",
|
|
173
156
|
):
|
|
174
157
|
"""Delete selected points without splitting strokes
|
|
175
158
|
|
|
176
|
-
:type override_context:
|
|
177
|
-
:type execution_context:
|
|
178
|
-
:type undo:
|
|
159
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
160
|
+
:type execution_context: str | int | None
|
|
161
|
+
:type undo: bool | None
|
|
179
162
|
:param type: Type, Method used for dissolving stroke points
|
|
180
163
|
|
|
181
164
|
POINTS
|
|
@@ -186,716 +169,658 @@ def dissolve(
|
|
|
186
169
|
|
|
187
170
|
UNSELECT
|
|
188
171
|
Dissolve Unselect -- Dissolve all unselected points.
|
|
189
|
-
:type type: typing.
|
|
172
|
+
:type type: typing.Any | None
|
|
190
173
|
"""
|
|
191
174
|
|
|
192
175
|
...
|
|
193
176
|
|
|
194
177
|
def duplicate(
|
|
195
|
-
override_context: typing.
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
199
|
-
undo: typing.Optional[bool] = None,
|
|
178
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
179
|
+
execution_context: str | int | None = None,
|
|
180
|
+
undo: bool | None = None,
|
|
200
181
|
):
|
|
201
182
|
"""Duplicate the selected points
|
|
202
183
|
|
|
203
|
-
:type override_context:
|
|
204
|
-
:type execution_context:
|
|
205
|
-
:type undo:
|
|
184
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
185
|
+
:type execution_context: str | int | None
|
|
186
|
+
:type undo: bool | None
|
|
206
187
|
"""
|
|
207
188
|
|
|
208
189
|
...
|
|
209
190
|
|
|
210
191
|
def duplicate_move(
|
|
211
|
-
override_context: typing.
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
GREASE_PENCIL_OT_duplicate: typing.Optional[typing.Any] = None,
|
|
217
|
-
TRANSFORM_OT_translate: typing.Optional[bpy.ops.transform.translate] = None,
|
|
192
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
193
|
+
execution_context: str | int | None = None,
|
|
194
|
+
undo: bool | None = None,
|
|
195
|
+
GREASE_PENCIL_OT_duplicate: typing.Any | None = None,
|
|
196
|
+
TRANSFORM_OT_translate: bpy.ops.transform.translate | None = None,
|
|
218
197
|
):
|
|
219
198
|
"""Make copies of the selected Grease Pencil strokes and move them
|
|
220
199
|
|
|
221
|
-
:type override_context:
|
|
222
|
-
:type execution_context:
|
|
223
|
-
:type undo:
|
|
200
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
201
|
+
:type execution_context: str | int | None
|
|
202
|
+
:type undo: bool | None
|
|
224
203
|
:param GREASE_PENCIL_OT_duplicate: Duplicate, Duplicate the selected points
|
|
225
|
-
:type GREASE_PENCIL_OT_duplicate: typing.
|
|
204
|
+
:type GREASE_PENCIL_OT_duplicate: typing.Any | None
|
|
226
205
|
:param TRANSFORM_OT_translate: Move, Move selected items
|
|
227
|
-
:type TRANSFORM_OT_translate:
|
|
206
|
+
:type TRANSFORM_OT_translate: bpy.ops.transform.translate | None
|
|
228
207
|
"""
|
|
229
208
|
|
|
230
209
|
...
|
|
231
210
|
|
|
232
211
|
def extrude(
|
|
233
|
-
override_context: typing.
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
237
|
-
undo: typing.Optional[bool] = None,
|
|
212
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
213
|
+
execution_context: str | int | None = None,
|
|
214
|
+
undo: bool | None = None,
|
|
238
215
|
):
|
|
239
216
|
"""Extrude the selected points
|
|
240
217
|
|
|
241
|
-
:type override_context:
|
|
242
|
-
:type execution_context:
|
|
243
|
-
:type undo:
|
|
218
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
219
|
+
:type execution_context: str | int | None
|
|
220
|
+
:type undo: bool | None
|
|
244
221
|
"""
|
|
245
222
|
|
|
246
223
|
...
|
|
247
224
|
|
|
248
225
|
def extrude_move(
|
|
249
|
-
override_context: typing.
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
GREASE_PENCIL_OT_extrude: typing.Optional[typing.Any] = None,
|
|
255
|
-
TRANSFORM_OT_translate: typing.Optional[bpy.ops.transform.translate] = None,
|
|
226
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
227
|
+
execution_context: str | int | None = None,
|
|
228
|
+
undo: bool | None = None,
|
|
229
|
+
GREASE_PENCIL_OT_extrude: typing.Any | None = None,
|
|
230
|
+
TRANSFORM_OT_translate: bpy.ops.transform.translate | None = None,
|
|
256
231
|
):
|
|
257
232
|
"""Extrude selected points and move them
|
|
258
233
|
|
|
259
|
-
:type override_context:
|
|
260
|
-
:type execution_context:
|
|
261
|
-
:type undo:
|
|
234
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
235
|
+
:type execution_context: str | int | None
|
|
236
|
+
:type undo: bool | None
|
|
262
237
|
:param GREASE_PENCIL_OT_extrude: Extrude Stroke Points, Extrude the selected points
|
|
263
|
-
:type GREASE_PENCIL_OT_extrude: typing.
|
|
238
|
+
:type GREASE_PENCIL_OT_extrude: typing.Any | None
|
|
264
239
|
:param TRANSFORM_OT_translate: Move, Move selected items
|
|
265
|
-
:type TRANSFORM_OT_translate:
|
|
240
|
+
:type TRANSFORM_OT_translate: bpy.ops.transform.translate | None
|
|
241
|
+
"""
|
|
242
|
+
|
|
243
|
+
...
|
|
244
|
+
|
|
245
|
+
def fill(
|
|
246
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
247
|
+
execution_context: str | int | None = None,
|
|
248
|
+
undo: bool | None = None,
|
|
249
|
+
on_back: bool | typing.Any | None = False,
|
|
250
|
+
):
|
|
251
|
+
"""Fill with color the shape formed by strokes
|
|
252
|
+
|
|
253
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
254
|
+
:type execution_context: str | int | None
|
|
255
|
+
:type undo: bool | None
|
|
256
|
+
:param on_back: Draw on Back, Send new stroke to back
|
|
257
|
+
:type on_back: bool | typing.Any | None
|
|
266
258
|
"""
|
|
267
259
|
|
|
268
260
|
...
|
|
269
261
|
|
|
270
262
|
def insert_blank_frame(
|
|
271
|
-
override_context: typing.
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
all_layers: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
277
|
-
duration: typing.Optional[typing.Any] = 0,
|
|
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,
|
|
267
|
+
duration: typing.Any | None = 0,
|
|
278
268
|
):
|
|
279
269
|
"""Insert a blank frame on the current scene frame
|
|
280
270
|
|
|
281
|
-
:type override_context:
|
|
282
|
-
:type execution_context:
|
|
283
|
-
:type undo:
|
|
271
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
272
|
+
:type execution_context: str | int | None
|
|
273
|
+
:type undo: bool | None
|
|
284
274
|
:param all_layers: All Layers, Insert a blank frame in all editable layers
|
|
285
|
-
:type all_layers:
|
|
275
|
+
:type all_layers: bool | typing.Any | None
|
|
286
276
|
:param duration: Duration
|
|
287
|
-
:type duration: typing.
|
|
277
|
+
:type duration: typing.Any | None
|
|
288
278
|
"""
|
|
289
279
|
|
|
290
280
|
...
|
|
291
281
|
|
|
292
282
|
def layer_active(
|
|
293
|
-
override_context: typing.
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
undo: typing.Optional[bool] = None,
|
|
298
|
-
layer: typing.Optional[typing.Any] = 0,
|
|
283
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
284
|
+
execution_context: str | int | None = None,
|
|
285
|
+
undo: bool | None = None,
|
|
286
|
+
layer: typing.Any | None = 0,
|
|
299
287
|
):
|
|
300
288
|
"""Set the active Grease Pencil layer
|
|
301
289
|
|
|
302
|
-
:type override_context:
|
|
303
|
-
:type execution_context:
|
|
304
|
-
:type undo:
|
|
290
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
291
|
+
:type execution_context: str | int | None
|
|
292
|
+
:type undo: bool | None
|
|
305
293
|
:param layer: Grease Pencil Layer
|
|
306
|
-
:type layer: typing.
|
|
294
|
+
:type layer: typing.Any | None
|
|
307
295
|
"""
|
|
308
296
|
|
|
309
297
|
...
|
|
310
298
|
|
|
311
299
|
def layer_add(
|
|
312
|
-
override_context: typing.
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
undo: typing.Optional[bool] = None,
|
|
317
|
-
new_layer_name: typing.Union[str, typing.Any] = "Layer",
|
|
300
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
301
|
+
execution_context: str | int | None = None,
|
|
302
|
+
undo: bool | None = None,
|
|
303
|
+
new_layer_name: str | typing.Any = "Layer",
|
|
318
304
|
):
|
|
319
305
|
"""Add a new Grease Pencil layer in the active object
|
|
320
306
|
|
|
321
|
-
:type override_context:
|
|
322
|
-
:type execution_context:
|
|
323
|
-
:type undo:
|
|
307
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
308
|
+
:type execution_context: str | int | None
|
|
309
|
+
:type undo: bool | None
|
|
324
310
|
:param new_layer_name: Name, Name of the new layer
|
|
325
|
-
:type new_layer_name:
|
|
311
|
+
:type new_layer_name: str | typing.Any
|
|
326
312
|
"""
|
|
327
313
|
|
|
328
314
|
...
|
|
329
315
|
|
|
330
316
|
def layer_duplicate(
|
|
331
|
-
override_context: typing.
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
undo: typing.Optional[bool] = None,
|
|
336
|
-
empty_keyframes: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
317
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
318
|
+
execution_context: str | int | None = None,
|
|
319
|
+
undo: bool | None = None,
|
|
320
|
+
empty_keyframes: bool | typing.Any | None = False,
|
|
337
321
|
):
|
|
338
322
|
"""Make a copy of the active Grease Pencil layer
|
|
339
323
|
|
|
340
|
-
:type override_context:
|
|
341
|
-
:type execution_context:
|
|
342
|
-
:type undo:
|
|
324
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
325
|
+
:type execution_context: str | int | None
|
|
326
|
+
:type undo: bool | None
|
|
343
327
|
:param empty_keyframes: Empty Keyframes, Add Empty Keyframes
|
|
344
|
-
:type empty_keyframes:
|
|
328
|
+
:type empty_keyframes: bool | typing.Any | None
|
|
345
329
|
"""
|
|
346
330
|
|
|
347
331
|
...
|
|
348
332
|
|
|
349
333
|
def layer_group_add(
|
|
350
|
-
override_context: typing.
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
undo: typing.Optional[bool] = None,
|
|
355
|
-
new_layer_group_name: typing.Union[str, typing.Any] = "",
|
|
334
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
335
|
+
execution_context: str | int | None = None,
|
|
336
|
+
undo: bool | None = None,
|
|
337
|
+
new_layer_group_name: str | typing.Any = "",
|
|
356
338
|
):
|
|
357
339
|
"""Add a new Grease Pencil layer group in the active object
|
|
358
340
|
|
|
359
|
-
:type override_context:
|
|
360
|
-
:type execution_context:
|
|
361
|
-
:type undo:
|
|
341
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
342
|
+
:type execution_context: str | int | None
|
|
343
|
+
:type undo: bool | None
|
|
362
344
|
:param new_layer_group_name: Name, Name of the new layer group
|
|
363
|
-
:type new_layer_group_name:
|
|
345
|
+
:type new_layer_group_name: str | typing.Any
|
|
364
346
|
"""
|
|
365
347
|
|
|
366
348
|
...
|
|
367
349
|
|
|
368
350
|
def layer_group_remove(
|
|
369
|
-
override_context: typing.
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
undo: typing.Optional[bool] = None,
|
|
374
|
-
keep_children: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
351
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
352
|
+
execution_context: str | int | None = None,
|
|
353
|
+
undo: bool | None = None,
|
|
354
|
+
keep_children: bool | typing.Any | None = False,
|
|
375
355
|
):
|
|
376
356
|
"""Remove Grease Pencil layer group in the active object
|
|
377
357
|
|
|
378
|
-
:type override_context:
|
|
379
|
-
:type execution_context:
|
|
380
|
-
:type undo:
|
|
358
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
359
|
+
:type execution_context: str | int | None
|
|
360
|
+
:type undo: bool | None
|
|
381
361
|
:param keep_children: Keep children nodes, Keep the children nodes of the group and only delete the group itself
|
|
382
|
-
:type keep_children:
|
|
362
|
+
:type keep_children: bool | typing.Any | None
|
|
383
363
|
"""
|
|
384
364
|
|
|
385
365
|
...
|
|
386
366
|
|
|
387
367
|
def layer_hide(
|
|
388
|
-
override_context: typing.
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
undo: typing.Optional[bool] = None,
|
|
393
|
-
unselected: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
368
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
369
|
+
execution_context: str | int | None = None,
|
|
370
|
+
undo: bool | None = None,
|
|
371
|
+
unselected: bool | typing.Any | None = False,
|
|
394
372
|
):
|
|
395
373
|
"""Hide selected/unselected Grease Pencil layers
|
|
396
374
|
|
|
397
|
-
:type override_context:
|
|
398
|
-
:type execution_context:
|
|
399
|
-
:type undo:
|
|
375
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
376
|
+
:type execution_context: str | int | None
|
|
377
|
+
:type undo: bool | None
|
|
400
378
|
:param unselected: Unselected, Hide unselected rather than selected layers
|
|
401
|
-
:type unselected:
|
|
379
|
+
:type unselected: bool | typing.Any | None
|
|
402
380
|
"""
|
|
403
381
|
|
|
404
382
|
...
|
|
405
383
|
|
|
406
384
|
def layer_isolate(
|
|
407
|
-
override_context: typing.
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
undo: typing.Optional[bool] = None,
|
|
412
|
-
affect_visibility: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
385
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
386
|
+
execution_context: str | int | None = None,
|
|
387
|
+
undo: bool | None = None,
|
|
388
|
+
affect_visibility: bool | typing.Any | None = False,
|
|
413
389
|
):
|
|
414
390
|
"""Make only active layer visible/editable
|
|
415
391
|
|
|
416
|
-
:type override_context:
|
|
417
|
-
:type execution_context:
|
|
418
|
-
:type undo:
|
|
392
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
393
|
+
:type execution_context: str | int | None
|
|
394
|
+
:type undo: bool | None
|
|
419
395
|
:param affect_visibility: Affect Visibility, Also affect the visibility
|
|
420
|
-
:type affect_visibility:
|
|
396
|
+
:type affect_visibility: bool | typing.Any | None
|
|
421
397
|
"""
|
|
422
398
|
|
|
423
399
|
...
|
|
424
400
|
|
|
425
401
|
def layer_lock_all(
|
|
426
|
-
override_context: typing.
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
undo: typing.Optional[bool] = None,
|
|
431
|
-
lock: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
402
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
403
|
+
execution_context: str | int | None = None,
|
|
404
|
+
undo: bool | None = None,
|
|
405
|
+
lock: bool | typing.Any | None = True,
|
|
432
406
|
):
|
|
433
407
|
"""Lock all Grease Pencil layers to prevent them from being accidentally modified
|
|
434
408
|
|
|
435
|
-
:type override_context:
|
|
436
|
-
:type execution_context:
|
|
437
|
-
:type undo:
|
|
409
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
410
|
+
:type execution_context: str | int | None
|
|
411
|
+
:type undo: bool | None
|
|
438
412
|
:param lock: Lock Value, Lock/Unlock all layers
|
|
439
|
-
:type lock:
|
|
413
|
+
:type lock: bool | typing.Any | None
|
|
440
414
|
"""
|
|
441
415
|
|
|
442
416
|
...
|
|
443
417
|
|
|
444
418
|
def layer_mask_add(
|
|
445
|
-
override_context: typing.
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
undo: typing.Optional[bool] = None,
|
|
450
|
-
name: typing.Union[str, typing.Any] = "",
|
|
419
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
420
|
+
execution_context: str | int | None = None,
|
|
421
|
+
undo: bool | None = None,
|
|
422
|
+
name: str | typing.Any = "",
|
|
451
423
|
):
|
|
452
424
|
"""Add new layer as masking
|
|
453
425
|
|
|
454
|
-
:type override_context:
|
|
455
|
-
:type execution_context:
|
|
456
|
-
:type undo:
|
|
426
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
427
|
+
:type execution_context: str | int | None
|
|
428
|
+
:type undo: bool | None
|
|
457
429
|
:param name: Layer, Name of the layer
|
|
458
|
-
:type name:
|
|
430
|
+
:type name: str | typing.Any
|
|
459
431
|
"""
|
|
460
432
|
|
|
461
433
|
...
|
|
462
434
|
|
|
463
435
|
def layer_mask_remove(
|
|
464
|
-
override_context: typing.
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
468
|
-
undo: typing.Optional[bool] = None,
|
|
436
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
437
|
+
execution_context: str | int | None = None,
|
|
438
|
+
undo: bool | None = None,
|
|
469
439
|
):
|
|
470
440
|
"""Remove Layer Mask
|
|
471
441
|
|
|
472
|
-
:type override_context:
|
|
473
|
-
:type execution_context:
|
|
474
|
-
:type undo:
|
|
442
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
443
|
+
:type execution_context: str | int | None
|
|
444
|
+
:type undo: bool | None
|
|
475
445
|
"""
|
|
476
446
|
|
|
477
447
|
...
|
|
478
448
|
|
|
479
449
|
def layer_mask_reorder(
|
|
480
|
-
override_context: typing.
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
undo: typing.Optional[bool] = None,
|
|
485
|
-
direction: typing.Optional[typing.Any] = "UP",
|
|
450
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
451
|
+
execution_context: str | int | None = None,
|
|
452
|
+
undo: bool | None = None,
|
|
453
|
+
direction: typing.Any | None = "UP",
|
|
486
454
|
):
|
|
487
455
|
"""Reorder the active Grease Pencil mask layer up/down in the list
|
|
488
456
|
|
|
489
|
-
:type override_context:
|
|
490
|
-
:type execution_context:
|
|
491
|
-
:type undo:
|
|
457
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
458
|
+
:type execution_context: str | int | None
|
|
459
|
+
:type undo: bool | None
|
|
492
460
|
:param direction: Direction
|
|
493
|
-
:type direction: typing.
|
|
461
|
+
:type direction: typing.Any | None
|
|
494
462
|
"""
|
|
495
463
|
|
|
496
464
|
...
|
|
497
465
|
|
|
498
466
|
def layer_remove(
|
|
499
|
-
override_context: typing.
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
503
|
-
undo: typing.Optional[bool] = None,
|
|
467
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
468
|
+
execution_context: str | int | None = None,
|
|
469
|
+
undo: bool | None = None,
|
|
504
470
|
):
|
|
505
471
|
"""Remove the active Grease Pencil layer
|
|
506
472
|
|
|
507
|
-
:type override_context:
|
|
508
|
-
:type execution_context:
|
|
509
|
-
:type undo:
|
|
473
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
474
|
+
:type execution_context: str | int | None
|
|
475
|
+
:type undo: bool | None
|
|
510
476
|
"""
|
|
511
477
|
|
|
512
478
|
...
|
|
513
479
|
|
|
514
480
|
def layer_reorder(
|
|
515
|
-
override_context: typing.
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
target_layer_name: typing.Union[str, typing.Any] = "Layer",
|
|
521
|
-
location: typing.Optional[typing.Any] = "ABOVE",
|
|
481
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
482
|
+
execution_context: str | int | None = None,
|
|
483
|
+
undo: bool | None = None,
|
|
484
|
+
target_layer_name: str | typing.Any = "Layer",
|
|
485
|
+
location: typing.Any | None = "ABOVE",
|
|
522
486
|
):
|
|
523
487
|
"""Reorder the active Grease Pencil layer
|
|
524
488
|
|
|
525
|
-
:type override_context:
|
|
526
|
-
:type execution_context:
|
|
527
|
-
:type undo:
|
|
489
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
490
|
+
:type execution_context: str | int | None
|
|
491
|
+
:type undo: bool | None
|
|
528
492
|
:param target_layer_name: Target Name, Name of the target layer
|
|
529
|
-
:type target_layer_name:
|
|
493
|
+
:type target_layer_name: str | typing.Any
|
|
530
494
|
:param location: Location
|
|
531
|
-
:type location: typing.
|
|
495
|
+
:type location: typing.Any | None
|
|
532
496
|
"""
|
|
533
497
|
|
|
534
498
|
...
|
|
535
499
|
|
|
536
500
|
def layer_reveal(
|
|
537
|
-
override_context: typing.
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
541
|
-
undo: typing.Optional[bool] = None,
|
|
501
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
502
|
+
execution_context: str | int | None = None,
|
|
503
|
+
undo: bool | None = None,
|
|
542
504
|
):
|
|
543
505
|
"""Show all Grease Pencil layers
|
|
544
506
|
|
|
545
|
-
:type override_context:
|
|
546
|
-
:type execution_context:
|
|
547
|
-
:type undo:
|
|
507
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
508
|
+
:type execution_context: str | int | None
|
|
509
|
+
:type undo: bool | None
|
|
548
510
|
"""
|
|
549
511
|
|
|
550
512
|
...
|
|
551
513
|
|
|
552
514
|
def material_copy_to_object(
|
|
553
|
-
override_context: typing.
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
undo: typing.Optional[bool] = None,
|
|
558
|
-
only_active: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
515
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
516
|
+
execution_context: str | int | None = None,
|
|
517
|
+
undo: bool | None = None,
|
|
518
|
+
only_active: bool | typing.Any | None = True,
|
|
559
519
|
):
|
|
560
520
|
"""Append Materials of the active Grease Pencil to other object
|
|
561
521
|
|
|
562
|
-
:type override_context:
|
|
563
|
-
:type execution_context:
|
|
564
|
-
:type undo:
|
|
522
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
523
|
+
:type execution_context: str | int | None
|
|
524
|
+
:type undo: bool | None
|
|
565
525
|
:param only_active: Only Active, Append only active material, uncheck to append all materials
|
|
566
|
-
:type only_active:
|
|
526
|
+
:type only_active: bool | typing.Any | None
|
|
567
527
|
"""
|
|
568
528
|
|
|
569
529
|
...
|
|
570
530
|
|
|
571
531
|
def material_hide(
|
|
572
|
-
override_context: typing.
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
undo: typing.Optional[bool] = None,
|
|
577
|
-
invert: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
532
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
533
|
+
execution_context: str | int | None = None,
|
|
534
|
+
undo: bool | None = None,
|
|
535
|
+
invert: bool | typing.Any | None = False,
|
|
578
536
|
):
|
|
579
537
|
"""Hide active/inactive Grease Pencil material(s)
|
|
580
538
|
|
|
581
|
-
:type override_context:
|
|
582
|
-
:type execution_context:
|
|
583
|
-
:type undo:
|
|
539
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
540
|
+
:type execution_context: str | int | None
|
|
541
|
+
:type undo: bool | None
|
|
584
542
|
:param invert: Invert, Hide inactive materials instead of the active one
|
|
585
|
-
:type invert:
|
|
543
|
+
:type invert: bool | typing.Any | None
|
|
586
544
|
"""
|
|
587
545
|
|
|
588
546
|
...
|
|
589
547
|
|
|
590
548
|
def material_lock_all(
|
|
591
|
-
override_context: typing.
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
595
|
-
undo: typing.Optional[bool] = None,
|
|
549
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
550
|
+
execution_context: str | int | None = None,
|
|
551
|
+
undo: bool | None = None,
|
|
596
552
|
):
|
|
597
553
|
"""Lock all Grease Pencil materials to prevent them from being accidentally modified
|
|
598
554
|
|
|
599
|
-
:type override_context:
|
|
600
|
-
:type execution_context:
|
|
601
|
-
:type undo:
|
|
555
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
556
|
+
:type execution_context: str | int | None
|
|
557
|
+
:type undo: bool | None
|
|
602
558
|
"""
|
|
603
559
|
|
|
604
560
|
...
|
|
605
561
|
|
|
606
562
|
def material_lock_unselected(
|
|
607
|
-
override_context: typing.
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
611
|
-
undo: typing.Optional[bool] = None,
|
|
563
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
564
|
+
execution_context: str | int | None = None,
|
|
565
|
+
undo: bool | None = None,
|
|
612
566
|
):
|
|
613
567
|
"""Lock any material not used in any selected stroke
|
|
614
568
|
|
|
615
|
-
:type override_context:
|
|
616
|
-
:type execution_context:
|
|
617
|
-
:type undo:
|
|
569
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
570
|
+
:type execution_context: str | int | None
|
|
571
|
+
:type undo: bool | None
|
|
618
572
|
"""
|
|
619
573
|
|
|
620
574
|
...
|
|
621
575
|
|
|
622
576
|
def material_lock_unused(
|
|
623
|
-
override_context: typing.
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
627
|
-
undo: typing.Optional[bool] = None,
|
|
577
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
578
|
+
execution_context: str | int | None = None,
|
|
579
|
+
undo: bool | None = None,
|
|
628
580
|
):
|
|
629
581
|
"""Lock and hide any material not used
|
|
630
582
|
|
|
631
|
-
:type override_context:
|
|
632
|
-
:type execution_context:
|
|
633
|
-
:type undo:
|
|
583
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
584
|
+
:type execution_context: str | int | None
|
|
585
|
+
:type undo: bool | None
|
|
634
586
|
"""
|
|
635
587
|
|
|
636
588
|
...
|
|
637
589
|
|
|
638
590
|
def material_reveal(
|
|
639
|
-
override_context: typing.
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
643
|
-
undo: typing.Optional[bool] = None,
|
|
591
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
592
|
+
execution_context: str | int | None = None,
|
|
593
|
+
undo: bool | None = None,
|
|
644
594
|
):
|
|
645
595
|
"""Unhide all hidden Grease Pencil materials
|
|
646
596
|
|
|
647
|
-
:type override_context:
|
|
648
|
-
:type execution_context:
|
|
649
|
-
:type undo:
|
|
597
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
598
|
+
:type execution_context: str | int | None
|
|
599
|
+
:type undo: bool | None
|
|
650
600
|
"""
|
|
651
601
|
|
|
652
602
|
...
|
|
653
603
|
|
|
654
604
|
def material_select(
|
|
655
|
-
override_context: typing.
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
undo: typing.Optional[bool] = None,
|
|
660
|
-
deselect: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
605
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
606
|
+
execution_context: str | int | None = None,
|
|
607
|
+
undo: bool | None = None,
|
|
608
|
+
deselect: bool | typing.Any | None = False,
|
|
661
609
|
):
|
|
662
610
|
"""Select/Deselect all Grease Pencil strokes using current material
|
|
663
611
|
|
|
664
|
-
:type override_context:
|
|
665
|
-
:type execution_context:
|
|
666
|
-
:type undo:
|
|
612
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
613
|
+
:type execution_context: str | int | None
|
|
614
|
+
:type undo: bool | None
|
|
667
615
|
:param deselect: Deselect, Unselect strokes
|
|
668
|
-
:type deselect:
|
|
616
|
+
:type deselect: bool | typing.Any | None
|
|
669
617
|
"""
|
|
670
618
|
|
|
671
619
|
...
|
|
672
620
|
|
|
673
621
|
def material_unlock_all(
|
|
674
|
-
override_context: typing.
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
678
|
-
undo: typing.Optional[bool] = None,
|
|
622
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
623
|
+
execution_context: str | int | None = None,
|
|
624
|
+
undo: bool | None = None,
|
|
679
625
|
):
|
|
680
626
|
"""Unlock all Grease Pencil materials so that they can be edited
|
|
681
627
|
|
|
682
|
-
:type override_context:
|
|
683
|
-
:type execution_context:
|
|
684
|
-
:type undo:
|
|
628
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
629
|
+
:type execution_context: str | int | None
|
|
630
|
+
:type undo: bool | None
|
|
685
631
|
"""
|
|
686
632
|
|
|
687
633
|
...
|
|
688
634
|
|
|
689
635
|
def move_to_layer(
|
|
690
|
-
override_context: typing.
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
target_layer_name: typing.Union[str, typing.Any] = "Layer",
|
|
696
|
-
add_new_layer: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
636
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
637
|
+
execution_context: str | int | None = None,
|
|
638
|
+
undo: bool | None = None,
|
|
639
|
+
target_layer_name: str | typing.Any = "Layer",
|
|
640
|
+
add_new_layer: bool | typing.Any | None = False,
|
|
697
641
|
):
|
|
698
642
|
"""Move selected strokes to another layer
|
|
699
643
|
|
|
700
|
-
:type override_context:
|
|
701
|
-
:type execution_context:
|
|
702
|
-
:type undo:
|
|
644
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
645
|
+
:type execution_context: str | int | None
|
|
646
|
+
:type undo: bool | None
|
|
703
647
|
:param target_layer_name: Name, Target Grease Pencil Layer
|
|
704
|
-
:type target_layer_name:
|
|
648
|
+
:type target_layer_name: str | typing.Any
|
|
705
649
|
:param add_new_layer: New Layer, Move selection to a new layer
|
|
706
|
-
:type add_new_layer:
|
|
650
|
+
:type add_new_layer: bool | typing.Any | None
|
|
707
651
|
"""
|
|
708
652
|
|
|
709
653
|
...
|
|
710
654
|
|
|
711
655
|
def paste(
|
|
712
|
-
override_context: typing.
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
undo: typing.Optional[bool] = None,
|
|
717
|
-
paste_back: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
656
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
657
|
+
execution_context: str | int | None = None,
|
|
658
|
+
undo: bool | None = None,
|
|
659
|
+
paste_back: bool | typing.Any | None = False,
|
|
718
660
|
):
|
|
719
661
|
"""Paste Grease Pencil points or strokes from the internal clipboard to the active layer
|
|
720
662
|
|
|
721
|
-
:type override_context:
|
|
722
|
-
:type execution_context:
|
|
723
|
-
:type undo:
|
|
663
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
664
|
+
:type execution_context: str | int | None
|
|
665
|
+
:type undo: bool | None
|
|
724
666
|
:param paste_back: Paste on Back, Add pasted strokes behind all strokes
|
|
725
|
-
:type paste_back:
|
|
667
|
+
:type paste_back: bool | typing.Any | None
|
|
726
668
|
"""
|
|
727
669
|
|
|
728
670
|
...
|
|
729
671
|
|
|
730
672
|
def primitive_arc(
|
|
731
|
-
override_context: typing.
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
subdivision: typing.Optional[typing.Any] = 62,
|
|
737
|
-
type: typing.Optional[typing.Any] = "ARC",
|
|
673
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
674
|
+
execution_context: str | int | None = None,
|
|
675
|
+
undo: bool | None = None,
|
|
676
|
+
subdivision: typing.Any | None = 62,
|
|
677
|
+
type: typing.Any | None = "ARC",
|
|
738
678
|
):
|
|
739
679
|
"""Create predefined grease pencil stroke arcs
|
|
740
680
|
|
|
741
|
-
:type override_context:
|
|
742
|
-
:type execution_context:
|
|
743
|
-
:type undo:
|
|
681
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
682
|
+
:type execution_context: str | int | None
|
|
683
|
+
:type undo: bool | None
|
|
744
684
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
745
|
-
:type subdivision: typing.
|
|
685
|
+
:type subdivision: typing.Any | None
|
|
746
686
|
:param type: Type, Type of shape
|
|
747
|
-
:type type: typing.
|
|
687
|
+
:type type: typing.Any | None
|
|
748
688
|
"""
|
|
749
689
|
|
|
750
690
|
...
|
|
751
691
|
|
|
752
692
|
def primitive_box(
|
|
753
|
-
override_context: typing.
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
subdivision: typing.Optional[typing.Any] = 3,
|
|
759
|
-
type: typing.Optional[typing.Any] = "BOX",
|
|
693
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
694
|
+
execution_context: str | int | None = None,
|
|
695
|
+
undo: bool | None = None,
|
|
696
|
+
subdivision: typing.Any | None = 3,
|
|
697
|
+
type: typing.Any | None = "BOX",
|
|
760
698
|
):
|
|
761
699
|
"""Create predefined grease pencil stroke boxes
|
|
762
700
|
|
|
763
|
-
:type override_context:
|
|
764
|
-
:type execution_context:
|
|
765
|
-
:type undo:
|
|
701
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
702
|
+
:type execution_context: str | int | None
|
|
703
|
+
:type undo: bool | None
|
|
766
704
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
767
|
-
:type subdivision: typing.
|
|
705
|
+
:type subdivision: typing.Any | None
|
|
768
706
|
:param type: Type, Type of shape
|
|
769
|
-
:type type: typing.
|
|
707
|
+
:type type: typing.Any | None
|
|
770
708
|
"""
|
|
771
709
|
|
|
772
710
|
...
|
|
773
711
|
|
|
774
712
|
def primitive_circle(
|
|
775
|
-
override_context: typing.
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
subdivision: typing.Optional[typing.Any] = 94,
|
|
781
|
-
type: typing.Optional[typing.Any] = "CIRCLE",
|
|
713
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
714
|
+
execution_context: str | int | None = None,
|
|
715
|
+
undo: bool | None = None,
|
|
716
|
+
subdivision: typing.Any | None = 94,
|
|
717
|
+
type: typing.Any | None = "CIRCLE",
|
|
782
718
|
):
|
|
783
719
|
"""Create predefined grease pencil stroke circles
|
|
784
720
|
|
|
785
|
-
:type override_context:
|
|
786
|
-
:type execution_context:
|
|
787
|
-
:type undo:
|
|
721
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
722
|
+
:type execution_context: str | int | None
|
|
723
|
+
:type undo: bool | None
|
|
788
724
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
789
|
-
:type subdivision: typing.
|
|
725
|
+
:type subdivision: typing.Any | None
|
|
790
726
|
:param type: Type, Type of shape
|
|
791
|
-
:type type: typing.
|
|
727
|
+
:type type: typing.Any | None
|
|
792
728
|
"""
|
|
793
729
|
|
|
794
730
|
...
|
|
795
731
|
|
|
796
732
|
def primitive_curve(
|
|
797
|
-
override_context: typing.
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
subdivision: typing.Optional[typing.Any] = 62,
|
|
803
|
-
type: typing.Optional[typing.Any] = "CURVE",
|
|
733
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
734
|
+
execution_context: str | int | None = None,
|
|
735
|
+
undo: bool | None = None,
|
|
736
|
+
subdivision: typing.Any | None = 62,
|
|
737
|
+
type: typing.Any | None = "CURVE",
|
|
804
738
|
):
|
|
805
739
|
"""Create predefined grease pencil stroke curve shapes
|
|
806
740
|
|
|
807
|
-
:type override_context:
|
|
808
|
-
:type execution_context:
|
|
809
|
-
:type undo:
|
|
741
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
742
|
+
:type execution_context: str | int | None
|
|
743
|
+
:type undo: bool | None
|
|
810
744
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
811
|
-
:type subdivision: typing.
|
|
745
|
+
:type subdivision: typing.Any | None
|
|
812
746
|
:param type: Type, Type of shape
|
|
813
|
-
:type type: typing.
|
|
747
|
+
:type type: typing.Any | None
|
|
814
748
|
"""
|
|
815
749
|
|
|
816
750
|
...
|
|
817
751
|
|
|
818
752
|
def primitive_line(
|
|
819
|
-
override_context: typing.
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
subdivision: typing.Optional[typing.Any] = 6,
|
|
825
|
-
type: typing.Optional[typing.Any] = "LINE",
|
|
753
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
754
|
+
execution_context: str | int | None = None,
|
|
755
|
+
undo: bool | None = None,
|
|
756
|
+
subdivision: typing.Any | None = 6,
|
|
757
|
+
type: typing.Any | None = "LINE",
|
|
826
758
|
):
|
|
827
759
|
"""Create predefined grease pencil stroke lines
|
|
828
760
|
|
|
829
|
-
:type override_context:
|
|
830
|
-
:type execution_context:
|
|
831
|
-
:type undo:
|
|
761
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
762
|
+
:type execution_context: str | int | None
|
|
763
|
+
:type undo: bool | None
|
|
832
764
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
833
|
-
:type subdivision: typing.
|
|
765
|
+
:type subdivision: typing.Any | None
|
|
834
766
|
:param type: Type, Type of shape
|
|
835
|
-
:type type: typing.
|
|
767
|
+
:type type: typing.Any | None
|
|
836
768
|
"""
|
|
837
769
|
|
|
838
770
|
...
|
|
839
771
|
|
|
840
772
|
def primitive_polyline(
|
|
841
|
-
override_context: typing.
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
subdivision: typing.Optional[typing.Any] = 6,
|
|
847
|
-
type: typing.Optional[typing.Any] = "POLYLINE",
|
|
773
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
774
|
+
execution_context: str | int | None = None,
|
|
775
|
+
undo: bool | None = None,
|
|
776
|
+
subdivision: typing.Any | None = 6,
|
|
777
|
+
type: typing.Any | None = "POLYLINE",
|
|
848
778
|
):
|
|
849
779
|
"""Create predefined grease pencil stroke polylines
|
|
850
780
|
|
|
851
|
-
:type override_context:
|
|
852
|
-
:type execution_context:
|
|
853
|
-
:type undo:
|
|
781
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
782
|
+
:type execution_context: str | int | None
|
|
783
|
+
:type undo: bool | None
|
|
854
784
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
855
|
-
:type subdivision: typing.
|
|
785
|
+
:type subdivision: typing.Any | None
|
|
856
786
|
:param type: Type, Type of shape
|
|
857
|
-
:type type: typing.
|
|
787
|
+
:type type: typing.Any | None
|
|
858
788
|
"""
|
|
859
789
|
|
|
860
790
|
...
|
|
861
791
|
|
|
862
792
|
def reorder(
|
|
863
|
-
override_context: typing.
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
undo: typing.Optional[bool] = None,
|
|
868
|
-
direction: typing.Optional[typing.Any] = "TOP",
|
|
793
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
794
|
+
execution_context: str | int | None = None,
|
|
795
|
+
undo: bool | None = None,
|
|
796
|
+
direction: typing.Any | None = "TOP",
|
|
869
797
|
):
|
|
870
798
|
"""Change the display order of the selected strokes
|
|
871
799
|
|
|
872
|
-
:type override_context:
|
|
873
|
-
:type execution_context:
|
|
874
|
-
:type undo:
|
|
800
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
801
|
+
:type execution_context: str | int | None
|
|
802
|
+
:type undo: bool | None
|
|
875
803
|
:param direction: Direction
|
|
876
|
-
:type direction: typing.
|
|
804
|
+
:type direction: typing.Any | None
|
|
877
805
|
"""
|
|
878
806
|
|
|
879
807
|
...
|
|
880
808
|
|
|
881
809
|
def sculpt_paint(
|
|
882
|
-
override_context: typing.
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
889
|
-
] = None,
|
|
890
|
-
mode: typing.Optional[typing.Any] = "NORMAL",
|
|
810
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
811
|
+
execution_context: str | int | None = None,
|
|
812
|
+
undo: bool | None = None,
|
|
813
|
+
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
814
|
+
| None = None,
|
|
815
|
+
mode: typing.Any | None = "NORMAL",
|
|
891
816
|
):
|
|
892
817
|
"""Draw a new stroke in the active Grease Pencil object
|
|
893
818
|
|
|
894
|
-
:type override_context:
|
|
895
|
-
:type execution_context:
|
|
896
|
-
:type undo:
|
|
819
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
820
|
+
:type execution_context: str | int | None
|
|
821
|
+
:type undo: bool | None
|
|
897
822
|
:param stroke: Stroke
|
|
898
|
-
:type stroke:
|
|
823
|
+
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
|
|
899
824
|
:param mode: Stroke Mode, Action taken when a paint stroke is made
|
|
900
825
|
|
|
901
826
|
NORMAL
|
|
@@ -906,24 +831,22 @@ def sculpt_paint(
|
|
|
906
831
|
|
|
907
832
|
SMOOTH
|
|
908
833
|
Smooth -- Switch brush to smooth mode for duration of stroke.
|
|
909
|
-
:type mode: typing.
|
|
834
|
+
:type mode: typing.Any | None
|
|
910
835
|
"""
|
|
911
836
|
|
|
912
837
|
...
|
|
913
838
|
|
|
914
839
|
def select_all(
|
|
915
|
-
override_context: typing.
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
undo: typing.Optional[bool] = None,
|
|
920
|
-
action: typing.Optional[typing.Any] = "TOGGLE",
|
|
840
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
841
|
+
execution_context: str | int | None = None,
|
|
842
|
+
undo: bool | None = None,
|
|
843
|
+
action: typing.Any | None = "TOGGLE",
|
|
921
844
|
):
|
|
922
845
|
"""(De)select all visible strokes
|
|
923
846
|
|
|
924
|
-
:type override_context:
|
|
925
|
-
:type execution_context:
|
|
926
|
-
:type undo:
|
|
847
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
848
|
+
:type execution_context: str | int | None
|
|
849
|
+
:type undo: bool | None
|
|
927
850
|
:param action: Action, Selection action to execute
|
|
928
851
|
|
|
929
852
|
TOGGLE
|
|
@@ -937,119 +860,107 @@ def select_all(
|
|
|
937
860
|
|
|
938
861
|
INVERT
|
|
939
862
|
Invert -- Invert selection of all elements.
|
|
940
|
-
:type action: typing.
|
|
863
|
+
:type action: typing.Any | None
|
|
941
864
|
"""
|
|
942
865
|
|
|
943
866
|
...
|
|
944
867
|
|
|
945
868
|
def select_alternate(
|
|
946
|
-
override_context: typing.
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
undo: typing.Optional[bool] = None,
|
|
951
|
-
deselect_ends: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
869
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
870
|
+
execution_context: str | int | None = None,
|
|
871
|
+
undo: bool | None = None,
|
|
872
|
+
deselect_ends: bool | typing.Any | None = False,
|
|
952
873
|
):
|
|
953
874
|
"""Select alternated points in strokes with already selected points
|
|
954
875
|
|
|
955
|
-
:type override_context:
|
|
956
|
-
:type execution_context:
|
|
957
|
-
:type undo:
|
|
876
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
877
|
+
:type execution_context: str | int | None
|
|
878
|
+
:type undo: bool | None
|
|
958
879
|
:param deselect_ends: Deselect Ends, (De)select the first and last point of each stroke
|
|
959
|
-
:type deselect_ends:
|
|
880
|
+
:type deselect_ends: bool | typing.Any | None
|
|
960
881
|
"""
|
|
961
882
|
|
|
962
883
|
...
|
|
963
884
|
|
|
964
885
|
def select_ends(
|
|
965
|
-
override_context: typing.
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
amount_start: typing.Optional[typing.Any] = 0,
|
|
971
|
-
amount_end: typing.Optional[typing.Any] = 1,
|
|
886
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
887
|
+
execution_context: str | int | None = None,
|
|
888
|
+
undo: bool | None = None,
|
|
889
|
+
amount_start: typing.Any | None = 0,
|
|
890
|
+
amount_end: typing.Any | None = 1,
|
|
972
891
|
):
|
|
973
892
|
"""Select end points of strokes
|
|
974
893
|
|
|
975
|
-
:type override_context:
|
|
976
|
-
:type execution_context:
|
|
977
|
-
:type undo:
|
|
894
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
895
|
+
:type execution_context: str | int | None
|
|
896
|
+
:type undo: bool | None
|
|
978
897
|
:param amount_start: Amount Start, Number of points to select from the start
|
|
979
|
-
:type amount_start: typing.
|
|
898
|
+
:type amount_start: typing.Any | None
|
|
980
899
|
:param amount_end: Amount End, Number of points to select from the end
|
|
981
|
-
:type amount_end: typing.
|
|
900
|
+
:type amount_end: typing.Any | None
|
|
982
901
|
"""
|
|
983
902
|
|
|
984
903
|
...
|
|
985
904
|
|
|
986
905
|
def select_less(
|
|
987
|
-
override_context: typing.
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
991
|
-
undo: typing.Optional[bool] = None,
|
|
906
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
907
|
+
execution_context: str | int | None = None,
|
|
908
|
+
undo: bool | None = None,
|
|
992
909
|
):
|
|
993
910
|
"""Shrink the selection by one point
|
|
994
911
|
|
|
995
|
-
:type override_context:
|
|
996
|
-
:type execution_context:
|
|
997
|
-
:type undo:
|
|
912
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
913
|
+
:type execution_context: str | int | None
|
|
914
|
+
:type undo: bool | None
|
|
998
915
|
"""
|
|
999
916
|
|
|
1000
917
|
...
|
|
1001
918
|
|
|
1002
919
|
def select_linked(
|
|
1003
|
-
override_context: typing.
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1007
|
-
undo: typing.Optional[bool] = None,
|
|
920
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
921
|
+
execution_context: str | int | None = None,
|
|
922
|
+
undo: bool | None = None,
|
|
1008
923
|
):
|
|
1009
924
|
"""Select all points in curves with any point selection
|
|
1010
925
|
|
|
1011
|
-
:type override_context:
|
|
1012
|
-
:type execution_context:
|
|
1013
|
-
:type undo:
|
|
926
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
927
|
+
:type execution_context: str | int | None
|
|
928
|
+
:type undo: bool | None
|
|
1014
929
|
"""
|
|
1015
930
|
|
|
1016
931
|
...
|
|
1017
932
|
|
|
1018
933
|
def select_more(
|
|
1019
|
-
override_context: typing.
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1023
|
-
undo: typing.Optional[bool] = None,
|
|
934
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
935
|
+
execution_context: str | int | None = None,
|
|
936
|
+
undo: bool | None = None,
|
|
1024
937
|
):
|
|
1025
938
|
"""Grow the selection by one point
|
|
1026
939
|
|
|
1027
|
-
:type override_context:
|
|
1028
|
-
:type execution_context:
|
|
1029
|
-
:type undo:
|
|
940
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
941
|
+
:type execution_context: str | int | None
|
|
942
|
+
:type undo: bool | None
|
|
1030
943
|
"""
|
|
1031
944
|
|
|
1032
945
|
...
|
|
1033
946
|
|
|
1034
947
|
def select_random(
|
|
1035
|
-
override_context: typing.
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
seed: typing.Optional[typing.Any] = 0,
|
|
1042
|
-
action: typing.Optional[typing.Any] = "SELECT",
|
|
948
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
949
|
+
execution_context: str | int | None = None,
|
|
950
|
+
undo: bool | None = None,
|
|
951
|
+
ratio: typing.Any | None = 0.5,
|
|
952
|
+
seed: typing.Any | None = 0,
|
|
953
|
+
action: typing.Any | None = "SELECT",
|
|
1043
954
|
):
|
|
1044
955
|
"""Selects random points from the current strokes selection
|
|
1045
956
|
|
|
1046
|
-
:type override_context:
|
|
1047
|
-
:type execution_context:
|
|
1048
|
-
:type undo:
|
|
957
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
958
|
+
:type execution_context: str | int | None
|
|
959
|
+
:type undo: bool | None
|
|
1049
960
|
:param ratio: Ratio, Portion of items to select randomly
|
|
1050
|
-
:type ratio: typing.
|
|
961
|
+
:type ratio: typing.Any | None
|
|
1051
962
|
:param seed: Random Seed, Seed for the random number generator
|
|
1052
|
-
:type seed: typing.
|
|
963
|
+
:type seed: typing.Any | None
|
|
1053
964
|
:param action: Action, Selection action to execute
|
|
1054
965
|
|
|
1055
966
|
SELECT
|
|
@@ -1057,24 +968,22 @@ def select_random(
|
|
|
1057
968
|
|
|
1058
969
|
DESELECT
|
|
1059
970
|
Deselect -- Deselect all elements.
|
|
1060
|
-
:type action: typing.
|
|
971
|
+
:type action: typing.Any | None
|
|
1061
972
|
"""
|
|
1062
973
|
|
|
1063
974
|
...
|
|
1064
975
|
|
|
1065
976
|
def separate(
|
|
1066
|
-
override_context: typing.
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
undo: typing.Optional[bool] = None,
|
|
1071
|
-
mode: typing.Optional[typing.Any] = "SELECTED",
|
|
977
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
978
|
+
execution_context: str | int | None = None,
|
|
979
|
+
undo: bool | None = None,
|
|
980
|
+
mode: typing.Any | None = "SELECTED",
|
|
1072
981
|
):
|
|
1073
982
|
"""Separate the selected geometry into a new grease pencil object
|
|
1074
983
|
|
|
1075
|
-
:type override_context:
|
|
1076
|
-
:type execution_context:
|
|
1077
|
-
:type undo:
|
|
984
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
985
|
+
:type execution_context: str | int | None
|
|
986
|
+
:type undo: bool | None
|
|
1078
987
|
:param mode: Mode
|
|
1079
988
|
|
|
1080
989
|
SELECTED
|
|
@@ -1085,328 +994,313 @@ def separate(
|
|
|
1085
994
|
|
|
1086
995
|
LAYER
|
|
1087
996
|
By Layer -- Separate by layer.
|
|
1088
|
-
:type mode: typing.
|
|
997
|
+
:type mode: typing.Any | None
|
|
1089
998
|
"""
|
|
1090
999
|
|
|
1091
1000
|
...
|
|
1092
1001
|
|
|
1093
1002
|
def set_active_material(
|
|
1094
|
-
override_context: typing.
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1098
|
-
undo: typing.Optional[bool] = None,
|
|
1003
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1004
|
+
execution_context: str | int | None = None,
|
|
1005
|
+
undo: bool | None = None,
|
|
1099
1006
|
):
|
|
1100
1007
|
"""Set the selected stroke material as the active material
|
|
1101
1008
|
|
|
1102
|
-
:type override_context:
|
|
1103
|
-
:type execution_context:
|
|
1104
|
-
:type undo:
|
|
1009
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1010
|
+
:type execution_context: str | int | None
|
|
1011
|
+
:type undo: bool | None
|
|
1105
1012
|
"""
|
|
1106
1013
|
|
|
1107
1014
|
...
|
|
1108
1015
|
|
|
1109
1016
|
def set_material(
|
|
1110
|
-
override_context: typing.
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
undo: typing.Optional[bool] = None,
|
|
1115
|
-
slot: typing.Optional[typing.Union[str, int, typing.Any]] = "DEFAULT",
|
|
1017
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1018
|
+
execution_context: str | int | None = None,
|
|
1019
|
+
undo: bool | None = None,
|
|
1020
|
+
slot: str | int | typing.Any | None = "DEFAULT",
|
|
1116
1021
|
):
|
|
1117
1022
|
"""Set active material
|
|
1118
1023
|
|
|
1119
|
-
:type override_context:
|
|
1120
|
-
:type execution_context:
|
|
1121
|
-
:type undo:
|
|
1024
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1025
|
+
:type execution_context: str | int | None
|
|
1026
|
+
:type undo: bool | None
|
|
1122
1027
|
:param slot: Material Slot
|
|
1123
|
-
:type slot:
|
|
1028
|
+
:type slot: str | int | typing.Any | None
|
|
1124
1029
|
"""
|
|
1125
1030
|
|
|
1126
1031
|
...
|
|
1127
1032
|
|
|
1128
1033
|
def set_selection_mode(
|
|
1129
|
-
override_context: typing.
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
undo: typing.Optional[bool] = None,
|
|
1134
|
-
mode: typing.Optional[typing.Union[str, int]] = "POINT",
|
|
1034
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1035
|
+
execution_context: str | int | None = None,
|
|
1036
|
+
undo: bool | None = None,
|
|
1037
|
+
mode: str | int | None = "POINT",
|
|
1135
1038
|
):
|
|
1136
1039
|
"""Change the selection mode for Grease Pencil strokes
|
|
1137
1040
|
|
|
1138
|
-
:type override_context:
|
|
1139
|
-
:type execution_context:
|
|
1140
|
-
:type undo:
|
|
1041
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1042
|
+
:type execution_context: str | int | None
|
|
1043
|
+
:type undo: bool | None
|
|
1141
1044
|
:param mode: Mode
|
|
1142
|
-
:type mode:
|
|
1045
|
+
:type mode: str | int | None
|
|
1143
1046
|
"""
|
|
1144
1047
|
|
|
1145
1048
|
...
|
|
1146
1049
|
|
|
1147
1050
|
def set_uniform_opacity(
|
|
1148
|
-
override_context: typing.
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
undo: typing.Optional[bool] = None,
|
|
1153
|
-
opacity: typing.Optional[typing.Any] = 1.0,
|
|
1051
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1052
|
+
execution_context: str | int | None = None,
|
|
1053
|
+
undo: bool | None = None,
|
|
1054
|
+
opacity: typing.Any | None = 1.0,
|
|
1154
1055
|
):
|
|
1155
1056
|
"""Set all stroke points to same opacity
|
|
1156
1057
|
|
|
1157
|
-
:type override_context:
|
|
1158
|
-
:type execution_context:
|
|
1159
|
-
:type undo:
|
|
1058
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1059
|
+
:type execution_context: str | int | None
|
|
1060
|
+
:type undo: bool | None
|
|
1160
1061
|
:param opacity: Opacity
|
|
1161
|
-
:type opacity: typing.
|
|
1062
|
+
:type opacity: typing.Any | None
|
|
1162
1063
|
"""
|
|
1163
1064
|
|
|
1164
1065
|
...
|
|
1165
1066
|
|
|
1166
1067
|
def set_uniform_thickness(
|
|
1167
|
-
override_context: typing.
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
undo: typing.Optional[bool] = None,
|
|
1172
|
-
thickness: typing.Optional[typing.Any] = 0.1,
|
|
1068
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1069
|
+
execution_context: str | int | None = None,
|
|
1070
|
+
undo: bool | None = None,
|
|
1071
|
+
thickness: typing.Any | None = 0.1,
|
|
1173
1072
|
):
|
|
1174
1073
|
"""Set all stroke points to same thickness
|
|
1175
1074
|
|
|
1176
|
-
:type override_context:
|
|
1177
|
-
:type execution_context:
|
|
1178
|
-
:type undo:
|
|
1075
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1076
|
+
:type execution_context: str | int | None
|
|
1077
|
+
:type undo: bool | None
|
|
1179
1078
|
:param thickness: Thickness, Thickness
|
|
1180
|
-
:type thickness: typing.
|
|
1079
|
+
:type thickness: typing.Any | None
|
|
1181
1080
|
"""
|
|
1182
1081
|
|
|
1183
1082
|
...
|
|
1184
1083
|
|
|
1185
1084
|
def snap_cursor_to_selected(
|
|
1186
|
-
override_context: typing.
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1190
|
-
undo: typing.Optional[bool] = None,
|
|
1085
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1086
|
+
execution_context: str | int | None = None,
|
|
1087
|
+
undo: bool | None = None,
|
|
1191
1088
|
):
|
|
1192
1089
|
"""Snap cursor to center of selected points
|
|
1193
1090
|
|
|
1194
|
-
:type override_context:
|
|
1195
|
-
:type execution_context:
|
|
1196
|
-
:type undo:
|
|
1091
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1092
|
+
:type execution_context: str | int | None
|
|
1093
|
+
:type undo: bool | None
|
|
1197
1094
|
"""
|
|
1198
1095
|
|
|
1199
1096
|
...
|
|
1200
1097
|
|
|
1201
1098
|
def snap_to_cursor(
|
|
1202
|
-
override_context: typing.
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
undo: typing.Optional[bool] = None,
|
|
1207
|
-
use_offset: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
1099
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1100
|
+
execution_context: str | int | None = None,
|
|
1101
|
+
undo: bool | None = None,
|
|
1102
|
+
use_offset: bool | typing.Any | None = True,
|
|
1208
1103
|
):
|
|
1209
1104
|
"""Snap selected points/strokes to the cursor
|
|
1210
1105
|
|
|
1211
|
-
:type override_context:
|
|
1212
|
-
:type execution_context:
|
|
1213
|
-
:type undo:
|
|
1106
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1107
|
+
:type execution_context: str | int | None
|
|
1108
|
+
:type undo: bool | None
|
|
1214
1109
|
:param use_offset: With Offset, Offset the entire stroke instead of selected points only
|
|
1215
|
-
:type use_offset:
|
|
1110
|
+
:type use_offset: bool | typing.Any | None
|
|
1216
1111
|
"""
|
|
1217
1112
|
|
|
1218
1113
|
...
|
|
1219
1114
|
|
|
1220
1115
|
def snap_to_grid(
|
|
1221
|
-
override_context: typing.
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1225
|
-
undo: typing.Optional[bool] = None,
|
|
1116
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1117
|
+
execution_context: str | int | None = None,
|
|
1118
|
+
undo: bool | None = None,
|
|
1226
1119
|
):
|
|
1227
1120
|
"""Snap selected points to the nearest grid points
|
|
1228
1121
|
|
|
1229
|
-
:type override_context:
|
|
1230
|
-
:type execution_context:
|
|
1231
|
-
:type undo:
|
|
1122
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1123
|
+
:type execution_context: str | int | None
|
|
1124
|
+
:type undo: bool | None
|
|
1232
1125
|
"""
|
|
1233
1126
|
|
|
1234
1127
|
...
|
|
1235
1128
|
|
|
1236
1129
|
def stroke_cutter(
|
|
1237
|
-
override_context: typing.
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
undo: typing.Optional[bool] = None,
|
|
1242
|
-
path: typing.Optional[
|
|
1243
|
-
bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
|
|
1244
|
-
] = None,
|
|
1130
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1131
|
+
execution_context: str | int | None = None,
|
|
1132
|
+
undo: bool | None = None,
|
|
1133
|
+
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
|
|
1245
1134
|
):
|
|
1246
1135
|
"""Delete stroke points in between intersecting strokes
|
|
1247
1136
|
|
|
1248
|
-
:type override_context:
|
|
1249
|
-
:type execution_context:
|
|
1250
|
-
:type undo:
|
|
1137
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1138
|
+
:type execution_context: str | int | None
|
|
1139
|
+
:type undo: bool | None
|
|
1251
1140
|
:param path: Path
|
|
1252
|
-
:type path:
|
|
1141
|
+
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None
|
|
1253
1142
|
"""
|
|
1254
1143
|
|
|
1255
1144
|
...
|
|
1256
1145
|
|
|
1257
1146
|
def stroke_material_set(
|
|
1258
|
-
override_context: typing.
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
undo: typing.Optional[bool] = None,
|
|
1263
|
-
material: typing.Union[str, typing.Any] = "",
|
|
1147
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1148
|
+
execution_context: str | int | None = None,
|
|
1149
|
+
undo: bool | None = None,
|
|
1150
|
+
material: str | typing.Any = "",
|
|
1264
1151
|
):
|
|
1265
1152
|
"""Assign the active material slot to the selected strokes
|
|
1266
1153
|
|
|
1267
|
-
:type override_context:
|
|
1268
|
-
:type execution_context:
|
|
1269
|
-
:type undo:
|
|
1154
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1155
|
+
:type execution_context: str | int | None
|
|
1156
|
+
:type undo: bool | None
|
|
1270
1157
|
:param material: Material, Name of the material
|
|
1271
|
-
:type material:
|
|
1158
|
+
:type material: str | typing.Any
|
|
1159
|
+
"""
|
|
1160
|
+
|
|
1161
|
+
...
|
|
1162
|
+
|
|
1163
|
+
def stroke_merge_by_distance(
|
|
1164
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1165
|
+
execution_context: str | int | None = None,
|
|
1166
|
+
undo: bool | None = None,
|
|
1167
|
+
threshold: typing.Any | None = 0.001,
|
|
1168
|
+
use_unselected: bool | typing.Any | None = False,
|
|
1169
|
+
):
|
|
1170
|
+
"""Merge points by distance
|
|
1171
|
+
|
|
1172
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1173
|
+
:type execution_context: str | int | None
|
|
1174
|
+
:type undo: bool | None
|
|
1175
|
+
:param threshold: Threshold
|
|
1176
|
+
:type threshold: typing.Any | None
|
|
1177
|
+
:param use_unselected: Unselected, Use whole stroke, not only selected points
|
|
1178
|
+
:type use_unselected: bool | typing.Any | None
|
|
1272
1179
|
"""
|
|
1273
1180
|
|
|
1274
1181
|
...
|
|
1275
1182
|
|
|
1276
1183
|
def stroke_simplify(
|
|
1277
|
-
override_context: typing.
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
undo: typing.Optional[bool] = None,
|
|
1282
|
-
factor: typing.Optional[typing.Any] = 0.01,
|
|
1184
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1185
|
+
execution_context: str | int | None = None,
|
|
1186
|
+
undo: bool | None = None,
|
|
1187
|
+
factor: typing.Any | None = 0.01,
|
|
1283
1188
|
):
|
|
1284
1189
|
"""Simplify selected strokes
|
|
1285
1190
|
|
|
1286
|
-
:type override_context:
|
|
1287
|
-
:type execution_context:
|
|
1288
|
-
:type undo:
|
|
1191
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1192
|
+
:type execution_context: str | int | None
|
|
1193
|
+
:type undo: bool | None
|
|
1289
1194
|
:param factor: Factor
|
|
1290
|
-
:type factor: typing.
|
|
1195
|
+
:type factor: typing.Any | None
|
|
1291
1196
|
"""
|
|
1292
1197
|
|
|
1293
1198
|
...
|
|
1294
1199
|
|
|
1295
1200
|
def stroke_smooth(
|
|
1296
|
-
override_context: typing.
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
smooth_radius: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
1307
|
-
smooth_opacity: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1201
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1202
|
+
execution_context: str | int | None = None,
|
|
1203
|
+
undo: bool | None = None,
|
|
1204
|
+
iterations: typing.Any | None = 10,
|
|
1205
|
+
factor: typing.Any | None = 1.0,
|
|
1206
|
+
smooth_ends: bool | typing.Any | None = False,
|
|
1207
|
+
keep_shape: bool | typing.Any | None = False,
|
|
1208
|
+
smooth_position: bool | typing.Any | None = True,
|
|
1209
|
+
smooth_radius: bool | typing.Any | None = True,
|
|
1210
|
+
smooth_opacity: bool | typing.Any | None = False,
|
|
1308
1211
|
):
|
|
1309
1212
|
"""Smooth selected strokes
|
|
1310
1213
|
|
|
1311
|
-
:type override_context:
|
|
1312
|
-
:type execution_context:
|
|
1313
|
-
:type undo:
|
|
1214
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1215
|
+
:type execution_context: str | int | None
|
|
1216
|
+
:type undo: bool | None
|
|
1314
1217
|
:param iterations: Iterations
|
|
1315
|
-
:type iterations: typing.
|
|
1218
|
+
:type iterations: typing.Any | None
|
|
1316
1219
|
:param factor: Factor
|
|
1317
|
-
:type factor: typing.
|
|
1220
|
+
:type factor: typing.Any | None
|
|
1318
1221
|
:param smooth_ends: Smooth Endpoints
|
|
1319
|
-
:type smooth_ends:
|
|
1222
|
+
:type smooth_ends: bool | typing.Any | None
|
|
1320
1223
|
:param keep_shape: Keep Shape
|
|
1321
|
-
:type keep_shape:
|
|
1224
|
+
:type keep_shape: bool | typing.Any | None
|
|
1322
1225
|
:param smooth_position: Position
|
|
1323
|
-
:type smooth_position:
|
|
1226
|
+
:type smooth_position: bool | typing.Any | None
|
|
1324
1227
|
:param smooth_radius: Radius
|
|
1325
|
-
:type smooth_radius:
|
|
1228
|
+
:type smooth_radius: bool | typing.Any | None
|
|
1326
1229
|
:param smooth_opacity: Opacity
|
|
1327
|
-
:type smooth_opacity:
|
|
1230
|
+
:type smooth_opacity: bool | typing.Any | None
|
|
1328
1231
|
"""
|
|
1329
1232
|
|
|
1330
1233
|
...
|
|
1331
1234
|
|
|
1332
1235
|
def stroke_subdivide(
|
|
1333
|
-
override_context: typing.
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
number_cuts: typing.Optional[typing.Any] = 1,
|
|
1339
|
-
only_selected: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
1236
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1237
|
+
execution_context: str | int | None = None,
|
|
1238
|
+
undo: bool | None = None,
|
|
1239
|
+
number_cuts: typing.Any | None = 1,
|
|
1240
|
+
only_selected: bool | typing.Any | None = True,
|
|
1340
1241
|
):
|
|
1341
1242
|
"""Subdivide between continuous selected points of the stroke adding a point half way between them
|
|
1342
1243
|
|
|
1343
|
-
:type override_context:
|
|
1344
|
-
:type execution_context:
|
|
1345
|
-
:type undo:
|
|
1244
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1245
|
+
:type execution_context: str | int | None
|
|
1246
|
+
:type undo: bool | None
|
|
1346
1247
|
:param number_cuts: Number of Cuts
|
|
1347
|
-
:type number_cuts: typing.
|
|
1248
|
+
:type number_cuts: typing.Any | None
|
|
1348
1249
|
:param only_selected: Selected Points, Smooth only selected points in the stroke
|
|
1349
|
-
:type only_selected:
|
|
1250
|
+
:type only_selected: bool | typing.Any | None
|
|
1350
1251
|
"""
|
|
1351
1252
|
|
|
1352
1253
|
...
|
|
1353
1254
|
|
|
1354
1255
|
def stroke_subdivide_smooth(
|
|
1355
|
-
override_context: typing.
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
GREASE_PENCIL_OT_stroke_subdivide: typing.Optional[typing.Any] = None,
|
|
1361
|
-
GREASE_PENCIL_OT_stroke_smooth: typing.Optional[typing.Any] = None,
|
|
1256
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1257
|
+
execution_context: str | int | None = None,
|
|
1258
|
+
undo: bool | None = None,
|
|
1259
|
+
GREASE_PENCIL_OT_stroke_subdivide: typing.Any | None = None,
|
|
1260
|
+
GREASE_PENCIL_OT_stroke_smooth: typing.Any | None = None,
|
|
1362
1261
|
):
|
|
1363
1262
|
"""Subdivide strokes and smooth them
|
|
1364
1263
|
|
|
1365
|
-
:type override_context:
|
|
1366
|
-
:type execution_context:
|
|
1367
|
-
:type undo:
|
|
1264
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1265
|
+
:type execution_context: str | int | None
|
|
1266
|
+
:type undo: bool | None
|
|
1368
1267
|
:param GREASE_PENCIL_OT_stroke_subdivide: Subdivide Stroke, Subdivide between continuous selected points of the stroke adding a point half way between them
|
|
1369
|
-
:type GREASE_PENCIL_OT_stroke_subdivide: typing.
|
|
1268
|
+
:type GREASE_PENCIL_OT_stroke_subdivide: typing.Any | None
|
|
1370
1269
|
:param GREASE_PENCIL_OT_stroke_smooth: Smooth Stroke, Smooth selected strokes
|
|
1371
|
-
:type GREASE_PENCIL_OT_stroke_smooth: typing.
|
|
1270
|
+
:type GREASE_PENCIL_OT_stroke_smooth: typing.Any | None
|
|
1372
1271
|
"""
|
|
1373
1272
|
|
|
1374
1273
|
...
|
|
1375
1274
|
|
|
1376
1275
|
def stroke_switch_direction(
|
|
1377
|
-
override_context: typing.
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1381
|
-
undo: typing.Optional[bool] = None,
|
|
1276
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1277
|
+
execution_context: str | int | None = None,
|
|
1278
|
+
undo: bool | None = None,
|
|
1382
1279
|
):
|
|
1383
1280
|
"""Change direction of the points of the selected strokes
|
|
1384
1281
|
|
|
1385
|
-
:type override_context:
|
|
1386
|
-
:type execution_context:
|
|
1387
|
-
:type undo:
|
|
1282
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1283
|
+
:type execution_context: str | int | None
|
|
1284
|
+
:type undo: bool | None
|
|
1388
1285
|
"""
|
|
1389
1286
|
|
|
1390
1287
|
...
|
|
1391
1288
|
|
|
1392
1289
|
def weight_brush_stroke(
|
|
1393
|
-
override_context: typing.
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
1400
|
-
] = None,
|
|
1401
|
-
mode: typing.Optional[typing.Any] = "NORMAL",
|
|
1290
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1291
|
+
execution_context: str | int | None = None,
|
|
1292
|
+
undo: bool | None = None,
|
|
1293
|
+
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
1294
|
+
| None = None,
|
|
1295
|
+
mode: typing.Any | None = "NORMAL",
|
|
1402
1296
|
):
|
|
1403
1297
|
"""Draw weight on stroke points in the active Grease Pencil object
|
|
1404
1298
|
|
|
1405
|
-
:type override_context:
|
|
1406
|
-
:type execution_context:
|
|
1407
|
-
:type undo:
|
|
1299
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1300
|
+
:type execution_context: str | int | None
|
|
1301
|
+
:type undo: bool | None
|
|
1408
1302
|
:param stroke: Stroke
|
|
1409
|
-
:type stroke:
|
|
1303
|
+
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
|
|
1410
1304
|
:param mode: Stroke Mode, Action taken when a paint stroke is made
|
|
1411
1305
|
|
|
1412
1306
|
NORMAL
|
|
@@ -1417,39 +1311,35 @@ def weight_brush_stroke(
|
|
|
1417
1311
|
|
|
1418
1312
|
SMOOTH
|
|
1419
1313
|
Smooth -- Switch brush to smooth mode for duration of stroke.
|
|
1420
|
-
:type mode: typing.
|
|
1314
|
+
:type mode: typing.Any | None
|
|
1421
1315
|
"""
|
|
1422
1316
|
|
|
1423
1317
|
...
|
|
1424
1318
|
|
|
1425
1319
|
def weight_sample(
|
|
1426
|
-
override_context: typing.
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1430
|
-
undo: typing.Optional[bool] = None,
|
|
1320
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1321
|
+
execution_context: str | int | None = None,
|
|
1322
|
+
undo: bool | None = None,
|
|
1431
1323
|
):
|
|
1432
1324
|
"""Set the weight of the Draw tool to the weight of the vertex under the mouse cursor
|
|
1433
1325
|
|
|
1434
|
-
:type override_context:
|
|
1435
|
-
:type execution_context:
|
|
1436
|
-
:type undo:
|
|
1326
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1327
|
+
:type execution_context: str | int | None
|
|
1328
|
+
:type undo: bool | None
|
|
1437
1329
|
"""
|
|
1438
1330
|
|
|
1439
1331
|
...
|
|
1440
1332
|
|
|
1441
1333
|
def weight_toggle_direction(
|
|
1442
|
-
override_context: typing.
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1446
|
-
undo: typing.Optional[bool] = None,
|
|
1334
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1335
|
+
execution_context: str | int | None = None,
|
|
1336
|
+
undo: bool | None = None,
|
|
1447
1337
|
):
|
|
1448
1338
|
"""Toggle Add/Subtract for the weight paint draw tool
|
|
1449
1339
|
|
|
1450
|
-
:type override_context:
|
|
1451
|
-
:type execution_context:
|
|
1452
|
-
:type undo:
|
|
1340
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1341
|
+
:type execution_context: str | int | None
|
|
1342
|
+
:type undo: bool | None
|
|
1453
1343
|
"""
|
|
1454
1344
|
|
|
1455
1345
|
...
|