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
bmesh/utils/__init__.pyi
CHANGED
|
@@ -14,11 +14,8 @@ def edge_rotate(edge: bmesh.types.BMEdge, ccw: bool = False) -> bmesh.types.BMEd
|
|
|
14
14
|
If rotating the edge fails, None will be returned.
|
|
15
15
|
|
|
16
16
|
:param edge: The edge to rotate.
|
|
17
|
-
:type edge: bmesh.types.BMEdge
|
|
18
17
|
:param ccw: When True the edge will be rotated counter clockwise.
|
|
19
|
-
:type ccw: bool
|
|
20
18
|
:return: The newly rotated edge.
|
|
21
|
-
:rtype: bmesh.types.BMEdge
|
|
22
19
|
"""
|
|
23
20
|
|
|
24
21
|
def edge_split(
|
|
@@ -27,33 +24,29 @@ def edge_split(
|
|
|
27
24
|
"""Split an edge, return the newly created data.
|
|
28
25
|
|
|
29
26
|
:param edge: The edge to split.
|
|
30
|
-
:type edge: bmesh.types.BMEdge
|
|
31
27
|
:param vert: One of the verts on the edge, defines the split direction.
|
|
32
|
-
:type vert: bmesh.types.BMVert
|
|
33
28
|
:param fac: The point on the edge where the new vert will be created [0 - 1].
|
|
34
|
-
:type fac: float
|
|
35
29
|
:return: The newly created (edge, vert) pair.
|
|
36
|
-
:rtype: tuple[bmesh.types.BMEdge, bmesh.types.BMVert]
|
|
37
30
|
"""
|
|
38
31
|
|
|
39
32
|
def face_flip(faces) -> None:
|
|
40
33
|
"""Flip the faces direction."""
|
|
41
34
|
|
|
42
|
-
def face_join(
|
|
35
|
+
def face_join(
|
|
36
|
+
faces: collections.abc.Sequence[bmesh.types.BMFace], remove: bool = True
|
|
37
|
+
) -> bmesh.types.BMFace:
|
|
43
38
|
"""Joins a sequence of faces.
|
|
44
39
|
|
|
45
40
|
:param faces: Sequence of faces.
|
|
46
|
-
:type faces: bmesh.types.BMFace
|
|
47
41
|
:param remove: Remove the edges and vertices between the faces.
|
|
48
|
-
:type remove: bool
|
|
49
42
|
:return: The newly created face or None on failure.
|
|
50
|
-
:rtype: bmesh.types.BMFace
|
|
51
43
|
"""
|
|
52
44
|
|
|
53
45
|
def face_split(
|
|
54
46
|
face: bmesh.types.BMFace,
|
|
55
47
|
vert_a: bmesh.types.BMVert,
|
|
56
48
|
vert_b: bmesh.types.BMVert,
|
|
49
|
+
*,
|
|
57
50
|
coords: collections.abc.Sequence[collections.abc.Sequence[float]] = (),
|
|
58
51
|
use_exist: bool = True,
|
|
59
52
|
example: bmesh.types.BMEdge | None = None,
|
|
@@ -61,19 +54,12 @@ def face_split(
|
|
|
61
54
|
"""Face split with optional intermediate points.
|
|
62
55
|
|
|
63
56
|
:param face: The face to cut.
|
|
64
|
-
:type face: bmesh.types.BMFace
|
|
65
57
|
:param vert_a: First vertex to cut in the face (face must contain the vert).
|
|
66
|
-
:type vert_a: bmesh.types.BMVert
|
|
67
58
|
:param vert_b: Second vertex to cut in the face (face must contain the vert).
|
|
68
|
-
:type vert_b: bmesh.types.BMVert
|
|
69
59
|
:param coords: Optional sequence of 3D points in between vert_a and vert_b.
|
|
70
|
-
:type coords: collections.abc.Sequence[collections.abc.Sequence[float]]
|
|
71
60
|
:param use_exist: .Use an existing edge if it exists (Only used when coords argument is empty or omitted)
|
|
72
|
-
:type use_exist: bool
|
|
73
61
|
:param example: Newly created edge will copy settings from this one.
|
|
74
|
-
:type example: bmesh.types.BMEdge | None
|
|
75
62
|
:return: The newly created face or None on failure.
|
|
76
|
-
:rtype: tuple[bmesh.types.BMFace, bmesh.types.BMLoop]
|
|
77
63
|
"""
|
|
78
64
|
|
|
79
65
|
def face_split_edgenet(
|
|
@@ -81,12 +67,9 @@ def face_split_edgenet(
|
|
|
81
67
|
) -> tuple[bmesh.types.BMFace, ...]:
|
|
82
68
|
"""Splits a face into any number of regions defined by an edgenet.
|
|
83
69
|
|
|
84
|
-
:param face: The face to split.
|
|
85
|
-
:type face: bmesh.types.BMFace
|
|
70
|
+
:param face: The face to split.
|
|
86
71
|
:param edgenet: Sequence of edges.
|
|
87
|
-
:type edgenet: collections.abc.Sequence[bmesh.types.BMEdge]
|
|
88
72
|
:return: The newly created faces.
|
|
89
|
-
:rtype: tuple[bmesh.types.BMFace, ...]
|
|
90
73
|
"""
|
|
91
74
|
|
|
92
75
|
def face_vert_separate(
|
|
@@ -95,20 +78,26 @@ def face_vert_separate(
|
|
|
95
78
|
"""Rip a vertex in a face away and add a new vertex.
|
|
96
79
|
|
|
97
80
|
:param face: The face to separate.
|
|
98
|
-
:type face: bmesh.types.BMFace
|
|
99
81
|
:param vert: A vertex in the face to separate.
|
|
100
|
-
:type vert: bmesh.types.BMVert
|
|
101
82
|
:return: The newly created vertex or None on failure.
|
|
102
|
-
:rtype: bmesh.types.BMVert
|
|
103
83
|
"""
|
|
104
84
|
|
|
105
85
|
def loop_separate(loop: bmesh.types.BMLoop) -> bmesh.types.BMVert:
|
|
106
86
|
"""Rip a vertex in a face away and add a new vertex.
|
|
107
87
|
|
|
108
88
|
:param loop: The loop to separate.
|
|
109
|
-
:type loop: bmesh.types.BMLoop
|
|
110
89
|
:return: The newly created vertex or None on failure.
|
|
111
|
-
|
|
90
|
+
"""
|
|
91
|
+
|
|
92
|
+
def uv_select_check(
|
|
93
|
+
bm, /, *, sync: bool = True, flush: bool = False, contiguous: bool = False
|
|
94
|
+
) -> None | dict[str, int]:
|
|
95
|
+
"""Check UV selection state for consistency issues.
|
|
96
|
+
|
|
97
|
+
:param sync: Check the data is properly synchronized between UVs and the underlying mesh. Failure to synchronize with the mesh selection may cause tools not to behave properly.
|
|
98
|
+
:param flush: Check the selection has been properly flushed between elements (based on the current `BMesh.select_mode`).
|
|
99
|
+
:param contiguous: Check connected UVs and edges have a matching selection state.
|
|
100
|
+
:return: An error dictionary or None when there are no errors found.
|
|
112
101
|
"""
|
|
113
102
|
|
|
114
103
|
def vert_collapse_edge(
|
|
@@ -117,11 +106,8 @@ def vert_collapse_edge(
|
|
|
117
106
|
"""Collapse a vertex into an edge.
|
|
118
107
|
|
|
119
108
|
:param vert: The vert that will be collapsed.
|
|
120
|
-
:type vert: bmesh.types.BMVert
|
|
121
109
|
:param edge: The edge to collapse into.
|
|
122
|
-
:type edge: bmesh.types.BMEdge
|
|
123
110
|
:return: The resulting edge from the collapse operation.
|
|
124
|
-
:rtype: bmesh.types.BMEdge
|
|
125
111
|
"""
|
|
126
112
|
|
|
127
113
|
def vert_collapse_faces(
|
|
@@ -130,44 +116,32 @@ def vert_collapse_faces(
|
|
|
130
116
|
"""Collapses a vertex that has only two manifold edges onto a vertex it shares an edge with.
|
|
131
117
|
|
|
132
118
|
:param vert: The vert that will be collapsed.
|
|
133
|
-
:type vert: bmesh.types.BMVert
|
|
134
119
|
:param edge: The edge to collapse into.
|
|
135
|
-
:type edge: bmesh.types.BMEdge
|
|
136
120
|
:param fac: The factor to use when merging customdata [0 - 1].
|
|
137
|
-
:type fac: float
|
|
138
121
|
:param join_faces: When true the faces around the vertex will be joined otherwise collapse the vertex by merging the 2 edges this vertex connects to into one.
|
|
139
|
-
:type join_faces: bool
|
|
140
122
|
:return: The resulting edge from the collapse operation.
|
|
141
|
-
:rtype: bmesh.types.BMEdge
|
|
142
123
|
"""
|
|
143
124
|
|
|
144
125
|
def vert_dissolve(vert: bmesh.types.BMVert) -> bool:
|
|
145
126
|
"""Dissolve this vertex (will be removed).
|
|
146
127
|
|
|
147
128
|
:param vert: The vert to be dissolved.
|
|
148
|
-
:type vert: bmesh.types.BMVert
|
|
149
129
|
:return: True when the vertex dissolve is successful.
|
|
150
|
-
:rtype: bool
|
|
151
130
|
"""
|
|
152
131
|
|
|
153
132
|
def vert_separate(
|
|
154
|
-
vert: bmesh.types.BMVert, edges: bmesh.types.BMEdge
|
|
133
|
+
vert: bmesh.types.BMVert, edges: collections.abc.Sequence[bmesh.types.BMEdge]
|
|
155
134
|
) -> tuple[bmesh.types.BMVert, ...]:
|
|
156
135
|
"""Separate this vertex at every edge.
|
|
157
136
|
|
|
158
137
|
:param vert: The vert to be separated.
|
|
159
|
-
:type vert: bmesh.types.BMVert
|
|
160
138
|
:param edges: The edges to separated.
|
|
161
|
-
:type edges: bmesh.types.BMEdge
|
|
162
139
|
:return: The newly separated verts (including the vertex passed).
|
|
163
|
-
:rtype: tuple[bmesh.types.BMVert, ...]
|
|
164
140
|
"""
|
|
165
141
|
|
|
166
142
|
def vert_splice(vert: bmesh.types.BMVert, vert_target: bmesh.types.BMVert) -> None:
|
|
167
143
|
"""Splice vert into vert_target.
|
|
168
144
|
|
|
169
145
|
:param vert: The vertex to be removed.
|
|
170
|
-
:type vert: bmesh.types.BMVert
|
|
171
146
|
:param vert_target: The vertex to use.
|
|
172
|
-
:type vert_target: bmesh.types.BMVert
|
|
173
147
|
"""
|
bpy/__init__.pyi
CHANGED
bpy/app/__init__.pyi
CHANGED
|
@@ -22,78 +22,83 @@ from . import icons as icons
|
|
|
22
22
|
from . import timers as timers
|
|
23
23
|
from . import translations as translations
|
|
24
24
|
|
|
25
|
-
def help_text(all: bool | None = False) ->
|
|
25
|
+
def help_text(*, all: bool | None = False) -> str:
|
|
26
26
|
"""Return the help text as a string.
|
|
27
27
|
|
|
28
|
-
:param all: Return all arguments, even those which
|
|
29
|
-
:
|
|
28
|
+
:param all: Return all arguments, even those which arent available for the current platform.
|
|
29
|
+
:return: Help text.
|
|
30
30
|
"""
|
|
31
31
|
|
|
32
|
-
def is_job_running(job_type: bpy.stub_internal.rna_enums.WmJobTypeItems) ->
|
|
32
|
+
def is_job_running(job_type: bpy.stub_internal.rna_enums.WmJobTypeItems) -> bool:
|
|
33
33
|
"""Check whether a job of the given type is running.
|
|
34
34
|
|
|
35
35
|
:param job_type: job type in `rna_enum_wm_job_type_items`.
|
|
36
|
-
:type job_type: bpy.stub_internal.rna_enums.WmJobTypeItems
|
|
37
36
|
:return: Whether a job of the given type is currently running.
|
|
38
37
|
"""
|
|
39
38
|
|
|
39
|
+
def memory_usage_undo() -> int:
|
|
40
|
+
"""Get undo memory usage information.
|
|
41
|
+
|
|
42
|
+
:return: Memory usage of the undo stack in bytes.
|
|
43
|
+
"""
|
|
44
|
+
|
|
40
45
|
alembic: typing.Any
|
|
41
|
-
""" Constant value bpy.app.alembic(supported=True, version=(1, 8, 3), version_string=
|
|
46
|
+
""" Constant value bpy.app.alembic(supported=True, version=(1, 8, 3), version_string= 1, 8, 3)
|
|
42
47
|
"""
|
|
43
48
|
|
|
44
|
-
autoexec_fail:
|
|
45
|
-
"""
|
|
49
|
+
autoexec_fail: bool
|
|
50
|
+
""" Boolean, True when auto-execution of scripts failed (read-only).
|
|
46
51
|
"""
|
|
47
52
|
|
|
48
|
-
autoexec_fail_message:
|
|
49
|
-
"""
|
|
53
|
+
autoexec_fail_message: str
|
|
54
|
+
""" String, message describing the auto-execution failure (read-only).
|
|
50
55
|
"""
|
|
51
56
|
|
|
52
|
-
autoexec_fail_quiet:
|
|
53
|
-
"""
|
|
57
|
+
autoexec_fail_quiet: bool
|
|
58
|
+
""" Boolean, True when auto-execution failure should be quiet, set after the warning is shown once for the current blend file (read-only).
|
|
54
59
|
"""
|
|
55
60
|
|
|
56
|
-
background:
|
|
61
|
+
background: bool
|
|
57
62
|
""" Boolean, True when blender is running without a user interface (started with -b)
|
|
58
63
|
"""
|
|
59
64
|
|
|
60
65
|
binary_path: str
|
|
61
|
-
""" The location of
|
|
66
|
+
""" The location of Blenders executable, useful for utilities that open new instances. Read-only unless Blender is built as a Python module - in this case the value is an empty string which script authors may point to a Blender binary.
|
|
62
67
|
"""
|
|
63
68
|
|
|
64
|
-
build_branch:
|
|
69
|
+
build_branch: bytes
|
|
65
70
|
""" The branch this blender instance was built from
|
|
66
71
|
"""
|
|
67
72
|
|
|
68
|
-
build_cflags:
|
|
73
|
+
build_cflags: bytes
|
|
69
74
|
""" C compiler flags
|
|
70
75
|
"""
|
|
71
76
|
|
|
72
|
-
build_commit_date:
|
|
77
|
+
build_commit_date: bytes
|
|
73
78
|
""" The date of commit this blender instance was built
|
|
74
79
|
"""
|
|
75
80
|
|
|
76
|
-
build_commit_time:
|
|
81
|
+
build_commit_time: bytes
|
|
77
82
|
""" The time of commit this blender instance was built
|
|
78
83
|
"""
|
|
79
84
|
|
|
80
|
-
build_commit_timestamp:
|
|
85
|
+
build_commit_timestamp: int
|
|
81
86
|
""" The unix timestamp of commit this blender instance was built
|
|
82
87
|
"""
|
|
83
88
|
|
|
84
|
-
build_cxxflags:
|
|
89
|
+
build_cxxflags: bytes
|
|
85
90
|
""" C++ compiler flags
|
|
86
91
|
"""
|
|
87
92
|
|
|
88
|
-
build_date:
|
|
93
|
+
build_date: bytes
|
|
89
94
|
""" The date this blender instance was built
|
|
90
95
|
"""
|
|
91
96
|
|
|
92
|
-
build_hash:
|
|
97
|
+
build_hash: bytes
|
|
93
98
|
""" The commit hash this blender instance was built with
|
|
94
99
|
"""
|
|
95
100
|
|
|
96
|
-
build_linkflags:
|
|
101
|
+
build_linkflags: bytes
|
|
97
102
|
""" Binary linking flags
|
|
98
103
|
"""
|
|
99
104
|
|
|
@@ -101,159 +106,159 @@ build_options: typing.Any
|
|
|
101
106
|
""" Constant value bpy.app.build_options(bullet=True, codec_avi=False, codec_ffmpeg=True, codec_sndfile=True, compositor_cpu=True, cycles=True, cycles_osl=True, freestyle=True, image_cineon=True, image_dds=True, image_hdr=True, image_openexr=True, image_openjpeg=True, image_tiff=True, image_webp=True, input_ndof=True, audaspace=True, international=True, openal=True, opensubdiv=True, sdl=False, coreaudio=False, jack=False, pulseaudio=False, wasapi=False, libmv=True, mod_oceansim=True, mod_remesh=True, io_wavefront_obj=True, io_ply=True, io_stl=True, io_fbx=True, io_gpencil=True, opencolorio=True, openmp=False, openvdb=True, alembic=True, usd=True, fluid=True, xr_openxr=True, potrace=True, pugixml=True, haru=True, experimental_features=True)
|
|
102
107
|
"""
|
|
103
108
|
|
|
104
|
-
build_platform:
|
|
109
|
+
build_platform: bytes
|
|
105
110
|
""" The platform this blender instance was built for
|
|
106
111
|
"""
|
|
107
112
|
|
|
108
|
-
build_system:
|
|
113
|
+
build_system: bytes
|
|
109
114
|
""" Build system used
|
|
110
115
|
"""
|
|
111
116
|
|
|
112
|
-
build_time:
|
|
117
|
+
build_time: bytes
|
|
113
118
|
""" The time this blender instance was built
|
|
114
119
|
"""
|
|
115
120
|
|
|
116
|
-
build_type:
|
|
121
|
+
build_type: bytes
|
|
117
122
|
""" The type of build (Release, Debug)
|
|
118
123
|
"""
|
|
119
124
|
|
|
120
|
-
|
|
121
|
-
"""
|
|
125
|
+
cachedir: None | str
|
|
126
|
+
""" String, the cache directory used by blender (read-only).If the parent of the cache folder (i.e. the part of the path that is not Blender-specific) does not exist, returns None.
|
|
122
127
|
"""
|
|
123
128
|
|
|
124
|
-
|
|
125
|
-
""" Boolean, for debug info (started with --debug / --debug-* matching this attribute name)
|
|
129
|
+
debug: bool
|
|
130
|
+
""" Boolean, for debug info (started with --debug / --debug-* matching this attribute name).
|
|
126
131
|
"""
|
|
127
132
|
|
|
128
|
-
|
|
129
|
-
""" Boolean, for debug info (started with --debug / --debug-* matching this attribute name)
|
|
133
|
+
debug_depsgraph: bool
|
|
134
|
+
""" Boolean, for debug info (started with --debug / --debug-* matching this attribute name).
|
|
130
135
|
"""
|
|
131
136
|
|
|
132
|
-
|
|
133
|
-
""" Boolean, for debug info (started with --debug / --debug-* matching this attribute name)
|
|
137
|
+
debug_depsgraph_build: bool
|
|
138
|
+
""" Boolean, for debug info (started with --debug / --debug-* matching this attribute name).
|
|
134
139
|
"""
|
|
135
140
|
|
|
136
|
-
|
|
137
|
-
""" Boolean, for debug info (started with --debug / --debug-* matching this attribute name)
|
|
141
|
+
debug_depsgraph_eval: bool
|
|
142
|
+
""" Boolean, for debug info (started with --debug / --debug-* matching this attribute name).
|
|
138
143
|
"""
|
|
139
144
|
|
|
140
|
-
|
|
141
|
-
""" Boolean, for debug info (started with --debug / --debug-* matching this attribute name)
|
|
145
|
+
debug_depsgraph_pretty: bool
|
|
146
|
+
""" Boolean, for debug info (started with --debug / --debug-* matching this attribute name).
|
|
142
147
|
"""
|
|
143
148
|
|
|
144
|
-
|
|
145
|
-
""" Boolean, for debug info (started with --debug / --debug-* matching this attribute name)
|
|
149
|
+
debug_depsgraph_tag: bool
|
|
150
|
+
""" Boolean, for debug info (started with --debug / --debug-* matching this attribute name).
|
|
146
151
|
"""
|
|
147
152
|
|
|
148
|
-
|
|
149
|
-
""" Boolean, for debug info (started with --debug / --debug-* matching this attribute name)
|
|
153
|
+
debug_depsgraph_time: bool
|
|
154
|
+
""" Boolean, for debug info (started with --debug / --debug-* matching this attribute name).
|
|
150
155
|
"""
|
|
151
156
|
|
|
152
|
-
|
|
153
|
-
""" Boolean, for debug info (started with --debug / --debug-* matching this attribute name)
|
|
157
|
+
debug_events: bool
|
|
158
|
+
""" Boolean, for debug info (started with --debug / --debug-* matching this attribute name).
|
|
154
159
|
"""
|
|
155
160
|
|
|
156
|
-
debug_freestyle:
|
|
157
|
-
""" Boolean, for debug info (started with --debug / --debug-* matching this attribute name)
|
|
161
|
+
debug_freestyle: bool
|
|
162
|
+
""" Boolean, for debug info (started with --debug / --debug-* matching this attribute name).
|
|
158
163
|
"""
|
|
159
164
|
|
|
160
|
-
debug_handlers:
|
|
161
|
-
""" Boolean, for debug info (started with --debug / --debug-* matching this attribute name)
|
|
165
|
+
debug_handlers: bool
|
|
166
|
+
""" Boolean, for debug info (started with --debug / --debug-* matching this attribute name).
|
|
162
167
|
"""
|
|
163
168
|
|
|
164
|
-
debug_io:
|
|
165
|
-
""" Boolean, for debug info (started with --debug / --debug-* matching this attribute name)
|
|
169
|
+
debug_io: bool
|
|
170
|
+
""" Boolean, for debug info (started with --debug / --debug-* matching this attribute name).
|
|
166
171
|
"""
|
|
167
172
|
|
|
168
|
-
debug_python:
|
|
169
|
-
""" Boolean, for debug info (started with --debug / --debug-* matching this attribute name)
|
|
173
|
+
debug_python: bool
|
|
174
|
+
""" Boolean, for debug info (started with --debug / --debug-* matching this attribute name).
|
|
170
175
|
"""
|
|
171
176
|
|
|
172
|
-
debug_simdata:
|
|
173
|
-
""" Boolean, for debug info (started with --debug / --debug-* matching this attribute name)
|
|
177
|
+
debug_simdata: bool
|
|
178
|
+
""" Boolean, for debug info (started with --debug / --debug-* matching this attribute name).
|
|
174
179
|
"""
|
|
175
180
|
|
|
176
|
-
debug_value:
|
|
177
|
-
""" Short, number which can be set to non-zero values for testing purposes
|
|
181
|
+
debug_value: int
|
|
182
|
+
""" Short, number which can be set to non-zero values for testing purposes.
|
|
178
183
|
"""
|
|
179
184
|
|
|
180
|
-
debug_wm:
|
|
181
|
-
""" Boolean, for debug info (started with --debug / --debug-* matching this attribute name)
|
|
185
|
+
debug_wm: bool
|
|
186
|
+
""" Boolean, for debug info (started with --debug / --debug-* matching this attribute name).
|
|
182
187
|
"""
|
|
183
188
|
|
|
184
|
-
driver_namespace: typing.Any
|
|
185
|
-
""" Dictionary for drivers namespace, editable in-place, reset on file load (read-only)
|
|
189
|
+
driver_namespace: dict[str, typing.Any]
|
|
190
|
+
""" Dictionary for drivers namespace, editable in-place, reset on file load (read-only).
|
|
186
191
|
"""
|
|
187
192
|
|
|
188
|
-
factory_startup:
|
|
189
|
-
""" Boolean, True when blender is running with --factory-startup
|
|
193
|
+
factory_startup: bool
|
|
194
|
+
""" Boolean, True when blender is running with --factory-startup
|
|
190
195
|
"""
|
|
191
196
|
|
|
192
197
|
ffmpeg: typing.Any
|
|
193
|
-
""" Constant value bpy.app.ffmpeg(supported=True, avcodec_version=(61, 19, 101), avcodec_version_string=
|
|
198
|
+
""" Constant value bpy.app.ffmpeg(supported=True, avcodec_version=(61, 19, 101), avcodec_version_string=61, 19, 101, avdevice_version=(61, 3, 100), avdevice_version_string=61, 3, 100, avformat_version=(61, 7, 100), avformat_version_string=61, 7, 100, avutil_version=(59, 39, 100), avutil_version_string=59, 39, 100, swscale_version=(8, 3, 100), swscale_version_string= 8, 3, 100)
|
|
194
199
|
"""
|
|
195
200
|
|
|
196
|
-
module:
|
|
201
|
+
module: bool
|
|
197
202
|
""" Boolean, True when running Blender as a python module
|
|
198
203
|
"""
|
|
199
204
|
|
|
200
205
|
ocio: typing.Any
|
|
201
|
-
""" Constant value bpy.app.ocio(supported=True, version=(2, 4,
|
|
206
|
+
""" Constant value bpy.app.ocio(supported=True, version=(2, 4, 2), version_string= 2, 4, 2)
|
|
202
207
|
"""
|
|
203
208
|
|
|
204
209
|
oiio: typing.Any
|
|
205
|
-
""" Constant value bpy.app.oiio(supported=True, version=(3, 0,
|
|
210
|
+
""" Constant value bpy.app.oiio(supported=True, version=(3, 0, 9), version_string= 3, 0, 9)
|
|
206
211
|
"""
|
|
207
212
|
|
|
208
|
-
online_access:
|
|
209
|
-
""" Boolean, true when internet access is allowed by Blender & 3rd party scripts (read-only)
|
|
213
|
+
online_access: bool
|
|
214
|
+
""" Boolean, true when internet access is allowed by Blender & 3rd party scripts (read-only).
|
|
210
215
|
"""
|
|
211
216
|
|
|
212
|
-
online_access_override:
|
|
213
|
-
""" Boolean, true when internet access preference is overridden by the command line (read-only)
|
|
217
|
+
online_access_override: bool
|
|
218
|
+
""" Boolean, true when internet access preference is overridden by the command line (read-only).
|
|
214
219
|
"""
|
|
215
220
|
|
|
216
221
|
opensubdiv: typing.Any
|
|
217
|
-
""" Constant value bpy.app.opensubdiv(supported=True, version=(3, 6, 0), version_string=
|
|
222
|
+
""" Constant value bpy.app.opensubdiv(supported=True, version=(3, 6, 0), version_string= 3, 6, 0)
|
|
218
223
|
"""
|
|
219
224
|
|
|
220
225
|
openvdb: typing.Any
|
|
221
|
-
""" Constant value bpy.app.openvdb(supported=True, version=(12, 0, 0), version_string=
|
|
226
|
+
""" Constant value bpy.app.openvdb(supported=True, version=(12, 0, 0), version_string=12, 0, 0)
|
|
222
227
|
"""
|
|
223
228
|
|
|
224
|
-
portable:
|
|
229
|
+
portable: bool
|
|
225
230
|
""" Boolean, True unless blender was built to reference absolute paths (on UNIX).
|
|
226
231
|
"""
|
|
227
232
|
|
|
228
|
-
python_args:
|
|
233
|
+
python_args: tuple[str, ...]
|
|
229
234
|
""" Leading arguments to use when calling Python directly (via sys.executable). These arguments match settings Blender uses to ensure Python runs with a compatible environment (read-only).
|
|
230
235
|
"""
|
|
231
236
|
|
|
232
|
-
render_icon_size:
|
|
233
|
-
""" Reference size for icon/preview renders (read-only)
|
|
237
|
+
render_icon_size: int
|
|
238
|
+
""" Reference size for icon/preview renders (read-only).
|
|
234
239
|
"""
|
|
235
240
|
|
|
236
|
-
render_preview_size:
|
|
237
|
-
""" Reference size for icon/preview renders (read-only)
|
|
241
|
+
render_preview_size: int
|
|
242
|
+
""" Reference size for icon/preview renders (read-only).
|
|
238
243
|
"""
|
|
239
244
|
|
|
240
245
|
sdl: typing.Any
|
|
241
|
-
""" Constant value bpy.app.sdl(supported=False, version=(0, 0, 0), version_string=
|
|
246
|
+
""" Constant value bpy.app.sdl(supported=False, version=(0, 0, 0), version_string=Unknown)
|
|
242
247
|
"""
|
|
243
248
|
|
|
244
|
-
tempdir:
|
|
245
|
-
""" String, the temp directory used by blender (read-only)
|
|
249
|
+
tempdir: str
|
|
250
|
+
""" String, the temp directory used by blender (read-only).
|
|
246
251
|
"""
|
|
247
252
|
|
|
248
253
|
usd: typing.Any
|
|
249
|
-
""" Constant value bpy.app.usd(supported=True, version=(0, 25,
|
|
254
|
+
""" Constant value bpy.app.usd(supported=True, version=(0, 25, 8), version_string= 0, 25, 8)
|
|
250
255
|
"""
|
|
251
256
|
|
|
252
|
-
use_event_simulate:
|
|
257
|
+
use_event_simulate: bool
|
|
253
258
|
""" Boolean, for application behavior (started with --enable-* matching this attribute name)
|
|
254
259
|
"""
|
|
255
260
|
|
|
256
|
-
use_userpref_skip_save_on_exit:
|
|
261
|
+
use_userpref_skip_save_on_exit: bool
|
|
257
262
|
""" Boolean, for application behavior (started with --enable-* matching this attribute name)
|
|
258
263
|
"""
|
|
259
264
|
|
|
@@ -261,14 +266,14 @@ version: tuple[int, int, int]
|
|
|
261
266
|
""" The Blender version as a tuple of 3 numbers (major, minor, micro). eg. (4, 3, 1)
|
|
262
267
|
"""
|
|
263
268
|
|
|
264
|
-
version_cycle:
|
|
269
|
+
version_cycle: str
|
|
265
270
|
""" The release status of this build alpha/beta/rc/release
|
|
266
271
|
"""
|
|
267
272
|
|
|
268
|
-
version_file:
|
|
273
|
+
version_file: tuple[int, int, int]
|
|
269
274
|
""" The Blender File version, as a tuple of 3 numbers (major, minor, file sub-version), that will be used to save a .blend file. The last item in this tuple indicates the file sub-version, which is different from the release micro version (the last item of the bpy.app.version tuple). The file sub-version can be incremented multiple times while a Blender version is under development. This value is, and should be, used for handling compatibility changes between Blender versions
|
|
270
275
|
"""
|
|
271
276
|
|
|
272
|
-
version_string:
|
|
277
|
+
version_string: str
|
|
273
278
|
""" The Blender version formatted as a string
|
|
274
279
|
"""
|
bpy/app/handlers/__init__.pyi
CHANGED
|
@@ -46,57 +46,57 @@ import numpy.typing as npt
|
|
|
46
46
|
import bpy.types
|
|
47
47
|
|
|
48
48
|
animation_playback_post: list[collections.abc.Callable[[bpy.types.Scene], None]]
|
|
49
|
-
""" on ending animation playback
|
|
49
|
+
""" on ending animation playback. Accepts two arguments: The scene data-block and the dependency graph being updated
|
|
50
50
|
"""
|
|
51
51
|
|
|
52
52
|
animation_playback_pre: list[collections.abc.Callable[[bpy.types.Scene], None]]
|
|
53
|
-
""" on starting animation playback
|
|
53
|
+
""" on starting animation playback. Accepts two arguments: The scene data-block and the dependency graph being updated
|
|
54
54
|
"""
|
|
55
55
|
|
|
56
56
|
annotation_post: list[collections.abc.Callable[[bpy.types.Scene], None]]
|
|
57
|
-
""" on drawing an annotation (after)
|
|
57
|
+
""" on drawing an annotation (after). Accepts two arguments: the annotation data-block and dependency graph
|
|
58
58
|
"""
|
|
59
59
|
|
|
60
60
|
annotation_pre: list[collections.abc.Callable[[bpy.types.Scene], None]]
|
|
61
|
-
""" on drawing an annotation (before)
|
|
61
|
+
""" on drawing an annotation (before). Accepts two arguments: the annotation data-block and dependency graph
|
|
62
62
|
"""
|
|
63
63
|
|
|
64
64
|
blend_import_post: list[collections.abc.Callable[[bpy.types.Scene], None]]
|
|
65
|
-
""" on linking or appending data (after)
|
|
65
|
+
""" on linking or appending data (after). Accepts one argument: a BlendImportContext
|
|
66
66
|
"""
|
|
67
67
|
|
|
68
68
|
blend_import_pre: list[collections.abc.Callable[[bpy.types.Scene], None]]
|
|
69
|
-
""" on linking or appending data (before)
|
|
69
|
+
""" on linking or appending data (before). Accepts one argument: a BlendImportContext
|
|
70
70
|
"""
|
|
71
71
|
|
|
72
72
|
composite_cancel: list[collections.abc.Callable[[bpy.types.Scene], None]]
|
|
73
|
-
""" on a compositing background job (cancel)
|
|
73
|
+
""" on a compositing background job (cancel). Accepts one argument: the scene data-block
|
|
74
74
|
"""
|
|
75
75
|
|
|
76
76
|
composite_post: list[collections.abc.Callable[[bpy.types.Scene], None]]
|
|
77
|
-
""" on a compositing background job (after)
|
|
77
|
+
""" on a compositing background job (after). Accepts one argument: the scene data-block
|
|
78
78
|
"""
|
|
79
79
|
|
|
80
80
|
composite_pre: list[collections.abc.Callable[[bpy.types.Scene], None]]
|
|
81
|
-
""" on a compositing background job (before)
|
|
81
|
+
""" on a compositing background job (before). Accepts one argument: the scene data-block
|
|
82
82
|
"""
|
|
83
83
|
|
|
84
84
|
depsgraph_update_post: list[
|
|
85
85
|
collections.abc.Callable[[bpy.types.Scene, bpy.types.Depsgraph], None]
|
|
86
86
|
]
|
|
87
|
-
""" on depsgraph update (post)
|
|
87
|
+
""" on depsgraph update (post). Accepts two arguments: The scene data-block and the dependency graph being updated
|
|
88
88
|
"""
|
|
89
89
|
|
|
90
90
|
depsgraph_update_pre: list[collections.abc.Callable[[bpy.types.Scene, None], None]]
|
|
91
|
-
""" on depsgraph update (pre)
|
|
91
|
+
""" on depsgraph update (pre). Accepts two arguments: The scene data-block and the dependency graph being updated
|
|
92
92
|
"""
|
|
93
93
|
|
|
94
94
|
frame_change_post: list[collections.abc.Callable[[bpy.types.Scene], None]]
|
|
95
|
-
""" Called after frame change for playback and rendering, after the data has been evaluated for the new frame.
|
|
95
|
+
""" Called after frame change for playback and rendering, after the data has been evaluated for the new frame. Accepts two arguments: The scene data-block and the dependency graph being updated
|
|
96
96
|
"""
|
|
97
97
|
|
|
98
98
|
frame_change_pre: list[collections.abc.Callable[[bpy.types.Scene], None]]
|
|
99
|
-
""" Called after frame change for playback and rendering, before any data is evaluated for the new frame. This makes it possible to change data and relations (for example swap an object to another mesh) for the new frame. Note that this handler is not to be used as
|
|
99
|
+
""" Called after frame change for playback and rendering, before any data is evaluated for the new frame. This makes it possible to change data and relations (for example swap an object to another mesh) for the new frame. Note that this handler is not to be used as before the frame changes event. The dependency graph is not available in this handler, as data and relations may have been altered and the dependency graph has not yet been updated for that. Accepts two arguments: The scene data-block and the dependency graph being updated
|
|
100
100
|
"""
|
|
101
101
|
|
|
102
102
|
load_factory_preferences_post: list[collections.abc.Callable[[bpy.types.Scene], None]]
|
|
@@ -120,15 +120,15 @@ load_pre: list[collections.abc.Callable[[bpy.types.Scene], None]]
|
|
|
120
120
|
"""
|
|
121
121
|
|
|
122
122
|
object_bake_cancel: list[collections.abc.Callable[[bpy.types.Scene], None]]
|
|
123
|
-
""" on canceling a bake job; will be called in the main thread
|
|
123
|
+
""" on canceling a bake job; will be called in the main thread. Accepts one argument: the object data-block being baked
|
|
124
124
|
"""
|
|
125
125
|
|
|
126
126
|
object_bake_complete: list[collections.abc.Callable[[bpy.types.Scene], None]]
|
|
127
|
-
""" on completing a bake job; will be called in the main thread
|
|
127
|
+
""" on completing a bake job; will be called in the main thread. Accepts one argument: the object data-block being baked
|
|
128
128
|
"""
|
|
129
129
|
|
|
130
130
|
object_bake_pre: list[collections.abc.Callable[[bpy.types.Scene], None]]
|
|
131
|
-
""" before starting a bake job
|
|
131
|
+
""" before starting a bake job. Accepts one argument: the object data-block being baked
|
|
132
132
|
"""
|
|
133
133
|
|
|
134
134
|
persistent: typing.Any
|
|
@@ -144,15 +144,15 @@ redo_pre: list[collections.abc.Callable[[bpy.types.Scene], None]]
|
|
|
144
144
|
"""
|
|
145
145
|
|
|
146
146
|
render_cancel: list[collections.abc.Callable[[bpy.types.Scene], None]]
|
|
147
|
-
""" on canceling a render job
|
|
147
|
+
""" on canceling a render job. Accepts one argument: the scene data-block being rendered
|
|
148
148
|
"""
|
|
149
149
|
|
|
150
150
|
render_complete: list[collections.abc.Callable[[bpy.types.Scene], None]]
|
|
151
|
-
""" on completion of render job
|
|
151
|
+
""" on completion of render job. Accepts one argument: the scene data-block being rendered
|
|
152
152
|
"""
|
|
153
153
|
|
|
154
154
|
render_init: list[collections.abc.Callable[[bpy.types.Scene], None]]
|
|
155
|
-
""" on initialization of a render job
|
|
155
|
+
""" on initialization of a render job. Accepts one argument: the scene data-block being rendered
|
|
156
156
|
"""
|
|
157
157
|
|
|
158
158
|
render_post: list[collections.abc.Callable[[bpy.types.Scene], None]]
|
bpy/app/icons/__init__.pyi
CHANGED
|
@@ -9,22 +9,16 @@ def new_triangles(
|
|
|
9
9
|
"""Create a new icon from triangle geometry.
|
|
10
10
|
|
|
11
11
|
:param range: Pair of ints.
|
|
12
|
-
:type range: tuple[int, int] | None
|
|
13
12
|
:param coords: Sequence of bytes (6 floats for one triangle) for (X, Y) coordinates.
|
|
14
|
-
:type coords: bytes | None
|
|
15
13
|
:param colors: Sequence of bytes (12 for one triangles) for RGBA.
|
|
16
|
-
:type colors: bytes | None
|
|
17
14
|
:return: Unique icon value (pass to interface icon_value argument).
|
|
18
|
-
:rtype: int
|
|
19
15
|
"""
|
|
20
16
|
|
|
21
17
|
def new_triangles_from_file(filepath: str | None) -> int:
|
|
22
18
|
"""Create a new icon from triangle geometry.
|
|
23
19
|
|
|
24
20
|
:param filepath: File path.
|
|
25
|
-
:type filepath: str | None
|
|
26
21
|
:return: Unique icon value (pass to interface icon_value argument).
|
|
27
|
-
:rtype: int
|
|
28
22
|
"""
|
|
29
23
|
|
|
30
24
|
def release(icon_id) -> None:
|