fake-bpy-module 20240914__py3-none-any.whl → 20240916__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 -2
- _bpy_internal/addons/__init__.pyi +2 -2
- _bpy_internal/addons/cli/__init__.pyi +2 -2
- _bpy_internal/extensions/__init__.pyi +2 -2
- _bpy_internal/extensions/junction_module/__init__.pyi +2 -8
- _bpy_internal/extensions/stale_file_manager/__init__.pyi +2 -6
- _bpy_internal/extensions/wheel_manager/__init__.pyi +2 -6
- _bpy_internal/freedesktop/__init__.pyi +2 -2
- _bpy_internal/grease_pencil/__init__.pyi +2 -2
- _bpy_internal/grease_pencil/stroke/__init__.pyi +2 -16
- _bpy_internal/system_info/__init__.pyi +2 -2
- _bpy_internal/system_info/text_generate_runtime/__init__.pyi +2 -2
- _bpy_internal/system_info/url_prefill_runtime/__init__.pyi +2 -2
- _bpy_internal/system_info/url_prefill_startup/__init__.pyi +2 -2
- addon_utils/__init__.pyi +2 -12
- animsys_refactor/__init__.pyi +2 -3
- aud/__init__.pyi +2 -71
- bgl/__init__.pyi +2 -526
- bl_app_override/__init__.pyi +2 -2
- bl_app_override/helpers/__init__.pyi +2 -2
- bl_app_template_utils/__init__.pyi +2 -4
- bl_console_utils/__init__.pyi +2 -2
- bl_console_utils/autocomplete/__init__.pyi +2 -2
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +2 -12
- bl_console_utils/autocomplete/complete_import/__init__.pyi +2 -8
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -12
- bl_console_utils/autocomplete/intellisense/__init__.pyi +2 -6
- bl_i18n_utils/__init__.pyi +2 -2
- bl_i18n_utils/bl_extract_messages/__init__.pyi +2 -6
- bl_i18n_utils/merge_po/__init__.pyi +2 -2
- bl_i18n_utils/settings/__init__.pyi +2 -6
- bl_i18n_utils/utils/__init__.pyi +2 -45
- bl_i18n_utils/utils_cli/__init__.pyi +2 -2
- bl_i18n_utils/utils_languages_menu/__init__.pyi +2 -2
- bl_i18n_utils/utils_rtl/__init__.pyi +2 -6
- bl_keymap_utils/__init__.pyi +2 -2
- bl_keymap_utils/io/__init__.pyi +2 -4
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -4
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +2 -2
- bl_keymap_utils/platform_helpers/__init__.pyi +2 -4
- bl_keymap_utils/versioning/__init__.pyi +2 -2
- bl_math/__init__.pyi +2 -8
- bl_operators/__init__.pyi +2 -2
- bl_operators/add_mesh_torus/__init__.pyi +2 -8
- bl_operators/anim/__init__.pyi +2 -48
- bl_operators/assets/__init__.pyi +2 -17
- bl_operators/bmesh/__init__.pyi +2 -2
- bl_operators/bmesh/find_adjacent/__init__.pyi +2 -6
- bl_operators/bone_selection_sets/__init__.pyi +2 -46
- bl_operators/clip/__init__.pyi +2 -43
- bl_operators/connect_to_output/__init__.pyi +2 -18
- bl_operators/console/__init__.pyi +2 -22
- bl_operators/constraint/__init__.pyi +2 -18
- bl_operators/file/__init__.pyi +2 -14
- bl_operators/freestyle/__init__.pyi +2 -19
- bl_operators/geometry_nodes/__init__.pyi +2 -21
- bl_operators/image/__init__.pyi +2 -19
- bl_operators/image_as_planes/__init__.pyi +2 -43
- bl_operators/mesh/__init__.pyi +2 -15
- bl_operators/node/__init__.pyi +2 -41
- bl_operators/node_editor/__init__.pyi +2 -2
- bl_operators/node_editor/node_functions/__init__.pyi +2 -3
- bl_operators/object/__init__.pyi +2 -63
- bl_operators/object_align/__init__.pyi +2 -6
- bl_operators/object_quick_effects/__init__.pyi +2 -18
- bl_operators/object_randomize_transform/__init__.pyi +2 -6
- bl_operators/presets/__init__.pyi +2 -70
- bl_operators/rigidbody/__init__.pyi +2 -15
- bl_operators/screen_play_rendered_anim/__init__.pyi +2 -5
- bl_operators/sequencer/__init__.pyi +2 -36
- bl_operators/spreadsheet/__init__.pyi +2 -8
- bl_operators/userpref/__init__.pyi +2 -93
- bl_operators/uvcalc_follow_active/__init__.pyi +2 -7
- bl_operators/uvcalc_lightmap/__init__.pyi +2 -11
- bl_operators/uvcalc_transform/__init__.pyi +2 -19
- bl_operators/vertexpaint_dirt/__init__.pyi +2 -6
- bl_operators/view3d/__init__.pyi +2 -37
- bl_operators/wm/__init__.pyi +2 -168
- bl_operators/world/__init__.pyi +2 -6
- bl_previews_utils/__init__.pyi +2 -2
- bl_previews_utils/bl_previews_render/__init__.pyi +2 -2
- bl_rna_utils/__init__.pyi +2 -2
- bl_rna_utils/data_path/__init__.pyi +2 -6
- bl_text_utils/__init__.pyi +2 -2
- bl_text_utils/external_editor/__init__.pyi +2 -2
- bl_ui/__init__.pyi +2 -11
- bl_ui/anim/__init__.pyi +2 -5
- bl_ui/asset_shelf/__init__.pyi +2 -6
- bl_ui/generic_ui_list/__init__.pyi +2 -16
- bl_ui/node_add_menu/__init__.pyi +2 -11
- bl_ui/node_add_menu_compositor/__init__.pyi +2 -53
- bl_ui/node_add_menu_geometry/__init__.pyi +2 -152
- bl_ui/node_add_menu_shader/__init__.pyi +2 -31
- bl_ui/node_add_menu_texture/__init__.pyi +2 -29
- bl_ui/properties_animviz/__init__.pyi +2 -4
- bl_ui/properties_collection/__init__.pyi +2 -20
- bl_ui/properties_constraint/__init__.pyi +2 -288
- bl_ui/properties_data_armature/__init__.pyi +2 -60
- bl_ui/properties_data_bone/__init__.pyi +2 -42
- bl_ui/properties_data_camera/__init__.pyi +2 -51
- bl_ui/properties_data_curve/__init__.pyi +2 -58
- bl_ui/properties_data_curves/__init__.pyi +2 -24
- bl_ui/properties_data_empty/__init__.pyi +2 -10
- bl_ui/properties_data_gpencil/__init__.pyi +2 -57
- bl_ui/properties_data_grease_pencil/__init__.pyi +2 -49
- bl_ui/properties_data_lattice/__init__.pyi +2 -14
- bl_ui/properties_data_light/__init__.pyi +2 -50
- bl_ui/properties_data_lightprobe/__init__.pyi +2 -48
- bl_ui/properties_data_mesh/__init__.pyi +2 -69
- bl_ui/properties_data_metaball/__init__.pyi +2 -20
- bl_ui/properties_data_modifier/__init__.pyi +2 -36
- bl_ui/properties_data_pointcloud/__init__.pyi +2 -19
- bl_ui/properties_data_shaderfx/__init__.pyi +2 -5
- bl_ui/properties_data_speaker/__init__.pyi +2 -19
- bl_ui/properties_data_volume/__init__.pyi +2 -29
- bl_ui/properties_freestyle/__init__.pyi +2 -98
- bl_ui/properties_grease_pencil_common/__init__.pyi +2 -74
- bl_ui/properties_mask_common/__init__.pyi +2 -37
- bl_ui/properties_material/__init__.pyi +2 -59
- bl_ui/properties_material_gpencil/__init__.pyi +2 -36
- bl_ui/properties_object/__init__.pyi +2 -52
- bl_ui/properties_output/__init__.pyi +2 -65
- bl_ui/properties_paint_common/__init__.pyi +2 -41
- bl_ui/properties_particle/__init__.pyi +2 -205
- bl_ui/properties_physics_cloth/__init__.pyi +2 -49
- bl_ui/properties_physics_common/__init__.pyi +2 -6
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +2 -103
- bl_ui/properties_physics_field/__init__.pyi +2 -44
- bl_ui/properties_physics_fluid/__init__.pyi +2 -134
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +2 -7
- bl_ui/properties_physics_rigidbody/__init__.pyi +2 -35
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2 -57
- bl_ui/properties_physics_softbody/__init__.pyi +2 -52
- bl_ui/properties_render/__init__.pyi +2 -220
- bl_ui/properties_scene/__init__.pyi +2 -55
- bl_ui/properties_texture/__init__.pyi +2 -93
- bl_ui/properties_view_layer/__init__.pyi +2 -47
- bl_ui/properties_workspace/__init__.pyi +2 -15
- bl_ui/properties_world/__init__.pyi +2 -42
- bl_ui/space_clip/__init__.pyi +2 -224
- bl_ui/space_console/__init__.pyi +2 -20
- bl_ui/space_dopesheet/__init__.pyi +2 -96
- bl_ui/space_filebrowser/__init__.pyi +2 -99
- bl_ui/space_graph/__init__.pyi +2 -62
- bl_ui/space_image/__init__.pyi +2 -211
- bl_ui/space_info/__init__.pyi +2 -20
- bl_ui/space_nla/__init__.pyi +2 -54
- bl_ui/space_node/__init__.pyi +2 -100
- bl_ui/space_outliner/__init__.pyi +2 -48
- bl_ui/space_properties/__init__.pyi +2 -14
- bl_ui/space_sequencer/__init__.pyi +2 -280
- bl_ui/space_spreadsheet/__init__.pyi +2 -11
- bl_ui/space_statusbar/__init__.pyi +2 -5
- bl_ui/space_text/__init__.pyi +2 -51
- bl_ui/space_time/__init__.pyi +2 -27
- bl_ui/space_toolsystem_common/__init__.pyi +2 -13
- bl_ui/space_toolsystem_toolbar/__init__.pyi +2 -36
- bl_ui/space_topbar/__init__.pyi +2 -86
- bl_ui/space_userpref/__init__.pyi +2 -313
- bl_ui/space_view3d/__init__.pyi +2 -881
- bl_ui/space_view3d_toolbar/__init__.pyi +2 -344
- bl_ui/utils/__init__.pyi +2 -5
- bl_ui_utils/__init__.pyi +2 -2
- bl_ui_utils/layout/__init__.pyi +2 -4
- blend_render_info/__init__.pyi +2 -4
- blf/__init__.pyi +2 -32
- bmesh/__init__.pyi +2 -8
- bmesh/geometry/__init__.pyi +2 -4
- bmesh/ops/__init__.pyi +2 -162
- bmesh/types/__init__.pyi +19 -133
- bmesh/utils/__init__.pyi +2 -28
- bpy/__init__.pyi +2 -2
- bpy/app/__init__.pyi +2 -6
- bpy/app/handlers/__init__.pyi +2 -2
- bpy/app/icons/__init__.pyi +2 -8
- bpy/app/timers/__init__.pyi +2 -8
- bpy/app/translations/__init__.pyi +2 -20
- bpy/msgbus/__init__.pyi +2 -8
- bpy/ops/__init__.pyi +2 -2
- bpy/ops/action/__init__.pyi +15 -110
- bpy/ops/anim/__init__.pyi +2 -118
- bpy/ops/armature/__init__.pyi +2 -98
- bpy/ops/asset/__init__.pyi +2 -34
- bpy/ops/boid/__init__.pyi +5 -30
- bpy/ops/brush/__init__.pyi +5 -31
- bpy/ops/buttons/__init__.pyi +2 -14
- bpy/ops/cachefile/__init__.pyi +2 -12
- bpy/ops/camera/__init__.pyi +2 -6
- bpy/ops/clip/__init__.pyi +5 -188
- bpy/ops/cloth/__init__.pyi +2 -4
- bpy/ops/collection/__init__.pyi +2 -20
- bpy/ops/console/__init__.pyi +2 -44
- bpy/ops/constraint/__init__.pyi +2 -38
- bpy/ops/curve/__init__.pyi +7 -143
- bpy/ops/curves/__init__.pyi +11 -64
- bpy/ops/cycles/__init__.pyi +2 -8
- bpy/ops/dpaint/__init__.pyi +5 -14
- bpy/ops/ed/__init__.pyi +2 -26
- bpy/ops/export_anim/__init__.pyi +2 -4
- bpy/ops/export_scene/__init__.pyi +2 -6
- bpy/ops/extensions/__init__.pyi +2 -70
- bpy/ops/file/__init__.pyi +2 -82
- bpy/ops/fluid/__init__.pyi +2 -30
- bpy/ops/font/__init__.pyi +2 -48
- bpy/ops/geometry/__init__.pyi +21 -75
- bpy/ops/gizmogroup/__init__.pyi +2 -6
- bpy/ops/gpencil/__init__.pyi +2 -286
- bpy/ops/graph/__init__.pyi +19 -213
- bpy/ops/grease_pencil/__init__.pyi +9 -196
- bpy/ops/image/__init__.pyi +11 -111
- bpy/ops/import_anim/__init__.pyi +2 -4
- bpy/ops/import_curve/__init__.pyi +2 -4
- bpy/ops/import_scene/__init__.pyi +2 -6
- bpy/ops/info/__init__.pyi +2 -16
- bpy/ops/lattice/__init__.pyi +5 -20
- bpy/ops/marker/__init__.pyi +2 -24
- bpy/ops/mask/__init__.pyi +2 -80
- bpy/ops/material/__init__.pyi +2 -8
- bpy/ops/mball/__init__.pyi +2 -18
- bpy/ops/mesh/__init__.pyi +45 -467
- bpy/ops/nla/__init__.pyi +5 -92
- bpy/ops/node/__init__.pyi +5 -215
- bpy/ops/object/__init__.pyi +73 -870
- bpy/ops/outliner/__init__.pyi +7 -200
- bpy/ops/paint/__init__.pyi +9 -116
- bpy/ops/paintcurve/__init__.pyi +2 -18
- bpy/ops/palette/__init__.pyi +2 -16
- bpy/ops/particle/__init__.pyi +2 -74
- bpy/ops/pose/__init__.pyi +15 -180
- bpy/ops/poselib/__init__.pyi +2 -20
- bpy/ops/preferences/__init__.pyi +2 -72
- bpy/ops/ptcache/__init__.pyi +2 -16
- bpy/ops/render/__init__.pyi +2 -28
- bpy/ops/rigidbody/__init__.pyi +11 -56
- bpy/ops/scene/__init__.pyi +11 -131
- bpy/ops/screen/__init__.pyi +9 -142
- bpy/ops/script/__init__.pyi +2 -8
- bpy/ops/sculpt/__init__.pyi +2 -74
- bpy/ops/sculpt_curves/__init__.pyi +2 -10
- bpy/ops/sequencer/__init__.pyi +5 -194
- bpy/ops/sound/__init__.pyi +5 -21
- bpy/ops/spreadsheet/__init__.pyi +2 -10
- bpy/ops/surface/__init__.pyi +2 -14
- bpy/ops/text/__init__.pyi +2 -88
- bpy/ops/text_editor/__init__.pyi +2 -4
- bpy/ops/texture/__init__.pyi +2 -10
- bpy/ops/transform/__init__.pyi +75 -400
- bpy/ops/ui/__init__.pyi +2 -68
- bpy/ops/uilist/__init__.pyi +2 -8
- bpy/ops/uv/__init__.pyi +5 -102
- bpy/ops/view2d/__init__.pyi +2 -30
- bpy/ops/view3d/__init__.pyi +2 -136
- bpy/ops/wm/__init__.pyi +17 -259
- bpy/ops/workspace/__init__.pyi +2 -16
- bpy/ops/world/__init__.pyi +2 -6
- bpy/path/__init__.pyi +2 -28
- bpy/props/__init__.pyi +2 -24
- bpy/types/__init__.pyi +1937 -31353
- bpy/typing/__init__.pyi +2490 -0
- bpy/utils/__init__.pyi +4 -74
- bpy/utils/previews/__init__.pyi +2 -10
- bpy/utils/units/__init__.pyi +2 -6
- bpy_extras/__init__.pyi +2 -2
- bpy_extras/anim_utils/__init__.pyi +2 -17
- bpy_extras/asset_utils/__init__.pyi +2 -5
- bpy_extras/bmesh_utils/__init__.pyi +2 -4
- bpy_extras/id_map_utils/__init__.pyi +2 -8
- bpy_extras/image_utils/__init__.pyi +2 -4
- bpy_extras/io_utils/__init__.pyi +2 -23
- bpy_extras/keyconfig_utils/__init__.pyi +2 -6
- bpy_extras/mesh_utils/__init__.pyi +2 -16
- bpy_extras/node_shader_utils/__init__.pyi +2 -23
- bpy_extras/node_utils/__init__.pyi +2 -6
- bpy_extras/object_utils/__init__.pyi +2 -15
- bpy_extras/view3d_utils/__init__.pyi +2 -10
- bpy_extras/wm_utils/__init__.pyi +2 -2
- bpy_extras/wm_utils/progress_report/__init__.pyi +2 -10
- bpy_restrict_state/__init__.pyi +2 -2
- bpy_types/__init__.pyi +2 -5
- console_python/__init__.pyi +2 -4
- console_shell/__init__.pyi +2 -2
- {fake_bpy_module-20240914.dist-info → fake_bpy_module-20240916.dist-info}/METADATA +1 -1
- fake_bpy_module-20240916.dist-info/RECORD +365 -0
- {fake_bpy_module-20240914.dist-info → fake_bpy_module-20240916.dist-info}/WHEEL +1 -1
- freestyle/__init__.pyi +2 -2
- freestyle/chainingiterators/__init__.pyi +2 -25
- freestyle/functions/__init__.pyi +2 -109
- freestyle/predicates/__init__.pyi +2 -30
- freestyle/shaders/__init__.pyi +2 -77
- freestyle/types/__init__.pyi +2 -192
- freestyle/utils/ContextFunctions/__init__.pyi +2 -20
- freestyle/utils/__init__.pyi +5 -51
- gpu/__init__.pyi +2 -2
- gpu/capabilities/__init__.pyi +2 -40
- gpu/matrix/__init__.pyi +2 -36
- gpu/platform/__init__.pyi +2 -12
- gpu/select/__init__.pyi +2 -4
- gpu/shader/__init__.pyi +2 -8
- gpu/state/__init__.pyi +2 -42
- gpu/texture/__init__.pyi +2 -4
- gpu/types/__init__.pyi +2 -54
- gpu_extras/__init__.pyi +2 -2
- gpu_extras/batch/__init__.pyi +2 -4
- gpu_extras/presets/__init__.pyi +2 -6
- graphviz_export/__init__.pyi +2 -2
- idprop/__init__.pyi +2 -2
- idprop/types/__init__.pyi +2 -11
- imbuf/__init__.pyi +2 -8
- imbuf/types/__init__.pyi +2 -6
- keyingsets_builtins/__init__.pyi +2 -70
- keyingsets_utils/__init__.pyi +2 -2
- mathutils/__init__.pyi +38 -228
- mathutils/bvhtree/__init__.pyi +2 -10
- mathutils/geometry/__init__.pyi +2 -54
- mathutils/interpolate/__init__.pyi +2 -4
- mathutils/kdtree/__init__.pyi +2 -8
- mathutils/noise/__init__.pyi +2 -36
- nodeitems_builtins/__init__.pyi +2 -4
- nodeitems_utils/__init__.pyi +2 -4
- rna_info/__init__.pyi +2 -7
- rna_keymap_ui/__init__.pyi +2 -2
- rna_prop_ui/__init__.pyi +2 -6
- rna_xml/__init__.pyi +2 -2
- fake_bpy_module-20240914.dist-info/RECORD +0 -364
- {fake_bpy_module-20240914.dist-info → fake_bpy_module-20240916.dist-info}/top_level.txt +0 -0
bpy/ops/workspace/__init__.pyi
CHANGED
|
@@ -3,8 +3,8 @@ import collections.abc
|
|
|
3
3
|
import typing_extensions
|
|
4
4
|
import bpy.types
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
7
|
+
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
8
8
|
|
|
9
9
|
def add(
|
|
10
10
|
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
@@ -18,8 +18,6 @@ def add(
|
|
|
18
18
|
:type undo: bool | None
|
|
19
19
|
"""
|
|
20
20
|
|
|
21
|
-
...
|
|
22
|
-
|
|
23
21
|
def append_activate(
|
|
24
22
|
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
25
23
|
execution_context: int | str | None = None,
|
|
@@ -39,8 +37,6 @@ def append_activate(
|
|
|
39
37
|
:type filepath: str
|
|
40
38
|
"""
|
|
41
39
|
|
|
42
|
-
...
|
|
43
|
-
|
|
44
40
|
def delete(
|
|
45
41
|
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
46
42
|
execution_context: int | str | None = None,
|
|
@@ -53,8 +49,6 @@ def delete(
|
|
|
53
49
|
:type undo: bool | None
|
|
54
50
|
"""
|
|
55
51
|
|
|
56
|
-
...
|
|
57
|
-
|
|
58
52
|
def duplicate(
|
|
59
53
|
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
60
54
|
execution_context: int | str | None = None,
|
|
@@ -67,8 +61,6 @@ def duplicate(
|
|
|
67
61
|
:type undo: bool | None
|
|
68
62
|
"""
|
|
69
63
|
|
|
70
|
-
...
|
|
71
|
-
|
|
72
64
|
def reorder_to_back(
|
|
73
65
|
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
74
66
|
execution_context: int | str | None = None,
|
|
@@ -81,8 +73,6 @@ def reorder_to_back(
|
|
|
81
73
|
:type undo: bool | None
|
|
82
74
|
"""
|
|
83
75
|
|
|
84
|
-
...
|
|
85
|
-
|
|
86
76
|
def reorder_to_front(
|
|
87
77
|
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
88
78
|
execution_context: int | str | None = None,
|
|
@@ -95,8 +85,6 @@ def reorder_to_front(
|
|
|
95
85
|
:type undo: bool | None
|
|
96
86
|
"""
|
|
97
87
|
|
|
98
|
-
...
|
|
99
|
-
|
|
100
88
|
def scene_pin_toggle(
|
|
101
89
|
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
102
90
|
execution_context: int | str | None = None,
|
|
@@ -108,5 +96,3 @@ def scene_pin_toggle(
|
|
|
108
96
|
:type execution_context: int | str | None
|
|
109
97
|
:type undo: bool | None
|
|
110
98
|
"""
|
|
111
|
-
|
|
112
|
-
...
|
bpy/ops/world/__init__.pyi
CHANGED
|
@@ -3,8 +3,8 @@ import collections.abc
|
|
|
3
3
|
import typing_extensions
|
|
4
4
|
import bpy.types
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
7
|
+
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
8
8
|
|
|
9
9
|
def convert_volume_to_mesh(
|
|
10
10
|
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
@@ -18,8 +18,6 @@ def convert_volume_to_mesh(
|
|
|
18
18
|
:type undo: bool | None
|
|
19
19
|
"""
|
|
20
20
|
|
|
21
|
-
...
|
|
22
|
-
|
|
23
21
|
def new(
|
|
24
22
|
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
25
23
|
execution_context: int | str | None = None,
|
|
@@ -31,5 +29,3 @@ def new(
|
|
|
31
29
|
:type execution_context: int | str | None
|
|
32
30
|
:type undo: bool | None
|
|
33
31
|
"""
|
|
34
|
-
|
|
35
|
-
...
|
bpy/path/__init__.pyi
CHANGED
|
@@ -9,8 +9,8 @@ import collections.abc
|
|
|
9
9
|
import typing_extensions
|
|
10
10
|
import bpy.types
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
13
|
+
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
14
14
|
|
|
15
15
|
def abspath(
|
|
16
16
|
path, *, start: bytes | str = None, library: bpy.types.Library = None
|
|
@@ -28,8 +28,6 @@ def abspath(
|
|
|
28
28
|
:rtype: str
|
|
29
29
|
"""
|
|
30
30
|
|
|
31
|
-
...
|
|
32
|
-
|
|
33
31
|
def basename(path) -> str:
|
|
34
32
|
"""Equivalent to os.path.basename, but skips a "//" prefix.Use for Windows compatibility.
|
|
35
33
|
|
|
@@ -37,8 +35,6 @@ def basename(path) -> str:
|
|
|
37
35
|
:rtype: str
|
|
38
36
|
"""
|
|
39
37
|
|
|
40
|
-
...
|
|
41
|
-
|
|
42
38
|
def clean_name(name: bytes | str, *, replace: str = "_") -> str:
|
|
43
39
|
"""Returns a name with characters replaced that
|
|
44
40
|
may cause problems under various circumstances,
|
|
@@ -53,8 +49,6 @@ def clean_name(name: bytes | str, *, replace: str = "_") -> str:
|
|
|
53
49
|
:rtype: str
|
|
54
50
|
"""
|
|
55
51
|
|
|
56
|
-
...
|
|
57
|
-
|
|
58
52
|
def display_name(name: str, *, has_ext: bool = True, title_case: bool = True) -> str:
|
|
59
53
|
"""Creates a display string from name to be used menus and the user interface.
|
|
60
54
|
Intended for use with filenames and module names.
|
|
@@ -69,8 +63,6 @@ def display_name(name: str, *, has_ext: bool = True, title_case: bool = True) ->
|
|
|
69
63
|
:rtype: str
|
|
70
64
|
"""
|
|
71
65
|
|
|
72
|
-
...
|
|
73
|
-
|
|
74
66
|
def display_name_from_filepath(name: str) -> str:
|
|
75
67
|
"""Returns the path stripped of directory and extension,
|
|
76
68
|
ensured to be utf8 compatible.
|
|
@@ -81,8 +73,6 @@ def display_name_from_filepath(name: str) -> str:
|
|
|
81
73
|
:rtype: str
|
|
82
74
|
"""
|
|
83
75
|
|
|
84
|
-
...
|
|
85
|
-
|
|
86
76
|
def display_name_to_filepath(name: str) -> str:
|
|
87
77
|
"""Performs the reverse of display_name using literal versions of characters
|
|
88
78
|
which aren't supported in a filepath.
|
|
@@ -93,8 +83,6 @@ def display_name_to_filepath(name: str) -> str:
|
|
|
93
83
|
:rtype: str
|
|
94
84
|
"""
|
|
95
85
|
|
|
96
|
-
...
|
|
97
|
-
|
|
98
86
|
def ensure_ext(filepath: str, ext: str, *, case_sensitive: bool = False) -> str:
|
|
99
87
|
"""Return the path with the extension added if it is not already set.
|
|
100
88
|
|
|
@@ -109,8 +97,6 @@ def ensure_ext(filepath: str, ext: str, *, case_sensitive: bool = False) -> str:
|
|
|
109
97
|
:rtype: str
|
|
110
98
|
"""
|
|
111
99
|
|
|
112
|
-
...
|
|
113
|
-
|
|
114
100
|
def is_subdir(path: bytes | str, directory) -> bool:
|
|
115
101
|
"""Returns true if path in a subdirectory of directory.
|
|
116
102
|
Both paths must be absolute.
|
|
@@ -121,8 +107,6 @@ def is_subdir(path: bytes | str, directory) -> bool:
|
|
|
121
107
|
:rtype: bool
|
|
122
108
|
"""
|
|
123
109
|
|
|
124
|
-
...
|
|
125
|
-
|
|
126
110
|
def module_names(path: str, *, recursive: bool = False, package: str = "") -> list[str]:
|
|
127
111
|
"""Return a list of modules which can be imported from path.
|
|
128
112
|
|
|
@@ -136,8 +120,6 @@ def module_names(path: str, *, recursive: bool = False, package: str = "") -> li
|
|
|
136
120
|
:rtype: list[str]
|
|
137
121
|
"""
|
|
138
122
|
|
|
139
|
-
...
|
|
140
|
-
|
|
141
123
|
def native_pathsep(path: str) -> str:
|
|
142
124
|
"""Replace the path separator with the systems native os.sep.
|
|
143
125
|
|
|
@@ -147,8 +129,6 @@ def native_pathsep(path: str) -> str:
|
|
|
147
129
|
:rtype: str
|
|
148
130
|
"""
|
|
149
131
|
|
|
150
|
-
...
|
|
151
|
-
|
|
152
132
|
def reduce_dirs(dirs: list[str]) -> list[str]:
|
|
153
133
|
"""Given a sequence of directories, remove duplicates and
|
|
154
134
|
any directories nested in one of the other paths.
|
|
@@ -160,8 +140,6 @@ def reduce_dirs(dirs: list[str]) -> list[str]:
|
|
|
160
140
|
:rtype: list[str]
|
|
161
141
|
"""
|
|
162
142
|
|
|
163
|
-
...
|
|
164
|
-
|
|
165
143
|
def relpath(path: bytes | str, *, start: bytes | str = None) -> str:
|
|
166
144
|
"""Returns the path relative to the current blend file using the "//" prefix.
|
|
167
145
|
|
|
@@ -174,8 +152,6 @@ def relpath(path: bytes | str, *, start: bytes | str = None) -> str:
|
|
|
174
152
|
:rtype: str
|
|
175
153
|
"""
|
|
176
154
|
|
|
177
|
-
...
|
|
178
|
-
|
|
179
155
|
def resolve_ncase(path: str) -> str:
|
|
180
156
|
"""Resolve a case insensitive path on a case sensitive system,
|
|
181
157
|
returning a string with the path if found else return the original path.
|
|
@@ -185,5 +161,3 @@ def resolve_ncase(path: str) -> str:
|
|
|
185
161
|
:return: The resolved path.
|
|
186
162
|
:rtype: str
|
|
187
163
|
"""
|
|
188
|
-
|
|
189
|
-
...
|
bpy/props/__init__.pyi
CHANGED
|
@@ -92,8 +92,8 @@ import collections.abc
|
|
|
92
92
|
import typing_extensions
|
|
93
93
|
import bpy.types
|
|
94
94
|
|
|
95
|
-
|
|
96
|
-
|
|
95
|
+
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
96
|
+
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
97
97
|
|
|
98
98
|
def BoolProperty(
|
|
99
99
|
*,
|
|
@@ -137,8 +137,6 @@ def BoolProperty(
|
|
|
137
137
|
:type set: typing.Any | None
|
|
138
138
|
"""
|
|
139
139
|
|
|
140
|
-
...
|
|
141
|
-
|
|
142
140
|
def BoolVectorProperty(
|
|
143
141
|
*,
|
|
144
142
|
name: str | None = "",
|
|
@@ -186,8 +184,6 @@ def BoolVectorProperty(
|
|
|
186
184
|
:type set: typing.Any | None
|
|
187
185
|
"""
|
|
188
186
|
|
|
189
|
-
...
|
|
190
|
-
|
|
191
187
|
def CollectionProperty(
|
|
192
188
|
*,
|
|
193
189
|
type=None,
|
|
@@ -215,8 +211,6 @@ def CollectionProperty(
|
|
|
215
211
|
:type tags: set | None
|
|
216
212
|
"""
|
|
217
213
|
|
|
218
|
-
...
|
|
219
|
-
|
|
220
214
|
def EnumProperty(
|
|
221
215
|
*,
|
|
222
216
|
items: collections.abc.Iterable[
|
|
@@ -315,8 +309,6 @@ def EnumProperty(
|
|
|
315
309
|
:type set: typing.Any | None
|
|
316
310
|
"""
|
|
317
311
|
|
|
318
|
-
...
|
|
319
|
-
|
|
320
312
|
def FloatProperty(
|
|
321
313
|
*,
|
|
322
314
|
name: str | None = "",
|
|
@@ -380,8 +372,6 @@ def FloatProperty(
|
|
|
380
372
|
:type set: typing.Any | None
|
|
381
373
|
"""
|
|
382
374
|
|
|
383
|
-
...
|
|
384
|
-
|
|
385
375
|
def FloatVectorProperty(
|
|
386
376
|
*,
|
|
387
377
|
name: str | None = "",
|
|
@@ -450,8 +440,6 @@ def FloatVectorProperty(
|
|
|
450
440
|
:type set: typing.Any | None
|
|
451
441
|
"""
|
|
452
442
|
|
|
453
|
-
...
|
|
454
|
-
|
|
455
443
|
def IntProperty(
|
|
456
444
|
*,
|
|
457
445
|
name: str | None = "",
|
|
@@ -509,8 +497,6 @@ def IntProperty(
|
|
|
509
497
|
:type set: typing.Any | None
|
|
510
498
|
"""
|
|
511
499
|
|
|
512
|
-
...
|
|
513
|
-
|
|
514
500
|
def IntVectorProperty(
|
|
515
501
|
*,
|
|
516
502
|
name: str | None = "",
|
|
@@ -573,8 +559,6 @@ def IntVectorProperty(
|
|
|
573
559
|
:type set: typing.Any | None
|
|
574
560
|
"""
|
|
575
561
|
|
|
576
|
-
...
|
|
577
|
-
|
|
578
562
|
def PointerProperty(
|
|
579
563
|
*,
|
|
580
564
|
type=None,
|
|
@@ -611,8 +595,6 @@ def PointerProperty(
|
|
|
611
595
|
:type update: typing.Any | None
|
|
612
596
|
"""
|
|
613
597
|
|
|
614
|
-
...
|
|
615
|
-
|
|
616
598
|
def RemoveProperty(*, cls: typing.Any | None, attr: str | None):
|
|
617
599
|
"""Removes a dynamically defined property.
|
|
618
600
|
|
|
@@ -622,8 +604,6 @@ def RemoveProperty(*, cls: typing.Any | None, attr: str | None):
|
|
|
622
604
|
:type attr: str | None
|
|
623
605
|
"""
|
|
624
606
|
|
|
625
|
-
...
|
|
626
|
-
|
|
627
607
|
def StringProperty(
|
|
628
608
|
*,
|
|
629
609
|
name: str | None = "",
|
|
@@ -689,5 +669,3 @@ def StringProperty(
|
|
|
689
669
|
so only disable this flag if it's not likely to cause performance issues.
|
|
690
670
|
:type search_options: set | None
|
|
691
671
|
"""
|
|
692
|
-
|
|
693
|
-
...
|