fake-bpy-module 20240516__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 +37 -21
- bl_ui/space_topbar/__init__.pyi +3980 -1496
- bl_ui/space_userpref/__init__.pyi +11373 -3797
- bl_ui/space_view3d/__init__.pyi +40865 -15356
- 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/action/__init__.pyi +316 -394
- bpy/ops/anim/__init__.pyi +442 -548
- bpy/ops/armature/__init__.pyi +374 -470
- bpy/ops/asset/__init__.pyi +152 -184
- bpy/ops/bl_pkg/__init__.pyi +221 -272
- bpy/ops/boid/__init__.pyi +50 -66
- bpy/ops/brush/__init__.pyi +72 -90
- bpy/ops/buttons/__init__.pyi +132 -144
- bpy/ops/cachefile/__init__.pyi +128 -138
- bpy/ops/camera/__init__.pyi +26 -30
- bpy/ops/clip/__init__.pyi +777 -964
- bpy/ops/cloth/__init__.pyi +12 -14
- bpy/ops/collection/__init__.pyi +68 -86
- bpy/ops/console/__init__.pyi +158 -200
- bpy/ops/constraint/__init__.pyi +178 -214
- bpy/ops/curve/__init__.pyi +473 -576
- bpy/ops/curves/__init__.pyi +247 -302
- bpy/ops/cycles/__init__.pyi +28 -34
- bpy/ops/dpaint/__init__.pyi +34 -44
- bpy/ops/ed/__init__.pyi +126 -150
- bpy/ops/export_anim/__init__.pyi +22 -24
- bpy/ops/export_scene/__init__.pyi +302 -336
- bpy/ops/file/__init__.pyi +352 -432
- bpy/ops/fluid/__init__.pyi +90 -118
- bpy/ops/font/__init__.pyi +258 -304
- bpy/ops/geometry/__init__.pyi +100 -120
- bpy/ops/gizmogroup/__init__.pyi +22 -26
- bpy/ops/gpencil/__init__.pyi +1469 -1778
- bpy/ops/graph/__init__.pyi +644 -776
- bpy/ops/grease_pencil/__init__.pyi +597 -748
- bpy/ops/image/__init__.pyi +648 -744
- bpy/ops/import_anim/__init__.pyi +30 -32
- bpy/ops/import_curve/__init__.pyi +10 -12
- bpy/ops/import_scene/__init__.pyi +88 -96
- bpy/ops/info/__init__.pyi +60 -74
- bpy/ops/lattice/__init__.pyi +64 -80
- bpy/ops/marker/__init__.pyi +108 -130
- bpy/ops/mask/__init__.pyi +322 -402
- bpy/ops/material/__init__.pyi +18 -24
- bpy/ops/mball/__init__.pyi +70 -86
- bpy/ops/mesh/__init__.pyi +1986 -2322
- bpy/ops/nla/__init__.pyi +333 -411
- bpy/ops/node/__init__.pyi +886 -1100
- bpy/ops/object/__init__.pyi +2585 -3078
- bpy/ops/outliner/__init__.pyi +498 -636
- bpy/ops/paint/__init__.pyi +565 -680
- bpy/ops/paintcurve/__init__.pyi +64 -80
- bpy/ops/palette/__init__.pyi +50 -64
- bpy/ops/particle/__init__.pyi +267 -340
- bpy/ops/pose/__init__.pyi +336 -414
- bpy/ops/poselib/__init__.pyi +72 -90
- bpy/ops/preferences/__init__.pyi +386 -463
- bpy/ops/ptcache/__init__.pyi +46 -60
- bpy/ops/render/__init__.pyi +130 -154
- bpy/ops/rigidbody/__init__.pyi +102 -128
- bpy/ops/scene/__init__.pyi +280 -358
- bpy/ops/screen/__init__.pyi +382 -460
- bpy/ops/script/__init__.pyi +24 -30
- bpy/ops/sculpt/__init__.pyi +458 -532
- bpy/ops/sculpt_curves/__init__.pyi +41 -50
- bpy/ops/sequencer/__init__.pyi +1066 -1244
- bpy/ops/sound/__init__.pyi +216 -230
- bpy/ops/spreadsheet/__init__.pyi +30 -38
- bpy/ops/surface/__init__.pyi +108 -120
- bpy/ops/text/__init__.pyi +390 -476
- bpy/ops/text_editor/__init__.pyi +12 -14
- bpy/ops/texture/__init__.pyi +26 -34
- bpy/ops/transform/__init__.pyi +792 -878
- bpy/ops/ui/__init__.pyi +228 -294
- bpy/ops/uilist/__init__.pyi +32 -38
- bpy/ops/uv/__init__.pyi +602 -704
- bpy/ops/view2d/__init__.pyi +156 -184
- bpy/ops/view3d/__init__.pyi +582 -718
- bpy/ops/wm/__init__.pyi +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 +17056 -21951
- 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-20240516.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/bl_pkg/py.typed +0 -0
- bpy/ops/boid/py.typed +0 -0
- bpy/ops/brush/py.typed +0 -0
- bpy/ops/buttons/py.typed +0 -0
- bpy/ops/cachefile/py.typed +0 -0
- bpy/ops/camera/py.typed +0 -0
- bpy/ops/clip/py.typed +0 -0
- bpy/ops/cloth/py.typed +0 -0
- bpy/ops/collection/py.typed +0 -0
- bpy/ops/console/py.typed +0 -0
- bpy/ops/constraint/py.typed +0 -0
- bpy/ops/curve/py.typed +0 -0
- bpy/ops/curves/py.typed +0 -0
- bpy/ops/cycles/py.typed +0 -0
- bpy/ops/dpaint/py.typed +0 -0
- bpy/ops/ed/py.typed +0 -0
- bpy/ops/export_anim/py.typed +0 -0
- bpy/ops/export_scene/py.typed +0 -0
- bpy/ops/file/py.typed +0 -0
- bpy/ops/fluid/py.typed +0 -0
- bpy/ops/font/py.typed +0 -0
- bpy/ops/geometry/py.typed +0 -0
- bpy/ops/gizmogroup/py.typed +0 -0
- bpy/ops/gpencil/py.typed +0 -0
- bpy/ops/graph/py.typed +0 -0
- bpy/ops/grease_pencil/py.typed +0 -0
- bpy/ops/image/py.typed +0 -0
- bpy/ops/import_anim/py.typed +0 -0
- bpy/ops/import_curve/py.typed +0 -0
- bpy/ops/import_scene/py.typed +0 -0
- bpy/ops/info/py.typed +0 -0
- bpy/ops/lattice/py.typed +0 -0
- bpy/ops/marker/py.typed +0 -0
- bpy/ops/mask/py.typed +0 -0
- bpy/ops/material/py.typed +0 -0
- bpy/ops/mball/py.typed +0 -0
- bpy/ops/mesh/py.typed +0 -0
- bpy/ops/nla/py.typed +0 -0
- bpy/ops/node/py.typed +0 -0
- bpy/ops/object/py.typed +0 -0
- bpy/ops/outliner/py.typed +0 -0
- bpy/ops/paint/py.typed +0 -0
- bpy/ops/paintcurve/py.typed +0 -0
- bpy/ops/palette/py.typed +0 -0
- bpy/ops/particle/py.typed +0 -0
- bpy/ops/pose/py.typed +0 -0
- bpy/ops/poselib/py.typed +0 -0
- bpy/ops/preferences/py.typed +0 -0
- bpy/ops/ptcache/py.typed +0 -0
- bpy/ops/py.typed +0 -0
- bpy/ops/render/py.typed +0 -0
- bpy/ops/rigidbody/py.typed +0 -0
- bpy/ops/scene/py.typed +0 -0
- bpy/ops/screen/py.typed +0 -0
- bpy/ops/script/py.typed +0 -0
- bpy/ops/sculpt/py.typed +0 -0
- bpy/ops/sculpt_curves/py.typed +0 -0
- bpy/ops/sequencer/py.typed +0 -0
- bpy/ops/sound/py.typed +0 -0
- bpy/ops/spreadsheet/py.typed +0 -0
- bpy/ops/surface/py.typed +0 -0
- bpy/ops/text/py.typed +0 -0
- bpy/ops/text_editor/py.typed +0 -0
- bpy/ops/texture/py.typed +0 -0
- bpy/ops/transform/py.typed +0 -0
- bpy/ops/ui/py.typed +0 -0
- bpy/ops/uilist/py.typed +0 -0
- bpy/ops/uv/py.typed +0 -0
- bpy/ops/view2d/py.typed +0 -0
- bpy/ops/view3d/py.typed +0 -0
- bpy/ops/wm/py.typed +0 -0
- bpy/ops/workspace/py.typed +0 -0
- bpy/ops/world/py.typed +0 -0
- bpy/path/py.typed +0 -0
- bpy/props/py.typed +0 -0
- bpy/types/py.typed +0 -0
- bpy/utils/previews/py.typed +0 -0
- bpy/utils/py.typed +0 -0
- bpy/utils/units/py.typed +0 -0
- bpy_extras/anim_utils/py.typed +0 -0
- bpy_extras/asset_utils/py.typed +0 -0
- bpy_extras/bmesh_utils/py.typed +0 -0
- bpy_extras/extensions/junction_module/py.typed +0 -0
- bpy_extras/extensions/py.typed +0 -0
- bpy_extras/id_map_utils/py.typed +0 -0
- bpy_extras/image_utils/py.typed +0 -0
- bpy_extras/io_utils/py.typed +0 -0
- bpy_extras/keyconfig_utils/py.typed +0 -0
- bpy_extras/mesh_utils/py.typed +0 -0
- bpy_extras/node_shader_utils/py.typed +0 -0
- bpy_extras/node_utils/py.typed +0 -0
- bpy_extras/object_utils/py.typed +0 -0
- bpy_extras/view3d_utils/py.typed +0 -0
- bpy_extras/wm_utils/progress_report/py.typed +0 -0
- bpy_extras/wm_utils/py.typed +0 -0
- fake_bpy_module-20240516.dist-info/RECORD +0 -618
- freestyle/chainingiterators/py.typed +0 -0
- freestyle/functions/py.typed +0 -0
- freestyle/predicates/py.typed +0 -0
- freestyle/shaders/py.typed +0 -0
- freestyle/types/py.typed +0 -0
- freestyle/utils/ContextFunctions/py.typed +0 -0
- freestyle/utils/py.typed +0 -0
- gpu/capabilities/py.typed +0 -0
- gpu/matrix/py.typed +0 -0
- gpu/platform/py.typed +0 -0
- gpu/select/py.typed +0 -0
- gpu/shader/py.typed +0 -0
- gpu/state/py.typed +0 -0
- gpu/texture/py.typed +0 -0
- gpu/types/py.typed +0 -0
- gpu_extras/batch/py.typed +0 -0
- gpu_extras/presets/py.typed +0 -0
- idprop/types/py.typed +0 -0
- imbuf/types/py.typed +0 -0
- mathutils/bvhtree/py.typed +0 -0
- mathutils/geometry/py.typed +0 -0
- mathutils/interpolate/py.typed +0 -0
- mathutils/kdtree/py.typed +0 -0
- mathutils/noise/py.typed +0 -0
- {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240517.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240516.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,735 +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
|
|
266
241
|
"""
|
|
267
242
|
|
|
268
243
|
...
|
|
269
244
|
|
|
270
245
|
def fill(
|
|
271
|
-
override_context: typing.
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
undo: typing.Optional[bool] = None,
|
|
276
|
-
on_back: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
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,
|
|
277
250
|
):
|
|
278
251
|
"""Fill with color the shape formed by strokes
|
|
279
252
|
|
|
280
|
-
:type override_context:
|
|
281
|
-
:type execution_context:
|
|
282
|
-
:type undo:
|
|
253
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
254
|
+
:type execution_context: str | int | None
|
|
255
|
+
:type undo: bool | None
|
|
283
256
|
:param on_back: Draw on Back, Send new stroke to back
|
|
284
|
-
:type on_back:
|
|
257
|
+
:type on_back: bool | typing.Any | None
|
|
285
258
|
"""
|
|
286
259
|
|
|
287
260
|
...
|
|
288
261
|
|
|
289
262
|
def insert_blank_frame(
|
|
290
|
-
override_context: typing.
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
all_layers: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
296
|
-
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,
|
|
297
268
|
):
|
|
298
269
|
"""Insert a blank frame on the current scene frame
|
|
299
270
|
|
|
300
|
-
:type override_context:
|
|
301
|
-
:type execution_context:
|
|
302
|
-
: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
|
|
303
274
|
:param all_layers: All Layers, Insert a blank frame in all editable layers
|
|
304
|
-
:type all_layers:
|
|
275
|
+
:type all_layers: bool | typing.Any | None
|
|
305
276
|
:param duration: Duration
|
|
306
|
-
:type duration: typing.
|
|
277
|
+
:type duration: typing.Any | None
|
|
307
278
|
"""
|
|
308
279
|
|
|
309
280
|
...
|
|
310
281
|
|
|
311
282
|
def layer_active(
|
|
312
|
-
override_context: typing.
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
undo: typing.Optional[bool] = None,
|
|
317
|
-
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,
|
|
318
287
|
):
|
|
319
288
|
"""Set the active Grease Pencil layer
|
|
320
289
|
|
|
321
|
-
:type override_context:
|
|
322
|
-
:type execution_context:
|
|
323
|
-
: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
|
|
324
293
|
:param layer: Grease Pencil Layer
|
|
325
|
-
:type layer: typing.
|
|
294
|
+
:type layer: typing.Any | None
|
|
326
295
|
"""
|
|
327
296
|
|
|
328
297
|
...
|
|
329
298
|
|
|
330
299
|
def layer_add(
|
|
331
|
-
override_context: typing.
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
undo: typing.Optional[bool] = None,
|
|
336
|
-
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",
|
|
337
304
|
):
|
|
338
305
|
"""Add a new Grease Pencil layer in the active object
|
|
339
306
|
|
|
340
|
-
:type override_context:
|
|
341
|
-
:type execution_context:
|
|
342
|
-
: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
|
|
343
310
|
:param new_layer_name: Name, Name of the new layer
|
|
344
|
-
:type new_layer_name:
|
|
311
|
+
:type new_layer_name: str | typing.Any
|
|
345
312
|
"""
|
|
346
313
|
|
|
347
314
|
...
|
|
348
315
|
|
|
349
316
|
def layer_duplicate(
|
|
350
|
-
override_context: typing.
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
undo: typing.Optional[bool] = None,
|
|
355
|
-
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,
|
|
356
321
|
):
|
|
357
322
|
"""Make a copy of the active Grease Pencil layer
|
|
358
323
|
|
|
359
|
-
:type override_context:
|
|
360
|
-
:type execution_context:
|
|
361
|
-
: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
|
|
362
327
|
:param empty_keyframes: Empty Keyframes, Add Empty Keyframes
|
|
363
|
-
:type empty_keyframes:
|
|
328
|
+
:type empty_keyframes: bool | typing.Any | None
|
|
364
329
|
"""
|
|
365
330
|
|
|
366
331
|
...
|
|
367
332
|
|
|
368
333
|
def layer_group_add(
|
|
369
|
-
override_context: typing.
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
undo: typing.Optional[bool] = None,
|
|
374
|
-
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 = "",
|
|
375
338
|
):
|
|
376
339
|
"""Add a new Grease Pencil layer group in the active object
|
|
377
340
|
|
|
378
|
-
:type override_context:
|
|
379
|
-
:type execution_context:
|
|
380
|
-
: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
|
|
381
344
|
:param new_layer_group_name: Name, Name of the new layer group
|
|
382
|
-
:type new_layer_group_name:
|
|
345
|
+
:type new_layer_group_name: str | typing.Any
|
|
383
346
|
"""
|
|
384
347
|
|
|
385
348
|
...
|
|
386
349
|
|
|
387
350
|
def layer_group_remove(
|
|
388
|
-
override_context: typing.
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
undo: typing.Optional[bool] = None,
|
|
393
|
-
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,
|
|
394
355
|
):
|
|
395
356
|
"""Remove Grease Pencil layer group in the active object
|
|
396
357
|
|
|
397
|
-
:type override_context:
|
|
398
|
-
:type execution_context:
|
|
399
|
-
: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
|
|
400
361
|
:param keep_children: Keep children nodes, Keep the children nodes of the group and only delete the group itself
|
|
401
|
-
:type keep_children:
|
|
362
|
+
:type keep_children: bool | typing.Any | None
|
|
402
363
|
"""
|
|
403
364
|
|
|
404
365
|
...
|
|
405
366
|
|
|
406
367
|
def layer_hide(
|
|
407
|
-
override_context: typing.
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
undo: typing.Optional[bool] = None,
|
|
412
|
-
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,
|
|
413
372
|
):
|
|
414
373
|
"""Hide selected/unselected Grease Pencil layers
|
|
415
374
|
|
|
416
|
-
:type override_context:
|
|
417
|
-
:type execution_context:
|
|
418
|
-
: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
|
|
419
378
|
:param unselected: Unselected, Hide unselected rather than selected layers
|
|
420
|
-
:type unselected:
|
|
379
|
+
:type unselected: bool | typing.Any | None
|
|
421
380
|
"""
|
|
422
381
|
|
|
423
382
|
...
|
|
424
383
|
|
|
425
384
|
def layer_isolate(
|
|
426
|
-
override_context: typing.
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
undo: typing.Optional[bool] = None,
|
|
431
|
-
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,
|
|
432
389
|
):
|
|
433
390
|
"""Make only active layer visible/editable
|
|
434
391
|
|
|
435
|
-
:type override_context:
|
|
436
|
-
:type execution_context:
|
|
437
|
-
: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
|
|
438
395
|
:param affect_visibility: Affect Visibility, Also affect the visibility
|
|
439
|
-
:type affect_visibility:
|
|
396
|
+
:type affect_visibility: bool | typing.Any | None
|
|
440
397
|
"""
|
|
441
398
|
|
|
442
399
|
...
|
|
443
400
|
|
|
444
401
|
def layer_lock_all(
|
|
445
|
-
override_context: typing.
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
undo: typing.Optional[bool] = None,
|
|
450
|
-
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,
|
|
451
406
|
):
|
|
452
407
|
"""Lock all Grease Pencil layers to prevent them from being accidentally modified
|
|
453
408
|
|
|
454
|
-
:type override_context:
|
|
455
|
-
:type execution_context:
|
|
456
|
-
: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
|
|
457
412
|
:param lock: Lock Value, Lock/Unlock all layers
|
|
458
|
-
:type lock:
|
|
413
|
+
:type lock: bool | typing.Any | None
|
|
459
414
|
"""
|
|
460
415
|
|
|
461
416
|
...
|
|
462
417
|
|
|
463
418
|
def layer_mask_add(
|
|
464
|
-
override_context: typing.
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
undo: typing.Optional[bool] = None,
|
|
469
|
-
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 = "",
|
|
470
423
|
):
|
|
471
424
|
"""Add new layer as masking
|
|
472
425
|
|
|
473
|
-
:type override_context:
|
|
474
|
-
:type execution_context:
|
|
475
|
-
: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
|
|
476
429
|
:param name: Layer, Name of the layer
|
|
477
|
-
:type name:
|
|
430
|
+
:type name: str | typing.Any
|
|
478
431
|
"""
|
|
479
432
|
|
|
480
433
|
...
|
|
481
434
|
|
|
482
435
|
def layer_mask_remove(
|
|
483
|
-
override_context: typing.
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
487
|
-
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,
|
|
488
439
|
):
|
|
489
440
|
"""Remove Layer Mask
|
|
490
441
|
|
|
491
|
-
:type override_context:
|
|
492
|
-
:type execution_context:
|
|
493
|
-
: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
|
|
494
445
|
"""
|
|
495
446
|
|
|
496
447
|
...
|
|
497
448
|
|
|
498
449
|
def layer_mask_reorder(
|
|
499
|
-
override_context: typing.
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
undo: typing.Optional[bool] = None,
|
|
504
|
-
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",
|
|
505
454
|
):
|
|
506
455
|
"""Reorder the active Grease Pencil mask layer up/down in the list
|
|
507
456
|
|
|
508
|
-
:type override_context:
|
|
509
|
-
:type execution_context:
|
|
510
|
-
: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
|
|
511
460
|
:param direction: Direction
|
|
512
|
-
:type direction: typing.
|
|
461
|
+
:type direction: typing.Any | None
|
|
513
462
|
"""
|
|
514
463
|
|
|
515
464
|
...
|
|
516
465
|
|
|
517
466
|
def layer_remove(
|
|
518
|
-
override_context: typing.
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
522
|
-
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,
|
|
523
470
|
):
|
|
524
471
|
"""Remove the active Grease Pencil layer
|
|
525
472
|
|
|
526
|
-
:type override_context:
|
|
527
|
-
:type execution_context:
|
|
528
|
-
: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
|
|
529
476
|
"""
|
|
530
477
|
|
|
531
478
|
...
|
|
532
479
|
|
|
533
480
|
def layer_reorder(
|
|
534
|
-
override_context: typing.
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
target_layer_name: typing.Union[str, typing.Any] = "Layer",
|
|
540
|
-
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",
|
|
541
486
|
):
|
|
542
487
|
"""Reorder the active Grease Pencil layer
|
|
543
488
|
|
|
544
|
-
:type override_context:
|
|
545
|
-
:type execution_context:
|
|
546
|
-
: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
|
|
547
492
|
:param target_layer_name: Target Name, Name of the target layer
|
|
548
|
-
:type target_layer_name:
|
|
493
|
+
:type target_layer_name: str | typing.Any
|
|
549
494
|
:param location: Location
|
|
550
|
-
:type location: typing.
|
|
495
|
+
:type location: typing.Any | None
|
|
551
496
|
"""
|
|
552
497
|
|
|
553
498
|
...
|
|
554
499
|
|
|
555
500
|
def layer_reveal(
|
|
556
|
-
override_context: typing.
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
560
|
-
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,
|
|
561
504
|
):
|
|
562
505
|
"""Show all Grease Pencil layers
|
|
563
506
|
|
|
564
|
-
:type override_context:
|
|
565
|
-
:type execution_context:
|
|
566
|
-
: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
|
|
567
510
|
"""
|
|
568
511
|
|
|
569
512
|
...
|
|
570
513
|
|
|
571
514
|
def material_copy_to_object(
|
|
572
|
-
override_context: typing.
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
undo: typing.Optional[bool] = None,
|
|
577
|
-
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,
|
|
578
519
|
):
|
|
579
520
|
"""Append Materials of the active Grease Pencil to other object
|
|
580
521
|
|
|
581
|
-
:type override_context:
|
|
582
|
-
:type execution_context:
|
|
583
|
-
: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
|
|
584
525
|
:param only_active: Only Active, Append only active material, uncheck to append all materials
|
|
585
|
-
:type only_active:
|
|
526
|
+
:type only_active: bool | typing.Any | None
|
|
586
527
|
"""
|
|
587
528
|
|
|
588
529
|
...
|
|
589
530
|
|
|
590
531
|
def material_hide(
|
|
591
|
-
override_context: typing.
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
undo: typing.Optional[bool] = None,
|
|
596
|
-
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,
|
|
597
536
|
):
|
|
598
537
|
"""Hide active/inactive Grease Pencil material(s)
|
|
599
538
|
|
|
600
|
-
:type override_context:
|
|
601
|
-
:type execution_context:
|
|
602
|
-
: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
|
|
603
542
|
:param invert: Invert, Hide inactive materials instead of the active one
|
|
604
|
-
:type invert:
|
|
543
|
+
:type invert: bool | typing.Any | None
|
|
605
544
|
"""
|
|
606
545
|
|
|
607
546
|
...
|
|
608
547
|
|
|
609
548
|
def material_lock_all(
|
|
610
|
-
override_context: typing.
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
614
|
-
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,
|
|
615
552
|
):
|
|
616
553
|
"""Lock all Grease Pencil materials to prevent them from being accidentally modified
|
|
617
554
|
|
|
618
|
-
:type override_context:
|
|
619
|
-
:type execution_context:
|
|
620
|
-
: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
|
|
621
558
|
"""
|
|
622
559
|
|
|
623
560
|
...
|
|
624
561
|
|
|
625
562
|
def material_lock_unselected(
|
|
626
|
-
override_context: typing.
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
630
|
-
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,
|
|
631
566
|
):
|
|
632
567
|
"""Lock any material not used in any selected stroke
|
|
633
568
|
|
|
634
|
-
:type override_context:
|
|
635
|
-
:type execution_context:
|
|
636
|
-
: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
|
|
637
572
|
"""
|
|
638
573
|
|
|
639
574
|
...
|
|
640
575
|
|
|
641
576
|
def material_lock_unused(
|
|
642
|
-
override_context: typing.
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
646
|
-
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,
|
|
647
580
|
):
|
|
648
581
|
"""Lock and hide any material not used
|
|
649
582
|
|
|
650
|
-
:type override_context:
|
|
651
|
-
:type execution_context:
|
|
652
|
-
: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
|
|
653
586
|
"""
|
|
654
587
|
|
|
655
588
|
...
|
|
656
589
|
|
|
657
590
|
def material_reveal(
|
|
658
|
-
override_context: typing.
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
662
|
-
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,
|
|
663
594
|
):
|
|
664
595
|
"""Unhide all hidden Grease Pencil materials
|
|
665
596
|
|
|
666
|
-
:type override_context:
|
|
667
|
-
:type execution_context:
|
|
668
|
-
: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
|
|
669
600
|
"""
|
|
670
601
|
|
|
671
602
|
...
|
|
672
603
|
|
|
673
604
|
def material_select(
|
|
674
|
-
override_context: typing.
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
undo: typing.Optional[bool] = None,
|
|
679
|
-
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,
|
|
680
609
|
):
|
|
681
610
|
"""Select/Deselect all Grease Pencil strokes using current material
|
|
682
611
|
|
|
683
|
-
:type override_context:
|
|
684
|
-
:type execution_context:
|
|
685
|
-
: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
|
|
686
615
|
:param deselect: Deselect, Unselect strokes
|
|
687
|
-
:type deselect:
|
|
616
|
+
:type deselect: bool | typing.Any | None
|
|
688
617
|
"""
|
|
689
618
|
|
|
690
619
|
...
|
|
691
620
|
|
|
692
621
|
def material_unlock_all(
|
|
693
|
-
override_context: typing.
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
697
|
-
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,
|
|
698
625
|
):
|
|
699
626
|
"""Unlock all Grease Pencil materials so that they can be edited
|
|
700
627
|
|
|
701
|
-
:type override_context:
|
|
702
|
-
:type execution_context:
|
|
703
|
-
: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
|
|
704
631
|
"""
|
|
705
632
|
|
|
706
633
|
...
|
|
707
634
|
|
|
708
635
|
def move_to_layer(
|
|
709
|
-
override_context: typing.
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
target_layer_name: typing.Union[str, typing.Any] = "Layer",
|
|
715
|
-
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,
|
|
716
641
|
):
|
|
717
642
|
"""Move selected strokes to another layer
|
|
718
643
|
|
|
719
|
-
:type override_context:
|
|
720
|
-
:type execution_context:
|
|
721
|
-
: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
|
|
722
647
|
:param target_layer_name: Name, Target Grease Pencil Layer
|
|
723
|
-
:type target_layer_name:
|
|
648
|
+
:type target_layer_name: str | typing.Any
|
|
724
649
|
:param add_new_layer: New Layer, Move selection to a new layer
|
|
725
|
-
:type add_new_layer:
|
|
650
|
+
:type add_new_layer: bool | typing.Any | None
|
|
726
651
|
"""
|
|
727
652
|
|
|
728
653
|
...
|
|
729
654
|
|
|
730
655
|
def paste(
|
|
731
|
-
override_context: typing.
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
undo: typing.Optional[bool] = None,
|
|
736
|
-
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,
|
|
737
660
|
):
|
|
738
661
|
"""Paste Grease Pencil points or strokes from the internal clipboard to the active layer
|
|
739
662
|
|
|
740
|
-
:type override_context:
|
|
741
|
-
:type execution_context:
|
|
742
|
-
: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
|
|
743
666
|
:param paste_back: Paste on Back, Add pasted strokes behind all strokes
|
|
744
|
-
:type paste_back:
|
|
667
|
+
:type paste_back: bool | typing.Any | None
|
|
745
668
|
"""
|
|
746
669
|
|
|
747
670
|
...
|
|
748
671
|
|
|
749
672
|
def primitive_arc(
|
|
750
|
-
override_context: typing.
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
subdivision: typing.Optional[typing.Any] = 62,
|
|
756
|
-
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",
|
|
757
678
|
):
|
|
758
679
|
"""Create predefined grease pencil stroke arcs
|
|
759
680
|
|
|
760
|
-
:type override_context:
|
|
761
|
-
:type execution_context:
|
|
762
|
-
: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
|
|
763
684
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
764
|
-
:type subdivision: typing.
|
|
685
|
+
:type subdivision: typing.Any | None
|
|
765
686
|
:param type: Type, Type of shape
|
|
766
|
-
:type type: typing.
|
|
687
|
+
:type type: typing.Any | None
|
|
767
688
|
"""
|
|
768
689
|
|
|
769
690
|
...
|
|
770
691
|
|
|
771
692
|
def primitive_box(
|
|
772
|
-
override_context: typing.
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
subdivision: typing.Optional[typing.Any] = 3,
|
|
778
|
-
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",
|
|
779
698
|
):
|
|
780
699
|
"""Create predefined grease pencil stroke boxes
|
|
781
700
|
|
|
782
|
-
:type override_context:
|
|
783
|
-
:type execution_context:
|
|
784
|
-
: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
|
|
785
704
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
786
|
-
:type subdivision: typing.
|
|
705
|
+
:type subdivision: typing.Any | None
|
|
787
706
|
:param type: Type, Type of shape
|
|
788
|
-
:type type: typing.
|
|
707
|
+
:type type: typing.Any | None
|
|
789
708
|
"""
|
|
790
709
|
|
|
791
710
|
...
|
|
792
711
|
|
|
793
712
|
def primitive_circle(
|
|
794
|
-
override_context: typing.
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
subdivision: typing.Optional[typing.Any] = 94,
|
|
800
|
-
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",
|
|
801
718
|
):
|
|
802
719
|
"""Create predefined grease pencil stroke circles
|
|
803
720
|
|
|
804
|
-
:type override_context:
|
|
805
|
-
:type execution_context:
|
|
806
|
-
: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
|
|
807
724
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
808
|
-
:type subdivision: typing.
|
|
725
|
+
:type subdivision: typing.Any | None
|
|
809
726
|
:param type: Type, Type of shape
|
|
810
|
-
:type type: typing.
|
|
727
|
+
:type type: typing.Any | None
|
|
811
728
|
"""
|
|
812
729
|
|
|
813
730
|
...
|
|
814
731
|
|
|
815
732
|
def primitive_curve(
|
|
816
|
-
override_context: typing.
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
subdivision: typing.Optional[typing.Any] = 62,
|
|
822
|
-
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",
|
|
823
738
|
):
|
|
824
739
|
"""Create predefined grease pencil stroke curve shapes
|
|
825
740
|
|
|
826
|
-
:type override_context:
|
|
827
|
-
:type execution_context:
|
|
828
|
-
: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
|
|
829
744
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
830
|
-
:type subdivision: typing.
|
|
745
|
+
:type subdivision: typing.Any | None
|
|
831
746
|
:param type: Type, Type of shape
|
|
832
|
-
:type type: typing.
|
|
747
|
+
:type type: typing.Any | None
|
|
833
748
|
"""
|
|
834
749
|
|
|
835
750
|
...
|
|
836
751
|
|
|
837
752
|
def primitive_line(
|
|
838
|
-
override_context: typing.
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
subdivision: typing.Optional[typing.Any] = 6,
|
|
844
|
-
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",
|
|
845
758
|
):
|
|
846
759
|
"""Create predefined grease pencil stroke lines
|
|
847
760
|
|
|
848
|
-
:type override_context:
|
|
849
|
-
:type execution_context:
|
|
850
|
-
: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
|
|
851
764
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
852
|
-
:type subdivision: typing.
|
|
765
|
+
:type subdivision: typing.Any | None
|
|
853
766
|
:param type: Type, Type of shape
|
|
854
|
-
:type type: typing.
|
|
767
|
+
:type type: typing.Any | None
|
|
855
768
|
"""
|
|
856
769
|
|
|
857
770
|
...
|
|
858
771
|
|
|
859
772
|
def primitive_polyline(
|
|
860
|
-
override_context: typing.
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
subdivision: typing.Optional[typing.Any] = 6,
|
|
866
|
-
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",
|
|
867
778
|
):
|
|
868
779
|
"""Create predefined grease pencil stroke polylines
|
|
869
780
|
|
|
870
|
-
:type override_context:
|
|
871
|
-
:type execution_context:
|
|
872
|
-
: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
|
|
873
784
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
874
|
-
:type subdivision: typing.
|
|
785
|
+
:type subdivision: typing.Any | None
|
|
875
786
|
:param type: Type, Type of shape
|
|
876
|
-
:type type: typing.
|
|
787
|
+
:type type: typing.Any | None
|
|
877
788
|
"""
|
|
878
789
|
|
|
879
790
|
...
|
|
880
791
|
|
|
881
792
|
def reorder(
|
|
882
|
-
override_context: typing.
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
undo: typing.Optional[bool] = None,
|
|
887
|
-
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",
|
|
888
797
|
):
|
|
889
798
|
"""Change the display order of the selected strokes
|
|
890
799
|
|
|
891
|
-
:type override_context:
|
|
892
|
-
:type execution_context:
|
|
893
|
-
: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
|
|
894
803
|
:param direction: Direction
|
|
895
|
-
:type direction: typing.
|
|
804
|
+
:type direction: typing.Any | None
|
|
896
805
|
"""
|
|
897
806
|
|
|
898
807
|
...
|
|
899
808
|
|
|
900
809
|
def sculpt_paint(
|
|
901
|
-
override_context: typing.
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
908
|
-
] = None,
|
|
909
|
-
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",
|
|
910
816
|
):
|
|
911
817
|
"""Draw a new stroke in the active Grease Pencil object
|
|
912
818
|
|
|
913
|
-
:type override_context:
|
|
914
|
-
:type execution_context:
|
|
915
|
-
: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
|
|
916
822
|
:param stroke: Stroke
|
|
917
|
-
:type stroke:
|
|
823
|
+
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
|
|
918
824
|
:param mode: Stroke Mode, Action taken when a paint stroke is made
|
|
919
825
|
|
|
920
826
|
NORMAL
|
|
@@ -925,24 +831,22 @@ def sculpt_paint(
|
|
|
925
831
|
|
|
926
832
|
SMOOTH
|
|
927
833
|
Smooth -- Switch brush to smooth mode for duration of stroke.
|
|
928
|
-
:type mode: typing.
|
|
834
|
+
:type mode: typing.Any | None
|
|
929
835
|
"""
|
|
930
836
|
|
|
931
837
|
...
|
|
932
838
|
|
|
933
839
|
def select_all(
|
|
934
|
-
override_context: typing.
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
undo: typing.Optional[bool] = None,
|
|
939
|
-
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",
|
|
940
844
|
):
|
|
941
845
|
"""(De)select all visible strokes
|
|
942
846
|
|
|
943
|
-
:type override_context:
|
|
944
|
-
:type execution_context:
|
|
945
|
-
: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
|
|
946
850
|
:param action: Action, Selection action to execute
|
|
947
851
|
|
|
948
852
|
TOGGLE
|
|
@@ -956,119 +860,107 @@ def select_all(
|
|
|
956
860
|
|
|
957
861
|
INVERT
|
|
958
862
|
Invert -- Invert selection of all elements.
|
|
959
|
-
:type action: typing.
|
|
863
|
+
:type action: typing.Any | None
|
|
960
864
|
"""
|
|
961
865
|
|
|
962
866
|
...
|
|
963
867
|
|
|
964
868
|
def select_alternate(
|
|
965
|
-
override_context: typing.
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
undo: typing.Optional[bool] = None,
|
|
970
|
-
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,
|
|
971
873
|
):
|
|
972
874
|
"""Select alternated points in strokes with already selected points
|
|
973
875
|
|
|
974
|
-
:type override_context:
|
|
975
|
-
:type execution_context:
|
|
976
|
-
: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
|
|
977
879
|
:param deselect_ends: Deselect Ends, (De)select the first and last point of each stroke
|
|
978
|
-
:type deselect_ends:
|
|
880
|
+
:type deselect_ends: bool | typing.Any | None
|
|
979
881
|
"""
|
|
980
882
|
|
|
981
883
|
...
|
|
982
884
|
|
|
983
885
|
def select_ends(
|
|
984
|
-
override_context: typing.
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
amount_start: typing.Optional[typing.Any] = 0,
|
|
990
|
-
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,
|
|
991
891
|
):
|
|
992
892
|
"""Select end points of strokes
|
|
993
893
|
|
|
994
|
-
:type override_context:
|
|
995
|
-
:type execution_context:
|
|
996
|
-
: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
|
|
997
897
|
:param amount_start: Amount Start, Number of points to select from the start
|
|
998
|
-
:type amount_start: typing.
|
|
898
|
+
:type amount_start: typing.Any | None
|
|
999
899
|
:param amount_end: Amount End, Number of points to select from the end
|
|
1000
|
-
:type amount_end: typing.
|
|
900
|
+
:type amount_end: typing.Any | None
|
|
1001
901
|
"""
|
|
1002
902
|
|
|
1003
903
|
...
|
|
1004
904
|
|
|
1005
905
|
def select_less(
|
|
1006
|
-
override_context: typing.
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1010
|
-
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,
|
|
1011
909
|
):
|
|
1012
910
|
"""Shrink the selection by one point
|
|
1013
911
|
|
|
1014
|
-
:type override_context:
|
|
1015
|
-
:type execution_context:
|
|
1016
|
-
: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
|
|
1017
915
|
"""
|
|
1018
916
|
|
|
1019
917
|
...
|
|
1020
918
|
|
|
1021
919
|
def select_linked(
|
|
1022
|
-
override_context: typing.
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1026
|
-
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,
|
|
1027
923
|
):
|
|
1028
924
|
"""Select all points in curves with any point selection
|
|
1029
925
|
|
|
1030
|
-
:type override_context:
|
|
1031
|
-
:type execution_context:
|
|
1032
|
-
: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
|
|
1033
929
|
"""
|
|
1034
930
|
|
|
1035
931
|
...
|
|
1036
932
|
|
|
1037
933
|
def select_more(
|
|
1038
|
-
override_context: typing.
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1042
|
-
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,
|
|
1043
937
|
):
|
|
1044
938
|
"""Grow the selection by one point
|
|
1045
939
|
|
|
1046
|
-
:type override_context:
|
|
1047
|
-
:type execution_context:
|
|
1048
|
-
: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
|
|
1049
943
|
"""
|
|
1050
944
|
|
|
1051
945
|
...
|
|
1052
946
|
|
|
1053
947
|
def select_random(
|
|
1054
|
-
override_context: typing.
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
seed: typing.Optional[typing.Any] = 0,
|
|
1061
|
-
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",
|
|
1062
954
|
):
|
|
1063
955
|
"""Selects random points from the current strokes selection
|
|
1064
956
|
|
|
1065
|
-
:type override_context:
|
|
1066
|
-
:type execution_context:
|
|
1067
|
-
: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
|
|
1068
960
|
:param ratio: Ratio, Portion of items to select randomly
|
|
1069
|
-
:type ratio: typing.
|
|
961
|
+
:type ratio: typing.Any | None
|
|
1070
962
|
:param seed: Random Seed, Seed for the random number generator
|
|
1071
|
-
:type seed: typing.
|
|
963
|
+
:type seed: typing.Any | None
|
|
1072
964
|
:param action: Action, Selection action to execute
|
|
1073
965
|
|
|
1074
966
|
SELECT
|
|
@@ -1076,24 +968,22 @@ def select_random(
|
|
|
1076
968
|
|
|
1077
969
|
DESELECT
|
|
1078
970
|
Deselect -- Deselect all elements.
|
|
1079
|
-
:type action: typing.
|
|
971
|
+
:type action: typing.Any | None
|
|
1080
972
|
"""
|
|
1081
973
|
|
|
1082
974
|
...
|
|
1083
975
|
|
|
1084
976
|
def separate(
|
|
1085
|
-
override_context: typing.
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
undo: typing.Optional[bool] = None,
|
|
1090
|
-
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",
|
|
1091
981
|
):
|
|
1092
982
|
"""Separate the selected geometry into a new grease pencil object
|
|
1093
983
|
|
|
1094
|
-
:type override_context:
|
|
1095
|
-
:type execution_context:
|
|
1096
|
-
: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
|
|
1097
987
|
:param mode: Mode
|
|
1098
988
|
|
|
1099
989
|
SELECTED
|
|
@@ -1104,350 +994,313 @@ def separate(
|
|
|
1104
994
|
|
|
1105
995
|
LAYER
|
|
1106
996
|
By Layer -- Separate by layer.
|
|
1107
|
-
:type mode: typing.
|
|
997
|
+
:type mode: typing.Any | None
|
|
1108
998
|
"""
|
|
1109
999
|
|
|
1110
1000
|
...
|
|
1111
1001
|
|
|
1112
1002
|
def set_active_material(
|
|
1113
|
-
override_context: typing.
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1117
|
-
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,
|
|
1118
1006
|
):
|
|
1119
1007
|
"""Set the selected stroke material as the active material
|
|
1120
1008
|
|
|
1121
|
-
:type override_context:
|
|
1122
|
-
:type execution_context:
|
|
1123
|
-
: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
|
|
1124
1012
|
"""
|
|
1125
1013
|
|
|
1126
1014
|
...
|
|
1127
1015
|
|
|
1128
1016
|
def set_material(
|
|
1129
|
-
override_context: typing.
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
undo: typing.Optional[bool] = None,
|
|
1134
|
-
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",
|
|
1135
1021
|
):
|
|
1136
1022
|
"""Set active material
|
|
1137
1023
|
|
|
1138
|
-
:type override_context:
|
|
1139
|
-
:type execution_context:
|
|
1140
|
-
: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
|
|
1141
1027
|
:param slot: Material Slot
|
|
1142
|
-
:type slot:
|
|
1028
|
+
:type slot: str | int | typing.Any | None
|
|
1143
1029
|
"""
|
|
1144
1030
|
|
|
1145
1031
|
...
|
|
1146
1032
|
|
|
1147
1033
|
def set_selection_mode(
|
|
1148
|
-
override_context: typing.
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
undo: typing.Optional[bool] = None,
|
|
1153
|
-
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",
|
|
1154
1038
|
):
|
|
1155
1039
|
"""Change the selection mode for Grease Pencil strokes
|
|
1156
1040
|
|
|
1157
|
-
:type override_context:
|
|
1158
|
-
:type execution_context:
|
|
1159
|
-
: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
|
|
1160
1044
|
:param mode: Mode
|
|
1161
|
-
:type mode:
|
|
1045
|
+
:type mode: str | int | None
|
|
1162
1046
|
"""
|
|
1163
1047
|
|
|
1164
1048
|
...
|
|
1165
1049
|
|
|
1166
1050
|
def set_uniform_opacity(
|
|
1167
|
-
override_context: typing.
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
undo: typing.Optional[bool] = None,
|
|
1172
|
-
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,
|
|
1173
1055
|
):
|
|
1174
1056
|
"""Set all stroke points to same opacity
|
|
1175
1057
|
|
|
1176
|
-
:type override_context:
|
|
1177
|
-
:type execution_context:
|
|
1178
|
-
: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
|
|
1179
1061
|
:param opacity: Opacity
|
|
1180
|
-
:type opacity: typing.
|
|
1062
|
+
:type opacity: typing.Any | None
|
|
1181
1063
|
"""
|
|
1182
1064
|
|
|
1183
1065
|
...
|
|
1184
1066
|
|
|
1185
1067
|
def set_uniform_thickness(
|
|
1186
|
-
override_context: typing.
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
undo: typing.Optional[bool] = None,
|
|
1191
|
-
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,
|
|
1192
1072
|
):
|
|
1193
1073
|
"""Set all stroke points to same thickness
|
|
1194
1074
|
|
|
1195
|
-
:type override_context:
|
|
1196
|
-
:type execution_context:
|
|
1197
|
-
: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
|
|
1198
1078
|
:param thickness: Thickness, Thickness
|
|
1199
|
-
:type thickness: typing.
|
|
1079
|
+
:type thickness: typing.Any | None
|
|
1200
1080
|
"""
|
|
1201
1081
|
|
|
1202
1082
|
...
|
|
1203
1083
|
|
|
1204
1084
|
def snap_cursor_to_selected(
|
|
1205
|
-
override_context: typing.
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1209
|
-
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,
|
|
1210
1088
|
):
|
|
1211
1089
|
"""Snap cursor to center of selected points
|
|
1212
1090
|
|
|
1213
|
-
:type override_context:
|
|
1214
|
-
:type execution_context:
|
|
1215
|
-
: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
|
|
1216
1094
|
"""
|
|
1217
1095
|
|
|
1218
1096
|
...
|
|
1219
1097
|
|
|
1220
1098
|
def snap_to_cursor(
|
|
1221
|
-
override_context: typing.
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
undo: typing.Optional[bool] = None,
|
|
1226
|
-
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,
|
|
1227
1103
|
):
|
|
1228
1104
|
"""Snap selected points/strokes to the cursor
|
|
1229
1105
|
|
|
1230
|
-
:type override_context:
|
|
1231
|
-
:type execution_context:
|
|
1232
|
-
: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
|
|
1233
1109
|
:param use_offset: With Offset, Offset the entire stroke instead of selected points only
|
|
1234
|
-
:type use_offset:
|
|
1110
|
+
:type use_offset: bool | typing.Any | None
|
|
1235
1111
|
"""
|
|
1236
1112
|
|
|
1237
1113
|
...
|
|
1238
1114
|
|
|
1239
1115
|
def snap_to_grid(
|
|
1240
|
-
override_context: typing.
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1244
|
-
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,
|
|
1245
1119
|
):
|
|
1246
1120
|
"""Snap selected points to the nearest grid points
|
|
1247
1121
|
|
|
1248
|
-
:type override_context:
|
|
1249
|
-
:type execution_context:
|
|
1250
|
-
: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
|
|
1251
1125
|
"""
|
|
1252
1126
|
|
|
1253
1127
|
...
|
|
1254
1128
|
|
|
1255
1129
|
def stroke_cutter(
|
|
1256
|
-
override_context: typing.
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
undo: typing.Optional[bool] = None,
|
|
1261
|
-
path: typing.Optional[
|
|
1262
|
-
bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
|
|
1263
|
-
] = 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,
|
|
1264
1134
|
):
|
|
1265
1135
|
"""Delete stroke points in between intersecting strokes
|
|
1266
1136
|
|
|
1267
|
-
:type override_context:
|
|
1268
|
-
:type execution_context:
|
|
1269
|
-
: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
|
|
1270
1140
|
:param path: Path
|
|
1271
|
-
:type path:
|
|
1141
|
+
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None
|
|
1272
1142
|
"""
|
|
1273
1143
|
|
|
1274
1144
|
...
|
|
1275
1145
|
|
|
1276
1146
|
def stroke_material_set(
|
|
1277
|
-
override_context: typing.
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
undo: typing.Optional[bool] = None,
|
|
1282
|
-
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 = "",
|
|
1283
1151
|
):
|
|
1284
1152
|
"""Assign the active material slot to the selected strokes
|
|
1285
1153
|
|
|
1286
|
-
:type override_context:
|
|
1287
|
-
:type execution_context:
|
|
1288
|
-
: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
|
|
1289
1157
|
:param material: Material, Name of the material
|
|
1290
|
-
:type material:
|
|
1158
|
+
:type material: str | typing.Any
|
|
1291
1159
|
"""
|
|
1292
1160
|
|
|
1293
1161
|
...
|
|
1294
1162
|
|
|
1295
1163
|
def stroke_merge_by_distance(
|
|
1296
|
-
override_context: typing.
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
threshold: typing.Optional[typing.Any] = 0.001,
|
|
1302
|
-
use_unselected: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
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,
|
|
1303
1169
|
):
|
|
1304
1170
|
"""Merge points by distance
|
|
1305
1171
|
|
|
1306
|
-
:type override_context:
|
|
1307
|
-
:type execution_context:
|
|
1308
|
-
:type undo:
|
|
1172
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1173
|
+
:type execution_context: str | int | None
|
|
1174
|
+
:type undo: bool | None
|
|
1309
1175
|
:param threshold: Threshold
|
|
1310
|
-
:type threshold: typing.
|
|
1176
|
+
:type threshold: typing.Any | None
|
|
1311
1177
|
:param use_unselected: Unselected, Use whole stroke, not only selected points
|
|
1312
|
-
:type use_unselected:
|
|
1178
|
+
:type use_unselected: bool | typing.Any | None
|
|
1313
1179
|
"""
|
|
1314
1180
|
|
|
1315
1181
|
...
|
|
1316
1182
|
|
|
1317
1183
|
def stroke_simplify(
|
|
1318
|
-
override_context: typing.
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
undo: typing.Optional[bool] = None,
|
|
1323
|
-
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,
|
|
1324
1188
|
):
|
|
1325
1189
|
"""Simplify selected strokes
|
|
1326
1190
|
|
|
1327
|
-
:type override_context:
|
|
1328
|
-
:type execution_context:
|
|
1329
|
-
: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
|
|
1330
1194
|
:param factor: Factor
|
|
1331
|
-
:type factor: typing.
|
|
1195
|
+
:type factor: typing.Any | None
|
|
1332
1196
|
"""
|
|
1333
1197
|
|
|
1334
1198
|
...
|
|
1335
1199
|
|
|
1336
1200
|
def stroke_smooth(
|
|
1337
|
-
override_context: typing.
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
smooth_radius: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
1348
|
-
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,
|
|
1349
1211
|
):
|
|
1350
1212
|
"""Smooth selected strokes
|
|
1351
1213
|
|
|
1352
|
-
:type override_context:
|
|
1353
|
-
:type execution_context:
|
|
1354
|
-
: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
|
|
1355
1217
|
:param iterations: Iterations
|
|
1356
|
-
:type iterations: typing.
|
|
1218
|
+
:type iterations: typing.Any | None
|
|
1357
1219
|
:param factor: Factor
|
|
1358
|
-
:type factor: typing.
|
|
1220
|
+
:type factor: typing.Any | None
|
|
1359
1221
|
:param smooth_ends: Smooth Endpoints
|
|
1360
|
-
:type smooth_ends:
|
|
1222
|
+
:type smooth_ends: bool | typing.Any | None
|
|
1361
1223
|
:param keep_shape: Keep Shape
|
|
1362
|
-
:type keep_shape:
|
|
1224
|
+
:type keep_shape: bool | typing.Any | None
|
|
1363
1225
|
:param smooth_position: Position
|
|
1364
|
-
:type smooth_position:
|
|
1226
|
+
:type smooth_position: bool | typing.Any | None
|
|
1365
1227
|
:param smooth_radius: Radius
|
|
1366
|
-
:type smooth_radius:
|
|
1228
|
+
:type smooth_radius: bool | typing.Any | None
|
|
1367
1229
|
:param smooth_opacity: Opacity
|
|
1368
|
-
:type smooth_opacity:
|
|
1230
|
+
:type smooth_opacity: bool | typing.Any | None
|
|
1369
1231
|
"""
|
|
1370
1232
|
|
|
1371
1233
|
...
|
|
1372
1234
|
|
|
1373
1235
|
def stroke_subdivide(
|
|
1374
|
-
override_context: typing.
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
number_cuts: typing.Optional[typing.Any] = 1,
|
|
1380
|
-
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,
|
|
1381
1241
|
):
|
|
1382
1242
|
"""Subdivide between continuous selected points of the stroke adding a point half way between them
|
|
1383
1243
|
|
|
1384
|
-
:type override_context:
|
|
1385
|
-
:type execution_context:
|
|
1386
|
-
: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
|
|
1387
1247
|
:param number_cuts: Number of Cuts
|
|
1388
|
-
:type number_cuts: typing.
|
|
1248
|
+
:type number_cuts: typing.Any | None
|
|
1389
1249
|
:param only_selected: Selected Points, Smooth only selected points in the stroke
|
|
1390
|
-
:type only_selected:
|
|
1250
|
+
:type only_selected: bool | typing.Any | None
|
|
1391
1251
|
"""
|
|
1392
1252
|
|
|
1393
1253
|
...
|
|
1394
1254
|
|
|
1395
1255
|
def stroke_subdivide_smooth(
|
|
1396
|
-
override_context: typing.
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
GREASE_PENCIL_OT_stroke_subdivide: typing.Optional[typing.Any] = None,
|
|
1402
|
-
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,
|
|
1403
1261
|
):
|
|
1404
1262
|
"""Subdivide strokes and smooth them
|
|
1405
1263
|
|
|
1406
|
-
:type override_context:
|
|
1407
|
-
:type execution_context:
|
|
1408
|
-
: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
|
|
1409
1267
|
:param GREASE_PENCIL_OT_stroke_subdivide: Subdivide Stroke, Subdivide between continuous selected points of the stroke adding a point half way between them
|
|
1410
|
-
:type GREASE_PENCIL_OT_stroke_subdivide: typing.
|
|
1268
|
+
:type GREASE_PENCIL_OT_stroke_subdivide: typing.Any | None
|
|
1411
1269
|
:param GREASE_PENCIL_OT_stroke_smooth: Smooth Stroke, Smooth selected strokes
|
|
1412
|
-
:type GREASE_PENCIL_OT_stroke_smooth: typing.
|
|
1270
|
+
:type GREASE_PENCIL_OT_stroke_smooth: typing.Any | None
|
|
1413
1271
|
"""
|
|
1414
1272
|
|
|
1415
1273
|
...
|
|
1416
1274
|
|
|
1417
1275
|
def stroke_switch_direction(
|
|
1418
|
-
override_context: typing.
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1422
|
-
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,
|
|
1423
1279
|
):
|
|
1424
1280
|
"""Change direction of the points of the selected strokes
|
|
1425
1281
|
|
|
1426
|
-
:type override_context:
|
|
1427
|
-
:type execution_context:
|
|
1428
|
-
: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
|
|
1429
1285
|
"""
|
|
1430
1286
|
|
|
1431
1287
|
...
|
|
1432
1288
|
|
|
1433
1289
|
def weight_brush_stroke(
|
|
1434
|
-
override_context: typing.
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
1441
|
-
] = None,
|
|
1442
|
-
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",
|
|
1443
1296
|
):
|
|
1444
1297
|
"""Draw weight on stroke points in the active Grease Pencil object
|
|
1445
1298
|
|
|
1446
|
-
:type override_context:
|
|
1447
|
-
:type execution_context:
|
|
1448
|
-
: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
|
|
1449
1302
|
:param stroke: Stroke
|
|
1450
|
-
:type stroke:
|
|
1303
|
+
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
|
|
1451
1304
|
:param mode: Stroke Mode, Action taken when a paint stroke is made
|
|
1452
1305
|
|
|
1453
1306
|
NORMAL
|
|
@@ -1458,39 +1311,35 @@ def weight_brush_stroke(
|
|
|
1458
1311
|
|
|
1459
1312
|
SMOOTH
|
|
1460
1313
|
Smooth -- Switch brush to smooth mode for duration of stroke.
|
|
1461
|
-
:type mode: typing.
|
|
1314
|
+
:type mode: typing.Any | None
|
|
1462
1315
|
"""
|
|
1463
1316
|
|
|
1464
1317
|
...
|
|
1465
1318
|
|
|
1466
1319
|
def weight_sample(
|
|
1467
|
-
override_context: typing.
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1471
|
-
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,
|
|
1472
1323
|
):
|
|
1473
1324
|
"""Set the weight of the Draw tool to the weight of the vertex under the mouse cursor
|
|
1474
1325
|
|
|
1475
|
-
:type override_context:
|
|
1476
|
-
:type execution_context:
|
|
1477
|
-
: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
|
|
1478
1329
|
"""
|
|
1479
1330
|
|
|
1480
1331
|
...
|
|
1481
1332
|
|
|
1482
1333
|
def weight_toggle_direction(
|
|
1483
|
-
override_context: typing.
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1487
|
-
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,
|
|
1488
1337
|
):
|
|
1489
1338
|
"""Toggle Add/Subtract for the weight paint draw tool
|
|
1490
1339
|
|
|
1491
|
-
:type override_context:
|
|
1492
|
-
:type execution_context:
|
|
1493
|
-
: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
|
|
1494
1343
|
"""
|
|
1495
1344
|
|
|
1496
1345
|
...
|