fake-bpy-module 20240923__py3-none-any.whl → 20240925__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 +0 -3
- _bpy_internal/addons/__init__.pyi +0 -3
- _bpy_internal/addons/cli/__init__.pyi +0 -3
- _bpy_internal/extensions/__init__.pyi +0 -3
- _bpy_internal/extensions/junction_module/__init__.pyi +0 -3
- _bpy_internal/extensions/stale_file_manager/__init__.pyi +0 -3
- _bpy_internal/extensions/wheel_manager/__init__.pyi +0 -3
- _bpy_internal/freedesktop/__init__.pyi +0 -3
- _bpy_internal/grease_pencil/__init__.pyi +0 -3
- _bpy_internal/grease_pencil/stroke/__init__.pyi +0 -3
- _bpy_internal/system_info/__init__.pyi +0 -3
- _bpy_internal/system_info/text_generate_runtime/__init__.pyi +0 -3
- _bpy_internal/system_info/url_prefill_runtime/__init__.pyi +0 -3
- _bpy_internal/system_info/url_prefill_startup/__init__.pyi +0 -3
- addon_utils/__init__.pyi +7 -7
- animsys_refactor/__init__.pyi +0 -3
- aud/__init__.pyi +0 -3
- bgl/__init__.pyi +0 -3
- bl_app_override/__init__.pyi +0 -3
- bl_app_override/helpers/__init__.pyi +0 -3
- bl_app_template_utils/__init__.pyi +0 -3
- bl_console_utils/__init__.pyi +0 -3
- bl_console_utils/autocomplete/__init__.pyi +0 -3
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +0 -3
- bl_console_utils/autocomplete/complete_import/__init__.pyi +0 -3
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -5
- bl_console_utils/autocomplete/intellisense/__init__.pyi +0 -3
- bl_i18n_utils/__init__.pyi +0 -3
- bl_i18n_utils/bl_extract_messages/__init__.pyi +0 -3
- bl_i18n_utils/merge_po/__init__.pyi +0 -3
- bl_i18n_utils/settings/__init__.pyi +0 -3
- bl_i18n_utils/utils/__init__.pyi +0 -3
- bl_i18n_utils/utils_cli/__init__.pyi +0 -3
- bl_i18n_utils/utils_languages_menu/__init__.pyi +0 -3
- bl_i18n_utils/utils_rtl/__init__.pyi +0 -3
- bl_keymap_utils/__init__.pyi +0 -3
- bl_keymap_utils/io/__init__.pyi +0 -3
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +0 -3
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +0 -3
- bl_keymap_utils/platform_helpers/__init__.pyi +0 -3
- bl_keymap_utils/versioning/__init__.pyi +0 -3
- bl_math/__init__.pyi +0 -3
- bl_operators/__init__.pyi +0 -3
- bl_operators/add_mesh_torus/__init__.pyi +0 -3
- bl_operators/anim/__init__.pyi +0 -3
- bl_operators/assets/__init__.pyi +0 -3
- bl_operators/bmesh/__init__.pyi +0 -3
- bl_operators/bmesh/find_adjacent/__init__.pyi +0 -3
- bl_operators/bone_selection_sets/__init__.pyi +0 -3
- bl_operators/clip/__init__.pyi +0 -3
- bl_operators/connect_to_output/__init__.pyi +0 -3
- bl_operators/console/__init__.pyi +0 -3
- bl_operators/constraint/__init__.pyi +0 -3
- bl_operators/file/__init__.pyi +0 -3
- bl_operators/freestyle/__init__.pyi +0 -3
- bl_operators/geometry_nodes/__init__.pyi +0 -3
- bl_operators/image/__init__.pyi +0 -3
- bl_operators/image_as_planes/__init__.pyi +0 -3
- bl_operators/mesh/__init__.pyi +0 -3
- bl_operators/node/__init__.pyi +32 -3
- bl_operators/node_editor/__init__.pyi +0 -3
- bl_operators/node_editor/node_functions/__init__.pyi +0 -3
- bl_operators/object/__init__.pyi +0 -3
- bl_operators/object_align/__init__.pyi +0 -3
- bl_operators/object_quick_effects/__init__.pyi +0 -3
- bl_operators/object_randomize_transform/__init__.pyi +0 -3
- bl_operators/presets/__init__.pyi +0 -3
- bl_operators/rigidbody/__init__.pyi +0 -3
- bl_operators/screen_play_rendered_anim/__init__.pyi +0 -3
- bl_operators/sequencer/__init__.pyi +0 -3
- bl_operators/spreadsheet/__init__.pyi +0 -3
- bl_operators/userpref/__init__.pyi +0 -3
- bl_operators/uvcalc_follow_active/__init__.pyi +0 -3
- bl_operators/uvcalc_lightmap/__init__.pyi +0 -3
- bl_operators/uvcalc_transform/__init__.pyi +0 -3
- bl_operators/vertexpaint_dirt/__init__.pyi +0 -3
- bl_operators/view3d/__init__.pyi +0 -3
- bl_operators/wm/__init__.pyi +0 -3
- bl_operators/world/__init__.pyi +0 -3
- bl_previews_utils/__init__.pyi +0 -3
- bl_previews_utils/bl_previews_render/__init__.pyi +0 -3
- bl_rna_utils/__init__.pyi +0 -3
- bl_rna_utils/data_path/__init__.pyi +0 -3
- bl_text_utils/__init__.pyi +0 -3
- bl_text_utils/external_editor/__init__.pyi +0 -3
- bl_ui/__init__.pyi +0 -3
- bl_ui/anim/__init__.pyi +0 -3
- bl_ui/asset_shelf/__init__.pyi +0 -3
- bl_ui/generic_ui_list/__init__.pyi +0 -3
- bl_ui/node_add_menu/__init__.pyi +1 -3
- bl_ui/node_add_menu_compositor/__init__.pyi +0 -3
- bl_ui/node_add_menu_geometry/__init__.pyi +0 -3
- bl_ui/node_add_menu_shader/__init__.pyi +0 -3
- bl_ui/node_add_menu_texture/__init__.pyi +0 -3
- bl_ui/properties_animviz/__init__.pyi +0 -3
- bl_ui/properties_collection/__init__.pyi +0 -3
- bl_ui/properties_constraint/__init__.pyi +0 -3
- bl_ui/properties_data_armature/__init__.pyi +0 -3
- bl_ui/properties_data_bone/__init__.pyi +0 -3
- bl_ui/properties_data_camera/__init__.pyi +0 -3
- bl_ui/properties_data_curve/__init__.pyi +0 -3
- bl_ui/properties_data_curves/__init__.pyi +0 -3
- bl_ui/properties_data_empty/__init__.pyi +0 -3
- bl_ui/properties_data_gpencil/__init__.pyi +0 -3
- bl_ui/properties_data_grease_pencil/__init__.pyi +0 -3
- bl_ui/properties_data_lattice/__init__.pyi +0 -3
- bl_ui/properties_data_light/__init__.pyi +0 -3
- bl_ui/properties_data_lightprobe/__init__.pyi +0 -3
- bl_ui/properties_data_mesh/__init__.pyi +0 -3
- bl_ui/properties_data_metaball/__init__.pyi +0 -3
- bl_ui/properties_data_modifier/__init__.pyi +0 -3
- bl_ui/properties_data_pointcloud/__init__.pyi +0 -3
- bl_ui/properties_data_shaderfx/__init__.pyi +0 -3
- bl_ui/properties_data_speaker/__init__.pyi +0 -3
- bl_ui/properties_data_volume/__init__.pyi +0 -3
- bl_ui/properties_freestyle/__init__.pyi +0 -3
- bl_ui/properties_grease_pencil_common/__init__.pyi +0 -3
- bl_ui/properties_mask_common/__init__.pyi +0 -3
- bl_ui/properties_material/__init__.pyi +0 -3
- bl_ui/properties_material_gpencil/__init__.pyi +0 -3
- bl_ui/properties_object/__init__.pyi +0 -3
- bl_ui/properties_output/__init__.pyi +0 -3
- bl_ui/properties_paint_common/__init__.pyi +0 -3
- bl_ui/properties_particle/__init__.pyi +0 -3
- bl_ui/properties_physics_cloth/__init__.pyi +0 -3
- bl_ui/properties_physics_common/__init__.pyi +0 -3
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +0 -3
- bl_ui/properties_physics_field/__init__.pyi +0 -3
- bl_ui/properties_physics_fluid/__init__.pyi +0 -3
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +0 -3
- bl_ui/properties_physics_rigidbody/__init__.pyi +0 -3
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +0 -3
- bl_ui/properties_physics_softbody/__init__.pyi +0 -3
- bl_ui/properties_render/__init__.pyi +0 -3
- bl_ui/properties_scene/__init__.pyi +0 -3
- bl_ui/properties_texture/__init__.pyi +0 -3
- bl_ui/properties_view_layer/__init__.pyi +0 -3
- bl_ui/properties_workspace/__init__.pyi +0 -3
- bl_ui/properties_world/__init__.pyi +0 -3
- bl_ui/space_clip/__init__.pyi +0 -3
- bl_ui/space_console/__init__.pyi +0 -3
- bl_ui/space_dopesheet/__init__.pyi +0 -3
- bl_ui/space_filebrowser/__init__.pyi +0 -3
- bl_ui/space_graph/__init__.pyi +0 -3
- bl_ui/space_image/__init__.pyi +0 -3
- bl_ui/space_info/__init__.pyi +0 -3
- bl_ui/space_nla/__init__.pyi +0 -3
- bl_ui/space_node/__init__.pyi +0 -3
- bl_ui/space_outliner/__init__.pyi +0 -3
- bl_ui/space_properties/__init__.pyi +0 -3
- bl_ui/space_sequencer/__init__.pyi +0 -3
- bl_ui/space_spreadsheet/__init__.pyi +0 -3
- bl_ui/space_statusbar/__init__.pyi +0 -3
- bl_ui/space_text/__init__.pyi +0 -3
- bl_ui/space_time/__init__.pyi +0 -3
- bl_ui/space_toolsystem_common/__init__.pyi +0 -3
- bl_ui/space_toolsystem_toolbar/__init__.pyi +1 -3
- bl_ui/space_topbar/__init__.pyi +0 -3
- bl_ui/space_userpref/__init__.pyi +0 -3
- bl_ui/space_view3d/__init__.pyi +0 -3
- bl_ui/space_view3d_toolbar/__init__.pyi +0 -3
- bl_ui/utils/__init__.pyi +0 -3
- bl_ui_utils/__init__.pyi +0 -3
- bl_ui_utils/layout/__init__.pyi +0 -3
- blend_render_info/__init__.pyi +0 -3
- blf/__init__.pyi +0 -3
- bmesh/__init__.pyi +0 -3
- bmesh/geometry/__init__.pyi +0 -3
- bmesh/ops/__init__.pyi +8 -11
- bmesh/types/__init__.pyi +14 -17
- bmesh/utils/__init__.pyi +2 -5
- bpy/__init__.pyi +0 -2
- bpy/app/__init__.pyi +0 -3
- bpy/app/handlers/__init__.pyi +0 -2
- bpy/app/icons/__init__.pyi +0 -3
- bpy/app/timers/__init__.pyi +0 -3
- bpy/app/translations/__init__.pyi +0 -3
- bpy/msgbus/__init__.pyi +0 -3
- bpy/ops/__init__.pyi +0 -3
- bpy/ops/action/__init__.pyi +0 -3
- bpy/ops/anim/__init__.pyi +0 -3
- bpy/ops/armature/__init__.pyi +0 -3
- bpy/ops/asset/__init__.pyi +0 -3
- bpy/ops/boid/__init__.pyi +0 -3
- bpy/ops/brush/__init__.pyi +0 -3
- bpy/ops/buttons/__init__.pyi +0 -3
- bpy/ops/cachefile/__init__.pyi +0 -3
- bpy/ops/camera/__init__.pyi +0 -3
- bpy/ops/clip/__init__.pyi +0 -3
- bpy/ops/cloth/__init__.pyi +0 -3
- bpy/ops/collection/__init__.pyi +0 -3
- bpy/ops/console/__init__.pyi +0 -3
- bpy/ops/constraint/__init__.pyi +0 -3
- bpy/ops/curve/__init__.pyi +0 -3
- bpy/ops/curves/__init__.pyi +0 -3
- bpy/ops/cycles/__init__.pyi +0 -3
- bpy/ops/dpaint/__init__.pyi +0 -3
- bpy/ops/ed/__init__.pyi +0 -3
- bpy/ops/export_anim/__init__.pyi +0 -3
- bpy/ops/export_scene/__init__.pyi +0 -3
- bpy/ops/extensions/__init__.pyi +0 -3
- bpy/ops/file/__init__.pyi +0 -3
- bpy/ops/fluid/__init__.pyi +0 -3
- bpy/ops/font/__init__.pyi +0 -3
- bpy/ops/geometry/__init__.pyi +0 -3
- bpy/ops/gizmogroup/__init__.pyi +0 -3
- bpy/ops/gpencil/__init__.pyi +0 -3
- bpy/ops/graph/__init__.pyi +0 -3
- bpy/ops/grease_pencil/__init__.pyi +50 -3
- bpy/ops/image/__init__.pyi +0 -3
- bpy/ops/import_anim/__init__.pyi +0 -3
- bpy/ops/import_curve/__init__.pyi +0 -3
- bpy/ops/import_scene/__init__.pyi +0 -3
- bpy/ops/info/__init__.pyi +0 -3
- bpy/ops/lattice/__init__.pyi +0 -3
- bpy/ops/marker/__init__.pyi +0 -3
- bpy/ops/mask/__init__.pyi +0 -3
- bpy/ops/material/__init__.pyi +0 -3
- bpy/ops/mball/__init__.pyi +0 -3
- bpy/ops/mesh/__init__.pyi +0 -3
- bpy/ops/nla/__init__.pyi +0 -3
- bpy/ops/node/__init__.pyi +143 -3
- bpy/ops/object/__init__.pyi +0 -3
- bpy/ops/outliner/__init__.pyi +0 -3
- bpy/ops/paint/__init__.pyi +0 -3
- bpy/ops/paintcurve/__init__.pyi +0 -3
- bpy/ops/palette/__init__.pyi +0 -3
- bpy/ops/particle/__init__.pyi +0 -3
- bpy/ops/pose/__init__.pyi +0 -3
- bpy/ops/poselib/__init__.pyi +0 -3
- bpy/ops/preferences/__init__.pyi +0 -3
- bpy/ops/ptcache/__init__.pyi +0 -3
- bpy/ops/render/__init__.pyi +0 -3
- bpy/ops/rigidbody/__init__.pyi +0 -3
- bpy/ops/scene/__init__.pyi +0 -3
- bpy/ops/screen/__init__.pyi +0 -3
- bpy/ops/script/__init__.pyi +0 -3
- bpy/ops/sculpt/__init__.pyi +44 -3
- bpy/ops/sculpt_curves/__init__.pyi +0 -3
- bpy/ops/sequencer/__init__.pyi +0 -3
- bpy/ops/sound/__init__.pyi +0 -3
- bpy/ops/spreadsheet/__init__.pyi +0 -3
- bpy/ops/surface/__init__.pyi +0 -3
- bpy/ops/text/__init__.pyi +0 -3
- bpy/ops/text_editor/__init__.pyi +0 -3
- bpy/ops/texture/__init__.pyi +0 -3
- bpy/ops/transform/__init__.pyi +0 -3
- bpy/ops/ui/__init__.pyi +0 -3
- bpy/ops/uilist/__init__.pyi +0 -3
- bpy/ops/uv/__init__.pyi +0 -3
- bpy/ops/view2d/__init__.pyi +0 -3
- bpy/ops/view3d/__init__.pyi +0 -3
- bpy/ops/wm/__init__.pyi +0 -3
- bpy/ops/workspace/__init__.pyi +0 -3
- bpy/ops/world/__init__.pyi +0 -3
- bpy/path/__init__.pyi +5 -8
- bpy/props/__init__.pyi +0 -3
- bpy/types/__init__.pyi +1542 -381
- bpy/typing/__init__.pyi +20 -2
- bpy/utils/__init__.pyi +0 -3
- bpy/utils/previews/__init__.pyi +0 -3
- bpy/utils/units/__init__.pyi +0 -3
- bpy_extras/__init__.pyi +0 -3
- bpy_extras/anim_utils/__init__.pyi +0 -3
- bpy_extras/asset_utils/__init__.pyi +0 -3
- bpy_extras/bmesh_utils/__init__.pyi +0 -3
- bpy_extras/id_map_utils/__init__.pyi +0 -3
- bpy_extras/image_utils/__init__.pyi +4 -7
- bpy_extras/io_utils/__init__.pyi +4 -7
- bpy_extras/keyconfig_utils/__init__.pyi +0 -3
- bpy_extras/mesh_utils/__init__.pyi +0 -3
- bpy_extras/node_shader_utils/__init__.pyi +0 -3
- bpy_extras/node_utils/__init__.pyi +0 -3
- bpy_extras/object_utils/__init__.pyi +2 -5
- bpy_extras/view3d_utils/__init__.pyi +0 -3
- bpy_extras/wm_utils/__init__.pyi +0 -3
- bpy_extras/wm_utils/progress_report/__init__.pyi +0 -3
- bpy_restrict_state/__init__.pyi +0 -3
- bpy_types/__init__.pyi +0 -3
- console_python/__init__.pyi +0 -3
- console_shell/__init__.pyi +0 -3
- {fake_bpy_module-20240923.dist-info → fake_bpy_module-20240925.dist-info}/METADATA +1 -1
- fake_bpy_module-20240925.dist-info/RECORD +365 -0
- freestyle/__init__.pyi +0 -3
- freestyle/chainingiterators/__init__.pyi +0 -3
- freestyle/functions/__init__.pyi +0 -3
- freestyle/predicates/__init__.pyi +0 -3
- freestyle/shaders/__init__.pyi +0 -3
- freestyle/types/__init__.pyi +0 -3
- freestyle/utils/ContextFunctions/__init__.pyi +0 -3
- freestyle/utils/__init__.pyi +0 -3
- gpu/__init__.pyi +0 -3
- gpu/capabilities/__init__.pyi +0 -3
- gpu/matrix/__init__.pyi +0 -3
- gpu/platform/__init__.pyi +0 -3
- gpu/select/__init__.pyi +0 -3
- gpu/shader/__init__.pyi +0 -3
- gpu/state/__init__.pyi +0 -3
- gpu/texture/__init__.pyi +0 -3
- gpu/types/__init__.pyi +5 -8
- gpu_extras/__init__.pyi +0 -3
- gpu_extras/batch/__init__.pyi +0 -3
- gpu_extras/presets/__init__.pyi +0 -3
- graphviz_export/__init__.pyi +0 -3
- idprop/__init__.pyi +0 -3
- idprop/types/__init__.pyi +0 -3
- imbuf/__init__.pyi +0 -3
- imbuf/types/__init__.pyi +0 -3
- keyingsets_builtins/__init__.pyi +0 -3
- keyingsets_utils/__init__.pyi +0 -3
- mathutils/__init__.pyi +9 -11
- mathutils/bvhtree/__init__.pyi +0 -3
- mathutils/geometry/__init__.pyi +0 -3
- mathutils/interpolate/__init__.pyi +0 -3
- mathutils/kdtree/__init__.pyi +2 -5
- mathutils/noise/__init__.pyi +0 -3
- nodeitems_builtins/__init__.pyi +0 -3
- nodeitems_utils/__init__.pyi +0 -3
- rna_info/__init__.pyi +2 -5
- rna_keymap_ui/__init__.pyi +0 -3
- rna_prop_ui/__init__.pyi +0 -3
- rna_xml/__init__.pyi +0 -3
- fake_bpy_module-20240923.dist-info/RECORD +0 -365
- {fake_bpy_module-20240923.dist-info → fake_bpy_module-20240925.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240923.dist-info → fake_bpy_module-20240925.dist-info}/top_level.txt +0 -0
bpy/typing/__init__.pyi
CHANGED
|
@@ -2,8 +2,6 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
|
|
5
|
-
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
6
|
-
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
7
5
|
type AssetLibraryTypeItems = typing.Literal[
|
|
8
6
|
"ALL", # All Libraries.Show assets from all of the listed asset libraries.
|
|
9
7
|
"LOCAL", # Current File.Show the assets currently available in this Blender session.
|
|
@@ -2068,6 +2066,26 @@ type NodeGeometryMeshCircleFillTypeItems = typing.Literal[
|
|
|
2068
2066
|
"NGON", # N-Gon.
|
|
2069
2067
|
"TRIANGLE_FAN", # Triangles.
|
|
2070
2068
|
]
|
|
2069
|
+
type NodeIntegerMathItems = typing.Literal[
|
|
2070
|
+
"ADD", # Add.A + B.
|
|
2071
|
+
"SUBTRACT", # Subtract.A - B.
|
|
2072
|
+
"MULTIPLY", # Multiply.A * B.
|
|
2073
|
+
"DIVIDE", # Divide.A / B.
|
|
2074
|
+
"MULTIPLY_ADD", # Multiply Add.A * B + C.
|
|
2075
|
+
"ABSOLUTE", # Absolute.Non-negative value of A, abs(A).
|
|
2076
|
+
"NEGATE", # Negate.-A.
|
|
2077
|
+
"POWER", # Power.A power B, pow(A,B).
|
|
2078
|
+
"MINIMUM", # Minimum.The minimum value from A and B, min(A,B).
|
|
2079
|
+
"MAXIMUM", # Maximum.The maximum value from A and B, max(A,B).
|
|
2080
|
+
"SIGN", # Sign.Return the sign of A, sign(A).
|
|
2081
|
+
"DIVIDE_ROUND", # Divide Round.Divide and round result toward zero.
|
|
2082
|
+
"DIVIDE_FLOOR", # Divide Floor.Divide and floor result, the largest integer smaller than or equal A.
|
|
2083
|
+
"DIVIDE_CEIL", # Divide Ceiling.Divide and ceil result, the smallest integer greater than or equal A.
|
|
2084
|
+
"FLOORED_MODULO", # Floored Modulo.Modulo that is periodic for both negative and positive operands.
|
|
2085
|
+
"MODULO", # Modulo.Modulo which is the remainder of A / B.
|
|
2086
|
+
"GCD", # Greatest Common Divisor.The largest positive integer that divides into each of the values A and B, e.g. GCD(8,12) = 4.
|
|
2087
|
+
"LCM", # Least Common Multiple.The smallest positive integer that is divisible by both A and B, e.g. LCM(6,10) = 30.
|
|
2088
|
+
]
|
|
2071
2089
|
type NodeMapRangeItems = typing.Literal[
|
|
2072
2090
|
"LINEAR", # Linear.Linear interpolation between From Min and From Max values.
|
|
2073
2091
|
"STEPPED", # Stepped Linear.Stepped linear interpolation between From Min and From Max values.
|
bpy/utils/__init__.pyi
CHANGED
|
@@ -16,9 +16,6 @@ import typing_extensions
|
|
|
16
16
|
from . import previews as previews
|
|
17
17
|
from . import units as units
|
|
18
18
|
|
|
19
|
-
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
20
|
-
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
21
|
-
|
|
22
19
|
def app_template_paths(*, path: str | None = None):
|
|
23
20
|
"""Returns valid application template paths.
|
|
24
21
|
|
bpy/utils/previews/__init__.pyi
CHANGED
|
@@ -18,9 +18,6 @@ import collections.abc
|
|
|
18
18
|
import typing_extensions
|
|
19
19
|
import bpy.types
|
|
20
20
|
|
|
21
|
-
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
22
|
-
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
23
|
-
|
|
24
21
|
class ImagePreviewCollection:
|
|
25
22
|
"""Dictionary-like class of previews.This is a subclass of Python's built-in dict type,
|
|
26
23
|
used to store multiple image previews.
|
bpy/utils/units/__init__.pyi
CHANGED
bpy_extras/__init__.pyi
CHANGED
|
@@ -33,6 +33,3 @@ from . import node_utils as node_utils
|
|
|
33
33
|
from . import object_utils as object_utils
|
|
34
34
|
from . import view3d_utils as view3d_utils
|
|
35
35
|
from . import wm_utils as wm_utils
|
|
36
|
-
|
|
37
|
-
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
38
|
-
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
@@ -3,9 +3,6 @@ import collections.abc
|
|
|
3
3
|
import typing_extensions
|
|
4
4
|
import bpy.types
|
|
5
5
|
|
|
6
|
-
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
7
|
-
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
8
|
-
|
|
9
6
|
class BakeOptions:
|
|
10
7
|
"""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)"""
|
|
11
8
|
|
|
@@ -2,9 +2,6 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
|
|
5
|
-
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
6
|
-
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
7
|
-
|
|
8
5
|
def bmesh_linked_uv_islands(bm, uv_layer) -> list:
|
|
9
6
|
"""Returns lists of faces connected by UV islands.For meshes use `bpy.types.Mesh.mesh_linked_uv_islands` instead.
|
|
10
7
|
|
|
@@ -2,9 +2,6 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
|
|
5
|
-
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
6
|
-
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
7
|
-
|
|
8
5
|
def get_all_referenced_ids(id, ref_map):
|
|
9
6
|
"""Return a set of IDs directly or indirectly referenced by id."""
|
|
10
7
|
|
|
@@ -3,18 +3,15 @@ import collections.abc
|
|
|
3
3
|
import typing_extensions
|
|
4
4
|
import bpy.types
|
|
5
5
|
|
|
6
|
-
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
7
|
-
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
8
|
-
|
|
9
6
|
def load_image(
|
|
10
7
|
imagepath,
|
|
11
8
|
dirname: str = "",
|
|
12
9
|
place_holder: bool = False,
|
|
13
10
|
recursive: bool = False,
|
|
14
11
|
ncase_cmp: bool = True,
|
|
15
|
-
convert_callback: typing.Any = None,
|
|
12
|
+
convert_callback: typing.Any | None = None,
|
|
16
13
|
verbose=False,
|
|
17
|
-
relpath: str = None,
|
|
14
|
+
relpath: str | None = None,
|
|
18
15
|
check_existing: bool = False,
|
|
19
16
|
force_reload: bool = False,
|
|
20
17
|
) -> bpy.types.Image:
|
|
@@ -38,9 +35,9 @@ def load_image(
|
|
|
38
35
|
the CONVERT_CALLBACK can take the path for a GIF (for example),
|
|
39
36
|
convert it to a PNG and return the PNG's path.
|
|
40
37
|
For formats blender can read, simply return the path that is given.
|
|
41
|
-
:type convert_callback: typing.Any
|
|
38
|
+
:type convert_callback: typing.Any | None
|
|
42
39
|
:param relpath: If not None, make the file relative to this path.
|
|
43
|
-
:type relpath: str
|
|
40
|
+
:type relpath: str | None
|
|
44
41
|
:param check_existing: If true,
|
|
45
42
|
returns already loaded image datablock if possible
|
|
46
43
|
(based on file path).
|
bpy_extras/io_utils/__init__.pyi
CHANGED
|
@@ -3,9 +3,6 @@ import collections.abc
|
|
|
3
3
|
import typing_extensions
|
|
4
4
|
import bpy.types
|
|
5
5
|
|
|
6
|
-
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
7
|
-
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
8
|
-
|
|
9
6
|
class ExportHelper:
|
|
10
7
|
def check(self, _context):
|
|
11
8
|
"""
|
|
@@ -89,7 +86,7 @@ def path_reference(
|
|
|
89
86
|
base_dst: str,
|
|
90
87
|
mode: str = "AUTO",
|
|
91
88
|
copy_subdir: str = "",
|
|
92
|
-
copy_set: set = None,
|
|
89
|
+
copy_set: set | None = None,
|
|
93
90
|
library: bpy.types.Library | None = None,
|
|
94
91
|
) -> str:
|
|
95
92
|
"""Return a filepath relative to a destination directory, for use with
|
|
@@ -111,7 +108,7 @@ def path_reference(
|
|
|
111
108
|
:type copy_subdir: str
|
|
112
109
|
:param copy_set: collect from/to pairs when mode='COPY',
|
|
113
110
|
pass to path_reference_copy when exporting is done.
|
|
114
|
-
:type copy_set: set
|
|
111
|
+
:type copy_set: set | None
|
|
115
112
|
:param library: The library this path is relative to.
|
|
116
113
|
:type library: bpy.types.Library | None
|
|
117
114
|
:return: the new filepath.
|
|
@@ -138,7 +135,7 @@ def unique_name(
|
|
|
138
135
|
name: str,
|
|
139
136
|
name_dict: dict,
|
|
140
137
|
name_max=-1,
|
|
141
|
-
clean_func: typing.Any = None,
|
|
138
|
+
clean_func: typing.Any | None = None,
|
|
142
139
|
sep: str = ".",
|
|
143
140
|
):
|
|
144
141
|
"""Helper function for storing unique names which may have special characters
|
|
@@ -154,7 +151,7 @@ def unique_name(
|
|
|
154
151
|
function.
|
|
155
152
|
:type name_dict: dict
|
|
156
153
|
:param clean_func: Function to call on name before creating a unique value.
|
|
157
|
-
:type clean_func: typing.Any
|
|
154
|
+
:type clean_func: typing.Any | None
|
|
158
155
|
:param sep: Separator to use when between the name and a number when a
|
|
159
156
|
duplicate name is found.
|
|
160
157
|
:type sep: str
|
|
@@ -2,9 +2,6 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
|
|
5
|
-
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
6
|
-
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
7
|
-
|
|
8
5
|
def addon_keymap_register(keymap_data):
|
|
9
6
|
"""Register a set of keymaps for addons using a list of keymaps.See 'blender_defaults.py' for examples of the format this takes."""
|
|
10
7
|
|
|
@@ -2,9 +2,6 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
|
|
5
|
-
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
6
|
-
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
7
|
-
|
|
8
5
|
class ShaderWrapper:
|
|
9
6
|
"""Base class with minimal common ground for all types of shader interfaces we may want/need to implement."""
|
|
10
7
|
|
|
@@ -2,9 +2,6 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
|
|
5
|
-
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
6
|
-
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
7
|
-
|
|
8
5
|
def connect_sockets(input, output):
|
|
9
6
|
"""Connect sockets in a node tree.This is useful because the links created through the normal Python API are
|
|
10
7
|
invalid when one of the sockets is a virtual socket (grayed out sockets in
|
|
@@ -4,9 +4,6 @@ import typing_extensions
|
|
|
4
4
|
import bpy.types
|
|
5
5
|
import mathutils
|
|
6
6
|
|
|
7
|
-
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
8
|
-
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
9
|
-
|
|
10
7
|
class AddObjectHelper:
|
|
11
8
|
def align_update_callback(self, _context):
|
|
12
9
|
"""
|
|
@@ -39,7 +36,7 @@ def object_add_grid_scale_apply_operator(operator, context):
|
|
|
39
36
|
def object_data_add(
|
|
40
37
|
context: bpy.types.Context,
|
|
41
38
|
obdata,
|
|
42
|
-
operator: bpy.types.Operator = None,
|
|
39
|
+
operator: bpy.types.Operator | None = None,
|
|
43
40
|
name: str | None = None,
|
|
44
41
|
) -> bpy.types.Object:
|
|
45
42
|
"""Add an object using the view context and preference to initialize the
|
|
@@ -49,7 +46,7 @@ def object_data_add(
|
|
|
49
46
|
:type context: bpy.types.Context
|
|
50
47
|
:param obdata: the data used for the new object.
|
|
51
48
|
:param operator: The operator, checked for location and rotation properties.
|
|
52
|
-
:type operator: bpy.types.Operator
|
|
49
|
+
:type operator: bpy.types.Operator | None
|
|
53
50
|
:param name: Optional name
|
|
54
51
|
:type name: str | None
|
|
55
52
|
:return: the newly created object in the scene.
|
bpy_extras/wm_utils/__init__.pyi
CHANGED
bpy_restrict_state/__init__.pyi
CHANGED
bpy_types/__init__.pyi
CHANGED
console_python/__init__.pyi
CHANGED
console_shell/__init__.pyi
CHANGED
|
@@ -2,9 +2,6 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
|
|
5
|
-
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
6
|
-
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
7
|
-
|
|
8
5
|
def add_scrollback(text, text_type): ...
|
|
9
6
|
def autocomplete(_context): ...
|
|
10
7
|
def banner(context): ...
|