fake-bpy-module 20250828__py3-none-any.whl → 20260118__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.
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_calltip/__init__.pyi +0 -13
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_import/__init__.pyi +0 -5
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_namespace/__init__.pyi +0 -11
- {bl_console_utils → _bl_console_utils}/autocomplete/intellisense/__init__.pyi +0 -10
- {bl_i18n_utils → _bl_i18n_utils}/__init__.pyi +1 -0
- {bl_i18n_utils → _bl_i18n_utils}/bl_extract_messages/__init__.pyi +1 -0
- {bl_i18n_utils → _bl_i18n_utils}/settings/__init__.pyi +2 -0
- _bl_i18n_utils/utils_spell_check/__init__.pyi +22 -0
- {bl_ui_utils → _bl_ui_utils}/__init__.pyi +1 -0
- _bpy_internal/__init__.pyi +3 -1
- _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/filesystem/__init__.pyi +5 -0
- _bpy_internal/filesystem/locking/__init__.pyi +28 -0
- _bpy_internal/platform/__init__.pyi +5 -0
- _bpy_types/__init__.pyi +115 -117
- {rna_info → _rna_info}/__init__.pyi +0 -1
- addon_utils/__init__.pyi +0 -13
- aud/__init__.pyi +66 -142
- bl_app_templates_system/Storyboarding/__init__.pyi +11 -0
- bl_app_templates_system/__init__.pyi +5 -0
- bl_app_templates_system/py.typed +0 -0
- bl_math/__init__.pyi +2 -12
- bl_operators/__init__.pyi +1 -0
- bl_operators/add_mesh_torus/__init__.pyi +0 -2
- bl_operators/anim/__init__.pyi +47 -24
- bl_operators/assets/__init__.pyi +0 -6
- bl_operators/bone_selection_sets/__init__.pyi +0 -28
- bl_operators/clip/__init__.pyi +0 -20
- bl_operators/connect_to_output/__init__.pyi +0 -2
- bl_operators/console/__init__.pyi +0 -10
- bl_operators/constraint/__init__.pyi +0 -8
- bl_operators/copy_global_transform/__init__.pyi +261 -0
- bl_operators/file/__init__.pyi +0 -6
- bl_operators/freestyle/__init__.pyi +0 -8
- bl_operators/geometry_nodes/__init__.pyi +0 -8
- bl_operators/grease_pencil/__init__.pyi +0 -2
- bl_operators/image/__init__.pyi +0 -10
- bl_operators/image_as_planes/__init__.pyi +0 -4
- bl_operators/mesh/__init__.pyi +0 -47
- bl_operators/node/__init__.pyi +277 -57
- bl_operators/object/__init__.pyi +0 -37
- bl_operators/object_align/__init__.pyi +0 -2
- bl_operators/object_quick_effects/__init__.pyi +0 -8
- bl_operators/object_randomize_transform/__init__.pyi +0 -2
- bl_operators/presets/__init__.pyi +1 -51
- bl_operators/rigidbody/__init__.pyi +0 -6
- bl_operators/screen_play_rendered_anim/__init__.pyi +0 -2
- bl_operators/sequencer/__init__.pyi +0 -16
- bl_operators/spreadsheet/__init__.pyi +0 -2
- bl_operators/userpref/__init__.pyi +0 -50
- bl_operators/uvcalc_follow_active/__init__.pyi +1 -3
- bl_operators/uvcalc_lightmap/__init__.pyi +0 -2
- bl_operators/uvcalc_transform/__init__.pyi +21 -12
- bl_operators/vertexpaint_dirt/__init__.pyi +0 -2
- bl_operators/view3d/__init__.pyi +0 -16
- bl_operators/wm/__init__.pyi +0 -92
- bl_operators/world/__init__.pyi +0 -2
- bl_ui/__init__.pyi +3 -4
- bl_ui/anim/__init__.pyi +0 -2
- bl_ui/asset_shelf/__init__.pyi +0 -2
- bl_ui/generic_ui_list/__init__.pyi +1 -17
- bl_ui/node_add_menu/__init__.pyi +261 -6
- bl_ui/node_add_menu_compositor/__init__.pyi +96 -80
- bl_ui/node_add_menu_geometry/__init__.pyi +266 -306
- bl_ui/node_add_menu_shader/__init__.pyi +49 -50
- bl_ui/node_add_menu_texture/__init__.pyi +16 -62
- bl_ui/properties_collection/__init__.pyi +0 -14
- bl_ui/properties_constraint/__init__.pyi +55 -209
- bl_ui/properties_data_armature/__init__.pyi +0 -36
- bl_ui/properties_data_bone/__init__.pyi +0 -20
- bl_ui/properties_data_camera/__init__.pyi +0 -30
- bl_ui/properties_data_curve/__init__.pyi +0 -30
- bl_ui/properties_data_curves/__init__.pyi +0 -16
- bl_ui/properties_data_empty/__init__.pyi +0 -4
- bl_ui/properties_data_grease_pencil/__init__.pyi +0 -40
- bl_ui/properties_data_lattice/__init__.pyi +0 -8
- bl_ui/properties_data_light/__init__.pyi +0 -20
- bl_ui/properties_data_lightprobe/__init__.pyi +0 -28
- bl_ui/properties_data_mesh/__init__.pyi +1 -42
- bl_ui/properties_data_metaball/__init__.pyi +0 -12
- bl_ui/properties_data_modifier/__init__.pyi +12 -19
- bl_ui/properties_data_pointcloud/__init__.pyi +0 -12
- bl_ui/properties_data_shaderfx/__init__.pyi +0 -2
- bl_ui/properties_data_speaker/__init__.pyi +0 -12
- bl_ui/properties_data_volume/__init__.pyi +0 -18
- bl_ui/properties_freestyle/__init__.pyi +0 -50
- bl_ui/properties_grease_pencil_common/__init__.pyi +0 -159
- bl_ui/properties_mask_common/__init__.pyi +0 -14
- bl_ui/properties_material/__init__.pyi +0 -32
- bl_ui/properties_material_gpencil/__init__.pyi +23 -45
- bl_ui/properties_object/__init__.pyi +35 -42
- bl_ui/properties_output/__init__.pyi +0 -40
- bl_ui/properties_paint_common/__init__.pyi +23 -19
- bl_ui/properties_particle/__init__.pyi +0 -106
- bl_ui/properties_physics_cloth/__init__.pyi +0 -28
- bl_ui/properties_physics_common/__init__.pyi +0 -2
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +0 -44
- bl_ui/properties_physics_field/__init__.pyi +0 -20
- bl_ui/properties_physics_fluid/__init__.pyi +0 -56
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +0 -2
- bl_ui/properties_physics_rigidbody/__init__.pyi +0 -16
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +0 -26
- bl_ui/properties_physics_softbody/__init__.pyi +0 -30
- bl_ui/properties_render/__init__.pyi +58 -86
- bl_ui/properties_scene/__init__.pyi +0 -34
- bl_ui/properties_strip/__init__.pyi +744 -0
- bl_ui/properties_strip_modifier/__init__.pyi +45 -0
- bl_ui/properties_texture/__init__.pyi +0 -54
- bl_ui/properties_view_layer/__init__.pyi +7 -28
- bl_ui/properties_workspace/__init__.pyi +0 -8
- bl_ui/properties_world/__init__.pyi +0 -22
- bl_ui/space_clip/__init__.pyi +82 -166
- bl_ui/space_console/__init__.pyi +0 -12
- bl_ui/space_dopesheet/__init__.pyi +67 -76
- bl_ui/space_filebrowser/__init__.pyi +0 -60
- bl_ui/space_graph/__init__.pyi +0 -66
- bl_ui/space_image/__init__.pyi +28 -162
- bl_ui/space_info/__init__.pyi +0 -12
- bl_ui/space_nla/__init__.pyi +0 -58
- bl_ui/space_node/__init__.pyi +99 -132
- bl_ui/space_outliner/__init__.pyi +0 -30
- bl_ui/space_properties/__init__.pyi +29 -6
- bl_ui/space_sequencer/__init__.pyi +159 -987
- bl_ui/space_spreadsheet/__init__.pyi +0 -6
- bl_ui/space_statusbar/__init__.pyi +0 -2
- bl_ui/space_text/__init__.pyi +0 -32
- bl_ui/space_time/__init__.pyi +29 -22
- bl_ui/space_toolsystem_toolbar/__init__.pyi +7 -2
- bl_ui/space_topbar/__init__.pyi +7 -52
- bl_ui/space_userpref/__init__.pyi +77 -225
- bl_ui/space_view3d/__init__.pyi +69 -551
- bl_ui/space_view3d_sidebar/__init__.pyi +127 -0
- bl_ui/space_view3d_toolbar/__init__.pyi +22 -799
- bl_ui/utils/__init__.pyi +0 -17
- blf/__init__.pyi +6 -50
- bmesh/__init__.pyi +0 -7
- bmesh/geometry/__init__.pyi +0 -3
- bmesh/ops/__init__.pyi +5 -450
- bmesh/types/__init__.pyi +298 -639
- bmesh/utils/__init__.pyi +16 -43
- bpy/app/__init__.pyi +66 -58
- bpy/app/icons/__init__.pyi +0 -6
- bpy/app/timers/__init__.pyi +0 -6
- bpy/app/translations/__init__.pyi +1 -16
- bpy/msgbus/__init__.pyi +1 -4
- bpy/ops/action/__init__.pyi +17 -186
- bpy/ops/anim/__init__.pyi +38 -279
- bpy/ops/armature/__init__.pyi +20 -191
- bpy/ops/asset/__init__.pyi +11 -97
- bpy/ops/boid/__init__.pyi +7 -38
- bpy/ops/brush/__init__.pyi +3 -104
- bpy/ops/buttons/__init__.pyi +4 -71
- bpy/ops/cachefile/__init__.pyi +2 -63
- bpy/ops/camera/__init__.pyi +0 -11
- bpy/ops/clip/__init__.pyi +43 -427
- bpy/ops/cloth/__init__.pyi +0 -5
- bpy/ops/collection/__init__.pyi +3 -35
- bpy/ops/console/__init__.pyi +10 -88
- bpy/ops/constraint/__init__.pyi +3 -80
- bpy/ops/curve/__init__.pyi +23 -254
- bpy/ops/curves/__init__.pyi +54 -149
- bpy/ops/cycles/__init__.pyi +1 -14
- bpy/ops/dpaint/__init__.pyi +3 -21
- bpy/ops/ed/__init__.pyi +10 -82
- bpy/ops/export_anim/__init__.pyi +2 -10
- bpy/ops/export_scene/__init__.pyi +1 -155
- bpy/ops/extensions/__init__.pyi +15 -150
- bpy/ops/file/__init__.pyi +29 -216
- bpy/ops/fluid/__init__.pyi +13 -70
- bpy/ops/font/__init__.pyi +10 -134
- bpy/ops/geometry/__init__.pyi +3 -124
- bpy/ops/gizmogroup/__init__.pyi +1 -12
- bpy/ops/gpencil/__init__.pyi +5 -49
- bpy/ops/graph/__init__.pyi +20 -315
- bpy/ops/grease_pencil/__init__.pyi +62 -523
- bpy/ops/image/__init__.pyi +19 -379
- bpy/ops/import_anim/__init__.pyi +2 -16
- bpy/ops/import_curve/__init__.pyi +0 -6
- bpy/ops/import_scene/__init__.pyi +0 -50
- bpy/ops/info/__init__.pyi +4 -35
- bpy/ops/lattice/__init__.pyi +3 -33
- bpy/ops/marker/__init__.pyi +4 -49
- bpy/ops/mask/__init__.pyi +17 -176
- bpy/ops/material/__init__.pyi +3 -15
- bpy/ops/mball/__init__.pyi +1 -30
- bpy/ops/mesh/__init__.pyi +34 -932
- bpy/ops/nla/__init__.pyi +22 -183
- bpy/ops/node/__init__.pyi +420 -625
- bpy/ops/object/__init__.pyi +197 -1239
- bpy/ops/outliner/__init__.pyi +47 -327
- bpy/ops/paint/__init__.pyi +29 -282
- bpy/ops/paintcurve/__init__.pyi +4 -36
- bpy/ops/palette/__init__.pyi +3 -27
- bpy/ops/particle/__init__.pyi +20 -160
- bpy/ops/pointcloud/__init__.pyi +3 -35
- bpy/ops/pose/__init__.pyi +29 -234
- bpy/ops/poselib/__init__.pyi +19 -66
- bpy/ops/preferences/__init__.pyi +9 -177
- bpy/ops/ptcache/__init__.pyi +5 -31
- bpy/ops/render/__init__.pyi +10 -68
- bpy/ops/rigidbody/__init__.pyi +6 -56
- bpy/ops/scene/__init__.pyi +23 -168
- bpy/ops/screen/__init__.pyi +36 -202
- bpy/ops/script/__init__.pyi +1 -12
- bpy/ops/sculpt/__init__.pyi +42 -313
- bpy/ops/sculpt_curves/__init__.pyi +6 -21
- bpy/ops/sequencer/__init__.pyi +187 -644
- bpy/ops/sound/__init__.pyi +3 -109
- bpy/ops/spreadsheet/__init__.pyi +5 -32
- bpy/ops/surface/__init__.pyi +0 -48
- bpy/ops/text/__init__.pyi +27 -225
- bpy/ops/text_editor/__init__.pyi +0 -5
- bpy/ops/texture/__init__.pyi +3 -18
- bpy/ops/transform/__init__.pyi +10 -382
- bpy/ops/ui/__init__.pyi +29 -154
- bpy/ops/uilist/__init__.pyi +0 -13
- bpy/ops/uv/__init__.pyi +195 -288
- bpy/ops/view2d/__init__.pyi +3 -73
- bpy/ops/view3d/__init__.pyi +37 -339
- bpy/ops/wm/__init__.pyi +129 -1317
- bpy/ops/workspace/__init__.pyi +7 -39
- bpy/ops/world/__init__.pyi +2 -10
- bpy/path/__init__.pyi +0 -34
- bpy/props/__init__.pyi +332 -203
- bpy/stub_internal/rna_enums/__init__.pyi +102 -82
- bpy/types/__init__.pyi +51712 -89245
- bpy/utils/__init__.pyi +4 -75
- bpy/utils/previews/__init__.pyi +1 -10
- bpy/utils/units/__init__.pyi +0 -12
- bpy_extras/anim_utils/__init__.pyi +24 -16
- bpy_extras/bmesh_utils/__init__.pyi +0 -1
- bpy_extras/id_map_utils/__init__.pyi +14 -6
- bpy_extras/image_utils/__init__.pyi +0 -9
- bpy_extras/io_utils/__init__.pyi +4 -23
- bpy_extras/keyconfig_utils/__init__.pyi +1 -1
- bpy_extras/mesh_utils/__init__.pyi +0 -12
- bpy_extras/node_shader_utils/__init__.pyi +0 -8
- bpy_extras/object_utils/__init__.pyi +0 -14
- bpy_extras/view3d_utils/__init__.pyi +0 -18
- {fake_bpy_module-20250828.dist-info → fake_bpy_module-20260118.dist-info}/METADATA +4 -1
- fake_bpy_module-20260118.dist-info/RECORD +385 -0
- {fake_bpy_module-20250828.dist-info → fake_bpy_module-20260118.dist-info}/top_level.txt +15 -14
- freestyle/chainingiterators/__init__.pyi +0 -22
- freestyle/functions/__init__.pyi +0 -139
- freestyle/predicates/__init__.pyi +0 -51
- freestyle/shaders/__init__.pyi +0 -65
- freestyle/types/__init__.pyi +139 -777
- freestyle/utils/ContextFunctions/__init__.pyi +0 -23
- freestyle/utils/__init__.pyi +0 -6
- gpu/capabilities/__init__.pyi +0 -21
- gpu/matrix/__init__.pyi +1 -10
- gpu/platform/__init__.pyi +0 -5
- gpu/shader/__init__.pyi +22 -6
- gpu/state/__init__.pyi +59 -38
- gpu/texture/__init__.pyi +0 -2
- gpu/types/__init__.pyi +84 -152
- gpu_extras/batch/__init__.pyi +0 -4
- gpu_extras/presets/__init__.pyi +6 -8
- idprop/types/__init__.pyi +6 -6
- imbuf/__init__.pyi +2 -9
- imbuf/types/__init__.pyi +5 -25
- keyingsets_builtins/__init__.pyi +1 -45
- mathutils/__init__.pyi +106 -2168
- mathutils/bvhtree/__init__.pyi +3 -25
- mathutils/geometry/__init__.pyi +41 -133
- mathutils/interpolate/__init__.pyi +3 -4
- mathutils/kdtree/__init__.pyi +0 -11
- mathutils/noise/__init__.pyi +0 -62
- fake_bpy_module-20250828.dist-info/RECORD +0 -370
- {animsys_refactor → _animsys_refactor}/__init__.pyi +0 -0
- {animsys_refactor → _animsys_refactor}/py.typed +0 -0
- {bl_console_utils → _bl_console_utils}/__init__.pyi +0 -0
- {bl_console_utils → _bl_console_utils}/autocomplete/__init__.pyi +0 -0
- {bl_console_utils → _bl_console_utils}/py.typed +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/merge_po/__init__.pyi +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/py.typed +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/utils/__init__.pyi +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/utils_cli/__init__.pyi +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/utils_languages_menu/__init__.pyi +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/utils_rtl/__init__.pyi +0 -0
- {bl_previews_utils → _bl_previews_utils}/__init__.pyi +0 -0
- {bl_previews_utils → _bl_previews_utils}/bl_previews_render/__init__.pyi +0 -0
- {bl_previews_utils → _bl_previews_utils}/py.typed +0 -0
- {bl_rna_utils → _bl_rna_utils}/__init__.pyi +0 -0
- {bl_rna_utils → _bl_rna_utils}/data_path/__init__.pyi +0 -0
- {bl_rna_utils → _bl_rna_utils}/py.typed +0 -0
- {bl_text_utils → _bl_text_utils}/__init__.pyi +0 -0
- {bl_text_utils → _bl_text_utils}/external_editor/__init__.pyi +0 -0
- {bl_text_utils → _bl_text_utils}/py.typed +0 -0
- {bl_ui_utils → _bl_ui_utils}/layout/__init__.pyi +0 -0
- {bl_ui_utils → _bl_ui_utils}/py.typed +0 -0
- /_bpy_internal/{freedesktop → platform/freedesktop}/__init__.pyi +0 -0
- {bpy_restrict_state → _bpy_restrict_state}/__init__.pyi +0 -0
- {bpy_restrict_state → _bpy_restrict_state}/py.typed +0 -0
- {console_python → _console_python}/__init__.pyi +0 -0
- {console_python → _console_python}/py.typed +0 -0
- {console_shell → _console_shell}/__init__.pyi +0 -0
- {console_shell → _console_shell}/py.typed +0 -0
- {graphviz_export → _graphviz_export}/__init__.pyi +0 -0
- {graphviz_export → _graphviz_export}/py.typed +0 -0
- {keyingsets_utils → _keyingsets_utils}/__init__.pyi +0 -0
- {keyingsets_utils → _keyingsets_utils}/py.typed +0 -0
- {rna_info → _rna_info}/py.typed +0 -0
- {rna_xml → _rna_xml}/__init__.pyi +0 -0
- {rna_xml → _rna_xml}/py.typed +0 -0
- {fake_bpy_module-20250828.dist-info → fake_bpy_module-20260118.dist-info}/WHEEL +0 -0
bpy/ops/workspace/__init__.pyi
CHANGED
|
@@ -8,11 +8,7 @@ def add(
|
|
|
8
8
|
undo: bool | None = None,
|
|
9
9
|
/,
|
|
10
10
|
) -> None:
|
|
11
|
-
"""Add a new workspace by duplicating the current one or appending one from the user configuration
|
|
12
|
-
|
|
13
|
-
:type execution_context: int | str | None
|
|
14
|
-
:type undo: bool | None
|
|
15
|
-
"""
|
|
11
|
+
"""Add a new workspace by duplicating the current one or appending one from the user configuration"""
|
|
16
12
|
|
|
17
13
|
def append_activate(
|
|
18
14
|
execution_context: int | str | None = None,
|
|
@@ -24,12 +20,8 @@ def append_activate(
|
|
|
24
20
|
) -> None:
|
|
25
21
|
"""Append a workspace and make it the active one in the current window
|
|
26
22
|
|
|
27
|
-
:type execution_context: int | str | None
|
|
28
|
-
:type undo: bool | None
|
|
29
23
|
:param idname: Identifier, Name of the workspace to append and activate
|
|
30
|
-
:type idname: str
|
|
31
24
|
:param filepath: Filepath, Path to the library
|
|
32
|
-
:type filepath: str | None
|
|
33
25
|
"""
|
|
34
26
|
|
|
35
27
|
def delete(
|
|
@@ -37,63 +29,39 @@ def delete(
|
|
|
37
29
|
undo: bool | None = None,
|
|
38
30
|
/,
|
|
39
31
|
) -> None:
|
|
40
|
-
"""Delete the active workspace
|
|
41
|
-
|
|
42
|
-
:type execution_context: int | str | None
|
|
43
|
-
:type undo: bool | None
|
|
44
|
-
"""
|
|
32
|
+
"""Delete the active workspace"""
|
|
45
33
|
|
|
46
34
|
def delete_all_others(
|
|
47
35
|
execution_context: int | str | None = None,
|
|
48
36
|
undo: bool | None = None,
|
|
49
37
|
/,
|
|
50
38
|
) -> None:
|
|
51
|
-
"""Delete all workspaces except this one
|
|
52
|
-
|
|
53
|
-
:type execution_context: int | str | None
|
|
54
|
-
:type undo: bool | None
|
|
55
|
-
"""
|
|
39
|
+
"""Delete all workspaces except this one"""
|
|
56
40
|
|
|
57
41
|
def duplicate(
|
|
58
42
|
execution_context: int | str | None = None,
|
|
59
43
|
undo: bool | None = None,
|
|
60
44
|
/,
|
|
61
45
|
) -> None:
|
|
62
|
-
"""Add a new workspace
|
|
63
|
-
|
|
64
|
-
:type execution_context: int | str | None
|
|
65
|
-
:type undo: bool | None
|
|
66
|
-
"""
|
|
46
|
+
"""Add a new workspace"""
|
|
67
47
|
|
|
68
48
|
def reorder_to_back(
|
|
69
49
|
execution_context: int | str | None = None,
|
|
70
50
|
undo: bool | None = None,
|
|
71
51
|
/,
|
|
72
52
|
) -> None:
|
|
73
|
-
"""Reorder workspace to be last in the list
|
|
74
|
-
|
|
75
|
-
:type execution_context: int | str | None
|
|
76
|
-
:type undo: bool | None
|
|
77
|
-
"""
|
|
53
|
+
"""Reorder workspace to be last in the list"""
|
|
78
54
|
|
|
79
55
|
def reorder_to_front(
|
|
80
56
|
execution_context: int | str | None = None,
|
|
81
57
|
undo: bool | None = None,
|
|
82
58
|
/,
|
|
83
59
|
) -> None:
|
|
84
|
-
"""Reorder workspace to be first in the list
|
|
85
|
-
|
|
86
|
-
:type execution_context: int | str | None
|
|
87
|
-
:type undo: bool | None
|
|
88
|
-
"""
|
|
60
|
+
"""Reorder workspace to be first in the list"""
|
|
89
61
|
|
|
90
62
|
def scene_pin_toggle(
|
|
91
63
|
execution_context: int | str | None = None,
|
|
92
64
|
undo: bool | None = None,
|
|
93
65
|
/,
|
|
94
66
|
) -> None:
|
|
95
|
-
"""Remember the last used scene for the current workspace and switch to it whenever this workspace is activated again
|
|
96
|
-
|
|
97
|
-
:type execution_context: int | str | None
|
|
98
|
-
:type undo: bool | None
|
|
99
|
-
"""
|
|
67
|
+
"""Remember the last used scene for the current workspace and switch to it whenever this workspace is activated again"""
|
bpy/ops/world/__init__.pyi
CHANGED
|
@@ -8,19 +8,11 @@ def convert_volume_to_mesh(
|
|
|
8
8
|
undo: bool | None = None,
|
|
9
9
|
/,
|
|
10
10
|
) -> None:
|
|
11
|
-
"""Convert the volume of a world to a mesh. The worlds volume used to be rendered by EEVEE Legacy. Conversion is needed for it to render properly
|
|
12
|
-
|
|
13
|
-
:type execution_context: int | str | None
|
|
14
|
-
:type undo: bool | None
|
|
15
|
-
"""
|
|
11
|
+
"""Convert the volume of a world to a mesh. The worlds volume used to be rendered by EEVEE Legacy. Conversion is needed for it to render properly"""
|
|
16
12
|
|
|
17
13
|
def new(
|
|
18
14
|
execution_context: int | str | None = None,
|
|
19
15
|
undo: bool | None = None,
|
|
20
16
|
/,
|
|
21
17
|
) -> None:
|
|
22
|
-
"""Create a new world Data-Block
|
|
23
|
-
|
|
24
|
-
:type execution_context: int | str | None
|
|
25
|
-
:type undo: bool | None
|
|
26
|
-
"""
|
|
18
|
+
"""Create a new world Data-Block"""
|
bpy/path/__init__.pyi
CHANGED
|
@@ -18,19 +18,15 @@ def abspath(
|
|
|
18
18
|
|
|
19
19
|
:param start: Relative to this path,
|
|
20
20
|
when not set the current filename is used.
|
|
21
|
-
:type start: bytes | str | None
|
|
22
21
|
:param library: The library this path is from. This is only included for
|
|
23
22
|
convenience, when the library is not None its path replaces start.
|
|
24
|
-
:type library: bpy.types.Library | None
|
|
25
23
|
:return: The absolute path.
|
|
26
|
-
:rtype: str
|
|
27
24
|
"""
|
|
28
25
|
|
|
29
26
|
def basename(path) -> str:
|
|
30
27
|
"""Equivalent to os.path.basename, but skips a "//" prefix.Use for Windows compatibility.
|
|
31
28
|
|
|
32
29
|
:return: The base name of the given path.
|
|
33
|
-
:rtype: str
|
|
34
30
|
"""
|
|
35
31
|
|
|
36
32
|
def clean_name(name: bytes | str, *, replace: str = "_") -> str:
|
|
@@ -40,11 +36,8 @@ def clean_name(name: bytes | str, *, replace: str = "_") -> str:
|
|
|
40
36
|
or the replace argument if defined.
|
|
41
37
|
|
|
42
38
|
:param name: The path name.
|
|
43
|
-
:type name: bytes | str
|
|
44
39
|
:param replace: The replacement for non-valid characters.
|
|
45
|
-
:type replace: str
|
|
46
40
|
:return: The cleaned name.
|
|
47
|
-
:rtype: str
|
|
48
41
|
"""
|
|
49
42
|
|
|
50
43
|
def display_name(name: str, *, has_ext: bool = True, title_case: bool = True) -> str:
|
|
@@ -52,13 +45,9 @@ def display_name(name: str, *, has_ext: bool = True, title_case: bool = True) ->
|
|
|
52
45
|
Intended for use with filenames and module names.
|
|
53
46
|
|
|
54
47
|
:param name: The name to be used for displaying the user interface.
|
|
55
|
-
:type name: str
|
|
56
48
|
:param has_ext: Remove file extension from name.
|
|
57
|
-
:type has_ext: bool
|
|
58
49
|
:param title_case: Convert lowercase names to title case.
|
|
59
|
-
:type title_case: bool
|
|
60
50
|
:return: The display string.
|
|
61
|
-
:rtype: str
|
|
62
51
|
"""
|
|
63
52
|
|
|
64
53
|
def display_name_from_filepath(name: str) -> str:
|
|
@@ -66,9 +55,7 @@ def display_name_from_filepath(name: str) -> str:
|
|
|
66
55
|
ensured to be utf8 compatible.
|
|
67
56
|
|
|
68
57
|
:param name: The file path to convert.
|
|
69
|
-
:type name: str
|
|
70
58
|
:return: The display name.
|
|
71
|
-
:rtype: str
|
|
72
59
|
"""
|
|
73
60
|
|
|
74
61
|
def display_name_to_filepath(name: str) -> str:
|
|
@@ -76,23 +63,17 @@ def display_name_to_filepath(name: str) -> str:
|
|
|
76
63
|
which arent supported in a filepath.
|
|
77
64
|
|
|
78
65
|
:param name: The display name to convert.
|
|
79
|
-
:type name: str
|
|
80
66
|
:return: The file path.
|
|
81
|
-
:rtype: str
|
|
82
67
|
"""
|
|
83
68
|
|
|
84
69
|
def ensure_ext(filepath: str, ext: str, *, case_sensitive: bool = False) -> str:
|
|
85
70
|
"""Return the path with the extension added if it is not already set.
|
|
86
71
|
|
|
87
72
|
:param filepath: The file path.
|
|
88
|
-
:type filepath: str
|
|
89
73
|
:param ext: The extension to check for, can be a compound extension. Should
|
|
90
74
|
start with a dot, such as .blend or .tar.gz.
|
|
91
|
-
:type ext: str
|
|
92
75
|
:param case_sensitive: Check for matching case when comparing extensions.
|
|
93
|
-
:type case_sensitive: bool
|
|
94
76
|
:return: The file path with the given extension.
|
|
95
|
-
:rtype: str
|
|
96
77
|
"""
|
|
97
78
|
|
|
98
79
|
def is_subdir(path: bytes | str, directory) -> bool:
|
|
@@ -100,9 +81,7 @@ def is_subdir(path: bytes | str, directory) -> bool:
|
|
|
100
81
|
Both paths must be absolute.
|
|
101
82
|
|
|
102
83
|
:param path: An absolute path.
|
|
103
|
-
:type path: bytes | str
|
|
104
84
|
:return: Whether or not the path is a subdirectory.
|
|
105
|
-
:rtype: bool
|
|
106
85
|
"""
|
|
107
86
|
|
|
108
87
|
def module_names(
|
|
@@ -111,22 +90,16 @@ def module_names(
|
|
|
111
90
|
"""Return a list of modules which can be imported from path.
|
|
112
91
|
|
|
113
92
|
:param path: a directory to scan.
|
|
114
|
-
:type path: str
|
|
115
93
|
:param recursive: Also return submodule names for packages.
|
|
116
|
-
:type recursive: bool
|
|
117
94
|
:param package: Optional string, used as the prefix for module names (without the trailing ".").
|
|
118
|
-
:type package: str
|
|
119
95
|
:return: a list of string pairs (module_name, module_file).
|
|
120
|
-
:rtype: list[tuple[str, str]]
|
|
121
96
|
"""
|
|
122
97
|
|
|
123
98
|
def native_pathsep(path: str) -> str:
|
|
124
99
|
"""Replace the path separator with the systems native os.sep.
|
|
125
100
|
|
|
126
101
|
:param path: The path to replace.
|
|
127
|
-
:type path: str
|
|
128
102
|
:return: The path with system native separators.
|
|
129
|
-
:rtype: str
|
|
130
103
|
"""
|
|
131
104
|
|
|
132
105
|
def reduce_dirs(dirs: collections.abc.Sequence[str]) -> list[str]:
|
|
@@ -135,21 +108,16 @@ def reduce_dirs(dirs: collections.abc.Sequence[str]) -> list[str]:
|
|
|
135
108
|
(Useful for recursive path searching).
|
|
136
109
|
|
|
137
110
|
:param dirs: Sequence of directory paths.
|
|
138
|
-
:type dirs: collections.abc.Sequence[str]
|
|
139
111
|
:return: A unique list of paths.
|
|
140
|
-
:rtype: list[str]
|
|
141
112
|
"""
|
|
142
113
|
|
|
143
114
|
def relpath(path: bytes | str, *, start: bytes | str | None = None) -> str:
|
|
144
115
|
"""Returns the path relative to the current blend file using the "//" prefix.
|
|
145
116
|
|
|
146
117
|
:param path: An absolute path.
|
|
147
|
-
:type path: bytes | str
|
|
148
118
|
:param start: Relative to this path,
|
|
149
119
|
when not set the current filename is used.
|
|
150
|
-
:type start: bytes | str | None
|
|
151
120
|
:return: The relative path.
|
|
152
|
-
:rtype: str
|
|
153
121
|
"""
|
|
154
122
|
|
|
155
123
|
def resolve_ncase(path: str) -> str:
|
|
@@ -157,7 +125,5 @@ def resolve_ncase(path: str) -> str:
|
|
|
157
125
|
returning a string with the path if found else return the original path.
|
|
158
126
|
|
|
159
127
|
:param path: The path name to resolve.
|
|
160
|
-
:type path: str
|
|
161
128
|
:return: The resolved path.
|
|
162
|
-
:rtype: str
|
|
163
129
|
"""
|