fake-bge-module 20250312__py3-none-any.whl → 20260203__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 +12 -26
- 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 -979
- 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 +6 -37
- 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 +93286 -103826
- 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-20250312.dist-info → fake_bge_module-20260203.dist-info}/METADATA +9 -3
- fake_bge_module-20260203.dist-info/RECORD +414 -0
- {fake_bge_module-20250312.dist-info → fake_bge_module-20260203.dist-info}/WHEEL +1 -1
- {fake_bge_module-20250312.dist-info → fake_bge_module-20260203.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 +24 -30
- 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-20250312.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
|
@@ -9,6 +9,7 @@ be a collection of examples for defining chaining iterators in Python.
|
|
|
9
9
|
import typing
|
|
10
10
|
import collections.abc
|
|
11
11
|
import typing_extensions
|
|
12
|
+
import numpy.typing as npt
|
|
12
13
|
import freestyle.types
|
|
13
14
|
|
|
14
15
|
class ChainPredicateIterator:
|
|
@@ -34,36 +35,29 @@ class ChainPredicateIterator:
|
|
|
34
35
|
restrict_to_unvisited: bool = True,
|
|
35
36
|
begin: None | freestyle.types.ViewEdge | None = None,
|
|
36
37
|
orientation: bool = True,
|
|
37
|
-
):
|
|
38
|
+
) -> None:
|
|
38
39
|
"""Builds a ChainPredicateIterator from a unary predicate, a binary
|
|
39
40
|
predicate, a starting ViewEdge and its orientation or using the copy constructor.
|
|
40
41
|
|
|
41
42
|
:param upred: The unary predicate that the next ViewEdge must satisfy.
|
|
42
|
-
:type upred: freestyle.types.UnaryPredicate1D
|
|
43
43
|
:param bpred: The binary predicate that the next ViewEdge must
|
|
44
44
|
satisfy together with the actual pointed ViewEdge.
|
|
45
|
-
:type bpred: freestyle.types.BinaryPredicate1D
|
|
46
45
|
:param restrict_to_selection: Indicates whether to force the chaining
|
|
47
46
|
to stay within the set of selected ViewEdges or not.
|
|
48
|
-
:type restrict_to_selection: bool
|
|
49
47
|
:param restrict_to_unvisited: Indicates whether a ViewEdge that has
|
|
50
48
|
already been chained must be ignored ot not.
|
|
51
|
-
:type restrict_to_unvisited: bool
|
|
52
49
|
:param begin: The ViewEdge from where to start the iteration.
|
|
53
|
-
:
|
|
54
|
-
:param orientation: If true, we'll look for the next ViewEdge among
|
|
50
|
+
:param orientation: If true, well look for the next ViewEdge among
|
|
55
51
|
the ViewEdges that surround the ending ViewVertex of begin. If
|
|
56
|
-
false,
|
|
52
|
+
false, well search over the ViewEdges surrounding the ending
|
|
57
53
|
ViewVertex of begin.
|
|
58
|
-
:type orientation: bool
|
|
59
54
|
"""
|
|
60
55
|
|
|
61
|
-
def __init__(self, brother: typing_extensions.Self):
|
|
56
|
+
def __init__(self, brother: typing_extensions.Self) -> None:
|
|
62
57
|
"""Builds a ChainPredicateIterator from a unary predicate, a binary
|
|
63
58
|
predicate, a starting ViewEdge and its orientation or using the copy constructor.
|
|
64
59
|
|
|
65
60
|
:param brother: A ChainPredicateIterator object.
|
|
66
|
-
:type brother: typing_extensions.Self
|
|
67
61
|
"""
|
|
68
62
|
|
|
69
63
|
class ChainSilhouetteIterator:
|
|
@@ -83,28 +77,24 @@ class ChainSilhouetteIterator:
|
|
|
83
77
|
restrict_to_selection: bool = True,
|
|
84
78
|
begin: None | freestyle.types.ViewEdge | None = None,
|
|
85
79
|
orientation: bool = True,
|
|
86
|
-
):
|
|
80
|
+
) -> None:
|
|
87
81
|
"""Builds a ChainSilhouetteIterator from the first ViewEdge used for
|
|
88
82
|
iteration and its orientation or the copy constructor.
|
|
89
83
|
|
|
90
84
|
:param restrict_to_selection: Indicates whether to force the chaining
|
|
91
85
|
to stay within the set of selected ViewEdges or not.
|
|
92
|
-
:type restrict_to_selection: bool
|
|
93
86
|
:param begin: The ViewEdge from where to start the iteration.
|
|
94
|
-
:
|
|
95
|
-
:param orientation: If true, we'll look for the next ViewEdge among
|
|
87
|
+
:param orientation: If true, well look for the next ViewEdge among
|
|
96
88
|
the ViewEdges that surround the ending ViewVertex of begin. If
|
|
97
|
-
false,
|
|
89
|
+
false, well search over the ViewEdges surrounding the ending
|
|
98
90
|
ViewVertex of begin.
|
|
99
|
-
:type orientation: bool
|
|
100
91
|
"""
|
|
101
92
|
|
|
102
|
-
def __init__(self, brother: typing_extensions.Self):
|
|
93
|
+
def __init__(self, brother: typing_extensions.Self) -> None:
|
|
103
94
|
"""Builds a ChainSilhouetteIterator from the first ViewEdge used for
|
|
104
95
|
iteration and its orientation or the copy constructor.
|
|
105
96
|
|
|
106
97
|
:param brother: A ChainSilhouetteIterator object.
|
|
107
|
-
:type brother: typing_extensions.Self
|
|
108
98
|
"""
|
|
109
99
|
|
|
110
100
|
class pyChainSilhouetteGenericIterator:
|
|
@@ -114,17 +104,17 @@ class pyChainSilhouetteGenericIterator:
|
|
|
114
104
|
edge types.
|
|
115
105
|
"""
|
|
116
106
|
|
|
117
|
-
def __init__(
|
|
107
|
+
def __init__(
|
|
108
|
+
self, stayInSelection: bool = True, stayInUnvisited: bool = True
|
|
109
|
+
) -> None:
|
|
118
110
|
"""Builds a pyChainSilhouetteGenericIterator object.
|
|
119
111
|
|
|
120
112
|
:param stayInSelection: True if it is allowed to go out of the selection
|
|
121
|
-
:type stayInSelection: bool
|
|
122
113
|
:param stayInUnvisited: May the same ViewEdge be chained twice
|
|
123
|
-
:type stayInUnvisited: bool
|
|
124
114
|
"""
|
|
125
115
|
|
|
126
|
-
def init(self): ...
|
|
127
|
-
def traverse(self, iter):
|
|
116
|
+
def init(self) -> None: ...
|
|
117
|
+
def traverse(self, iter) -> None:
|
|
128
118
|
"""
|
|
129
119
|
|
|
130
120
|
:param iter:
|
|
@@ -137,8 +127,8 @@ class pyChainSilhouetteIterator:
|
|
|
137
127
|
types. A ViewEdge is only chained once.
|
|
138
128
|
"""
|
|
139
129
|
|
|
140
|
-
def init(self): ...
|
|
141
|
-
def traverse(self, iter):
|
|
130
|
+
def init(self) -> None: ...
|
|
131
|
+
def traverse(self, iter) -> None:
|
|
142
132
|
"""
|
|
143
133
|
|
|
144
134
|
:param iter:
|
|
@@ -147,15 +137,15 @@ class pyChainSilhouetteIterator:
|
|
|
147
137
|
class pyExternalContourChainingIterator:
|
|
148
138
|
"""Chains by external contour"""
|
|
149
139
|
|
|
150
|
-
def checkViewEdge(self, ve, orientation):
|
|
140
|
+
def checkViewEdge(self, ve, orientation) -> None:
|
|
151
141
|
"""
|
|
152
142
|
|
|
153
143
|
:param ve:
|
|
154
144
|
:param orientation:
|
|
155
145
|
"""
|
|
156
146
|
|
|
157
|
-
def init(self): ...
|
|
158
|
-
def traverse(self, iter):
|
|
147
|
+
def init(self) -> None: ...
|
|
148
|
+
def traverse(self, iter) -> None:
|
|
159
149
|
"""
|
|
160
150
|
|
|
161
151
|
:param iter:
|
|
@@ -166,18 +156,16 @@ class pyFillOcclusionsAbsoluteAndRelativeChainingIterator:
|
|
|
166
156
|
selection.
|
|
167
157
|
"""
|
|
168
158
|
|
|
169
|
-
def __init__(self, percent: float, l: float):
|
|
159
|
+
def __init__(self, percent: float, l: float) -> None:
|
|
170
160
|
"""Builds a pyFillOcclusionsAbsoluteAndRelativeChainingIterator object.
|
|
171
161
|
|
|
172
162
|
:param percent: The maximal length of the occluded part as a
|
|
173
163
|
percentage of the total chain length.
|
|
174
|
-
:type percent: float
|
|
175
164
|
:param l: Absolute length.
|
|
176
|
-
:type l: float
|
|
177
165
|
"""
|
|
178
166
|
|
|
179
|
-
def init(self): ...
|
|
180
|
-
def traverse(self, iter):
|
|
167
|
+
def init(self) -> None: ...
|
|
168
|
+
def traverse(self, iter) -> None:
|
|
181
169
|
"""
|
|
182
170
|
|
|
183
171
|
:param iter:
|
|
@@ -186,15 +174,14 @@ class pyFillOcclusionsAbsoluteAndRelativeChainingIterator:
|
|
|
186
174
|
class pyFillOcclusionsAbsoluteChainingIterator:
|
|
187
175
|
"""Chaining iterator that fills small occlusions"""
|
|
188
176
|
|
|
189
|
-
def __init__(self, length: int):
|
|
177
|
+
def __init__(self, length: int) -> None:
|
|
190
178
|
"""Builds a pyFillOcclusionsAbsoluteChainingIterator object.
|
|
191
179
|
|
|
192
180
|
:param length: The maximum length of the occluded part in pixels.
|
|
193
|
-
:type length: int
|
|
194
181
|
"""
|
|
195
182
|
|
|
196
|
-
def init(self): ...
|
|
197
|
-
def traverse(self, iter):
|
|
183
|
+
def init(self) -> None: ...
|
|
184
|
+
def traverse(self, iter) -> None:
|
|
198
185
|
"""
|
|
199
186
|
|
|
200
187
|
:param iter:
|
|
@@ -203,16 +190,15 @@ class pyFillOcclusionsAbsoluteChainingIterator:
|
|
|
203
190
|
class pyFillOcclusionsRelativeChainingIterator:
|
|
204
191
|
"""Chaining iterator that fills small occlusions"""
|
|
205
192
|
|
|
206
|
-
def __init__(self, percent: float):
|
|
193
|
+
def __init__(self, percent: float) -> None:
|
|
207
194
|
"""Builds a pyFillOcclusionsRelativeChainingIterator object.
|
|
208
195
|
|
|
209
196
|
:param percent: The maximal length of the occluded part, expressed
|
|
210
197
|
in a percentage of the total chain length.
|
|
211
|
-
:type percent: float
|
|
212
198
|
"""
|
|
213
199
|
|
|
214
|
-
def init(self): ...
|
|
215
|
-
def traverse(self, iter):
|
|
200
|
+
def init(self) -> None: ...
|
|
201
|
+
def traverse(self, iter) -> None:
|
|
216
202
|
"""
|
|
217
203
|
|
|
218
204
|
:param iter:
|
|
@@ -223,18 +209,16 @@ class pyFillQi0AbsoluteAndRelativeChainingIterator:
|
|
|
223
209
|
selection.
|
|
224
210
|
"""
|
|
225
211
|
|
|
226
|
-
def __init__(self, percent: float, l: float):
|
|
212
|
+
def __init__(self, percent: float, l: float) -> None:
|
|
227
213
|
"""Builds a pyFillQi0AbsoluteAndRelativeChainingIterator object.
|
|
228
214
|
|
|
229
215
|
:param percent: The maximal length of the occluded part as a
|
|
230
216
|
percentage of the total chain length.
|
|
231
|
-
:type percent: float
|
|
232
217
|
:param l: Absolute length.
|
|
233
|
-
:type l: float
|
|
234
218
|
"""
|
|
235
219
|
|
|
236
|
-
def init(self): ...
|
|
237
|
-
def traverse(self, iter):
|
|
220
|
+
def init(self) -> None: ...
|
|
221
|
+
def traverse(self, iter) -> None:
|
|
238
222
|
"""
|
|
239
223
|
|
|
240
224
|
:param iter:
|
|
@@ -244,18 +228,17 @@ class pyNoIdChainSilhouetteIterator:
|
|
|
244
228
|
"""Natural chaining iterator that follows the edges of the same nature
|
|
245
229
|
following the topology of objects, with decreasing priority for
|
|
246
230
|
silhouettes, then borders, then suggestive contours, then all other edge
|
|
247
|
-
types. It
|
|
231
|
+
types. It wont chain the same ViewEdge twice.
|
|
248
232
|
"""
|
|
249
233
|
|
|
250
|
-
def __init__(self, stayInSelection: bool = True):
|
|
234
|
+
def __init__(self, stayInSelection: bool = True) -> None:
|
|
251
235
|
"""Builds a pyNoIdChainSilhouetteIterator object.
|
|
252
236
|
|
|
253
237
|
:param stayInSelection: True if it is allowed to go out of the selection
|
|
254
|
-
:type stayInSelection: bool
|
|
255
238
|
"""
|
|
256
239
|
|
|
257
|
-
def init(self): ...
|
|
258
|
-
def traverse(self, iter):
|
|
240
|
+
def init(self) -> None: ...
|
|
241
|
+
def traverse(self, iter) -> None:
|
|
259
242
|
"""
|
|
260
243
|
|
|
261
244
|
:param iter:
|
|
@@ -266,24 +249,22 @@ class pySketchyChainSilhouetteIterator:
|
|
|
266
249
|
same ViewEdge multiple times to achieve a sketchy effect.
|
|
267
250
|
"""
|
|
268
251
|
|
|
269
|
-
def __init__(self, nRounds: int = 3, stayInSelection: bool = True):
|
|
252
|
+
def __init__(self, nRounds: int = 3, stayInSelection: bool = True) -> None:
|
|
270
253
|
"""Builds a pySketchyChainSilhouetteIterator object.
|
|
271
254
|
|
|
272
255
|
:param nRounds: Number of times every Viewedge is chained.
|
|
273
|
-
:type nRounds: int
|
|
274
256
|
:param stayInSelection: if False, edges outside of the selection can be chained.
|
|
275
|
-
:type stayInSelection: bool
|
|
276
257
|
"""
|
|
277
258
|
|
|
278
|
-
def init(self): ...
|
|
279
|
-
def make_sketchy(self, ve):
|
|
259
|
+
def init(self) -> None: ...
|
|
260
|
+
def make_sketchy(self, ve) -> None:
|
|
280
261
|
"""Creates the sketchy effect by causing the chain to run from
|
|
281
262
|
the start again. (loop over itself again)
|
|
282
263
|
|
|
283
264
|
:param ve:
|
|
284
265
|
"""
|
|
285
266
|
|
|
286
|
-
def traverse(self, iter):
|
|
267
|
+
def traverse(self, iter) -> None:
|
|
287
268
|
"""
|
|
288
269
|
|
|
289
270
|
:param iter:
|
|
@@ -295,8 +276,8 @@ class pySketchyChainingIterator:
|
|
|
295
276
|
ViewEdge.
|
|
296
277
|
"""
|
|
297
278
|
|
|
298
|
-
def init(self): ...
|
|
299
|
-
def traverse(self, iter):
|
|
279
|
+
def init(self) -> None: ...
|
|
280
|
+
def traverse(self, iter) -> None:
|
|
300
281
|
"""
|
|
301
282
|
|
|
302
283
|
:param iter:
|