fake-bge-module 20250317__py3-none-any.whl → 20260201__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.
- {animsys_refactor → _animsys_refactor}/__init__.pyi +7 -6
- {bl_console_utils → _bl_console_utils}/__init__.pyi +1 -0
- {bl_console_utils → _bl_console_utils}/autocomplete/__init__.pyi +1 -0
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_calltip/__init__.pyi +1 -13
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_import/__init__.pyi +1 -5
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_namespace/__init__.pyi +3 -13
- {bl_console_utils → _bl_console_utils}/autocomplete/intellisense/__init__.pyi +1 -10
- {bl_i18n_utils → _bl_i18n_utils}/__init__.pyi +2 -0
- _bl_i18n_utils/bl_extract_messages/__init__.pyi +28 -0
- {bl_i18n_utils → _bl_i18n_utils}/merge_po/__init__.pyi +2 -1
- {bl_i18n_utils → _bl_i18n_utils}/settings/__init__.pyi +10 -7
- {bl_i18n_utils → _bl_i18n_utils}/utils/__init__.pyi +53 -50
- _bl_i18n_utils/utils_cli/__init__.pyi +11 -0
- _bl_i18n_utils/utils_languages_menu/__init__.pyi +6 -0
- {bl_i18n_utils → _bl_i18n_utils}/utils_rtl/__init__.pyi +3 -2
- _bl_i18n_utils/utils_spell_check/__init__.pyi +22 -0
- {bl_previews_utils → _bl_previews_utils}/__init__.pyi +1 -0
- _bl_previews_utils/bl_previews_render/__init__.pyi +14 -0
- {bl_rna_utils → _bl_rna_utils}/__init__.pyi +1 -0
- {bl_rna_utils → _bl_rna_utils}/data_path/__init__.pyi +3 -2
- {bl_text_utils → _bl_text_utils}/__init__.pyi +1 -0
- _bl_text_utils/external_editor/__init__.pyi +6 -0
- {bl_ui_utils → _bl_ui_utils}/__init__.pyi +1 -0
- {bl_ui_utils → _bl_ui_utils}/layout/__init__.pyi +2 -1
- _blendfile_header/__init__.pyi +48 -0
- _bpy_internal/__init__.pyi +5 -1
- _bpy_internal/addons/__init__.pyi +1 -0
- _bpy_internal/addons/cli/__init__.pyi +2 -1
- _bpy_internal/assets/__init__.pyi +5 -0
- _bpy_internal/assets/remote_library_listing/__init__.pyi +5 -0
- _bpy_internal/assets/remote_library_listing/blender_asset_library_openapi/__init__.pyi +13 -0
- _bpy_internal/disk_file_hash_service/__init__.pyi +19 -0
- _bpy_internal/disk_file_hash_service/backend_sqlite/__init__.pyi +48 -0
- _bpy_internal/disk_file_hash_service/hash_service/__init__.pyi +64 -0
- _bpy_internal/disk_file_hash_service/types/__init__.pyi +53 -0
- _bpy_internal/extensions/__init__.pyi +1 -0
- _bpy_internal/extensions/junction_module/__init__.pyi +8 -7
- _bpy_internal/extensions/stale_file_manager/__init__.pyi +9 -8
- _bpy_internal/extensions/wheel_manager/__init__.pyi +6 -5
- {bl_i18n_utils/utils_languages_menu → _bpy_internal/filesystem}/__init__.pyi +2 -2
- _bpy_internal/filesystem/locking/__init__.pyi +28 -0
- _bpy_internal/grease_pencil/__init__.pyi +1 -0
- _bpy_internal/grease_pencil/stroke/__init__.pyi +22 -6
- _bpy_internal/platform/__init__.pyi +5 -0
- _bpy_internal/platform/freedesktop/__init__.pyi +21 -0
- _bpy_internal/system_info/__init__.pyi +1 -0
- _bpy_internal/system_info/text_generate_runtime/__init__.pyi +2 -1
- _bpy_internal/system_info/url_prefill_runtime/__init__.pyi +2 -1
- _bpy_internal/system_info/url_prefill_startup/__init__.pyi +3 -2
- {bpy_restrict_state → _bpy_restrict_state}/__init__.pyi +1 -0
- _bpy_types/__init__.pyi +1635 -0
- {console_python → _console_python}/__init__.pyi +8 -7
- _console_shell/__init__.pyi +10 -0
- {graphviz_export → _graphviz_export}/__init__.pyi +3 -2
- _keyingsets_utils/__init__.pyi +21 -0
- {rna_info → _rna_info}/__init__.pyi +32 -27
- {rna_xml → _rna_xml}/__init__.pyi +7 -6
- addon_utils/__init__.pyi +13 -25
- aud/__init__.pyi +133 -155
- bge/__init__.pyi +1 -0
- bge/app/__init__.pyi +1 -0
- bge/constraints/__init__.pyi +22 -51
- bge/types/__init__.pyi +618 -1913
- bge_extras/__init__.pyi +1 -0
- bge_extras/logger/__init__.pyi +4 -3
- bgui/__init__.pyi +1 -0
- bgui/frame/__init__.pyi +1 -0
- bgui/frame_button/__init__.pyi +1 -0
- bgui/image/__init__.pyi +1 -1
- bgui/image_button/__init__.pyi +1 -0
- bgui/label/__init__.pyi +1 -0
- bgui/list_box/__init__.pyi +1 -1
- bgui/progress_bar/__init__.pyi +2 -1
- bgui/system/__init__.pyi +3 -5
- bgui/text_block/__init__.pyi +1 -0
- bgui/text_input/__init__.pyi +9 -8
- bgui/theme/__init__.pyi +4 -3
- bgui/widget/__init__.pyi +5 -4
- bl_app_override/__init__.pyi +4 -3
- bl_app_override/helpers/__init__.pyi +3 -2
- bl_app_template_utils/__init__.pyi +5 -4
- bl_app_templates_system/Game_Engine/__init__.pyi +5 -4
- bl_app_templates_system/Storyboarding/__init__.pyi +11 -0
- bl_app_templates_system/__init__.pyi +2 -0
- bl_keymap_utils/__init__.pyi +1 -0
- bl_keymap_utils/io/__init__.pyi +10 -9
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +2 -1
- bl_keymap_utils/platform_helpers/__init__.pyi +3 -2
- bl_keymap_utils/versioning/__init__.pyi +2 -1
- bl_math/__init__.pyi +4 -13
- bl_operators/__init__.pyi +4 -2
- bl_operators/add_mesh_torus/__init__.pyi +9 -9
- bl_operators/anim/__init__.pyi +90 -62
- bl_operators/assets/__init__.pyi +14 -18
- bl_operators/bmesh/__init__.pyi +1 -0
- bl_operators/bmesh/find_adjacent/__init__.pyi +12 -9
- bl_operators/bone_selection_sets/__init__.pyi +34 -60
- bl_operators/clip/__init__.pyi +39 -57
- bl_operators/connect_to_output/__init__.pyi +20 -18
- bl_operators/console/__init__.pyi +17 -25
- bl_operators/constraint/__init__.pyi +15 -21
- bl_operators/copy_global_transform/__init__.pyi +261 -0
- bl_operators/file/__init__.pyi +13 -17
- bl_operators/freestyle/__init__.pyi +15 -21
- bl_operators/geometry_nodes/__init__.pyi +30 -36
- bl_operators/grease_pencil/__init__.pyi +5 -5
- bl_operators/image/__init__.pyi +14 -22
- bl_operators/image_as_planes/__init__.pyi +36 -42
- bl_operators/mesh/__init__.pyi +8 -53
- bl_operators/node/__init__.pyi +375 -92
- bl_operators/node_editor/__init__.pyi +1 -0
- bl_operators/node_editor/node_functions/__init__.pyi +10 -9
- bl_operators/object/__init__.pyi +57 -98
- bl_operators/object_align/__init__.pyi +8 -8
- bl_operators/object_quick_effects/__init__.pyi +15 -21
- bl_operators/object_randomize_transform/__init__.pyi +6 -6
- bl_operators/presets/__init__.pyi +46 -94
- bl_operators/rigidbody/__init__.pyi +12 -16
- bl_operators/screen_play_rendered_anim/__init__.pyi +5 -5
- bl_operators/sequencer/__init__.pyi +40 -54
- bl_operators/spreadsheet/__init__.pyi +7 -7
- bl_operators/userpref/__init__.pyi +69 -117
- bl_operators/uvcalc_follow_active/__init__.pyi +8 -8
- bl_operators/uvcalc_lightmap/__init__.pyi +12 -12
- bl_operators/uvcalc_transform/__init__.pyi +39 -28
- bl_operators/vertexpaint_dirt/__init__.pyi +7 -7
- bl_operators/view3d/__init__.pyi +31 -43
- bl_operators/wm/__init__.pyi +139 -231
- bl_operators/world/__init__.pyi +6 -6
- bl_ui/__init__.pyi +18 -17
- bl_ui/anim/__init__.pyi +5 -5
- bl_ui/asset_shelf/__init__.pyi +5 -5
- bl_ui/generic_ui_list/__init__.pyi +11 -25
- bl_ui/node_add_menu/__init__.pyi +281 -12
- bl_ui/node_add_menu_compositor/__init__.pyi +135 -91
- bl_ui/node_add_menu_geometry/__init__.pyi +407 -263
- bl_ui/node_add_menu_shader/__init__.pyi +67 -67
- bl_ui/node_add_menu_texture/__init__.pyi +25 -69
- bl_ui/properties_animviz/__init__.pyi +3 -2
- bl_ui/properties_collection/__init__.pyi +20 -30
- bl_ui/properties_constraint/__init__.pyi +228 -450
- bl_ui/properties_data_armature/__init__.pyi +45 -79
- bl_ui/properties_data_bone/__init__.pyi +33 -51
- bl_ui/properties_data_camera/__init__.pyi +43 -75
- bl_ui/properties_data_curve/__init__.pyi +42 -101
- bl_ui/properties_data_curves/__init__.pyi +21 -35
- bl_ui/properties_data_empty/__init__.pyi +8 -10
- bl_ui/properties_data_grease_pencil/__init__.pyi +49 -87
- bl_ui/properties_data_lattice/__init__.pyi +12 -18
- bl_ui/properties_data_light/__init__.pyi +28 -46
- bl_ui/properties_data_lightprobe/__init__.pyi +35 -61
- bl_ui/properties_data_mesh/__init__.pyi +73 -120
- bl_ui/properties_data_metaball/__init__.pyi +16 -26
- bl_ui/properties_data_modifier/__init__.pyi +34 -39
- bl_ui/properties_data_pointcloud/__init__.pyi +17 -27
- bl_ui/properties_data_shaderfx/__init__.pyi +4 -4
- bl_ui/properties_data_speaker/__init__.pyi +15 -25
- bl_ui/properties_data_volume/__init__.pyi +22 -38
- bl_ui/properties_freestyle/__init__.pyi +79 -127
- bl_ui/properties_game/__init__.pyi +88 -84
- bl_ui/properties_grease_pencil_common/__init__.pyi +33 -190
- bl_ui/properties_mask_common/__init__.pyi +33 -45
- bl_ui/properties_material/__init__.pyi +52 -111
- bl_ui/properties_material_gpencil/__init__.pyi +48 -68
- bl_ui/properties_object/__init__.pyi +123 -93
- bl_ui/properties_output/__init__.pyi +103 -81
- bl_ui/properties_paint_common/__init__.pyi +78 -59
- bl_ui/properties_particle/__init__.pyi +160 -262
- bl_ui/properties_physics_cloth/__init__.pyi +36 -62
- bl_ui/properties_physics_common/__init__.pyi +11 -11
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +81 -123
- bl_ui/properties_physics_field/__init__.pyi +35 -53
- bl_ui/properties_physics_fluid/__init__.pyi +106 -160
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +6 -6
- bl_ui/properties_physics_rigidbody/__init__.pyi +28 -42
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +44 -68
- bl_ui/properties_physics_softbody/__init__.pyi +38 -66
- bl_ui/properties_render/__init__.pyi +267 -259
- bl_ui/properties_scene/__init__.pyi +69 -72
- bl_ui/properties_strip/__init__.pyi +744 -0
- bl_ui/properties_strip_modifier/__init__.pyi +45 -0
- bl_ui/properties_texture/__init__.pyi +69 -122
- bl_ui/properties_view_layer/__init__.pyi +97 -51
- bl_ui/properties_workspace/__init__.pyi +12 -18
- bl_ui/properties_world/__init__.pyi +33 -53
- bl_ui/space_clip/__init__.pyi +231 -311
- bl_ui/space_console/__init__.pyi +14 -24
- bl_ui/space_dopesheet/__init__.pyi +193 -125
- bl_ui/space_filebrowser/__init__.pyi +107 -131
- bl_ui/space_graph/__init__.pyi +93 -80
- bl_ui/space_image/__init__.pyi +207 -291
- bl_ui/space_info/__init__.pyi +14 -24
- bl_ui/space_logic/__init__.pyi +14 -22
- bl_ui/space_nla/__init__.pyi +63 -69
- bl_ui/space_node/__init__.pyi +215 -154
- bl_ui/space_outliner/__init__.pyi +65 -61
- bl_ui/space_properties/__init__.pyi +41 -16
- bl_ui/space_sequencer/__init__.pyi +276 -980
- bl_ui/space_spreadsheet/__init__.pyi +27 -23
- bl_ui/space_statusbar/__init__.pyi +4 -4
- bl_ui/space_text/__init__.pyi +39 -73
- bl_ui/space_time/__init__.pyi +33 -78
- bl_ui/space_toolsystem_common/__init__.pyi +31 -28
- bl_ui/space_toolsystem_toolbar/__init__.pyi +67 -43
- bl_ui/space_topbar/__init__.pyi +68 -111
- bl_ui/space_userpref/__init__.pyi +310 -445
- bl_ui/space_view3d/__init__.pyi +667 -1122
- bl_ui/space_view3d_sidebar/__init__.pyi +127 -0
- bl_ui/space_view3d_toolbar/__init__.pyi +237 -966
- bl_ui/utils/__init__.pyi +4 -3
- blend_render_info/__init__.pyi +4 -2
- blf/__init__.pyi +92 -59
- bmesh/__init__.pyi +4 -10
- bmesh/geometry/__init__.pyi +2 -4
- bmesh/ops/__init__.pyi +442 -815
- bmesh/types/__init__.pyi +377 -720
- bmesh/utils/__init__.pyi +20 -45
- bpy/__init__.pyi +2 -1
- bpy/app/__init__.pyi +96 -90
- bpy/app/handlers/__init__.pyi +24 -19
- bpy/app/icons/__init__.pyi +2 -7
- bpy/app/timers/__init__.pyi +5 -18
- bpy/app/translations/__init__.pyi +21 -35
- bpy/msgbus/__init__.pyi +20 -9
- bpy/ops/__init__.pyi +21 -3
- bpy/ops/action/__init__.pyi +121 -226
- bpy/ops/anim/__init__.pyi +204 -358
- bpy/ops/armature/__init__.pyi +129 -249
- bpy/ops/asset/__init__.pyi +82 -111
- bpy/ops/bge_bricknodes/__init__.pyi +61 -0
- bpy/ops/boid/__init__.pyi +44 -50
- bpy/ops/bricknodes/__init__.pyi +37 -0
- bpy/ops/brush/__init__.pyi +33 -120
- bpy/ops/buttons/__init__.pyi +27 -83
- bpy/ops/cachefile/__init__.pyi +16 -74
- bpy/ops/camera/__init__.pyi +3 -13
- bpy/ops/clip/__init__.pyi +278 -558
- bpy/ops/cloth/__init__.pyi +2 -6
- bpy/ops/collection/__init__.pyi +34 -44
- bpy/ops/console/__init__.pyi +70 -111
- bpy/ops/constraint/__init__.pyi +34 -102
- bpy/ops/curve/__init__.pyi +163 -315
- bpy/ops/curves/__init__.pyi +163 -189
- bpy/ops/cycles/__init__.pyi +8 -18
- bpy/ops/dpaint/__init__.pyi +21 -30
- bpy/ops/ed/__init__.pyi +59 -103
- bpy/ops/export_anim/__init__.pyi +4 -11
- bpy/ops/export_scene/__init__.pyi +29 -174
- bpy/ops/extensions/__init__.pyi +102 -194
- bpy/ops/file/__init__.pyi +166 -272
- bpy/ops/fluid/__init__.pyi +78 -86
- bpy/ops/font/__init__.pyi +73 -164
- bpy/ops/geometry/__init__.pyi +33 -144
- bpy/ops/gizmogroup/__init__.pyi +8 -14
- bpy/ops/gpencil/__init__.pyi +31 -58
- bpy/ops/graph/__init__.pyi +176 -411
- bpy/ops/grease_pencil/__init__.pyi +416 -639
- bpy/ops/image/__init__.pyi +148 -492
- bpy/ops/import_anim/__init__.pyi +5 -18
- bpy/ops/import_curve/__init__.pyi +4 -6
- bpy/ops/import_scene/__init__.pyi +22 -49
- bpy/ops/info/__init__.pyi +27 -43
- bpy/ops/lattice/__init__.pyi +26 -43
- bpy/ops/logic/__init__.pyi +49 -122
- bpy/ops/logic_nodes/__init__.pyi +461 -0
- bpy/ops/marker/__init__.pyi +24 -60
- bpy/ops/mask/__init__.pyi +118 -222
- bpy/ops/material/__init__.pyi +19 -18
- bpy/ops/mball/__init__.pyi +13 -39
- bpy/ops/mesh/__init__.pyi +409 -1264
- bpy/ops/nla/__init__.pyi +140 -232
- bpy/ops/node/__init__.pyi +1189 -807
- bpy/ops/object/__init__.pyi +806 -1659
- bpy/ops/outliner/__init__.pyi +284 -432
- bpy/ops/paint/__init__.pyi +189 -381
- bpy/ops/paintcurve/__init__.pyi +29 -44
- bpy/ops/palette/__init__.pyi +23 -34
- bpy/ops/particle/__init__.pyi +135 -201
- bpy/ops/pointcloud/__init__.pyi +23 -42
- bpy/ops/pose/__init__.pyi +195 -310
- bpy/ops/poselib/__init__.pyi +45 -73
- bpy/ops/preferences/__init__.pyi +89 -221
- bpy/ops/ptcache/__init__.pyi +32 -39
- bpy/ops/render/__init__.pyi +36 -83
- bpy/ops/rigidbody/__init__.pyi +47 -78
- bpy/ops/scene/__init__.pyi +169 -222
- bpy/ops/screen/__init__.pyi +146 -259
- bpy/ops/script/__init__.pyi +9 -15
- bpy/ops/sculpt/__init__.pyi +194 -354
- bpy/ops/sculpt_curves/__init__.pyi +21 -29
- bpy/ops/sequencer/__init__.pyi +586 -836
- bpy/ops/sound/__init__.pyi +25 -131
- bpy/ops/spreadsheet/__init__.pyi +34 -21
- bpy/ops/surface/__init__.pyi +7 -54
- bpy/ops/text/__init__.pyi +166 -281
- bpy/ops/text_editor/__init__.pyi +2 -6
- bpy/ops/texture/__init__.pyi +20 -22
- bpy/ops/transform/__init__.pyi +108 -445
- bpy/ops/ui/__init__.pyi +157 -219
- bpy/ops/uilist/__init__.pyi +4 -16
- bpy/ops/uv/__init__.pyi +291 -347
- bpy/ops/view2d/__init__.pyi +29 -88
- bpy/ops/view3d/__init__.pyi +238 -438
- bpy/ops/wm/__init__.pyi +651 -1510
- bpy/ops/workspace/__init__.pyi +42 -44
- bpy/ops/world/__init__.pyi +12 -13
- bpy/path/__init__.pyi +5 -36
- bpy/props/__init__.pyi +395 -259
- bpy/{_typing → stub_internal}/__init__.pyi +1 -0
- bpy/{_typing → stub_internal}/rna_enums/__init__.pyi +214 -114
- bpy/types/__init__.pyi +93285 -103831
- bpy/utils/__init__.pyi +46 -104
- bpy/utils/previews/__init__.pyi +7 -15
- bpy/utils/units/__init__.pyi +6 -15
- bpy_extras/__init__.pyi +1 -0
- bpy_extras/anim_utils/__init__.pyi +32 -23
- bpy_extras/asset_utils/__init__.pyi +1 -0
- bpy_extras/bmesh_utils/__init__.pyi +2 -2
- bpy_extras/id_map_utils/__init__.pyi +15 -6
- bpy_extras/image_utils/__init__.pyi +3 -11
- bpy_extras/io_utils/__init__.pyi +22 -38
- bpy_extras/keyconfig_utils/__init__.pyi +5 -4
- bpy_extras/mesh_utils/__init__.pyi +3 -14
- bpy_extras/node_shader_utils/__init__.pyi +63 -70
- bpy_extras/node_utils/__init__.pyi +4 -3
- bpy_extras/object_utils/__init__.pyi +6 -19
- bpy_extras/view3d_utils/__init__.pyi +1 -18
- bpy_extras/wm_utils/__init__.pyi +1 -0
- bpy_extras/wm_utils/progress_report/__init__.pyi +12 -11
- {fake_bge_module-20250317.dist-info → fake_bge_module-20260201.dist-info}/METADATA +9 -3
- fake_bge_module-20260201.dist-info/RECORD +414 -0
- {fake_bge_module-20250317.dist-info → fake_bge_module-20260201.dist-info}/WHEEL +1 -1
- {fake_bge_module-20250317.dist-info → fake_bge_module-20260201.dist-info}/top_level.txt +16 -16
- freestyle/__init__.pyi +1 -0
- freestyle/chainingiterators/__init__.pyi +41 -60
- freestyle/functions/__init__.pyi +56 -194
- freestyle/predicates/__init__.pyi +11 -61
- freestyle/shaders/__init__.pyi +95 -156
- freestyle/types/__init__.pyi +306 -941
- freestyle/utils/ContextFunctions/__init__.pyi +4 -24
- freestyle/utils/__init__.pyi +46 -36
- gpu/__init__.pyi +84 -5
- gpu/capabilities/__init__.pyi +1 -21
- gpu/matrix/__init__.pyi +16 -24
- gpu/platform/__init__.pyi +3 -7
- gpu/select/__init__.pyi +2 -1
- gpu/shader/__init__.pyi +43 -9
- gpu/state/__init__.pyi +66 -44
- gpu/texture/__init__.pyi +4 -5
- gpu/types/__init__.pyi +216 -216
- gpu_extras/__init__.pyi +1 -0
- gpu_extras/batch/__init__.pyi +2 -5
- gpu_extras/presets/__init__.pyi +9 -10
- idprop/__init__.pyi +17 -0
- idprop/types/__init__.pyi +18 -17
- imbuf/__init__.pyi +13 -9
- imbuf/types/__init__.pyi +10 -23
- keyingsets_builtins/__init__.pyi +51 -93
- mathutils/__init__.pyi +296 -2255
- mathutils/bvhtree/__init__.pyi +22 -29
- mathutils/geometry/__init__.pyi +83 -132
- mathutils/interpolate/__init__.pyi +7 -5
- mathutils/kdtree/__init__.pyi +5 -14
- mathutils/noise/__init__.pyi +62 -106
- nodeitems_builtins/__init__.pyi +5 -4
- nodeitems_utils/__init__.pyi +10 -9
- rna_keymap_ui/__init__.pyi +7 -6
- rna_prop_ui/__init__.pyi +14 -13
- _bpy_internal/freedesktop/__init__.pyi +0 -20
- bgl/__init__.pyi +0 -4235
- bl_i18n_utils/bl_extract_messages/__init__.pyi +0 -24
- bl_i18n_utils/utils_cli/__init__.pyi +0 -10
- bl_previews_utils/bl_previews_render/__init__.pyi +0 -11
- bl_text_utils/external_editor/__init__.pyi +0 -5
- bpy_types/__init__.pyi +0 -29
- console_shell/__init__.pyi +0 -9
- fake_bge_module-20250317.dist-info/RECORD +0 -395
- keyingsets_utils/__init__.pyi +0 -18
- {animsys_refactor → _animsys_refactor}/py.typed +0 -0
- {bgl → _bl_console_utils}/py.typed +0 -0
- {bl_console_utils → _bl_i18n_utils}/py.typed +0 -0
- {bl_i18n_utils → _bl_previews_utils}/py.typed +0 -0
- {bl_previews_utils → _bl_rna_utils}/py.typed +0 -0
- {bl_rna_utils → _bl_text_utils}/py.typed +0 -0
- {bl_text_utils → _bl_ui_utils}/py.typed +0 -0
- {bl_ui_utils → _blendfile_header}/py.typed +0 -0
- {bpy_restrict_state → _bpy_restrict_state}/py.typed +0 -0
- {bpy_types → _bpy_types}/py.typed +0 -0
- {console_python → _console_python}/py.typed +0 -0
- {console_shell → _console_shell}/py.typed +0 -0
- {graphviz_export → _graphviz_export}/py.typed +0 -0
- {keyingsets_utils → _keyingsets_utils}/py.typed +0 -0
- {rna_info → _rna_info}/py.typed +0 -0
- {rna_xml → _rna_xml}/py.typed +0 -0
bpy/ops/paint/__init__.pyi
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
|
-
import
|
|
4
|
+
import numpy.typing as npt
|
|
5
|
+
import bpy.stub_internal.rna_enums
|
|
5
6
|
import bpy.types
|
|
6
7
|
import mathutils
|
|
7
8
|
|
|
8
9
|
def add_simple_uvs(
|
|
9
|
-
execution_context: int | str | None = None,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
:type undo: bool | None
|
|
15
|
-
"""
|
|
10
|
+
execution_context: int | str | None = None,
|
|
11
|
+
undo: bool | None = None,
|
|
12
|
+
/,
|
|
13
|
+
) -> None:
|
|
14
|
+
"""Add cube map UVs on mesh"""
|
|
16
15
|
|
|
17
16
|
def add_texture_paint_slot(
|
|
18
17
|
execution_context: int | str | None = None,
|
|
@@ -35,47 +34,34 @@ def add_texture_paint_slot(
|
|
|
35
34
|
width: int | None = 1024,
|
|
36
35
|
height: int | None = 1024,
|
|
37
36
|
alpha: bool | None = True,
|
|
38
|
-
generated_type: bpy.
|
|
37
|
+
generated_type: bpy.stub_internal.rna_enums.ImageGeneratedTypeItems
|
|
38
|
+
| None = "BLANK",
|
|
39
39
|
float: bool | None = False,
|
|
40
|
-
domain: bpy.
|
|
41
|
-
data_type: bpy.
|
|
42
|
-
|
|
40
|
+
domain: bpy.stub_internal.rna_enums.ColorAttributeDomainItems | None = "POINT",
|
|
41
|
+
data_type: bpy.stub_internal.rna_enums.ColorAttributeTypeItems
|
|
42
|
+
| None = "FLOAT_COLOR",
|
|
43
|
+
) -> None:
|
|
43
44
|
"""Add a paint slot
|
|
44
45
|
|
|
45
|
-
:type execution_context: int | str | None
|
|
46
|
-
:type undo: bool | None
|
|
47
46
|
:param type: Material Layer Type, Material layer type of new paint slot
|
|
48
|
-
:type type: typing.Literal['BASE_COLOR','SPECULAR','ROUGHNESS','METALLIC','NORMAL','BUMP','DISPLACEMENT'] | None
|
|
49
47
|
:param slot_type: Slot Type, Type of new paint slot
|
|
50
|
-
:type slot_type: typing.Literal['IMAGE','COLOR_ATTRIBUTE'] | None
|
|
51
48
|
:param name: Name, Name for new paint slot source
|
|
52
|
-
:type name: str
|
|
53
49
|
:param color: Color, Default fill color
|
|
54
|
-
:type color: collections.abc.Iterable[float] | None
|
|
55
50
|
:param width: Width, Image width
|
|
56
|
-
:type width: int | None
|
|
57
51
|
:param height: Height, Image height
|
|
58
|
-
:type height: int | None
|
|
59
52
|
:param alpha: Alpha, Create an image with an alpha channel
|
|
60
|
-
:type alpha: bool | None
|
|
61
53
|
:param generated_type: Generated Type, Fill the image with a grid for UV map testing
|
|
62
|
-
:type generated_type: bpy._typing.rna_enums.ImageGeneratedTypeItems | None
|
|
63
54
|
:param float: 32-bit Float, Create image with 32-bit floating-point bit depth
|
|
64
|
-
:type float: bool | None
|
|
65
55
|
:param domain: Domain, Type of element that attribute is stored on
|
|
66
|
-
:type domain: bpy._typing.rna_enums.ColorAttributeDomainItems | None
|
|
67
56
|
:param data_type: Data Type, Type of data stored in attribute
|
|
68
|
-
:type data_type: bpy._typing.rna_enums.ColorAttributeTypeItems | None
|
|
69
57
|
"""
|
|
70
58
|
|
|
71
59
|
def brush_colors_flip(
|
|
72
|
-
execution_context: int | str | None = None,
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
:type undo: bool | None
|
|
78
|
-
"""
|
|
60
|
+
execution_context: int | str | None = None,
|
|
61
|
+
undo: bool | None = None,
|
|
62
|
+
/,
|
|
63
|
+
) -> None:
|
|
64
|
+
"""Swap primary and secondary brush colors"""
|
|
79
65
|
|
|
80
66
|
def face_select_all(
|
|
81
67
|
execution_context: int | str | None = None,
|
|
@@ -83,11 +69,9 @@ def face_select_all(
|
|
|
83
69
|
/,
|
|
84
70
|
*,
|
|
85
71
|
action: typing.Literal["TOGGLE", "SELECT", "DESELECT", "INVERT"] | None = "TOGGLE",
|
|
86
|
-
):
|
|
72
|
+
) -> None:
|
|
87
73
|
"""Change selection for all faces
|
|
88
74
|
|
|
89
|
-
:type execution_context: int | str | None
|
|
90
|
-
:type undo: bool | None
|
|
91
75
|
:param action: Action, Selection action to execute
|
|
92
76
|
|
|
93
77
|
TOGGLE
|
|
@@ -101,7 +85,6 @@ def face_select_all(
|
|
|
101
85
|
|
|
102
86
|
INVERT
|
|
103
87
|
Invert -- Invert selection of all elements.
|
|
104
|
-
:type action: typing.Literal['TOGGLE','SELECT','DESELECT','INVERT'] | None
|
|
105
88
|
"""
|
|
106
89
|
|
|
107
90
|
def face_select_hide(
|
|
@@ -110,13 +93,10 @@ def face_select_hide(
|
|
|
110
93
|
/,
|
|
111
94
|
*,
|
|
112
95
|
unselected: bool | None = False,
|
|
113
|
-
):
|
|
96
|
+
) -> None:
|
|
114
97
|
"""Hide selected faces
|
|
115
98
|
|
|
116
|
-
:type execution_context: int | str | None
|
|
117
|
-
:type undo: bool | None
|
|
118
99
|
:param unselected: Unselected, Hide unselected rather than selected objects
|
|
119
|
-
:type unselected: bool | None
|
|
120
100
|
"""
|
|
121
101
|
|
|
122
102
|
def face_select_less(
|
|
@@ -125,23 +105,18 @@ def face_select_less(
|
|
|
125
105
|
/,
|
|
126
106
|
*,
|
|
127
107
|
face_step: bool | None = True,
|
|
128
|
-
):
|
|
108
|
+
) -> None:
|
|
129
109
|
"""Deselect Faces connected to existing selection
|
|
130
110
|
|
|
131
|
-
:type execution_context: int | str | None
|
|
132
|
-
:type undo: bool | None
|
|
133
111
|
:param face_step: Face Step, Also deselect faces that only touch on a corner
|
|
134
|
-
:type face_step: bool | None
|
|
135
112
|
"""
|
|
136
113
|
|
|
137
114
|
def face_select_linked(
|
|
138
|
-
execution_context: int | str | None = None,
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
:type undo: bool | None
|
|
144
|
-
"""
|
|
115
|
+
execution_context: int | str | None = None,
|
|
116
|
+
undo: bool | None = None,
|
|
117
|
+
/,
|
|
118
|
+
) -> None:
|
|
119
|
+
"""Select linked faces"""
|
|
145
120
|
|
|
146
121
|
def face_select_linked_pick(
|
|
147
122
|
execution_context: int | str | None = None,
|
|
@@ -149,13 +124,10 @@ def face_select_linked_pick(
|
|
|
149
124
|
/,
|
|
150
125
|
*,
|
|
151
126
|
deselect: bool | None = False,
|
|
152
|
-
):
|
|
127
|
+
) -> None:
|
|
153
128
|
"""Select linked faces under the cursor
|
|
154
129
|
|
|
155
|
-
:type execution_context: int | str | None
|
|
156
|
-
:type undo: bool | None
|
|
157
130
|
:param deselect: Deselect, Deselect rather than select items
|
|
158
|
-
:type deselect: bool | None
|
|
159
131
|
"""
|
|
160
132
|
|
|
161
133
|
def face_select_loop(
|
|
@@ -165,15 +137,11 @@ def face_select_loop(
|
|
|
165
137
|
*,
|
|
166
138
|
select: bool | None = True,
|
|
167
139
|
extend: bool | None = False,
|
|
168
|
-
):
|
|
140
|
+
) -> None:
|
|
169
141
|
"""Select face loop under the cursor
|
|
170
142
|
|
|
171
|
-
:type execution_context: int | str | None
|
|
172
|
-
:type undo: bool | None
|
|
173
143
|
:param select: Select, If false, faces will be deselected
|
|
174
|
-
:type select: bool | None
|
|
175
144
|
:param extend: Extend, Extend the selection
|
|
176
|
-
:type extend: bool | None
|
|
177
145
|
"""
|
|
178
146
|
|
|
179
147
|
def face_select_more(
|
|
@@ -182,13 +150,10 @@ def face_select_more(
|
|
|
182
150
|
/,
|
|
183
151
|
*,
|
|
184
152
|
face_step: bool | None = True,
|
|
185
|
-
):
|
|
153
|
+
) -> None:
|
|
186
154
|
"""Select Faces connected to existing selection
|
|
187
155
|
|
|
188
|
-
:type execution_context: int | str | None
|
|
189
|
-
:type undo: bool | None
|
|
190
156
|
:param face_step: Face Step, Also select faces that only touch on a corner
|
|
191
|
-
:type face_step: bool | None
|
|
192
157
|
"""
|
|
193
158
|
|
|
194
159
|
def face_vert_reveal(
|
|
@@ -197,13 +162,10 @@ def face_vert_reveal(
|
|
|
197
162
|
/,
|
|
198
163
|
*,
|
|
199
164
|
select: bool | None = True,
|
|
200
|
-
):
|
|
165
|
+
) -> None:
|
|
201
166
|
"""Reveal hidden faces and vertices
|
|
202
167
|
|
|
203
|
-
:type execution_context: int | str | None
|
|
204
|
-
:type undo: bool | None
|
|
205
168
|
:param select: Select, Specifies whether the newly revealed geometry should be selected
|
|
206
|
-
:type select: bool | None
|
|
207
169
|
"""
|
|
208
170
|
|
|
209
171
|
def grab_clone(
|
|
@@ -212,13 +174,10 @@ def grab_clone(
|
|
|
212
174
|
/,
|
|
213
175
|
*,
|
|
214
176
|
delta: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0),
|
|
215
|
-
):
|
|
177
|
+
) -> None:
|
|
216
178
|
"""Move the clone source image
|
|
217
179
|
|
|
218
|
-
:type execution_context: int | str | None
|
|
219
|
-
:type undo: bool | None
|
|
220
180
|
:param delta: Delta, Delta offset of clone image in 0.0 to 1.0 coordinates
|
|
221
|
-
:type delta: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
222
181
|
"""
|
|
223
182
|
|
|
224
183
|
def hide_show(
|
|
@@ -234,21 +193,14 @@ def hide_show(
|
|
|
234
193
|
action: typing.Literal["HIDE", "SHOW"] | None = "HIDE",
|
|
235
194
|
area: typing.Literal["OUTSIDE", "Inside"] | None = "Inside",
|
|
236
195
|
use_front_faces_only: bool | None = False,
|
|
237
|
-
):
|
|
196
|
+
) -> None:
|
|
238
197
|
"""Hide/show some vertices
|
|
239
198
|
|
|
240
|
-
:type execution_context: int | str | None
|
|
241
|
-
:type undo: bool | None
|
|
242
199
|
:param xmin: X Min
|
|
243
|
-
:type xmin: int | None
|
|
244
200
|
:param xmax: X Max
|
|
245
|
-
:type xmax: int | None
|
|
246
201
|
:param ymin: Y Min
|
|
247
|
-
:type ymin: int | None
|
|
248
202
|
:param ymax: Y Max
|
|
249
|
-
:type ymax: int | None
|
|
250
203
|
:param wait_for_input: Wait for Input
|
|
251
|
-
:type wait_for_input: bool | None
|
|
252
204
|
:param action: Visibility Action, Whether to hide or show vertices
|
|
253
205
|
|
|
254
206
|
HIDE
|
|
@@ -256,7 +208,6 @@ def hide_show(
|
|
|
256
208
|
|
|
257
209
|
SHOW
|
|
258
210
|
Show -- Show vertices.
|
|
259
|
-
:type action: typing.Literal['HIDE','SHOW'] | None
|
|
260
211
|
:param area: Visibility Area, Which vertices to hide or show
|
|
261
212
|
|
|
262
213
|
OUTSIDE
|
|
@@ -264,9 +215,7 @@ def hide_show(
|
|
|
264
215
|
|
|
265
216
|
Inside
|
|
266
217
|
Inside -- Hide or show vertices inside the selection.
|
|
267
|
-
:type area: typing.Literal['OUTSIDE','Inside'] | None
|
|
268
218
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
269
|
-
:type use_front_faces_only: bool | None
|
|
270
219
|
"""
|
|
271
220
|
|
|
272
221
|
def hide_show_all(
|
|
@@ -275,11 +224,9 @@ def hide_show_all(
|
|
|
275
224
|
/,
|
|
276
225
|
*,
|
|
277
226
|
action: typing.Literal["HIDE", "SHOW"] | None = "HIDE",
|
|
278
|
-
):
|
|
227
|
+
) -> None:
|
|
279
228
|
"""Hide/show all vertices
|
|
280
229
|
|
|
281
|
-
:type execution_context: int | str | None
|
|
282
|
-
:type undo: bool | None
|
|
283
230
|
:param action: Visibility Action, Whether to hide or show vertices
|
|
284
231
|
|
|
285
232
|
HIDE
|
|
@@ -287,7 +234,6 @@ def hide_show_all(
|
|
|
287
234
|
|
|
288
235
|
SHOW
|
|
289
236
|
Show -- Show vertices.
|
|
290
|
-
:type action: typing.Literal['HIDE','SHOW'] | None
|
|
291
237
|
"""
|
|
292
238
|
|
|
293
239
|
def hide_show_lasso_gesture(
|
|
@@ -302,19 +248,13 @@ def hide_show_lasso_gesture(
|
|
|
302
248
|
action: typing.Literal["HIDE", "SHOW"] | None = "HIDE",
|
|
303
249
|
area: typing.Literal["OUTSIDE", "Inside"] | None = "Inside",
|
|
304
250
|
use_front_faces_only: bool | None = False,
|
|
305
|
-
):
|
|
251
|
+
) -> None:
|
|
306
252
|
"""Hide/show some vertices
|
|
307
253
|
|
|
308
|
-
:type execution_context: int | str | None
|
|
309
|
-
:type undo: bool | None
|
|
310
254
|
:param path: Path
|
|
311
|
-
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None
|
|
312
255
|
:param use_smooth_stroke: Stabilize Stroke, Selection lags behind mouse and follows a smoother path
|
|
313
|
-
:type use_smooth_stroke: bool | None
|
|
314
256
|
:param smooth_stroke_factor: Smooth Stroke Factor, Higher values gives a smoother stroke
|
|
315
|
-
:type smooth_stroke_factor: float | None
|
|
316
257
|
:param smooth_stroke_radius: Smooth Stroke Radius, Minimum distance from last point before selection continues
|
|
317
|
-
:type smooth_stroke_radius: int | None
|
|
318
258
|
:param action: Visibility Action, Whether to hide or show vertices
|
|
319
259
|
|
|
320
260
|
HIDE
|
|
@@ -322,7 +262,6 @@ def hide_show_lasso_gesture(
|
|
|
322
262
|
|
|
323
263
|
SHOW
|
|
324
264
|
Show -- Show vertices.
|
|
325
|
-
:type action: typing.Literal['HIDE','SHOW'] | None
|
|
326
265
|
:param area: Visibility Area, Which vertices to hide or show
|
|
327
266
|
|
|
328
267
|
OUTSIDE
|
|
@@ -330,9 +269,7 @@ def hide_show_lasso_gesture(
|
|
|
330
269
|
|
|
331
270
|
Inside
|
|
332
271
|
Inside -- Hide or show vertices inside the selection.
|
|
333
|
-
:type area: typing.Literal['OUTSIDE','Inside'] | None
|
|
334
272
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
335
|
-
:type use_front_faces_only: bool | None
|
|
336
273
|
"""
|
|
337
274
|
|
|
338
275
|
def hide_show_line_gesture(
|
|
@@ -350,23 +287,15 @@ def hide_show_line_gesture(
|
|
|
350
287
|
area: typing.Literal["OUTSIDE", "Inside"] | None = "Inside",
|
|
351
288
|
use_front_faces_only: bool | None = False,
|
|
352
289
|
use_limit_to_segment: bool | None = False,
|
|
353
|
-
):
|
|
290
|
+
) -> None:
|
|
354
291
|
"""Hide/show some vertices
|
|
355
292
|
|
|
356
|
-
:type execution_context: int | str | None
|
|
357
|
-
:type undo: bool | None
|
|
358
293
|
:param xstart: X Start
|
|
359
|
-
:type xstart: int | None
|
|
360
294
|
:param xend: X End
|
|
361
|
-
:type xend: int | None
|
|
362
295
|
:param ystart: Y Start
|
|
363
|
-
:type ystart: int | None
|
|
364
296
|
:param yend: Y End
|
|
365
|
-
:type yend: int | None
|
|
366
297
|
:param flip: Flip
|
|
367
|
-
:type flip: bool | None
|
|
368
298
|
:param cursor: Cursor, Mouse cursor style to use during the modal operator
|
|
369
|
-
:type cursor: int | None
|
|
370
299
|
:param action: Visibility Action, Whether to hide or show vertices
|
|
371
300
|
|
|
372
301
|
HIDE
|
|
@@ -374,7 +303,6 @@ def hide_show_line_gesture(
|
|
|
374
303
|
|
|
375
304
|
SHOW
|
|
376
305
|
Show -- Show vertices.
|
|
377
|
-
:type action: typing.Literal['HIDE','SHOW'] | None
|
|
378
306
|
:param area: Visibility Area, Which vertices to hide or show
|
|
379
307
|
|
|
380
308
|
OUTSIDE
|
|
@@ -382,11 +310,8 @@ def hide_show_line_gesture(
|
|
|
382
310
|
|
|
383
311
|
Inside
|
|
384
312
|
Inside -- Hide or show vertices inside the selection.
|
|
385
|
-
:type area: typing.Literal['OUTSIDE','Inside'] | None
|
|
386
313
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
387
|
-
:type use_front_faces_only: bool | None
|
|
388
314
|
:param use_limit_to_segment: Limit to Segment, Apply the gesture action only to the area that is contained within the segment without extending its effect to the entire line
|
|
389
|
-
:type use_limit_to_segment: bool | None
|
|
390
315
|
"""
|
|
391
316
|
|
|
392
317
|
def hide_show_masked(
|
|
@@ -395,11 +320,9 @@ def hide_show_masked(
|
|
|
395
320
|
/,
|
|
396
321
|
*,
|
|
397
322
|
action: typing.Literal["HIDE", "SHOW"] | None = "HIDE",
|
|
398
|
-
):
|
|
323
|
+
) -> None:
|
|
399
324
|
"""Hide/show all masked vertices above a threshold
|
|
400
325
|
|
|
401
|
-
:type execution_context: int | str | None
|
|
402
|
-
:type undo: bool | None
|
|
403
326
|
:param action: Visibility Action, Whether to hide or show vertices
|
|
404
327
|
|
|
405
328
|
HIDE
|
|
@@ -407,7 +330,6 @@ def hide_show_masked(
|
|
|
407
330
|
|
|
408
331
|
SHOW
|
|
409
332
|
Show -- Show vertices.
|
|
410
|
-
:type action: typing.Literal['HIDE','SHOW'] | None
|
|
411
333
|
"""
|
|
412
334
|
|
|
413
335
|
def hide_show_polyline_gesture(
|
|
@@ -419,13 +341,10 @@ def hide_show_polyline_gesture(
|
|
|
419
341
|
action: typing.Literal["HIDE", "SHOW"] | None = "HIDE",
|
|
420
342
|
area: typing.Literal["OUTSIDE", "Inside"] | None = "Inside",
|
|
421
343
|
use_front_faces_only: bool | None = False,
|
|
422
|
-
):
|
|
344
|
+
) -> None:
|
|
423
345
|
"""Hide/show some vertices
|
|
424
346
|
|
|
425
|
-
:type execution_context: int | str | None
|
|
426
|
-
:type undo: bool | None
|
|
427
347
|
:param path: Path
|
|
428
|
-
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None
|
|
429
348
|
:param action: Visibility Action, Whether to hide or show vertices
|
|
430
349
|
|
|
431
350
|
HIDE
|
|
@@ -433,7 +352,6 @@ def hide_show_polyline_gesture(
|
|
|
433
352
|
|
|
434
353
|
SHOW
|
|
435
354
|
Show -- Show vertices.
|
|
436
|
-
:type action: typing.Literal['HIDE','SHOW'] | None
|
|
437
355
|
:param area: Visibility Area, Which vertices to hide or show
|
|
438
356
|
|
|
439
357
|
OUTSIDE
|
|
@@ -441,9 +359,7 @@ def hide_show_polyline_gesture(
|
|
|
441
359
|
|
|
442
360
|
Inside
|
|
443
361
|
Inside -- Hide or show vertices inside the selection.
|
|
444
|
-
:type area: typing.Literal['OUTSIDE','Inside'] | None
|
|
445
362
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
446
|
-
:type use_front_faces_only: bool | None
|
|
447
363
|
"""
|
|
448
364
|
|
|
449
365
|
def image_from_view(
|
|
@@ -452,13 +368,10 @@ def image_from_view(
|
|
|
452
368
|
/,
|
|
453
369
|
*,
|
|
454
370
|
filepath: str = "",
|
|
455
|
-
):
|
|
371
|
+
) -> None:
|
|
456
372
|
"""Make an image from biggest 3D view for reprojection
|
|
457
373
|
|
|
458
|
-
:type execution_context: int | str | None
|
|
459
|
-
:type undo: bool | None
|
|
460
374
|
:param filepath: File Path, Name of the file
|
|
461
|
-
:type filepath: str
|
|
462
375
|
"""
|
|
463
376
|
|
|
464
377
|
def image_paint(
|
|
@@ -468,15 +381,13 @@ def image_paint(
|
|
|
468
381
|
*,
|
|
469
382
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
470
383
|
| None = None,
|
|
471
|
-
mode: typing.Literal["NORMAL", "INVERT"
|
|
384
|
+
mode: typing.Literal["NORMAL", "INVERT"] | None = "NORMAL",
|
|
385
|
+
brush_toggle: typing.Literal["None", "SMOOTH", "ERASE", "MASK"] | None = "None",
|
|
472
386
|
pen_flip: bool | None = False,
|
|
473
|
-
):
|
|
387
|
+
) -> None:
|
|
474
388
|
"""Paint a stroke into the image
|
|
475
389
|
|
|
476
|
-
:type execution_context: int | str | None
|
|
477
|
-
:type undo: bool | None
|
|
478
390
|
:param stroke: Stroke
|
|
479
|
-
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
|
|
480
391
|
:param mode: Stroke Mode, Action taken when a paint stroke is made
|
|
481
392
|
|
|
482
393
|
NORMAL
|
|
@@ -484,15 +395,20 @@ def image_paint(
|
|
|
484
395
|
|
|
485
396
|
INVERT
|
|
486
397
|
Invert -- Invert action of brush for duration of stroke.
|
|
398
|
+
:param brush_toggle: Temporary Brush Toggle Type, Brush to use for duration of stroke
|
|
399
|
+
|
|
400
|
+
None
|
|
401
|
+
None -- Apply brush normally.
|
|
487
402
|
|
|
488
403
|
SMOOTH
|
|
489
|
-
Smooth -- Switch
|
|
404
|
+
Smooth -- Switch to smooth brush for duration of stroke.
|
|
490
405
|
|
|
491
406
|
ERASE
|
|
492
|
-
Erase -- Switch
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
407
|
+
Erase -- Switch to erase brush for duration of stroke.
|
|
408
|
+
|
|
409
|
+
MASK
|
|
410
|
+
Mask -- Switch to mask brush for duration of stroke.
|
|
411
|
+
:param pen_flip: Pen Flip, Whether a tablets eraser mode is being used
|
|
496
412
|
"""
|
|
497
413
|
|
|
498
414
|
def mask_box_gesture(
|
|
@@ -508,36 +424,26 @@ def mask_box_gesture(
|
|
|
508
424
|
use_front_faces_only: bool | None = False,
|
|
509
425
|
mode: typing.Literal["VALUE", "VALUE_INVERSE", "INVERT"] | None = "VALUE",
|
|
510
426
|
value: float | None = 1.0,
|
|
511
|
-
):
|
|
427
|
+
) -> None:
|
|
512
428
|
"""Mask within a rectangle defined by the cursor
|
|
513
429
|
|
|
514
|
-
:type execution_context: int | str | None
|
|
515
|
-
:type undo: bool | None
|
|
516
430
|
:param xmin: X Min
|
|
517
|
-
:type xmin: int | None
|
|
518
431
|
:param xmax: X Max
|
|
519
|
-
:type xmax: int | None
|
|
520
432
|
:param ymin: Y Min
|
|
521
|
-
:type ymin: int | None
|
|
522
433
|
:param ymax: Y Max
|
|
523
|
-
:type ymax: int | None
|
|
524
434
|
:param wait_for_input: Wait for Input
|
|
525
|
-
:type wait_for_input: bool | None
|
|
526
435
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
527
|
-
:type use_front_faces_only: bool | None
|
|
528
436
|
:param mode: Mode
|
|
529
437
|
|
|
530
438
|
VALUE
|
|
531
|
-
Value -- Set mask to the level specified by the
|
|
439
|
+
Value -- Set mask to the level specified by the value property.
|
|
532
440
|
|
|
533
441
|
VALUE_INVERSE
|
|
534
|
-
Value Inverted -- Set mask to the level specified by the inverted
|
|
442
|
+
Value Inverted -- Set mask to the level specified by the inverted value property.
|
|
535
443
|
|
|
536
444
|
INVERT
|
|
537
445
|
Invert -- Invert the mask.
|
|
538
|
-
:
|
|
539
|
-
:param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
|
|
540
|
-
:type value: float | None
|
|
446
|
+
:param value: Value, Mask level to use when mode is Value; zero means no masking and one is fully masked
|
|
541
447
|
"""
|
|
542
448
|
|
|
543
449
|
def mask_flood_fill(
|
|
@@ -547,24 +453,20 @@ def mask_flood_fill(
|
|
|
547
453
|
*,
|
|
548
454
|
mode: typing.Literal["VALUE", "VALUE_INVERSE", "INVERT"] | None = "VALUE",
|
|
549
455
|
value: float | None = 0.0,
|
|
550
|
-
):
|
|
456
|
+
) -> None:
|
|
551
457
|
"""Fill the whole mask with a given value, or invert its values
|
|
552
458
|
|
|
553
|
-
:type execution_context: int | str | None
|
|
554
|
-
:type undo: bool | None
|
|
555
459
|
:param mode: Mode
|
|
556
460
|
|
|
557
461
|
VALUE
|
|
558
|
-
Value -- Set mask to the level specified by the
|
|
462
|
+
Value -- Set mask to the level specified by the value property.
|
|
559
463
|
|
|
560
464
|
VALUE_INVERSE
|
|
561
|
-
Value Inverted -- Set mask to the level specified by the inverted
|
|
465
|
+
Value Inverted -- Set mask to the level specified by the inverted value property.
|
|
562
466
|
|
|
563
467
|
INVERT
|
|
564
468
|
Invert -- Invert the mask.
|
|
565
|
-
:
|
|
566
|
-
:param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
|
|
567
|
-
:type value: float | None
|
|
469
|
+
:param value: Value, Mask level to use when mode is Value; zero means no masking and one is fully masked
|
|
568
470
|
"""
|
|
569
471
|
|
|
570
472
|
def mask_lasso_gesture(
|
|
@@ -579,34 +481,25 @@ def mask_lasso_gesture(
|
|
|
579
481
|
use_front_faces_only: bool | None = False,
|
|
580
482
|
mode: typing.Literal["VALUE", "VALUE_INVERSE", "INVERT"] | None = "VALUE",
|
|
581
483
|
value: float | None = 1.0,
|
|
582
|
-
):
|
|
484
|
+
) -> None:
|
|
583
485
|
"""Mask within a shape defined by the cursor
|
|
584
486
|
|
|
585
|
-
:type execution_context: int | str | None
|
|
586
|
-
:type undo: bool | None
|
|
587
487
|
:param path: Path
|
|
588
|
-
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None
|
|
589
488
|
:param use_smooth_stroke: Stabilize Stroke, Selection lags behind mouse and follows a smoother path
|
|
590
|
-
:type use_smooth_stroke: bool | None
|
|
591
489
|
:param smooth_stroke_factor: Smooth Stroke Factor, Higher values gives a smoother stroke
|
|
592
|
-
:type smooth_stroke_factor: float | None
|
|
593
490
|
:param smooth_stroke_radius: Smooth Stroke Radius, Minimum distance from last point before selection continues
|
|
594
|
-
:type smooth_stroke_radius: int | None
|
|
595
491
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
596
|
-
:type use_front_faces_only: bool | None
|
|
597
492
|
:param mode: Mode
|
|
598
493
|
|
|
599
494
|
VALUE
|
|
600
|
-
Value -- Set mask to the level specified by the
|
|
495
|
+
Value -- Set mask to the level specified by the value property.
|
|
601
496
|
|
|
602
497
|
VALUE_INVERSE
|
|
603
|
-
Value Inverted -- Set mask to the level specified by the inverted
|
|
498
|
+
Value Inverted -- Set mask to the level specified by the inverted value property.
|
|
604
499
|
|
|
605
500
|
INVERT
|
|
606
501
|
Invert -- Invert the mask.
|
|
607
|
-
:
|
|
608
|
-
:param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
|
|
609
|
-
:type value: float | None
|
|
502
|
+
:param value: Value, Mask level to use when mode is Value; zero means no masking and one is fully masked
|
|
610
503
|
"""
|
|
611
504
|
|
|
612
505
|
def mask_line_gesture(
|
|
@@ -624,40 +517,28 @@ def mask_line_gesture(
|
|
|
624
517
|
use_limit_to_segment: bool | None = False,
|
|
625
518
|
mode: typing.Literal["VALUE", "VALUE_INVERSE", "INVERT"] | None = "VALUE",
|
|
626
519
|
value: float | None = 1.0,
|
|
627
|
-
):
|
|
520
|
+
) -> None:
|
|
628
521
|
"""Mask to one side of a line defined by the cursor
|
|
629
522
|
|
|
630
|
-
:type execution_context: int | str | None
|
|
631
|
-
:type undo: bool | None
|
|
632
523
|
:param xstart: X Start
|
|
633
|
-
:type xstart: int | None
|
|
634
524
|
:param xend: X End
|
|
635
|
-
:type xend: int | None
|
|
636
525
|
:param ystart: Y Start
|
|
637
|
-
:type ystart: int | None
|
|
638
526
|
:param yend: Y End
|
|
639
|
-
:type yend: int | None
|
|
640
527
|
:param flip: Flip
|
|
641
|
-
:type flip: bool | None
|
|
642
528
|
:param cursor: Cursor, Mouse cursor style to use during the modal operator
|
|
643
|
-
:type cursor: int | None
|
|
644
529
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
645
|
-
:type use_front_faces_only: bool | None
|
|
646
530
|
:param use_limit_to_segment: Limit to Segment, Apply the gesture action only to the area that is contained within the segment without extending its effect to the entire line
|
|
647
|
-
:type use_limit_to_segment: bool | None
|
|
648
531
|
:param mode: Mode
|
|
649
532
|
|
|
650
533
|
VALUE
|
|
651
|
-
Value -- Set mask to the level specified by the
|
|
534
|
+
Value -- Set mask to the level specified by the value property.
|
|
652
535
|
|
|
653
536
|
VALUE_INVERSE
|
|
654
|
-
Value Inverted -- Set mask to the level specified by the inverted
|
|
537
|
+
Value Inverted -- Set mask to the level specified by the inverted value property.
|
|
655
538
|
|
|
656
539
|
INVERT
|
|
657
540
|
Invert -- Invert the mask.
|
|
658
|
-
:
|
|
659
|
-
:param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
|
|
660
|
-
:type value: float | None
|
|
541
|
+
:param value: Value, Mask level to use when mode is Value; zero means no masking and one is fully masked
|
|
661
542
|
"""
|
|
662
543
|
|
|
663
544
|
def mask_polyline_gesture(
|
|
@@ -669,28 +550,22 @@ def mask_polyline_gesture(
|
|
|
669
550
|
use_front_faces_only: bool | None = False,
|
|
670
551
|
mode: typing.Literal["VALUE", "VALUE_INVERSE", "INVERT"] | None = "VALUE",
|
|
671
552
|
value: float | None = 1.0,
|
|
672
|
-
):
|
|
553
|
+
) -> None:
|
|
673
554
|
"""Mask within a shape defined by the cursor
|
|
674
555
|
|
|
675
|
-
:type execution_context: int | str | None
|
|
676
|
-
:type undo: bool | None
|
|
677
556
|
:param path: Path
|
|
678
|
-
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None
|
|
679
557
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
680
|
-
:type use_front_faces_only: bool | None
|
|
681
558
|
:param mode: Mode
|
|
682
559
|
|
|
683
560
|
VALUE
|
|
684
|
-
Value -- Set mask to the level specified by the
|
|
561
|
+
Value -- Set mask to the level specified by the value property.
|
|
685
562
|
|
|
686
563
|
VALUE_INVERSE
|
|
687
|
-
Value Inverted -- Set mask to the level specified by the inverted
|
|
564
|
+
Value Inverted -- Set mask to the level specified by the inverted value property.
|
|
688
565
|
|
|
689
566
|
INVERT
|
|
690
567
|
Invert -- Invert the mask.
|
|
691
|
-
:
|
|
692
|
-
:param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
|
|
693
|
-
:type value: float | None
|
|
568
|
+
:param value: Value, Mask level to use when mode is Value; zero means no masking and one is fully masked
|
|
694
569
|
"""
|
|
695
570
|
|
|
696
571
|
def project_image(
|
|
@@ -699,13 +574,10 @@ def project_image(
|
|
|
699
574
|
/,
|
|
700
575
|
*,
|
|
701
576
|
image: str | None = "",
|
|
702
|
-
):
|
|
577
|
+
) -> None:
|
|
703
578
|
"""Project an edited render from the active camera back onto the object
|
|
704
579
|
|
|
705
|
-
:type execution_context: int | str | None
|
|
706
|
-
:type undo: bool | None
|
|
707
580
|
:param image: Image
|
|
708
|
-
:type image: str | None
|
|
709
581
|
"""
|
|
710
582
|
|
|
711
583
|
def sample_color(
|
|
@@ -716,27 +588,20 @@ def sample_color(
|
|
|
716
588
|
location: collections.abc.Iterable[int] | None = (0, 0),
|
|
717
589
|
merged: bool | None = False,
|
|
718
590
|
palette: bool | None = False,
|
|
719
|
-
):
|
|
591
|
+
) -> None:
|
|
720
592
|
"""Use the mouse to sample a color in the image
|
|
721
593
|
|
|
722
|
-
:type execution_context: int | str | None
|
|
723
|
-
:type undo: bool | None
|
|
724
594
|
:param location: Location
|
|
725
|
-
:type location: collections.abc.Iterable[int] | None
|
|
726
595
|
:param merged: Sample Merged, Sample the output display color
|
|
727
|
-
:type merged: bool | None
|
|
728
596
|
:param palette: Add to Palette
|
|
729
|
-
:type palette: bool | None
|
|
730
597
|
"""
|
|
731
598
|
|
|
732
599
|
def texture_paint_toggle(
|
|
733
|
-
execution_context: int | str | None = None,
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
:type undo: bool | None
|
|
739
|
-
"""
|
|
600
|
+
execution_context: int | str | None = None,
|
|
601
|
+
undo: bool | None = None,
|
|
602
|
+
/,
|
|
603
|
+
) -> None:
|
|
604
|
+
"""Toggle texture paint mode in 3D view"""
|
|
740
605
|
|
|
741
606
|
def vert_select_all(
|
|
742
607
|
execution_context: int | str | None = None,
|
|
@@ -744,11 +609,9 @@ def vert_select_all(
|
|
|
744
609
|
/,
|
|
745
610
|
*,
|
|
746
611
|
action: typing.Literal["TOGGLE", "SELECT", "DESELECT", "INVERT"] | None = "TOGGLE",
|
|
747
|
-
):
|
|
612
|
+
) -> None:
|
|
748
613
|
"""Change selection for all vertices
|
|
749
614
|
|
|
750
|
-
:type execution_context: int | str | None
|
|
751
|
-
:type undo: bool | None
|
|
752
615
|
:param action: Action, Selection action to execute
|
|
753
616
|
|
|
754
617
|
TOGGLE
|
|
@@ -762,7 +625,6 @@ def vert_select_all(
|
|
|
762
625
|
|
|
763
626
|
INVERT
|
|
764
627
|
Invert -- Invert selection of all elements.
|
|
765
|
-
:type action: typing.Literal['TOGGLE','SELECT','DESELECT','INVERT'] | None
|
|
766
628
|
"""
|
|
767
629
|
|
|
768
630
|
def vert_select_hide(
|
|
@@ -771,13 +633,10 @@ def vert_select_hide(
|
|
|
771
633
|
/,
|
|
772
634
|
*,
|
|
773
635
|
unselected: bool | None = False,
|
|
774
|
-
):
|
|
636
|
+
) -> None:
|
|
775
637
|
"""Hide selected vertices
|
|
776
638
|
|
|
777
|
-
:type execution_context: int | str | None
|
|
778
|
-
:type undo: bool | None
|
|
779
639
|
:param unselected: Unselected, Hide unselected rather than selected vertices
|
|
780
|
-
:type unselected: bool | None
|
|
781
640
|
"""
|
|
782
641
|
|
|
783
642
|
def vert_select_less(
|
|
@@ -786,23 +645,18 @@ def vert_select_less(
|
|
|
786
645
|
/,
|
|
787
646
|
*,
|
|
788
647
|
face_step: bool | None = True,
|
|
789
|
-
):
|
|
648
|
+
) -> None:
|
|
790
649
|
"""Deselect Vertices connected to existing selection
|
|
791
650
|
|
|
792
|
-
:type execution_context: int | str | None
|
|
793
|
-
:type undo: bool | None
|
|
794
651
|
:param face_step: Face Step, Also deselect faces that only touch on a corner
|
|
795
|
-
:type face_step: bool | None
|
|
796
652
|
"""
|
|
797
653
|
|
|
798
654
|
def vert_select_linked(
|
|
799
|
-
execution_context: int | str | None = None,
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
:type undo: bool | None
|
|
805
|
-
"""
|
|
655
|
+
execution_context: int | str | None = None,
|
|
656
|
+
undo: bool | None = None,
|
|
657
|
+
/,
|
|
658
|
+
) -> None:
|
|
659
|
+
"""Select linked vertices"""
|
|
806
660
|
|
|
807
661
|
def vert_select_linked_pick(
|
|
808
662
|
execution_context: int | str | None = None,
|
|
@@ -810,13 +664,24 @@ def vert_select_linked_pick(
|
|
|
810
664
|
/,
|
|
811
665
|
*,
|
|
812
666
|
select: bool | None = True,
|
|
813
|
-
):
|
|
667
|
+
) -> None:
|
|
814
668
|
"""Select linked vertices under the cursor
|
|
815
669
|
|
|
816
|
-
:type execution_context: int | str | None
|
|
817
|
-
:type undo: bool | None
|
|
818
670
|
:param select: Select, Whether to select or deselect linked vertices under the cursor
|
|
819
|
-
|
|
671
|
+
"""
|
|
672
|
+
|
|
673
|
+
def vert_select_loop(
|
|
674
|
+
execution_context: int | str | None = None,
|
|
675
|
+
undo: bool | None = None,
|
|
676
|
+
/,
|
|
677
|
+
*,
|
|
678
|
+
select: bool | None = True,
|
|
679
|
+
extend: bool | None = False,
|
|
680
|
+
) -> None:
|
|
681
|
+
"""Select vertex loop under the cursor
|
|
682
|
+
|
|
683
|
+
:param select: Select, If false, vertices will be deselected
|
|
684
|
+
:param extend: Extend, Extend the selection
|
|
820
685
|
"""
|
|
821
686
|
|
|
822
687
|
def vert_select_more(
|
|
@@ -825,13 +690,10 @@ def vert_select_more(
|
|
|
825
690
|
/,
|
|
826
691
|
*,
|
|
827
692
|
face_step: bool | None = True,
|
|
828
|
-
):
|
|
693
|
+
) -> None:
|
|
829
694
|
"""Select Vertices connected to existing selection
|
|
830
695
|
|
|
831
|
-
:type execution_context: int | str | None
|
|
832
|
-
:type undo: bool | None
|
|
833
696
|
:param face_step: Face Step, Also select faces that only touch on a corner
|
|
834
|
-
:type face_step: bool | None
|
|
835
697
|
"""
|
|
836
698
|
|
|
837
699
|
def vert_select_ungrouped(
|
|
@@ -840,13 +702,10 @@ def vert_select_ungrouped(
|
|
|
840
702
|
/,
|
|
841
703
|
*,
|
|
842
704
|
extend: bool | None = False,
|
|
843
|
-
):
|
|
705
|
+
) -> None:
|
|
844
706
|
"""Select vertices without a group
|
|
845
707
|
|
|
846
|
-
:type execution_context: int | str | None
|
|
847
|
-
:type undo: bool | None
|
|
848
708
|
:param extend: Extend, Extend the selection
|
|
849
|
-
:type extend: bool | None
|
|
850
709
|
"""
|
|
851
710
|
|
|
852
711
|
def vertex_color_brightness_contrast(
|
|
@@ -856,15 +715,11 @@ def vertex_color_brightness_contrast(
|
|
|
856
715
|
*,
|
|
857
716
|
brightness: float | None = 0.0,
|
|
858
717
|
contrast: float | None = 0.0,
|
|
859
|
-
):
|
|
718
|
+
) -> None:
|
|
860
719
|
"""Adjust vertex color brightness/contrast
|
|
861
720
|
|
|
862
|
-
:type execution_context: int | str | None
|
|
863
|
-
:type undo: bool | None
|
|
864
721
|
:param brightness: Brightness
|
|
865
|
-
:type brightness: float | None
|
|
866
722
|
:param contrast: Contrast
|
|
867
|
-
:type contrast: float | None
|
|
868
723
|
"""
|
|
869
724
|
|
|
870
725
|
def vertex_color_dirt(
|
|
@@ -878,33 +733,23 @@ def vertex_color_dirt(
|
|
|
878
733
|
dirt_angle: float | None = 0.0,
|
|
879
734
|
dirt_only: bool | None = False,
|
|
880
735
|
normalize: bool | None = True,
|
|
881
|
-
):
|
|
736
|
+
) -> None:
|
|
882
737
|
"""Generate a dirt map gradient based on cavity
|
|
883
738
|
|
|
884
|
-
:type execution_context: int | str | None
|
|
885
|
-
:type undo: bool | None
|
|
886
739
|
:param blur_strength: Blur Strength, Blur strength per iteration
|
|
887
|
-
:type blur_strength: float | None
|
|
888
740
|
:param blur_iterations: Blur Iterations, Number of times to blur the colors (higher blurs more)
|
|
889
|
-
:type blur_iterations: int | None
|
|
890
741
|
:param clean_angle: Highlight Angle, Less than 90 limits the angle used in the tonal range
|
|
891
|
-
:type clean_angle: float | None
|
|
892
742
|
:param dirt_angle: Dirt Angle, Less than 90 limits the angle used in the tonal range
|
|
893
|
-
:
|
|
894
|
-
:param dirt_only: Dirt Only, Don't calculate cleans for convex areas
|
|
895
|
-
:type dirt_only: bool | None
|
|
743
|
+
:param dirt_only: Dirt Only, Dont calculate cleans for convex areas
|
|
896
744
|
:param normalize: Normalize, Normalize the colors, increasing the contrast
|
|
897
|
-
:type normalize: bool | None
|
|
898
745
|
"""
|
|
899
746
|
|
|
900
747
|
def vertex_color_from_weight(
|
|
901
|
-
execution_context: int | str | None = None,
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
:type undo: bool | None
|
|
907
|
-
"""
|
|
748
|
+
execution_context: int | str | None = None,
|
|
749
|
+
undo: bool | None = None,
|
|
750
|
+
/,
|
|
751
|
+
) -> None:
|
|
752
|
+
"""Convert active weight into gray scale vertex colors"""
|
|
908
753
|
|
|
909
754
|
def vertex_color_hsv(
|
|
910
755
|
execution_context: int | str | None = None,
|
|
@@ -914,27 +759,20 @@ def vertex_color_hsv(
|
|
|
914
759
|
h: float | None = 0.5,
|
|
915
760
|
s: float | None = 1.0,
|
|
916
761
|
v: float | None = 1.0,
|
|
917
|
-
):
|
|
762
|
+
) -> None:
|
|
918
763
|
"""Adjust vertex color Hue/Saturation/Value
|
|
919
764
|
|
|
920
|
-
:type execution_context: int | str | None
|
|
921
|
-
:type undo: bool | None
|
|
922
765
|
:param h: Hue
|
|
923
|
-
:type h: float | None
|
|
924
766
|
:param s: Saturation
|
|
925
|
-
:type s: float | None
|
|
926
767
|
:param v: Value
|
|
927
|
-
:type v: float | None
|
|
928
768
|
"""
|
|
929
769
|
|
|
930
770
|
def vertex_color_invert(
|
|
931
|
-
execution_context: int | str | None = None,
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
:type undo: bool | None
|
|
937
|
-
"""
|
|
771
|
+
execution_context: int | str | None = None,
|
|
772
|
+
undo: bool | None = None,
|
|
773
|
+
/,
|
|
774
|
+
) -> None:
|
|
775
|
+
"""Invert RGB values"""
|
|
938
776
|
|
|
939
777
|
def vertex_color_levels(
|
|
940
778
|
execution_context: int | str | None = None,
|
|
@@ -943,15 +781,11 @@ def vertex_color_levels(
|
|
|
943
781
|
*,
|
|
944
782
|
offset: float | None = 0.0,
|
|
945
783
|
gain: float | None = 1.0,
|
|
946
|
-
):
|
|
784
|
+
) -> None:
|
|
947
785
|
"""Adjust levels of vertex colors
|
|
948
786
|
|
|
949
|
-
:type execution_context: int | str | None
|
|
950
|
-
:type undo: bool | None
|
|
951
787
|
:param offset: Offset, Value to add to colors
|
|
952
|
-
:type offset: float | None
|
|
953
788
|
:param gain: Gain, Value to multiply colors by
|
|
954
|
-
:type gain: float | None
|
|
955
789
|
"""
|
|
956
790
|
|
|
957
791
|
def vertex_color_set(
|
|
@@ -960,23 +794,18 @@ def vertex_color_set(
|
|
|
960
794
|
/,
|
|
961
795
|
*,
|
|
962
796
|
use_alpha: bool | None = True,
|
|
963
|
-
):
|
|
797
|
+
) -> None:
|
|
964
798
|
"""Fill the active vertex color layer with the current paint color
|
|
965
799
|
|
|
966
|
-
:type execution_context: int | str | None
|
|
967
|
-
:type undo: bool | None
|
|
968
800
|
:param use_alpha: Affect Alpha, Set color completely opaque instead of reusing existing alpha
|
|
969
|
-
:type use_alpha: bool | None
|
|
970
801
|
"""
|
|
971
802
|
|
|
972
803
|
def vertex_color_smooth(
|
|
973
|
-
execution_context: int | str | None = None,
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
:type undo: bool | None
|
|
979
|
-
"""
|
|
804
|
+
execution_context: int | str | None = None,
|
|
805
|
+
undo: bool | None = None,
|
|
806
|
+
/,
|
|
807
|
+
) -> None:
|
|
808
|
+
"""Smooth colors across vertices"""
|
|
980
809
|
|
|
981
810
|
def vertex_paint(
|
|
982
811
|
execution_context: int | str | None = None,
|
|
@@ -985,16 +814,14 @@ def vertex_paint(
|
|
|
985
814
|
*,
|
|
986
815
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
987
816
|
| None = None,
|
|
988
|
-
mode: typing.Literal["NORMAL", "INVERT"
|
|
817
|
+
mode: typing.Literal["NORMAL", "INVERT"] | None = "NORMAL",
|
|
818
|
+
brush_toggle: typing.Literal["None", "SMOOTH", "ERASE", "MASK"] | None = "None",
|
|
989
819
|
pen_flip: bool | None = False,
|
|
990
820
|
override_location: bool | None = False,
|
|
991
|
-
):
|
|
821
|
+
) -> None:
|
|
992
822
|
"""Paint a stroke in the active color attribute layer
|
|
993
823
|
|
|
994
|
-
:type execution_context: int | str | None
|
|
995
|
-
:type undo: bool | None
|
|
996
824
|
:param stroke: Stroke
|
|
997
|
-
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
|
|
998
825
|
:param mode: Stroke Mode, Action taken when a paint stroke is made
|
|
999
826
|
|
|
1000
827
|
NORMAL
|
|
@@ -1002,27 +829,29 @@ def vertex_paint(
|
|
|
1002
829
|
|
|
1003
830
|
INVERT
|
|
1004
831
|
Invert -- Invert action of brush for duration of stroke.
|
|
832
|
+
:param brush_toggle: Temporary Brush Toggle Type, Brush to use for duration of stroke
|
|
833
|
+
|
|
834
|
+
None
|
|
835
|
+
None -- Apply brush normally.
|
|
1005
836
|
|
|
1006
837
|
SMOOTH
|
|
1007
|
-
Smooth -- Switch
|
|
838
|
+
Smooth -- Switch to smooth brush for duration of stroke.
|
|
1008
839
|
|
|
1009
840
|
ERASE
|
|
1010
|
-
Erase -- Switch
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
:param
|
|
1015
|
-
:
|
|
841
|
+
Erase -- Switch to erase brush for duration of stroke.
|
|
842
|
+
|
|
843
|
+
MASK
|
|
844
|
+
Mask -- Switch to mask brush for duration of stroke.
|
|
845
|
+
:param pen_flip: Pen Flip, Whether a tablets eraser mode is being used
|
|
846
|
+
:param override_location: Override Location, Override the given "location" array by recalculating object space positions from the provided "mouse_event" positions
|
|
1016
847
|
"""
|
|
1017
848
|
|
|
1018
849
|
def vertex_paint_toggle(
|
|
1019
|
-
execution_context: int | str | None = None,
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
:type undo: bool | None
|
|
1025
|
-
"""
|
|
850
|
+
execution_context: int | str | None = None,
|
|
851
|
+
undo: bool | None = None,
|
|
852
|
+
/,
|
|
853
|
+
) -> None:
|
|
854
|
+
"""Toggle the vertex paint mode in 3D view"""
|
|
1026
855
|
|
|
1027
856
|
def visibility_filter(
|
|
1028
857
|
execution_context: int | str | None = None,
|
|
@@ -1032,11 +861,9 @@ def visibility_filter(
|
|
|
1032
861
|
action: typing.Literal["GROW", "SHRINK"] | None = "GROW",
|
|
1033
862
|
iterations: int | None = 1,
|
|
1034
863
|
auto_iteration_count: bool | None = True,
|
|
1035
|
-
):
|
|
864
|
+
) -> None:
|
|
1036
865
|
"""Edit the visibility of the current mesh
|
|
1037
866
|
|
|
1038
|
-
:type execution_context: int | str | None
|
|
1039
|
-
:type undo: bool | None
|
|
1040
867
|
:param action: Action
|
|
1041
868
|
|
|
1042
869
|
GROW
|
|
@@ -1044,21 +871,16 @@ def visibility_filter(
|
|
|
1044
871
|
|
|
1045
872
|
SHRINK
|
|
1046
873
|
Shrink Visibility -- Shrink the visibility by one face based on mesh topology.
|
|
1047
|
-
:type action: typing.Literal['GROW','SHRINK'] | None
|
|
1048
874
|
:param iterations: Iterations, Number of times that the filter is going to be applied
|
|
1049
|
-
:type iterations: int | None
|
|
1050
875
|
:param auto_iteration_count: Auto Iteration Count, Use an automatic number of iterations based on the number of vertices of the sculpt
|
|
1051
|
-
:type auto_iteration_count: bool | None
|
|
1052
876
|
"""
|
|
1053
877
|
|
|
1054
878
|
def visibility_invert(
|
|
1055
|
-
execution_context: int | str | None = None,
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
:type undo: bool | None
|
|
1061
|
-
"""
|
|
879
|
+
execution_context: int | str | None = None,
|
|
880
|
+
undo: bool | None = None,
|
|
881
|
+
/,
|
|
882
|
+
) -> None:
|
|
883
|
+
"""Invert the visibility of all vertices"""
|
|
1062
884
|
|
|
1063
885
|
def weight_from_bones(
|
|
1064
886
|
execution_context: int | str | None = None,
|
|
@@ -1066,11 +888,9 @@ def weight_from_bones(
|
|
|
1066
888
|
/,
|
|
1067
889
|
*,
|
|
1068
890
|
type: typing.Literal["AUTOMATIC", "ENVELOPES"] | None = "AUTOMATIC",
|
|
1069
|
-
):
|
|
1070
|
-
"""Set the weights of the groups matching the attached
|
|
891
|
+
) -> None:
|
|
892
|
+
"""Set the weights of the groups matching the attached armatures selected bones, using the distance between the vertices and the bones
|
|
1071
893
|
|
|
1072
|
-
:type execution_context: int | str | None
|
|
1073
|
-
:type undo: bool | None
|
|
1074
894
|
:param type: Type, Method to use for assigning weights
|
|
1075
895
|
|
|
1076
896
|
AUTOMATIC
|
|
@@ -1078,7 +898,6 @@ def weight_from_bones(
|
|
|
1078
898
|
|
|
1079
899
|
ENVELOPES
|
|
1080
900
|
From Envelopes -- Weights from envelopes with user defined radius.
|
|
1081
|
-
:type type: typing.Literal['AUTOMATIC','ENVELOPES'] | None
|
|
1082
901
|
"""
|
|
1083
902
|
|
|
1084
903
|
def weight_gradient(
|
|
@@ -1093,25 +912,16 @@ def weight_gradient(
|
|
|
1093
912
|
yend: int | None = 0,
|
|
1094
913
|
flip: bool | None = False,
|
|
1095
914
|
cursor: int | None = 5,
|
|
1096
|
-
):
|
|
915
|
+
) -> None:
|
|
1097
916
|
"""Draw a line to apply a weight gradient to selected vertices
|
|
1098
917
|
|
|
1099
|
-
:type execution_context: int | str | None
|
|
1100
|
-
:type undo: bool | None
|
|
1101
918
|
:param type: Type
|
|
1102
|
-
:type type: typing.Literal['LINEAR','RADIAL'] | None
|
|
1103
919
|
:param xstart: X Start
|
|
1104
|
-
:type xstart: int | None
|
|
1105
920
|
:param xend: X End
|
|
1106
|
-
:type xend: int | None
|
|
1107
921
|
:param ystart: Y Start
|
|
1108
|
-
:type ystart: int | None
|
|
1109
922
|
:param yend: Y End
|
|
1110
|
-
:type yend: int | None
|
|
1111
923
|
:param flip: Flip
|
|
1112
|
-
:type flip: bool | None
|
|
1113
924
|
:param cursor: Cursor, Mouse cursor style to use during the modal operator
|
|
1114
|
-
:type cursor: int | None
|
|
1115
925
|
"""
|
|
1116
926
|
|
|
1117
927
|
def weight_paint(
|
|
@@ -1121,16 +931,14 @@ def weight_paint(
|
|
|
1121
931
|
*,
|
|
1122
932
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
1123
933
|
| None = None,
|
|
1124
|
-
mode: typing.Literal["NORMAL", "INVERT"
|
|
934
|
+
mode: typing.Literal["NORMAL", "INVERT"] | None = "NORMAL",
|
|
935
|
+
brush_toggle: typing.Literal["None", "SMOOTH", "ERASE", "MASK"] | None = "None",
|
|
1125
936
|
pen_flip: bool | None = False,
|
|
1126
937
|
override_location: bool | None = False,
|
|
1127
|
-
):
|
|
1128
|
-
"""Paint a stroke in the current vertex
|
|
938
|
+
) -> None:
|
|
939
|
+
"""Paint a stroke in the current vertex groups weights
|
|
1129
940
|
|
|
1130
|
-
:type execution_context: int | str | None
|
|
1131
|
-
:type undo: bool | None
|
|
1132
941
|
:param stroke: Stroke
|
|
1133
|
-
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
|
|
1134
942
|
:param mode: Stroke Mode, Action taken when a paint stroke is made
|
|
1135
943
|
|
|
1136
944
|
NORMAL
|
|
@@ -1138,47 +946,47 @@ def weight_paint(
|
|
|
1138
946
|
|
|
1139
947
|
INVERT
|
|
1140
948
|
Invert -- Invert action of brush for duration of stroke.
|
|
949
|
+
:param brush_toggle: Temporary Brush Toggle Type, Brush to use for duration of stroke
|
|
950
|
+
|
|
951
|
+
None
|
|
952
|
+
None -- Apply brush normally.
|
|
1141
953
|
|
|
1142
954
|
SMOOTH
|
|
1143
|
-
Smooth -- Switch
|
|
955
|
+
Smooth -- Switch to smooth brush for duration of stroke.
|
|
1144
956
|
|
|
1145
957
|
ERASE
|
|
1146
|
-
Erase -- Switch
|
|
1147
|
-
:type mode: typing.Literal['NORMAL','INVERT','SMOOTH','ERASE'] | None
|
|
1148
|
-
:param pen_flip: Pen Flip, Whether a tablet's eraser mode is being used
|
|
1149
|
-
:type pen_flip: bool | None
|
|
1150
|
-
:param override_location: Override Location, Override the given location array by recalculating object space positions from the provided mouse_event positions
|
|
1151
|
-
:type override_location: bool | None
|
|
1152
|
-
"""
|
|
1153
|
-
|
|
1154
|
-
def weight_paint_toggle(
|
|
1155
|
-
execution_context: int | str | None = None, undo: bool | None = None
|
|
1156
|
-
):
|
|
1157
|
-
"""Toggle weight paint mode in 3D view
|
|
958
|
+
Erase -- Switch to erase brush for duration of stroke.
|
|
1158
959
|
|
|
1159
|
-
|
|
1160
|
-
|
|
960
|
+
MASK
|
|
961
|
+
Mask -- Switch to mask brush for duration of stroke.
|
|
962
|
+
:param pen_flip: Pen Flip, Whether a tablets eraser mode is being used
|
|
963
|
+
:param override_location: Override Location, Override the given "location" array by recalculating object space positions from the provided "mouse_event" positions
|
|
1161
964
|
"""
|
|
1162
965
|
|
|
1163
|
-
def
|
|
1164
|
-
|
|
966
|
+
def weight_paint_toggle(
|
|
967
|
+
execution_context: int | str | None = None,
|
|
968
|
+
undo: bool | None = None,
|
|
969
|
+
/,
|
|
970
|
+
) -> None:
|
|
971
|
+
"""Toggle weight paint mode in 3D view"""
|
|
1165
972
|
|
|
1166
|
-
|
|
1167
|
-
:
|
|
1168
|
-
|
|
973
|
+
def weight_sample(
|
|
974
|
+
execution_context: int | str | None = None,
|
|
975
|
+
undo: bool | None = None,
|
|
976
|
+
/,
|
|
977
|
+
) -> None:
|
|
978
|
+
"""Use the mouse to sample a weight in the 3D view"""
|
|
1169
979
|
|
|
1170
980
|
def weight_sample_group(
|
|
1171
|
-
execution_context: int | str | None = None,
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
:type undo: bool | None
|
|
1177
|
-
"""
|
|
1178
|
-
|
|
1179
|
-
def weight_set(execution_context: int | str | None = None, undo: bool | None = None):
|
|
1180
|
-
"""Fill the active vertex group with the current paint weight
|
|
981
|
+
execution_context: int | str | None = None,
|
|
982
|
+
undo: bool | None = None,
|
|
983
|
+
/,
|
|
984
|
+
) -> None:
|
|
985
|
+
"""Select one of the vertex groups available under current mouse position"""
|
|
1181
986
|
|
|
1182
|
-
|
|
1183
|
-
:
|
|
1184
|
-
|
|
987
|
+
def weight_set(
|
|
988
|
+
execution_context: int | str | None = None,
|
|
989
|
+
undo: bool | None = None,
|
|
990
|
+
/,
|
|
991
|
+
) -> None:
|
|
992
|
+
"""Fill the active vertex group with the current paint weight"""
|