fake-bpy-module 20240517__py3-none-any.whl → 20240519__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fake-bpy-module might be problematic. Click here for more details.
- _bpy_internal/__init__.pyi +2 -1
- _bpy_internal/freedesktop/__init__.pyi +20 -86
- addon_utils/__init__.pyi +7 -31
- animsys_refactor/__init__.pyi +7 -26
- aud/__init__.pyi +3 -5
- bgl/__init__.pyi +2 -1630
- bl_app_override/__init__.pyi +5 -15
- bl_app_override/helpers/__init__.pyi +4 -23
- bl_app_template_utils/__init__.pyi +5 -16
- bl_console_utils/__init__.pyi +2 -1
- bl_console_utils/autocomplete/__init__.pyi +2 -1
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +2 -1
- bl_console_utils/autocomplete/complete_import/__init__.pyi +2 -1
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -1
- bl_console_utils/autocomplete/intellisense/__init__.pyi +2 -1
- bl_i18n_utils/__init__.pyi +2 -1
- bl_i18n_utils/bl_extract_messages/__init__.pyi +15 -65
- bl_i18n_utils/merge_po/__init__.pyi +3 -5
- bl_i18n_utils/settings/__init__.pyi +4 -23
- bl_i18n_utils/utils/__init__.pyi +10 -66
- bl_i18n_utils/utils_cli/__init__.pyi +9 -31
- bl_i18n_utils/utils_languages_menu/__init__.pyi +3 -5
- bl_i18n_utils/utils_rtl/__init__.pyi +2 -1
- bl_keymap_utils/__init__.pyi +2 -1
- bl_keymap_utils/io/__init__.pyi +10 -40
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +3 -5
- bl_keymap_utils/platform_helpers/__init__.pyi +3 -6
- bl_keymap_utils/versioning/__init__.pyi +3 -5
- bl_math/__init__.pyi +2 -1
- bl_operators/__init__.pyi +4 -10
- bl_operators/add_mesh_torus/__init__.pyi +4 -19
- bl_operators/anim/__init__.pyi +2 -71
- bl_operators/assets/__init__.pyi +2 -30
- bl_operators/bmesh/__init__.pyi +2 -1
- bl_operators/bmesh/find_adjacent/__init__.pyi +9 -35
- bl_operators/clip/__init__.pyi +7 -115
- bl_operators/console/__init__.pyi +2 -38
- bl_operators/constraint/__init__.pyi +2 -37
- bl_operators/file/__init__.pyi +2 -28
- bl_operators/freestyle/__init__.pyi +2 -37
- bl_operators/geometry_nodes/__init__.pyi +15 -103
- bl_operators/image/__init__.pyi +2 -52
- bl_operators/mesh/__init__.pyi +2 -28
- bl_operators/node/__init__.pyi +2 -105
- bl_operators/object/__init__.pyi +2 -138
- bl_operators/object_align/__init__.pyi +5 -24
- bl_operators/object_quick_effects/__init__.pyi +4 -49
- bl_operators/object_randomize_transform/__init__.pyi +5 -14
- bl_operators/presets/__init__.pyi +4 -376
- bl_operators/rigidbody/__init__.pyi +2 -28
- bl_operators/screen_play_rendered_anim/__init__.pyi +3 -14
- bl_operators/sequencer/__init__.pyi +3 -104
- bl_operators/spreadsheet/__init__.pyi +2 -10
- bl_operators/userpref/__init__.pyi +3 -201
- bl_operators/uvcalc_follow_active/__init__.pyi +4 -19
- bl_operators/uvcalc_lightmap/__init__.pyi +4 -34
- bl_operators/uvcalc_transform/__init__.pyi +13 -73
- bl_operators/vertexpaint_dirt/__init__.pyi +4 -19
- bl_operators/view3d/__init__.pyi +2 -64
- bl_operators/wm/__init__.pyi +16 -451
- bl_operators/world/__init__.pyi +2 -10
- bl_previews_utils/__init__.pyi +2 -1
- bl_previews_utils/bl_previews_render/__init__.pyi +10 -36
- bl_rna_utils/__init__.pyi +2 -1
- bl_rna_utils/data_path/__init__.pyi +2 -2
- bl_text_utils/__init__.pyi +2 -1
- bl_text_utils/external_editor/__init__.pyi +3 -5
- bl_ui/__init__.pyi +32 -141
- bl_ui/anim/__init__.pyi +3 -12
- bl_ui/asset_shelf/__init__.pyi +3 -16
- bl_ui/generic_ui_list/__init__.pyi +4 -31
- bl_ui/node_add_menu/__init__.pyi +6 -28
- bl_ui/node_add_menu_compositor/__init__.pyi +20 -237
- bl_ui/node_add_menu_geometry/__init__.pyi +50 -629
- bl_ui/node_add_menu_shader/__init__.pyi +20 -170
- bl_ui/node_add_menu_texture/__init__.pyi +11 -118
- bl_ui/properties_animviz/__init__.pyi +2 -15
- bl_ui/properties_collection/__init__.pyi +9 -112
- bl_ui/properties_constraint/__init__.pyi +81 -1524
- bl_ui/properties_data_armature/__init__.pyi +14 -214
- bl_ui/properties_data_bone/__init__.pyi +12 -198
- bl_ui/properties_data_camera/__init__.pyi +17 -312
- bl_ui/properties_data_curve/__init__.pyi +17 -319
- bl_ui/properties_data_curves/__init__.pyi +8 -108
- bl_ui/properties_data_empty/__init__.pyi +4 -44
- bl_ui/properties_data_gpencil/__init__.pyi +20 -350
- bl_ui/properties_data_grease_pencil/__init__.pyi +16 -257
- bl_ui/properties_data_lattice/__init__.pyi +5 -65
- bl_ui/properties_data_light/__init__.pyi +14 -264
- bl_ui/properties_data_lightprobe/__init__.pyi +15 -277
- bl_ui/properties_data_mesh/__init__.pyi +23 -325
- bl_ui/properties_data_metaball/__init__.pyi +7 -103
- bl_ui/properties_data_modifier/__init__.pyi +10 -178
- bl_ui/properties_data_pointcloud/__init__.pyi +7 -89
- bl_ui/properties_data_shaderfx/__init__.pyi +3 -27
- bl_ui/properties_data_speaker/__init__.pyi +7 -111
- bl_ui/properties_data_volume/__init__.pyi +10 -156
- bl_ui/properties_freestyle/__init__.pyi +31 -615
- bl_ui/properties_grease_pencil_common/__init__.pyi +17 -216
- bl_ui/properties_mask_common/__init__.pyi +10 -111
- bl_ui/properties_material/__init__.pyi +20 -331
- bl_ui/properties_material_gpencil/__init__.pyi +12 -182
- bl_ui/properties_object/__init__.pyi +16 -276
- bl_ui/properties_output/__init__.pyi +20 -370
- bl_ui/properties_paint_common/__init__.pyi +14 -106
- bl_ui/properties_particle/__init__.pyi +58 -1159
- bl_ui/properties_physics_cloth/__init__.pyi +17 -314
- bl_ui/properties_physics_common/__init__.pyi +9 -58
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +24 -490
- bl_ui/properties_physics_field/__init__.pyi +13 -218
- bl_ui/properties_physics_fluid/__init__.pyi +30 -626
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +3 -20
- bl_ui/properties_physics_rigidbody/__init__.pyi +11 -188
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +15 -279
- bl_ui/properties_physics_softbody/__init__.pyi +18 -353
- bl_ui/properties_render/__init__.pyi +56 -1146
- bl_ui/properties_scene/__init__.pyi +17 -298
- bl_ui/properties_texture/__init__.pyi +30 -577
- bl_ui/properties_view_layer/__init__.pyi +20 -346
- bl_ui/properties_workspace/__init__.pyi +6 -80
- bl_ui/properties_world/__init__.pyi +12 -220
- bl_ui/space_clip/__init__.pyi +73 -1090
- bl_ui/space_console/__init__.pyi +9 -73
- bl_ui/space_dopesheet/__init__.pyi +33 -485
- bl_ui/space_filebrowser/__init__.pyi +36 -431
- bl_ui/space_graph/__init__.pyi +22 -237
- bl_ui/space_image/__init__.pyi +70 -1089
- bl_ui/space_info/__init__.pyi +8 -71
- bl_ui/space_nla/__init__.pyi +19 -210
- bl_ui/space_node/__init__.pyi +32 -436
- bl_ui/space_outliner/__init__.pyi +17 -165
- bl_ui/space_properties/__init__.pyi +5 -42
- bl_ui/space_sequencer/__init__.pyi +79 -1142
- bl_ui/space_spreadsheet/__init__.pyi +3 -12
- bl_ui/space_statusbar/__init__.pyi +3 -12
- bl_ui/space_text/__init__.pyi +18 -193
- bl_ui/space_time/__init__.pyi +10 -111
- bl_ui/space_toolsystem_common/__init__.pyi +42 -200
- bl_ui/space_toolsystem_toolbar/__init__.pyi +119 -863
- bl_ui/space_topbar/__init__.pyi +29 -335
- bl_ui/space_userpref/__init__.pyi +94 -1576
- bl_ui/space_view3d/__init__.pyi +271 -3438
- bl_ui/space_view3d_toolbar/__init__.pyi +95 -1899
- bl_ui/temp_anim_layers/__init__.pyi +4 -22
- bl_ui/utils/__init__.pyi +2 -8
- bl_ui_utils/__init__.pyi +2 -1
- bl_ui_utils/bug_report_url/__init__.pyi +3 -5
- bl_ui_utils/layout/__init__.pyi +2 -1
- blend_render_info/__init__.pyi +4 -10
- blf/__init__.pyi +2 -1
- bmesh/__init__.pyi +2 -1
- bmesh/geometry/__init__.pyi +2 -1
- bmesh/ops/__init__.pyi +2 -1
- bmesh/types/__init__.pyi +29 -45
- bmesh/utils/__init__.pyi +2 -1
- bpy/__init__.pyi +2 -1
- bpy/app/__init__.pyi +2 -1
- bpy/app/handlers/__init__.pyi +2 -1
- bpy/app/icons/__init__.pyi +2 -1
- bpy/app/timers/__init__.pyi +8 -15
- bpy/app/translations/__init__.pyi +2 -1
- bpy/msgbus/__init__.pyi +2 -1
- bpy/ops/__init__.pyi +2 -1
- bpy/ops/action/__init__.pyi +22 -21
- bpy/ops/anim/__init__.pyi +32 -31
- bpy/ops/armature/__init__.pyi +22 -21
- bpy/ops/asset/__init__.pyi +8 -7
- bpy/ops/bl_pkg/__init__.pyi +4 -3
- bpy/ops/boid/__init__.pyi +2 -1
- bpy/ops/brush/__init__.pyi +10 -9
- bpy/ops/buttons/__init__.pyi +10 -9
- bpy/ops/cachefile/__init__.pyi +12 -11
- bpy/ops/camera/__init__.pyi +2 -1
- bpy/ops/clip/__init__.pyi +38 -37
- bpy/ops/cloth/__init__.pyi +2 -1
- bpy/ops/collection/__init__.pyi +8 -7
- bpy/ops/console/__init__.pyi +8 -7
- bpy/ops/constraint/__init__.pyi +30 -29
- bpy/ops/curve/__init__.pyi +32 -31
- bpy/ops/curves/__init__.pyi +10 -9
- bpy/ops/cycles/__init__.pyi +2 -1
- bpy/ops/dpaint/__init__.pyi +4 -3
- bpy/ops/ed/__init__.pyi +6 -5
- bpy/ops/export_anim/__init__.pyi +4 -3
- bpy/ops/export_scene/__init__.pyi +40 -39
- bpy/ops/file/__init__.pyi +20 -19
- bpy/ops/fluid/__init__.pyi +2 -1
- bpy/ops/font/__init__.pyi +22 -21
- bpy/ops/geometry/__init__.pyi +4 -3
- bpy/ops/gizmogroup/__init__.pyi +2 -1
- bpy/ops/gpencil/__init__.pyi +134 -133
- bpy/ops/graph/__init__.pyi +40 -39
- bpy/ops/grease_pencil/__init__.pyi +42 -41
- bpy/ops/image/__init__.pyi +22 -21
- bpy/ops/import_anim/__init__.pyi +10 -9
- bpy/ops/import_curve/__init__.pyi +2 -1
- bpy/ops/import_scene/__init__.pyi +20 -19
- bpy/ops/info/__init__.pyi +6 -5
- bpy/ops/lattice/__init__.pyi +8 -7
- bpy/ops/marker/__init__.pyi +10 -9
- bpy/ops/mask/__init__.pyi +14 -13
- bpy/ops/material/__init__.pyi +2 -1
- bpy/ops/mball/__init__.pyi +8 -7
- bpy/ops/mesh/__init__.pyi +112 -111
- bpy/ops/nla/__init__.pyi +16 -15
- bpy/ops/node/__init__.pyi +32 -31
- bpy/ops/object/__init__.pyi +186 -185
- bpy/ops/outliner/__init__.pyi +38 -37
- bpy/ops/paint/__init__.pyi +50 -49
- bpy/ops/paintcurve/__init__.pyi +2 -1
- bpy/ops/palette/__init__.pyi +6 -5
- bpy/ops/particle/__init__.pyi +16 -15
- bpy/ops/pose/__init__.pyi +32 -31
- bpy/ops/poselib/__init__.pyi +2 -1
- bpy/ops/preferences/__init__.pyi +14 -13
- bpy/ops/ptcache/__init__.pyi +2 -1
- bpy/ops/render/__init__.pyi +4 -3
- bpy/ops/rigidbody/__init__.pyi +10 -9
- bpy/ops/scene/__init__.pyi +18 -17
- bpy/ops/screen/__init__.pyi +16 -15
- bpy/ops/script/__init__.pyi +2 -1
- bpy/ops/sculpt/__init__.pyi +68 -67
- bpy/ops/sculpt_curves/__init__.pyi +4 -3
- bpy/ops/sequencer/__init__.pyi +74 -73
- bpy/ops/sound/__init__.pyi +20 -19
- bpy/ops/spreadsheet/__init__.pyi +2 -1
- bpy/ops/surface/__init__.pyi +14 -13
- bpy/ops/text/__init__.pyi +24 -23
- bpy/ops/text_editor/__init__.pyi +2 -1
- bpy/ops/texture/__init__.pyi +4 -3
- bpy/ops/transform/__init__.pyi +32 -31
- bpy/ops/ui/__init__.pyi +8 -7
- bpy/ops/uilist/__init__.pyi +4 -3
- bpy/ops/uv/__init__.pyi +66 -65
- bpy/ops/view2d/__init__.pyi +2 -1
- bpy/ops/view3d/__init__.pyi +36 -35
- bpy/ops/wm/__init__.pyi +191 -187
- bpy/ops/workspace/__init__.pyi +2 -1
- bpy/ops/world/__init__.pyi +2 -1
- bpy/path/__init__.pyi +2 -1
- bpy/props/__init__.pyi +2 -1
- bpy/types/__init__.pyi +546 -4852
- bpy/utils/__init__.pyi +16 -71
- bpy/utils/previews/__init__.pyi +2 -1
- bpy/utils/units/__init__.pyi +2 -1
- bpy_extras/__init__.pyi +2 -1
- bpy_extras/anim_utils/__init__.pyi +2 -2
- bpy_extras/asset_utils/__init__.pyi +2 -11
- bpy_extras/bmesh_utils/__init__.pyi +3 -5
- bpy_extras/extensions/__init__.pyi +2 -1
- bpy_extras/extensions/junction_module/__init__.pyi +3 -7
- bpy_extras/id_map_utils/__init__.pyi +2 -1
- bpy_extras/image_utils/__init__.pyi +2 -1
- bpy_extras/io_utils/__init__.pyi +6 -25
- bpy_extras/keyconfig_utils/__init__.pyi +4 -10
- bpy_extras/mesh_utils/__init__.pyi +2 -1
- bpy_extras/node_shader_utils/__init__.pyi +46 -286
- bpy_extras/node_utils/__init__.pyi +4 -10
- bpy_extras/object_utils/__init__.pyi +2 -3
- bpy_extras/view3d_utils/__init__.pyi +2 -1
- bpy_extras/wm_utils/__init__.pyi +2 -1
- bpy_extras/wm_utils/progress_report/__init__.pyi +4 -29
- bpy_restrict_state/__init__.pyi +3 -15
- bpy_types/__init__.pyi +10 -275
- console_python/__init__.pyi +8 -37
- console_shell/__init__.pyi +8 -26
- {fake_bpy_module-20240517.dist-info → fake_bpy_module-20240519.dist-info}/METADATA +1 -1
- fake_bpy_module-20240519.dist-info/RECORD +353 -0
- freestyle/__init__.pyi +2 -1
- freestyle/chainingiterators/__init__.pyi +12 -41
- freestyle/functions/__init__.pyi +9 -34
- freestyle/predicates/__init__.pyi +46 -218
- freestyle/shaders/__init__.pyi +2 -11
- freestyle/types/__init__.pyi +2 -1
- freestyle/utils/ContextFunctions/__init__.pyi +2 -1
- freestyle/utils/__init__.pyi +5 -16
- gpu/__init__.pyi +2 -1
- gpu/capabilities/__init__.pyi +2 -1
- gpu/matrix/__init__.pyi +2 -1
- gpu/platform/__init__.pyi +2 -1
- gpu/select/__init__.pyi +2 -1
- gpu/shader/__init__.pyi +2 -1
- gpu/state/__init__.pyi +2 -1
- gpu/texture/__init__.pyi +2 -1
- gpu/types/__init__.pyi +2 -1
- gpu_extras/__init__.pyi +2 -1
- gpu_extras/batch/__init__.pyi +2 -1
- gpu_extras/presets/__init__.pyi +2 -1
- graphviz_export/__init__.pyi +4 -10
- idprop/__init__.pyi +2 -1
- idprop/types/__init__.pyi +8 -34
- imbuf/__init__.pyi +2 -1
- imbuf/types/__init__.pyi +2 -3
- keyingsets_builtins/__init__.pyi +4 -157
- keyingsets_utils/__init__.pyi +17 -71
- mathutils/__init__.pyi +2 -1
- mathutils/bvhtree/__init__.pyi +2 -3
- mathutils/geometry/__init__.pyi +2 -1
- mathutils/interpolate/__init__.pyi +2 -1
- mathutils/kdtree/__init__.pyi +2 -1
- mathutils/noise/__init__.pyi +2 -1
- nodeitems_builtins/__init__.pyi +7 -31
- nodeitems_utils/__init__.pyi +10 -46
- rna_info/__init__.pyi +24 -201
- rna_keymap_ui/__init__.pyi +9 -31
- rna_prop_ui/__init__.pyi +11 -50
- rna_xml/__init__.pyi +8 -30
- sys_info/__init__.pyi +3 -5
- fake_bpy_module-20240517.dist-info/RECORD +0 -353
- {fake_bpy_module-20240517.dist-info → fake_bpy_module-20240519.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240517.dist-info → fake_bpy_module-20240519.dist-info}/top_level.txt +0 -0
bpy/utils/__init__.pyi
CHANGED
|
@@ -14,7 +14,8 @@ import typing
|
|
|
14
14
|
from . import previews
|
|
15
15
|
from . import units
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
18
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
18
19
|
|
|
19
20
|
def app_template_paths(path: str | None = None):
|
|
20
21
|
"""Returns valid application template paths.
|
|
@@ -112,26 +113,10 @@ def is_path_builtin(path: str | None) -> bool:
|
|
|
112
113
|
|
|
113
114
|
...
|
|
114
115
|
|
|
115
|
-
def keyconfig_init():
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
def keyconfig_init():
|
|
121
|
-
""" """
|
|
122
|
-
|
|
123
|
-
...
|
|
124
|
-
|
|
125
|
-
def keyconfig_set(filepath, report=None):
|
|
126
|
-
""" """
|
|
127
|
-
|
|
128
|
-
...
|
|
129
|
-
|
|
130
|
-
def keyconfig_set(filepath, report=None):
|
|
131
|
-
""" """
|
|
132
|
-
|
|
133
|
-
...
|
|
134
|
-
|
|
116
|
+
def keyconfig_init(): ...
|
|
117
|
+
def keyconfig_init(): ...
|
|
118
|
+
def keyconfig_set(filepath, report=None): ...
|
|
119
|
+
def keyconfig_set(filepath, report=None): ...
|
|
135
120
|
def load_scripts(
|
|
136
121
|
reload_scripts: bool | None = False,
|
|
137
122
|
refresh_scripts: bool | None = False,
|
|
@@ -236,16 +221,8 @@ def manual_language_code(default="en") -> str:
|
|
|
236
221
|
|
|
237
222
|
...
|
|
238
223
|
|
|
239
|
-
def manual_map():
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
...
|
|
243
|
-
|
|
244
|
-
def manual_map():
|
|
245
|
-
""" """
|
|
246
|
-
|
|
247
|
-
...
|
|
248
|
-
|
|
224
|
+
def manual_map(): ...
|
|
225
|
+
def manual_map(): ...
|
|
249
226
|
def modules_from_path(path: str | None, loaded_modules: set | None) -> list:
|
|
250
227
|
"""Load all modules in a path and return them as a list.
|
|
251
228
|
|
|
@@ -274,16 +251,8 @@ def modules_from_path(path: str | None, loaded_modules: set | None) -> list:
|
|
|
274
251
|
|
|
275
252
|
...
|
|
276
253
|
|
|
277
|
-
def preset_find(name, preset_path, display_name=False, ext=".py"):
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
...
|
|
281
|
-
|
|
282
|
-
def preset_find(name, preset_path, display_name=False, ext=".py"):
|
|
283
|
-
""" """
|
|
284
|
-
|
|
285
|
-
...
|
|
286
|
-
|
|
254
|
+
def preset_find(name, preset_path, display_name=False, ext=".py"): ...
|
|
255
|
+
def preset_find(name, preset_path, display_name=False, ext=".py"): ...
|
|
287
256
|
def preset_paths(subdir: str | None) -> list:
|
|
288
257
|
"""Returns a list of paths for a specific preset.
|
|
289
258
|
|
|
@@ -363,16 +332,8 @@ def register_cli_command(id: str | None, execute: typing.Callable | None):
|
|
|
363
332
|
|
|
364
333
|
...
|
|
365
334
|
|
|
366
|
-
def register_manual_map(manual_hook):
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
...
|
|
370
|
-
|
|
371
|
-
def register_manual_map(manual_hook):
|
|
372
|
-
""" """
|
|
373
|
-
|
|
374
|
-
...
|
|
375
|
-
|
|
335
|
+
def register_manual_map(manual_hook): ...
|
|
336
|
+
def register_manual_map(manual_hook): ...
|
|
376
337
|
def register_submodule_factory(
|
|
377
338
|
module_name: str | None, submodule_names: list[str] | None
|
|
378
339
|
):
|
|
@@ -604,26 +565,10 @@ def unregister_cli_command(handle):
|
|
|
604
565
|
|
|
605
566
|
...
|
|
606
567
|
|
|
607
|
-
def unregister_manual_map(manual_hook):
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
def unregister_manual_map(manual_hook):
|
|
613
|
-
""" """
|
|
614
|
-
|
|
615
|
-
...
|
|
616
|
-
|
|
617
|
-
def unregister_tool(tool_cls):
|
|
618
|
-
""" """
|
|
619
|
-
|
|
620
|
-
...
|
|
621
|
-
|
|
622
|
-
def unregister_tool(tool_cls):
|
|
623
|
-
""" """
|
|
624
|
-
|
|
625
|
-
...
|
|
626
|
-
|
|
568
|
+
def unregister_manual_map(manual_hook): ...
|
|
569
|
+
def unregister_manual_map(manual_hook): ...
|
|
570
|
+
def unregister_tool(tool_cls): ...
|
|
571
|
+
def unregister_tool(tool_cls): ...
|
|
627
572
|
def user_resource(
|
|
628
573
|
resource_type, path: str | None = "", create: bool | None = False
|
|
629
574
|
) -> str:
|
bpy/utils/previews/__init__.pyi
CHANGED
|
@@ -16,7 +16,8 @@ This allows scripts to generate their own previews, and use them as icons in UI
|
|
|
16
16
|
import typing
|
|
17
17
|
import bpy.types
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
20
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
20
21
|
|
|
21
22
|
class ImagePreviewCollection:
|
|
22
23
|
"""Dictionary-like class of previews.This is a subclass of Python's built-in dict type,
|
bpy/utils/units/__init__.pyi
CHANGED
|
@@ -5,7 +5,8 @@ This module contains some data/methods regarding units handling.
|
|
|
5
5
|
|
|
6
6
|
import typing
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
9
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
9
10
|
|
|
10
11
|
def to_string(
|
|
11
12
|
unit_system: str | None,
|
bpy_extras/__init__.pyi
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import bpy.types
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
5
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
6
|
|
|
6
7
|
class BakeOptions:
|
|
7
8
|
"""BakeOptions(only_selected: bool, do_pose: bool, do_object: bool, do_visual_keying: bool, do_constraint_clear: bool, do_parents_clear: bool, do_clean: bool, do_location: bool, do_rotation: bool, do_scale: bool, do_bbone: bool, do_custom_props: bool)"""
|
|
@@ -15,7 +16,6 @@ class KeyframesCo:
|
|
|
15
16
|
"""
|
|
16
17
|
|
|
17
18
|
keyframes_from_fcurve: typing.Any
|
|
18
|
-
""" """
|
|
19
19
|
|
|
20
20
|
def add_paths(self, rna_path, total_indices):
|
|
21
21
|
"""
|
|
@@ -5,13 +5,11 @@ Helpers for asset management tasks.
|
|
|
5
5
|
|
|
6
6
|
import typing
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
9
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
9
10
|
|
|
10
11
|
class AssetBrowserPanel:
|
|
11
|
-
""" """
|
|
12
|
-
|
|
13
12
|
bl_space_type: typing.Any
|
|
14
|
-
""" """
|
|
15
13
|
|
|
16
14
|
def asset_browser_panel_poll(self, context):
|
|
17
15
|
"""
|
|
@@ -28,13 +26,8 @@ class AssetBrowserPanel:
|
|
|
28
26
|
...
|
|
29
27
|
|
|
30
28
|
class AssetMetaDataPanel:
|
|
31
|
-
""" """
|
|
32
|
-
|
|
33
29
|
bl_region_type: typing.Any
|
|
34
|
-
""" """
|
|
35
|
-
|
|
36
30
|
bl_space_type: typing.Any
|
|
37
|
-
""" """
|
|
38
31
|
|
|
39
32
|
def poll(self, context):
|
|
40
33
|
"""
|
|
@@ -44,8 +37,6 @@ class AssetMetaDataPanel:
|
|
|
44
37
|
...
|
|
45
38
|
|
|
46
39
|
class SpaceAssetInfo:
|
|
47
|
-
""" """
|
|
48
|
-
|
|
49
40
|
def get_active_asset(self, context):
|
|
50
41
|
"""
|
|
51
42
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
4
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
4
5
|
|
|
5
6
|
def bmesh_linked_uv_islands(bm, uv_layer) -> list:
|
|
6
7
|
"""Returns lists of faces connected by UV islands.For meshes use `bpy.types.Mesh.mesh_linked_uv_islands` instead.
|
|
@@ -13,7 +14,4 @@ def bmesh_linked_uv_islands(bm, uv_layer) -> list:
|
|
|
13
14
|
|
|
14
15
|
...
|
|
15
16
|
|
|
16
|
-
def match_uv(face, vert, uv, uv_layer):
|
|
17
|
-
""" """
|
|
18
|
-
|
|
19
|
-
...
|
|
17
|
+
def match_uv(face, vert, uv, uv_layer): ...
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
4
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
4
5
|
|
|
5
6
|
class JunctionModuleHandle:
|
|
6
|
-
""" """
|
|
7
|
-
|
|
8
7
|
def register_module(self):
|
|
9
8
|
"""Register the base module in sys.modules."""
|
|
10
9
|
...
|
|
@@ -33,10 +32,7 @@ class JunctionModuleHandle:
|
|
|
33
32
|
"""
|
|
34
33
|
...
|
|
35
34
|
|
|
36
|
-
def submodule_items(self):
|
|
37
|
-
""" """
|
|
38
|
-
...
|
|
39
|
-
|
|
35
|
+
def submodule_items(self): ...
|
|
40
36
|
def unregister_module(self):
|
|
41
37
|
"""Unregister the base module in sys.modules.
|
|
42
38
|
Keep everything except the modules name (allowing re-registration).
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
4
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
4
5
|
|
|
5
6
|
def get_all_referenced_ids(id, ref_map):
|
|
6
7
|
"""Return a set of IDs directly or indirectly referenced by id."""
|
bpy_extras/io_utils/__init__.pyi
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import bpy.types
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
5
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
6
|
|
|
6
7
|
class ExportHelper:
|
|
7
|
-
""" """
|
|
8
|
-
|
|
9
8
|
check_extension: typing.Any
|
|
10
|
-
""" """
|
|
11
9
|
|
|
12
10
|
def check(self, _context):
|
|
13
11
|
"""
|
|
@@ -25,8 +23,6 @@ class ExportHelper:
|
|
|
25
23
|
...
|
|
26
24
|
|
|
27
25
|
class ImportHelper:
|
|
28
|
-
""" """
|
|
29
|
-
|
|
30
26
|
def check(self, _context):
|
|
31
27
|
"""
|
|
32
28
|
|
|
@@ -312,22 +308,7 @@ def unique_name(
|
|
|
312
308
|
|
|
313
309
|
...
|
|
314
310
|
|
|
315
|
-
def unpack_face_list(list_of_tuples):
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
def unpack_face_list(list_of_tuples):
|
|
321
|
-
""" """
|
|
322
|
-
|
|
323
|
-
...
|
|
324
|
-
|
|
325
|
-
def unpack_list(list_of_tuples):
|
|
326
|
-
""" """
|
|
327
|
-
|
|
328
|
-
...
|
|
329
|
-
|
|
330
|
-
def unpack_list(list_of_tuples):
|
|
331
|
-
""" """
|
|
332
|
-
|
|
333
|
-
...
|
|
311
|
+
def unpack_face_list(list_of_tuples): ...
|
|
312
|
+
def unpack_face_list(list_of_tuples): ...
|
|
313
|
+
def unpack_list(list_of_tuples): ...
|
|
314
|
+
def unpack_list(list_of_tuples): ...
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
4
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
4
5
|
|
|
5
6
|
def addon_keymap_register(keymap_data):
|
|
6
7
|
"""Register a set of keymaps for addons using a list of keymaps.See 'blender_defaults.py' for examples of the format this takes."""
|
|
@@ -22,12 +23,5 @@ def addon_keymap_unregister(keymap_data):
|
|
|
22
23
|
|
|
23
24
|
...
|
|
24
25
|
|
|
25
|
-
def keyconfig_test(kc):
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
...
|
|
29
|
-
|
|
30
|
-
def keyconfig_test(kc):
|
|
31
|
-
""" """
|
|
32
|
-
|
|
33
|
-
...
|
|
26
|
+
def keyconfig_test(kc): ...
|
|
27
|
+
def keyconfig_test(kc): ...
|