fake-bpy-module 20250612__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 +3 -1
- {bl_i18n_utils → _bl_i18n_utils}/utils/__init__.pyi +4 -4
- _bl_i18n_utils/utils_spell_check/__init__.pyi +22 -0
- {bl_ui_utils → _bl_ui_utils}/__init__.pyi +1 -0
- _blendfile_header/__init__.pyi +48 -0
- _bpy_internal/__init__.pyi +4 -1
- _bpy_internal/assets/__init__.pyi +5 -0
- _bpy_internal/assets/remote_library_listing/__init__.pyi +5 -0
- _bpy_internal/assets/remote_library_listing/blender_asset_library_openapi/__init__.pyi +13 -0
- _bpy_internal/disk_file_hash_service/__init__.pyi +19 -0
- _bpy_internal/disk_file_hash_service/backend_sqlite/__init__.pyi +48 -0
- _bpy_internal/disk_file_hash_service/hash_service/__init__.pyi +64 -0
- _bpy_internal/disk_file_hash_service/types/__init__.pyi +53 -0
- _bpy_internal/extensions/wheel_manager/__init__.pyi +1 -1
- _bpy_internal/filesystem/__init__.pyi +5 -0
- _bpy_internal/filesystem/locking/__init__.pyi +28 -0
- _bpy_internal/grease_pencil/stroke/__init__.pyi +2 -2
- _bpy_internal/platform/__init__.pyi +5 -0
- _bpy_types/__init__.pyi +1592 -0
- {keyingsets_utils → _keyingsets_utils}/__init__.pyi +2 -0
- {rna_info → _rna_info}/__init__.pyi +4 -2
- addon_utils/__init__.pyi +0 -13
- aud/__init__.pyi +122 -145
- 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 +3 -13
- bl_operators/__init__.pyi +1 -0
- bl_operators/add_mesh_torus/__init__.pyi +2 -3
- bl_operators/anim/__init__.pyi +62 -38
- bl_operators/assets/__init__.pyi +4 -9
- bl_operators/bone_selection_sets/__init__.pyi +15 -42
- bl_operators/clip/__init__.pyi +12 -31
- bl_operators/connect_to_output/__init__.pyi +2 -3
- bl_operators/console/__init__.pyi +6 -15
- bl_operators/constraint/__init__.pyi +6 -13
- bl_operators/copy_global_transform/__init__.pyi +261 -0
- bl_operators/file/__init__.pyi +6 -11
- bl_operators/freestyle/__init__.pyi +5 -12
- bl_operators/geometry_nodes/__init__.pyi +5 -12
- bl_operators/grease_pencil/__init__.pyi +2 -3
- bl_operators/image/__init__.pyi +6 -15
- bl_operators/image_as_planes/__init__.pyi +3 -10
- bl_operators/mesh/__init__.pyi +3 -49
- bl_operators/node/__init__.pyi +294 -73
- bl_operators/object/__init__.pyi +17 -53
- bl_operators/object_align/__init__.pyi +2 -3
- bl_operators/object_quick_effects/__init__.pyi +5 -12
- bl_operators/object_randomize_transform/__init__.pyi +2 -3
- bl_operators/presets/__init__.pyi +27 -76
- bl_operators/rigidbody/__init__.pyi +4 -9
- bl_operators/screen_play_rendered_anim/__init__.pyi +2 -3
- bl_operators/sequencer/__init__.pyi +12 -27
- bl_operators/spreadsheet/__init__.pyi +2 -3
- bl_operators/userpref/__init__.pyi +26 -75
- bl_operators/uvcalc_follow_active/__init__.pyi +3 -4
- bl_operators/uvcalc_lightmap/__init__.pyi +3 -4
- bl_operators/uvcalc_transform/__init__.pyi +26 -16
- bl_operators/vertexpaint_dirt/__init__.pyi +2 -3
- bl_operators/view3d/__init__.pyi +9 -24
- bl_operators/wm/__init__.pyi +48 -139
- bl_operators/world/__init__.pyi +3 -4
- bl_ui/__init__.pyi +7 -7
- bl_ui/anim/__init__.pyi +2 -3
- bl_ui/asset_shelf/__init__.pyi +2 -3
- bl_ui/generic_ui_list/__init__.pyi +4 -19
- bl_ui/node_add_menu/__init__.pyi +263 -7
- bl_ui/node_add_menu_compositor/__init__.pyi +96 -79
- bl_ui/node_add_menu_geometry/__init__.pyi +309 -270
- bl_ui/node_add_menu_shader/__init__.pyi +49 -49
- bl_ui/node_add_menu_texture/__init__.pyi +17 -62
- bl_ui/properties_collection/__init__.pyi +9 -22
- bl_ui/properties_constraint/__init__.pyi +129 -282
- bl_ui/properties_data_armature/__init__.pyi +22 -57
- bl_ui/properties_data_bone/__init__.pyi +12 -31
- bl_ui/properties_data_camera/__init__.pyi +18 -47
- bl_ui/properties_data_curve/__init__.pyi +18 -47
- bl_ui/properties_data_curves/__init__.pyi +11 -26
- bl_ui/properties_data_empty/__init__.pyi +3 -6
- bl_ui/properties_data_grease_pencil/__init__.pyi +23 -62
- bl_ui/properties_data_lattice/__init__.pyi +7 -14
- bl_ui/properties_data_light/__init__.pyi +13 -32
- bl_ui/properties_data_lightprobe/__init__.pyi +16 -43
- bl_ui/properties_data_mesh/__init__.pyi +47 -62
- bl_ui/properties_data_metaball/__init__.pyi +9 -20
- bl_ui/properties_data_modifier/__init__.pyi +22 -28
- bl_ui/properties_data_pointcloud/__init__.pyi +8 -19
- bl_ui/properties_data_shaderfx/__init__.pyi +2 -3
- bl_ui/properties_data_speaker/__init__.pyi +9 -20
- bl_ui/properties_data_volume/__init__.pyi +12 -29
- bl_ui/properties_freestyle/__init__.pyi +27 -76
- bl_ui/properties_grease_pencil_common/__init__.pyi +10 -168
- bl_ui/properties_mask_common/__init__.pyi +8 -21
- bl_ui/properties_material/__init__.pyi +26 -86
- bl_ui/properties_material_gpencil/__init__.pyi +36 -57
- bl_ui/properties_object/__init__.pyi +59 -65
- bl_ui/properties_output/__init__.pyi +21 -60
- bl_ui/properties_paint_common/__init__.pyi +30 -22
- bl_ui/properties_particle/__init__.pyi +58 -161
- bl_ui/properties_physics_cloth/__init__.pyi +15 -42
- bl_ui/properties_physics_common/__init__.pyi +2 -3
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +23 -66
- bl_ui/properties_physics_field/__init__.pyi +11 -30
- bl_ui/properties_physics_fluid/__init__.pyi +29 -84
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +2 -3
- bl_ui/properties_physics_rigidbody/__init__.pyi +9 -24
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +14 -39
- bl_ui/properties_physics_softbody/__init__.pyi +16 -45
- bl_ui/properties_render/__init__.pyi +139 -197
- bl_ui/properties_scene/__init__.pyi +46 -50
- bl_ui/properties_strip/__init__.pyi +744 -0
- bl_ui/properties_strip_modifier/__init__.pyi +45 -0
- bl_ui/properties_texture/__init__.pyi +30 -83
- bl_ui/properties_view_layer/__init__.pyi +84 -39
- bl_ui/properties_workspace/__init__.pyi +6 -13
- bl_ui/properties_world/__init__.pyi +14 -35
- bl_ui/space_clip/__init__.pyi +150 -231
- bl_ui/space_console/__init__.pyi +7 -18
- bl_ui/space_dopesheet/__init__.pyi +143 -100
- bl_ui/space_filebrowser/__init__.pyi +33 -90
- bl_ui/space_graph/__init__.pyi +48 -85
- bl_ui/space_image/__init__.pyi +111 -229
- bl_ui/space_info/__init__.pyi +7 -18
- bl_ui/space_nla/__init__.pyi +44 -73
- bl_ui/space_node/__init__.pyi +161 -123
- bl_ui/space_outliner/__init__.pyi +16 -45
- bl_ui/space_properties/__init__.pyi +34 -10
- bl_ui/space_sequencer/__init__.pyi +164 -901
- bl_ui/space_spreadsheet/__init__.pyi +4 -9
- bl_ui/space_statusbar/__init__.pyi +2 -3
- bl_ui/space_text/__init__.pyi +17 -48
- bl_ui/space_time/__init__.pyi +25 -71
- bl_ui/space_toolsystem_common/__init__.pyi +2 -2
- bl_ui/space_toolsystem_toolbar/__init__.pyi +30 -7
- bl_ui/space_topbar/__init__.pyi +35 -79
- bl_ui/space_userpref/__init__.pyi +185 -321
- bl_ui/space_view3d/__init__.pyi +337 -817
- bl_ui/space_view3d_sidebar/__init__.pyi +127 -0
- bl_ui/space_view3d_toolbar/__init__.pyi +110 -880
- bl_ui/utils/__init__.pyi +0 -17
- blend_render_info/__init__.pyi +1 -0
- blf/__init__.pyi +8 -54
- bmesh/__init__.pyi +2 -9
- bmesh/geometry/__init__.pyi +1 -4
- bmesh/ops/__init__.pyi +125 -508
- bmesh/types/__init__.pyi +318 -664
- bmesh/utils/__init__.pyi +17 -43
- bpy/__init__.pyi +1 -1
- bpy/app/__init__.pyi +93 -88
- bpy/app/handlers/__init__.pyi +19 -19
- bpy/app/icons/__init__.pyi +0 -6
- bpy/app/timers/__init__.pyi +2 -7
- bpy/app/translations/__init__.pyi +8 -23
- bpy/msgbus/__init__.pyi +4 -6
- bpy/ops/action/__init__.pyi +68 -199
- bpy/ops/anim/__init__.pyi +142 -299
- bpy/ops/armature/__init__.pyi +78 -209
- bpy/ops/asset/__init__.pyi +46 -108
- bpy/ops/boid/__init__.pyi +28 -45
- bpy/ops/brush/__init__.pyi +13 -108
- bpy/ops/buttons/__init__.pyi +16 -75
- bpy/ops/cachefile/__init__.pyi +8 -65
- bpy/ops/camera/__init__.pyi +0 -11
- bpy/ops/clip/__init__.pyi +173 -471
- bpy/ops/cloth/__init__.pyi +0 -5
- bpy/ops/collection/__init__.pyi +23 -36
- bpy/ops/console/__init__.pyi +40 -98
- bpy/ops/constraint/__init__.pyi +14 -85
- bpy/ops/curve/__init__.pyi +94 -277
- bpy/ops/curves/__init__.pyi +119 -166
- bpy/ops/cycles/__init__.pyi +4 -15
- bpy/ops/dpaint/__init__.pyi +14 -24
- bpy/ops/ed/__init__.pyi +44 -92
- bpy/ops/export_anim/__init__.pyi +2 -10
- bpy/ops/export_scene/__init__.pyi +16 -170
- bpy/ops/extensions/__init__.pyi +60 -165
- bpy/ops/file/__init__.pyi +110 -246
- bpy/ops/fluid/__init__.pyi +52 -83
- bpy/ops/font/__init__.pyi +40 -144
- bpy/ops/geometry/__init__.pyi +12 -127
- bpy/ops/gizmogroup/__init__.pyi +4 -13
- bpy/ops/gpencil/__init__.pyi +22 -54
- bpy/ops/graph/__init__.pyi +92 -343
- bpy/ops/grease_pencil/__init__.pyi +218 -550
- bpy/ops/image/__init__.pyi +85 -435
- bpy/ops/import_anim/__init__.pyi +3 -17
- bpy/ops/import_curve/__init__.pyi +2 -5
- bpy/ops/import_scene/__init__.pyi +15 -49
- bpy/ops/info/__init__.pyi +16 -39
- bpy/ops/lattice/__init__.pyi +12 -36
- bpy/ops/marker/__init__.pyi +12 -51
- bpy/ops/mask/__init__.pyi +68 -193
- bpy/ops/material/__init__.pyi +18 -18
- bpy/ops/mball/__init__.pyi +4 -31
- bpy/ops/mesh/__init__.pyi +140 -967
- bpy/ops/nla/__init__.pyi +87 -206
- bpy/ops/node/__init__.pyi +714 -744
- bpy/ops/object/__init__.pyi +461 -1341
- bpy/ops/outliner/__init__.pyi +192 -376
- bpy/ops/paint/__init__.pyi +94 -319
- bpy/ops/paintcurve/__init__.pyi +20 -40
- bpy/ops/palette/__init__.pyi +14 -30
- bpy/ops/particle/__init__.pyi +86 -184
- bpy/ops/pointcloud/__init__.pyi +12 -38
- bpy/ops/pose/__init__.pyi +108 -261
- bpy/ops/poselib/__init__.pyi +32 -67
- bpy/ops/preferences/__init__.pyi +37 -187
- bpy/ops/ptcache/__init__.pyi +22 -36
- bpy/ops/render/__init__.pyi +20 -72
- bpy/ops/rigidbody/__init__.pyi +25 -63
- bpy/ops/scene/__init__.pyi +122 -181
- bpy/ops/screen/__init__.pyi +93 -221
- bpy/ops/script/__init__.pyi +4 -13
- bpy/ops/sculpt/__init__.pyi +69 -324
- bpy/ops/sculpt_curves/__init__.pyi +10 -23
- bpy/ops/sequencer/__init__.pyi +410 -730
- bpy/ops/sound/__init__.pyi +16 -114
- bpy/ops/spreadsheet/__init__.pyi +20 -37
- bpy/ops/surface/__init__.pyi +0 -48
- bpy/ops/text/__init__.pyi +112 -250
- bpy/ops/text_editor/__init__.pyi +0 -5
- bpy/ops/texture/__init__.pyi +14 -21
- bpy/ops/transform/__init__.pyi +18 -386
- bpy/ops/ui/__init__.pyi +117 -188
- bpy/ops/uilist/__init__.pyi +0 -13
- bpy/ops/uv/__init__.pyi +238 -305
- bpy/ops/view2d/__init__.pyi +16 -76
- bpy/ops/view3d/__init__.pyi +153 -377
- bpy/ops/wm/__init__.pyi +277 -1397
- bpy/ops/workspace/__init__.pyi +32 -39
- bpy/ops/world/__init__.pyi +10 -12
- bpy/path/__init__.pyi +1 -35
- bpy/props/__init__.pyi +347 -218
- bpy/stub_internal/rna_enums/__init__.pyi +142 -108
- bpy/types/__init__.pyi +77367 -101305
- bpy/utils/__init__.pyi +11 -82
- bpy/utils/previews/__init__.pyi +2 -11
- bpy/utils/units/__init__.pyi +5 -15
- 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 +2 -11
- bpy_extras/io_utils/__init__.pyi +8 -27
- bpy_extras/keyconfig_utils/__init__.pyi +1 -1
- bpy_extras/mesh_utils/__init__.pyi +0 -12
- bpy_extras/node_shader_utils/__init__.pyi +1 -9
- bpy_extras/object_utils/__init__.pyi +1 -15
- bpy_extras/view3d_utils/__init__.pyi +0 -18
- bpy_extras/wm_utils/progress_report/__init__.pyi +1 -1
- {fake_bpy_module-20250612.dist-info → fake_bpy_module-20260118.dist-info}/METADATA +4 -1
- fake_bpy_module-20260118.dist-info/RECORD +385 -0
- {fake_bpy_module-20250612.dist-info → fake_bpy_module-20260118.dist-info}/top_level.txt +17 -16
- freestyle/chainingiterators/__init__.pyi +5 -27
- freestyle/functions/__init__.pyi +0 -139
- freestyle/predicates/__init__.pyi +2 -53
- freestyle/shaders/__init__.pyi +15 -81
- freestyle/types/__init__.pyi +159 -799
- freestyle/utils/ContextFunctions/__init__.pyi +0 -23
- freestyle/utils/__init__.pyi +5 -11
- gpu/capabilities/__init__.pyi +0 -21
- gpu/matrix/__init__.pyi +1 -10
- gpu/platform/__init__.pyi +2 -7
- gpu/shader/__init__.pyi +26 -9
- gpu/state/__init__.pyi +60 -39
- gpu/texture/__init__.pyi +3 -5
- gpu/types/__init__.pyi +116 -184
- gpu_extras/batch/__init__.pyi +1 -5
- gpu_extras/presets/__init__.pyi +6 -8
- idprop/types/__init__.pyi +6 -6
- imbuf/__init__.pyi +3 -10
- imbuf/types/__init__.pyi +7 -21
- keyingsets_builtins/__init__.pyi +24 -67
- mathutils/__init__.pyi +241 -2207
- mathutils/bvhtree/__init__.pyi +18 -26
- mathutils/geometry/__init__.pyi +82 -132
- mathutils/interpolate/__init__.pyi +6 -5
- mathutils/kdtree/__init__.pyi +1 -11
- mathutils/noise/__init__.pyi +61 -106
- rna_prop_ui/__init__.pyi +1 -1
- bgl/__init__.pyi +0 -4256
- bpy_types/__init__.pyi +0 -30
- fake_bpy_module-20250612.dist-info/RECORD +0 -367
- {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
- {bgl → _bl_console_utils}/py.typed +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/merge_po/__init__.pyi +0 -0
- {bl_console_utils → _bl_i18n_utils}/py.typed +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_i18n_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_previews_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_rna_utils → _bl_text_utils}/py.typed +0 -0
- {bl_ui_utils → _bl_ui_utils}/layout/__init__.pyi +0 -0
- {bl_text_utils → _bl_ui_utils}/py.typed +0 -0
- {bl_ui_utils → _blendfile_header}/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
- {bpy_types → _bpy_types}/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}/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-20250612.dist-info → fake_bpy_module-20260118.dist-info}/WHEEL +0 -0
bpy_extras/io_utils/__init__.pyi
CHANGED
|
@@ -41,8 +41,9 @@ class ImportHelper:
|
|
|
41
41
|
"""
|
|
42
42
|
|
|
43
43
|
def axis_conversion(from_forward="Y", from_up="Z", to_forward="Y", to_up="Z") -> None:
|
|
44
|
-
"""Each argument
|
|
44
|
+
"""Each argument is an axis in [X, Y, Z, -X, -Y, -Z]
|
|
45
45
|
where the first 2 are a source and the second 2 are the target.
|
|
46
|
+
:rtype: `mathutils.Matrix`
|
|
46
47
|
|
|
47
48
|
"""
|
|
48
49
|
|
|
@@ -53,13 +54,9 @@ def axis_conversion_ensure(
|
|
|
53
54
|
to be used from `bpy.types.Operator.check`.
|
|
54
55
|
|
|
55
56
|
:param operator: the operator to access axis attributes from.
|
|
56
|
-
:type operator: bpy.types.Operator
|
|
57
57
|
:param forward_attr: attribute storing the forward axis
|
|
58
|
-
:type forward_attr: str
|
|
59
58
|
:param up_attr: attribute storing the up axis
|
|
60
|
-
:type up_attr: str
|
|
61
59
|
:return: True if the value was modified.
|
|
62
|
-
:rtype: bool
|
|
63
60
|
"""
|
|
64
61
|
|
|
65
62
|
def create_derived_objects(
|
|
@@ -68,12 +65,9 @@ def create_derived_objects(
|
|
|
68
65
|
"""This function takes a sequence of objects, returning their instances.
|
|
69
66
|
|
|
70
67
|
:param depsgraph: The evaluated depsgraph.
|
|
71
|
-
:type depsgraph: bpy.types.Depsgraph
|
|
72
68
|
:param objects: A sequencer of objects.
|
|
73
|
-
:type objects: collections.abc.Sequence[bpy.types.Object]
|
|
74
69
|
:return: A dictionary where each key is an object from objects,
|
|
75
70
|
values are lists of (object, matrix) tuples representing instances.
|
|
76
|
-
:rtype: dict[bpy.types.Object, list[tuple[bpy.types.Object, mathutils.Matrix]]]
|
|
77
71
|
"""
|
|
78
72
|
|
|
79
73
|
def orientation_helper(axis_forward="Y", axis_up="Z") -> None:
|
|
@@ -88,42 +82,34 @@ def path_reference(
|
|
|
88
82
|
base_dst: str,
|
|
89
83
|
mode: str = "AUTO",
|
|
90
84
|
copy_subdir: str = "",
|
|
91
|
-
copy_set=None,
|
|
85
|
+
copy_set: set[tuple[str, str]] | None = None,
|
|
92
86
|
library: None | bpy.types.Library | None = None,
|
|
93
87
|
) -> str:
|
|
94
88
|
"""Return a filepath relative to a destination directory, for use with
|
|
95
89
|
exporters.
|
|
96
90
|
|
|
97
91
|
:param filepath: the file path to return,
|
|
98
|
-
supporting blenders relative
|
|
99
|
-
:type filepath: str
|
|
92
|
+
supporting blenders relative // prefix.
|
|
100
93
|
:param base_src: the directory the filepath is relative too
|
|
101
94
|
(normally the blend file).
|
|
102
|
-
:type base_src: str
|
|
103
95
|
:param base_dst: the directory the filepath will be referenced from
|
|
104
96
|
(normally the export path).
|
|
105
|
-
:type base_dst: str
|
|
106
97
|
:param mode: the method used get the path in
|
|
107
|
-
[
|
|
108
|
-
:
|
|
109
|
-
:param
|
|
110
|
-
:type copy_subdir: str
|
|
111
|
-
:param copy_set: collect from/to pairs when mode='COPY',
|
|
98
|
+
[AUTO, ABSOLUTE, RELATIVE, MATCH, STRIP, COPY]
|
|
99
|
+
:param copy_subdir: the subdirectory of base_dst to use when mode=COPY.
|
|
100
|
+
:param copy_set: collect from/to pairs when mode=COPY,
|
|
112
101
|
pass to path_reference_copy when exporting is done.
|
|
113
102
|
:param library: The library this path is relative to.
|
|
114
|
-
:type library: None | bpy.types.Library | None
|
|
115
103
|
:return: the new filepath.
|
|
116
|
-
:rtype: str
|
|
117
104
|
"""
|
|
118
105
|
|
|
119
106
|
def path_reference_copy(
|
|
120
|
-
copy_set, report: collections.abc.Callable[str, None] = print
|
|
107
|
+
copy_set: set[tuple[str, str]], report: collections.abc.Callable[str, None] = print
|
|
121
108
|
) -> None:
|
|
122
109
|
"""Execute copying files of path_reference
|
|
123
110
|
|
|
124
111
|
:param copy_set: set of (from, to) pairs to copy.
|
|
125
112
|
:param report: function used for reporting warnings, takes a string argument.
|
|
126
|
-
:type report: collections.abc.Callable[str, None]
|
|
127
113
|
"""
|
|
128
114
|
|
|
129
115
|
def poll_file_object_drop(context) -> None:
|
|
@@ -147,18 +133,13 @@ def unique_name(
|
|
|
147
133
|
when available.
|
|
148
134
|
This can be the object, mesh, material, etc instance itself.
|
|
149
135
|
Any hashable object associated with the name.
|
|
150
|
-
:type key: typing.Any
|
|
151
136
|
:param name: The name used to create a unique value in name_dict.
|
|
152
|
-
:type name: str
|
|
153
137
|
:param name_dict: This is used to cache namespace to ensure no collisions
|
|
154
138
|
occur, this should be an empty dict initially and only modified by this
|
|
155
139
|
function.
|
|
156
|
-
:type name_dict: dict
|
|
157
140
|
:param clean_func: Function to call on name before creating a unique value.
|
|
158
|
-
:type clean_func: typing.Any | None
|
|
159
141
|
:param sep: Separator to use when between the name and a number when a
|
|
160
142
|
duplicate name is found.
|
|
161
|
-
:type sep: str
|
|
162
143
|
"""
|
|
163
144
|
|
|
164
145
|
def unpack_face_list(list_of_tuples) -> None: ...
|
|
@@ -4,7 +4,7 @@ import typing_extensions
|
|
|
4
4
|
import numpy.typing as npt
|
|
5
5
|
|
|
6
6
|
def addon_keymap_register(keymap_data) -> None:
|
|
7
|
-
"""Register a set of keymaps for addons using a list of keymaps.See
|
|
7
|
+
"""Register a set of keymaps for addons using a list of keymaps.See blender_default.py for examples of the format this takes."""
|
|
8
8
|
|
|
9
9
|
def addon_keymap_unregister(keymap_data) -> None:
|
|
10
10
|
"""Unregister a set of keymaps for addons."""
|
|
@@ -9,14 +9,12 @@ def edge_face_count(mesh) -> list[int]:
|
|
|
9
9
|
"""
|
|
10
10
|
|
|
11
11
|
:return: list face users for each item in mesh.edges.
|
|
12
|
-
:rtype: list[int]
|
|
13
12
|
"""
|
|
14
13
|
|
|
15
14
|
def edge_face_count_dict(mesh) -> dict[tuple[int, int], int]:
|
|
16
15
|
"""
|
|
17
16
|
|
|
18
17
|
:return: Dictionary of edge keys with their value set to the number of faces using each edge.
|
|
19
|
-
:rtype: dict[tuple[int, int], int]
|
|
20
18
|
"""
|
|
21
19
|
|
|
22
20
|
def edge_loops_from_edges(mesh, edges=None) -> None:
|
|
@@ -32,18 +30,14 @@ def mesh_linked_triangles(
|
|
|
32
30
|
other mesh elements within 1 mesh data-block.
|
|
33
31
|
|
|
34
32
|
:param mesh: the mesh used to group with.
|
|
35
|
-
:type mesh: bpy.types.Mesh
|
|
36
33
|
:return: Lists of lists containing triangles.
|
|
37
|
-
:rtype: list[list[bpy.types.MeshLoopTriangle]]
|
|
38
34
|
"""
|
|
39
35
|
|
|
40
36
|
def mesh_linked_uv_islands(mesh: bpy.types.Mesh) -> list[list[int]]:
|
|
41
37
|
"""Returns lists of polygon indices connected by UV islands.
|
|
42
38
|
|
|
43
39
|
:param mesh: the mesh used to group with.
|
|
44
|
-
:type mesh: bpy.types.Mesh
|
|
45
40
|
:return: list of lists containing polygon indices
|
|
46
|
-
:rtype: list[list[int]]
|
|
47
41
|
"""
|
|
48
42
|
|
|
49
43
|
def ngon_tessellate(
|
|
@@ -59,15 +53,12 @@ def ngon_tessellate(
|
|
|
59
53
|
ngon to create from existing verts.
|
|
60
54
|
|
|
61
55
|
:param from_data: Either a mesh, or a list/tuple of 3D vectors.
|
|
62
|
-
:type from_data: bpy.types.Mesh | list[collections.abc.Sequence[float]] | tuple[collections.abc.Sequence[float]]
|
|
63
56
|
:param indices: a list of indices to use this list
|
|
64
57
|
is the ordered closed poly-line
|
|
65
58
|
to fill, and can be a subset of the data given.
|
|
66
|
-
:type indices: list[int]
|
|
67
59
|
:param fix_loops: If this is enabled poly-lines
|
|
68
60
|
that use loops to make multiple
|
|
69
61
|
poly-lines are dealt with correctly.
|
|
70
|
-
:type fix_loops: bool
|
|
71
62
|
"""
|
|
72
63
|
|
|
73
64
|
def triangle_random_points(
|
|
@@ -77,9 +68,6 @@ def triangle_random_points(
|
|
|
77
68
|
"""Generates a list of random points over mesh loop triangles.
|
|
78
69
|
|
|
79
70
|
:param num_points: The number of random points to generate on each triangle.
|
|
80
|
-
:type num_points: int
|
|
81
71
|
:param loop_triangles: Sequence of the triangles to generate points on.
|
|
82
|
-
:type loop_triangles: collections.abc.Sequence[bpy.types.MeshLoopTriangle]
|
|
83
72
|
:return: List of random points over all triangles.
|
|
84
|
-
:rtype: list[mathutils.Vector]
|
|
85
73
|
"""
|
|
@@ -11,19 +11,12 @@ class ShaderWrapper:
|
|
|
11
11
|
material: typing.Any
|
|
12
12
|
node_out: typing.Any
|
|
13
13
|
node_texcoords: typing.Any
|
|
14
|
-
use_nodes: typing.Any
|
|
15
14
|
|
|
16
15
|
def node_texcoords_get(self) -> None: ...
|
|
17
16
|
def update(self) -> None: ...
|
|
18
|
-
def use_nodes_get(self) -> None: ...
|
|
19
|
-
def use_nodes_set(self, val) -> None:
|
|
20
|
-
"""
|
|
21
|
-
|
|
22
|
-
:param val:
|
|
23
|
-
"""
|
|
24
17
|
|
|
25
18
|
class ShaderImageTextureWrapper:
|
|
26
|
-
"""Generic
|
|
19
|
+
"""Generic image texture-like wrapper, handling image node, some mapping (texture coordinates transformations),
|
|
27
20
|
and texture coordinates source.
|
|
28
21
|
"""
|
|
29
22
|
|
|
@@ -145,7 +138,6 @@ class PrincipledBSDFWrapper(ShaderWrapper):
|
|
|
145
138
|
specular_tint_texture: typing.Any
|
|
146
139
|
transmission: typing.Any
|
|
147
140
|
transmission_texture: typing.Any
|
|
148
|
-
use_nodes: typing.Any
|
|
149
141
|
|
|
150
142
|
def alpha_get(self) -> None: ...
|
|
151
143
|
def alpha_set(self, value) -> None:
|
|
@@ -18,11 +18,8 @@ def add_object_align_init(
|
|
|
18
18
|
"""Return a matrix using the operator settings and view context.
|
|
19
19
|
|
|
20
20
|
:param context: The context to use.
|
|
21
|
-
:type context: bpy.types.Context
|
|
22
21
|
:param operator: The operator, checked for location and rotation properties.
|
|
23
|
-
:type operator: bpy.types.Operator
|
|
24
22
|
:return: the matrix from the context and settings.
|
|
25
|
-
:rtype: mathutils.Matrix
|
|
26
23
|
"""
|
|
27
24
|
|
|
28
25
|
def object_add_grid_scale(context) -> None:
|
|
@@ -44,15 +41,10 @@ def object_data_add(
|
|
|
44
41
|
location, rotation and layer.
|
|
45
42
|
|
|
46
43
|
:param context: The context to use.
|
|
47
|
-
:type context: bpy.types.Context
|
|
48
44
|
:param obdata: Valid object data to used for the new object or None.
|
|
49
|
-
:type obdata: None | bpy.types.ID
|
|
50
45
|
:param operator: The operator, checked for location and rotation properties.
|
|
51
|
-
:type operator: bpy.types.Operator | None
|
|
52
46
|
:param name: Optional name
|
|
53
|
-
:type name: str | None
|
|
54
47
|
:return: the newly created object in the scene.
|
|
55
|
-
:rtype: bpy.types.Object
|
|
56
48
|
"""
|
|
57
49
|
|
|
58
50
|
def object_report_if_active_shape_key_is_locked(
|
|
@@ -61,9 +53,7 @@ def object_report_if_active_shape_key_is_locked(
|
|
|
61
53
|
"""Checks if the active shape key of the specified object is locked, and reports an error if so.If the object has no shape keys, there is nothing to lock, and the function returns False.
|
|
62
54
|
|
|
63
55
|
:param obj: Object to check.
|
|
64
|
-
:type obj: bpy.types.Object
|
|
65
56
|
:param operator: Currently running operator to report the error through. Use None to suppress emitting the message.
|
|
66
|
-
:type operator: bpy.types.Operator
|
|
67
57
|
:return: True if the shape key was locked.
|
|
68
58
|
"""
|
|
69
59
|
|
|
@@ -76,16 +66,12 @@ def world_to_camera_view(
|
|
|
76
66
|
(also known as: normalized device coordinates - NDC).Where (0, 0) is the bottom left and (1, 1)
|
|
77
67
|
is the top right of the camera frame.
|
|
78
68
|
values outside 0-1 are also supported.
|
|
79
|
-
A negative
|
|
69
|
+
A negative z value means the point is behind the camera.Takes shift-x/y, lens angle and sensor size into account
|
|
80
70
|
as well as perspective/ortho projections.
|
|
81
71
|
|
|
82
72
|
:param scene: Scene to use for frame size.
|
|
83
|
-
:type scene: bpy.types.Scene
|
|
84
73
|
:param obj: Camera object.
|
|
85
|
-
:type obj: bpy.types.Object
|
|
86
74
|
:param coord: World space location.
|
|
87
|
-
:type coord: collections.abc.Sequence[float] | mathutils.Vector
|
|
88
75
|
:return: a vector where X and Y map to the view plane and
|
|
89
76
|
Z is the depth on the view axis.
|
|
90
|
-
:rtype: mathutils.Vector
|
|
91
77
|
"""
|
|
@@ -15,15 +15,11 @@ def location_3d_to_region_2d(
|
|
|
15
15
|
"""Return the region relative 2d location of a 3d position.
|
|
16
16
|
|
|
17
17
|
:param region: region of the 3D viewport, typically bpy.context.region.
|
|
18
|
-
:type region: bpy.types.Region
|
|
19
18
|
:param rv3d: 3D region data, typically bpy.context.space_data.region_3d.
|
|
20
|
-
:type rv3d: bpy.types.RegionView3D
|
|
21
19
|
:param coord: 3d world-space location.
|
|
22
|
-
:type coord: collections.abc.Sequence[float] | mathutils.Vector
|
|
23
20
|
:param default: Return this value if coord
|
|
24
21
|
is behind the origin of a perspective view.
|
|
25
22
|
:return: 2d location
|
|
26
|
-
:rtype: mathutils.Vector | typing.Any
|
|
27
23
|
"""
|
|
28
24
|
|
|
29
25
|
def region_2d_to_location_3d(
|
|
@@ -36,17 +32,12 @@ def region_2d_to_location_3d(
|
|
|
36
32
|
depth_location.
|
|
37
33
|
|
|
38
34
|
:param region: region of the 3D viewport, typically bpy.context.region.
|
|
39
|
-
:type region: bpy.types.Region
|
|
40
35
|
:param rv3d: 3D region data, typically bpy.context.space_data.region_3d.
|
|
41
|
-
:type rv3d: bpy.types.RegionView3D
|
|
42
36
|
:param coord: 2d coordinates relative to the region;
|
|
43
37
|
(event.mouse_region_x, event.mouse_region_y) for example.
|
|
44
|
-
:type coord: collections.abc.Sequence[float] | mathutils.Vector
|
|
45
38
|
:param depth_location: the returned vectors depth is aligned with this since
|
|
46
39
|
there is no defined depth with a 2d region input.
|
|
47
|
-
:type depth_location: collections.abc.Sequence[float] | mathutils.Vector
|
|
48
40
|
:return: normalized 3d vector.
|
|
49
|
-
:rtype: mathutils.Vector
|
|
50
41
|
"""
|
|
51
42
|
|
|
52
43
|
def region_2d_to_origin_3d(
|
|
@@ -59,17 +50,12 @@ def region_2d_to_origin_3d(
|
|
|
59
50
|
"""Return the 3d view origin from the region relative 2d coords.
|
|
60
51
|
|
|
61
52
|
:param region: region of the 3D viewport, typically bpy.context.region.
|
|
62
|
-
:type region: bpy.types.Region
|
|
63
53
|
:param rv3d: 3D region data, typically bpy.context.space_data.region_3d.
|
|
64
|
-
:type rv3d: bpy.types.RegionView3D
|
|
65
54
|
:param coord: 2D coordinates relative to the region;
|
|
66
55
|
(event.mouse_region_x, event.mouse_region_y) for example.
|
|
67
|
-
:type coord: collections.abc.Sequence[float]
|
|
68
56
|
:param clamp: Clamp the maximum far-clip value used.
|
|
69
57
|
(negative value will move the offset away from the view_location)
|
|
70
|
-
:type clamp: None | float | None
|
|
71
58
|
:return: The origin of the viewpoint in 3d space.
|
|
72
|
-
:rtype: mathutils.Vector
|
|
73
59
|
"""
|
|
74
60
|
|
|
75
61
|
def region_2d_to_vector_3d(
|
|
@@ -81,12 +67,8 @@ def region_2d_to_vector_3d(
|
|
|
81
67
|
coordinate.
|
|
82
68
|
|
|
83
69
|
:param region: region of the 3D viewport, typically bpy.context.region.
|
|
84
|
-
:type region: bpy.types.Region
|
|
85
70
|
:param rv3d: 3D region data, typically bpy.context.space_data.region_3d.
|
|
86
|
-
:type rv3d: bpy.types.RegionView3D
|
|
87
71
|
:param coord: 2d coordinates relative to the region:
|
|
88
72
|
(event.mouse_region_x, event.mouse_region_y) for example.
|
|
89
|
-
:type coord: collections.abc.Sequence[float] | mathutils.Vector
|
|
90
73
|
:return: normalized 3d vector.
|
|
91
|
-
:rtype: mathutils.Vector
|
|
92
74
|
"""
|
|
@@ -45,7 +45,7 @@ class ProgressReport:
|
|
|
45
45
|
"""
|
|
46
46
|
|
|
47
47
|
class ProgressReportSubstep:
|
|
48
|
-
"""A sub-step context manager for ProgressReport.It can be used to generate other sub-step contexts too, and can act as a (limited) proxy of its real ProgressReport.Its exit method always ensure ProgressReport is back on
|
|
48
|
+
"""A sub-step context manager for ProgressReport.It can be used to generate other sub-step contexts too, and can act as a (limited) proxy of its real ProgressReport.Its exit method always ensure ProgressReport is back on level it was before entering this context.
|
|
49
49
|
This means it is especially useful to ensure a coherent behavior around code that could return/continue/break
|
|
50
50
|
from many places, without having to bother to explicitly leave sub-step in each and every possible place!
|
|
51
51
|
"""
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: fake-bpy-module
|
|
3
|
-
Version:
|
|
3
|
+
Version: 20260118
|
|
4
4
|
Summary: Collection of the fake Blender Python API module for the code completion.
|
|
5
5
|
Author: nutti
|
|
6
6
|
Author-email: nutti.metro@gmail.com
|
|
@@ -115,6 +115,9 @@ being too big for intelliSense to work.*
|
|
|
115
115
|
|4.1|[https://pypi.org/project/fake-bpy-module-4.1/](https://pypi.org/project/fake-bpy-module-4.1/)|
|
|
116
116
|
|4.2|[https://pypi.org/project/fake-bpy-module-4.2/](https://pypi.org/project/fake-bpy-module-4.2/)|
|
|
117
117
|
|4.3|[https://pypi.org/project/fake-bpy-module-4.3/](https://pypi.org/project/fake-bpy-module-4.3/)|
|
|
118
|
+
|4.4|[https://pypi.org/project/fake-bpy-module-4.4/](https://pypi.org/project/fake-bpy-module-4.4/)|
|
|
119
|
+
|4.5|[https://pypi.org/project/fake-bpy-module-4.5/](https://pypi.org/project/fake-bpy-module-4.5/)|
|
|
120
|
+
|5.0|[https://pypi.org/project/fake-bpy-module-5.0/](https://pypi.org/project/fake-bpy-module-5.0/)|
|
|
118
121
|
|latest|[https://pypi.org/project/fake-bpy-module/](https://pypi.org/project/fake-bpy-module/)|
|
|
119
122
|
||[https://pypi.org/project/fake-bpy-module-latest/](https://pypi.org/project/fake-bpy-module-latest/)|
|
|
120
123
|
|