fake-bpy-module-latest 20260113__py3-none-any.whl → 20260114__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/autocomplete/complete_calltip/__init__.pyi +0 -13
- _bl_console_utils/autocomplete/complete_import/__init__.pyi +0 -5
- _bl_console_utils/autocomplete/complete_namespace/__init__.pyi +0 -11
- _bl_console_utils/autocomplete/intellisense/__init__.pyi +0 -10
- _bpy_types/__init__.pyi +1 -122
- _rna_info/__init__.pyi +0 -1
- addon_utils/__init__.pyi +0 -13
- aud/__init__.pyi +0 -146
- bl_math/__init__.pyi +0 -12
- bl_operators/add_mesh_torus/__init__.pyi +0 -2
- bl_operators/anim/__init__.pyi +0 -26
- bl_operators/assets/__init__.pyi +0 -6
- bl_operators/bone_selection_sets/__init__.pyi +0 -28
- bl_operators/clip/__init__.pyi +0 -20
- bl_operators/connect_to_output/__init__.pyi +0 -2
- bl_operators/console/__init__.pyi +0 -10
- bl_operators/constraint/__init__.pyi +0 -8
- bl_operators/copy_global_transform/__init__.pyi +0 -10
- bl_operators/file/__init__.pyi +0 -6
- bl_operators/freestyle/__init__.pyi +0 -8
- bl_operators/geometry_nodes/__init__.pyi +0 -8
- bl_operators/grease_pencil/__init__.pyi +0 -2
- bl_operators/image/__init__.pyi +0 -10
- bl_operators/image_as_planes/__init__.pyi +0 -4
- bl_operators/mesh/__init__.pyi +0 -4
- bl_operators/node/__init__.pyi +0 -44
- bl_operators/object/__init__.pyi +0 -30
- bl_operators/object_align/__init__.pyi +0 -2
- bl_operators/object_quick_effects/__init__.pyi +0 -8
- bl_operators/object_randomize_transform/__init__.pyi +0 -2
- bl_operators/presets/__init__.pyi +0 -50
- bl_operators/rigidbody/__init__.pyi +0 -6
- bl_operators/screen_play_rendered_anim/__init__.pyi +0 -2
- bl_operators/sequencer/__init__.pyi +0 -16
- bl_operators/spreadsheet/__init__.pyi +0 -2
- bl_operators/userpref/__init__.pyi +0 -50
- bl_operators/uvcalc_follow_active/__init__.pyi +0 -2
- bl_operators/uvcalc_lightmap/__init__.pyi +0 -2
- bl_operators/uvcalc_transform/__init__.pyi +0 -4
- bl_operators/vertexpaint_dirt/__init__.pyi +0 -2
- bl_operators/view3d/__init__.pyi +0 -16
- bl_operators/wm/__init__.pyi +0 -92
- bl_operators/world/__init__.pyi +0 -2
- bl_ui/__init__.pyi +0 -4
- bl_ui/anim/__init__.pyi +0 -2
- bl_ui/asset_shelf/__init__.pyi +0 -2
- bl_ui/generic_ui_list/__init__.pyi +1 -17
- bl_ui/node_add_menu/__init__.pyi +0 -10
- bl_ui/node_add_menu_compositor/__init__.pyi +0 -38
- bl_ui/node_add_menu_geometry/__init__.pyi +0 -112
- bl_ui/node_add_menu_shader/__init__.pyi +0 -20
- bl_ui/node_add_menu_texture/__init__.pyi +0 -16
- bl_ui/properties_collection/__init__.pyi +0 -14
- bl_ui/properties_constraint/__init__.pyi +0 -154
- bl_ui/properties_data_armature/__init__.pyi +0 -36
- bl_ui/properties_data_bone/__init__.pyi +0 -20
- bl_ui/properties_data_camera/__init__.pyi +0 -30
- bl_ui/properties_data_curve/__init__.pyi +0 -30
- bl_ui/properties_data_curves/__init__.pyi +0 -16
- bl_ui/properties_data_empty/__init__.pyi +0 -4
- bl_ui/properties_data_grease_pencil/__init__.pyi +0 -40
- bl_ui/properties_data_lattice/__init__.pyi +0 -8
- bl_ui/properties_data_light/__init__.pyi +0 -20
- bl_ui/properties_data_lightprobe/__init__.pyi +0 -28
- bl_ui/properties_data_mesh/__init__.pyi +0 -42
- bl_ui/properties_data_metaball/__init__.pyi +0 -12
- bl_ui/properties_data_modifier/__init__.pyi +0 -18
- bl_ui/properties_data_pointcloud/__init__.pyi +0 -12
- bl_ui/properties_data_shaderfx/__init__.pyi +0 -2
- bl_ui/properties_data_speaker/__init__.pyi +0 -12
- bl_ui/properties_data_volume/__init__.pyi +0 -18
- bl_ui/properties_freestyle/__init__.pyi +0 -50
- bl_ui/properties_grease_pencil_common/__init__.pyi +0 -14
- bl_ui/properties_mask_common/__init__.pyi +0 -14
- bl_ui/properties_material/__init__.pyi +0 -32
- bl_ui/properties_material_gpencil/__init__.pyi +0 -22
- bl_ui/properties_object/__init__.pyi +0 -44
- bl_ui/properties_output/__init__.pyi +0 -40
- bl_ui/properties_paint_common/__init__.pyi +0 -4
- bl_ui/properties_particle/__init__.pyi +0 -106
- bl_ui/properties_physics_cloth/__init__.pyi +0 -28
- bl_ui/properties_physics_common/__init__.pyi +0 -2
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +0 -44
- bl_ui/properties_physics_field/__init__.pyi +0 -20
- bl_ui/properties_physics_fluid/__init__.pyi +0 -56
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +0 -2
- bl_ui/properties_physics_rigidbody/__init__.pyi +0 -16
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +0 -26
- bl_ui/properties_physics_softbody/__init__.pyi +0 -30
- bl_ui/properties_render/__init__.pyi +0 -90
- bl_ui/properties_scene/__init__.pyi +0 -34
- bl_ui/properties_strip/__init__.pyi +0 -42
- bl_ui/properties_strip_modifier/__init__.pyi +0 -2
- bl_ui/properties_texture/__init__.pyi +0 -54
- bl_ui/properties_view_layer/__init__.pyi +0 -28
- bl_ui/properties_workspace/__init__.pyi +0 -8
- bl_ui/properties_world/__init__.pyi +0 -22
- bl_ui/space_clip/__init__.pyi +0 -150
- bl_ui/space_console/__init__.pyi +0 -12
- bl_ui/space_dopesheet/__init__.pyi +0 -64
- bl_ui/space_filebrowser/__init__.pyi +0 -60
- bl_ui/space_graph/__init__.pyi +0 -44
- bl_ui/space_image/__init__.pyi +0 -142
- bl_ui/space_info/__init__.pyi +0 -12
- bl_ui/space_nla/__init__.pyi +0 -36
- bl_ui/space_node/__init__.pyi +0 -66
- bl_ui/space_outliner/__init__.pyi +0 -30
- bl_ui/space_properties/__init__.pyi +0 -8
- bl_ui/space_sequencer/__init__.pyi +0 -136
- bl_ui/space_spreadsheet/__init__.pyi +0 -6
- bl_ui/space_statusbar/__init__.pyi +0 -2
- bl_ui/space_text/__init__.pyi +0 -32
- bl_ui/space_time/__init__.pyi +0 -12
- bl_ui/space_topbar/__init__.pyi +0 -52
- bl_ui/space_userpref/__init__.pyi +0 -186
- bl_ui/space_view3d/__init__.pyi +0 -536
- bl_ui/space_view3d_sidebar/__init__.pyi +0 -8
- bl_ui/space_view3d_toolbar/__init__.pyi +0 -162
- blf/__init__.pyi +0 -47
- bmesh/__init__.pyi +0 -7
- bmesh/geometry/__init__.pyi +0 -3
- bmesh/ops/__init__.pyi +0 -451
- bmesh/types/__init__.pyi +65 -427
- bmesh/utils/__init__.pyi +0 -44
- bpy/app/__init__.pyi +0 -5
- bpy/app/icons/__init__.pyi +0 -6
- bpy/app/timers/__init__.pyi +0 -6
- bpy/app/translations/__init__.pyi +0 -15
- bpy/msgbus/__init__.pyi +1 -4
- bpy/ops/action/__init__.pyi +15 -165
- bpy/ops/anim/__init__.pyi +27 -274
- bpy/ops/armature/__init__.pyi +17 -191
- bpy/ops/asset/__init__.pyi +11 -97
- bpy/ops/boid/__init__.pyi +7 -38
- bpy/ops/brush/__init__.pyi +3 -72
- bpy/ops/buttons/__init__.pyi +4 -71
- bpy/ops/cachefile/__init__.pyi +2 -63
- bpy/ops/camera/__init__.pyi +0 -11
- bpy/ops/clip/__init__.pyi +43 -427
- bpy/ops/cloth/__init__.pyi +0 -5
- bpy/ops/collection/__init__.pyi +2 -34
- bpy/ops/console/__init__.pyi +10 -88
- bpy/ops/constraint/__init__.pyi +3 -80
- bpy/ops/curve/__init__.pyi +23 -254
- bpy/ops/curves/__init__.pyi +15 -164
- bpy/ops/cycles/__init__.pyi +1 -14
- bpy/ops/dpaint/__init__.pyi +3 -21
- bpy/ops/ed/__init__.pyi +10 -82
- bpy/ops/export_anim/__init__.pyi +0 -11
- bpy/ops/export_scene/__init__.pyi +0 -154
- bpy/ops/extensions/__init__.pyi +15 -150
- bpy/ops/file/__init__.pyi +27 -217
- bpy/ops/fluid/__init__.pyi +13 -70
- bpy/ops/font/__init__.pyi +10 -134
- bpy/ops/geometry/__init__.pyi +3 -41
- bpy/ops/gizmogroup/__init__.pyi +1 -12
- bpy/ops/gpencil/__init__.pyi +5 -38
- bpy/ops/graph/__init__.pyi +18 -316
- bpy/ops/grease_pencil/__init__.pyi +27 -522
- bpy/ops/image/__init__.pyi +19 -379
- bpy/ops/import_anim/__init__.pyi +0 -14
- bpy/ops/import_curve/__init__.pyi +0 -6
- bpy/ops/import_scene/__init__.pyi +0 -50
- bpy/ops/info/__init__.pyi +4 -35
- bpy/ops/lattice/__init__.pyi +3 -33
- bpy/ops/marker/__init__.pyi +2 -50
- bpy/ops/mask/__init__.pyi +17 -176
- bpy/ops/material/__init__.pyi +3 -15
- bpy/ops/mball/__init__.pyi +1 -30
- bpy/ops/mesh/__init__.pyi +30 -913
- bpy/ops/nla/__init__.pyi +19 -183
- bpy/ops/node/__init__.pyi +53 -745
- bpy/ops/object/__init__.pyi +75 -1285
- bpy/ops/outliner/__init__.pyi +47 -327
- bpy/ops/paint/__init__.pyi +14 -279
- bpy/ops/paintcurve/__init__.pyi +4 -36
- bpy/ops/palette/__init__.pyi +3 -27
- bpy/ops/particle/__init__.pyi +20 -160
- bpy/ops/pointcloud/__init__.pyi +3 -35
- bpy/ops/pose/__init__.pyi +25 -230
- bpy/ops/poselib/__init__.pyi +4 -47
- bpy/ops/preferences/__init__.pyi +9 -177
- bpy/ops/ptcache/__init__.pyi +5 -31
- bpy/ops/render/__init__.pyi +3 -70
- bpy/ops/rigidbody/__init__.pyi +6 -56
- bpy/ops/scene/__init__.pyi +22 -167
- bpy/ops/screen/__init__.pyi +19 -214
- bpy/ops/script/__init__.pyi +1 -12
- bpy/ops/sculpt/__init__.pyi +7 -271
- bpy/ops/sculpt_curves/__init__.pyi +1 -20
- bpy/ops/sequencer/__init__.pyi +36 -672
- bpy/ops/sound/__init__.pyi +3 -109
- bpy/ops/spreadsheet/__init__.pyi +5 -32
- bpy/ops/surface/__init__.pyi +0 -48
- bpy/ops/text/__init__.pyi +25 -226
- bpy/ops/text_editor/__init__.pyi +0 -5
- bpy/ops/texture/__init__.pyi +3 -18
- bpy/ops/transform/__init__.pyi +2 -381
- bpy/ops/ui/__init__.pyi +21 -158
- bpy/ops/uilist/__init__.pyi +0 -13
- bpy/ops/uv/__init__.pyi +9 -316
- bpy/ops/view2d/__init__.pyi +3 -73
- bpy/ops/view3d/__init__.pyi +37 -339
- bpy/ops/wm/__init__.pyi +25 -1308
- bpy/ops/workspace/__init__.pyi +7 -39
- bpy/ops/world/__init__.pyi +2 -10
- bpy/path/__init__.pyi +0 -34
- bpy/props/__init__.pyi +12 -148
- bpy/types/__init__.pyi +9867 -55713
- bpy/utils/__init__.pyi +2 -73
- bpy/utils/previews/__init__.pyi +0 -9
- bpy/utils/units/__init__.pyi +0 -12
- bpy_extras/anim_utils/__init__.pyi +0 -8
- bpy_extras/bmesh_utils/__init__.pyi +0 -1
- bpy_extras/id_map_utils/__init__.pyi +4 -5
- bpy_extras/image_utils/__init__.pyi +0 -9
- bpy_extras/io_utils/__init__.pyi +2 -22
- bpy_extras/mesh_utils/__init__.pyi +0 -12
- bpy_extras/object_utils/__init__.pyi +0 -14
- bpy_extras/view3d_utils/__init__.pyi +0 -18
- {fake_bpy_module_latest-20260113.dist-info → fake_bpy_module_latest-20260114.dist-info}/METADATA +2 -1
- fake_bpy_module_latest-20260114.dist-info/RECORD +382 -0
- freestyle/chainingiterators/__init__.pyi +0 -22
- freestyle/functions/__init__.pyi +0 -139
- freestyle/predicates/__init__.pyi +0 -51
- freestyle/shaders/__init__.pyi +0 -65
- freestyle/types/__init__.pyi +139 -777
- freestyle/utils/ContextFunctions/__init__.pyi +0 -23
- freestyle/utils/__init__.pyi +0 -6
- gpu/capabilities/__init__.pyi +0 -21
- gpu/matrix/__init__.pyi +0 -9
- gpu/platform/__init__.pyi +0 -5
- gpu/shader/__init__.pyi +0 -5
- gpu/state/__init__.pyi +0 -29
- gpu/texture/__init__.pyi +0 -2
- gpu/types/__init__.pyi +10 -149
- gpu_extras/batch/__init__.pyi +0 -4
- gpu_extras/presets/__init__.pyi +0 -9
- idprop/types/__init__.pyi +0 -4
- imbuf/__init__.pyi +0 -7
- imbuf/types/__init__.pyi +5 -25
- keyingsets_builtins/__init__.pyi +0 -44
- mathutils/__init__.pyi +46 -2160
- mathutils/bvhtree/__init__.pyi +1 -24
- mathutils/geometry/__init__.pyi +0 -129
- mathutils/interpolate/__init__.pyi +0 -3
- mathutils/kdtree/__init__.pyi +0 -11
- mathutils/noise/__init__.pyi +0 -62
- fake_bpy_module_latest-20260113.dist-info/RECORD +0 -382
- {fake_bpy_module_latest-20260113.dist-info → fake_bpy_module_latest-20260114.dist-info}/WHEEL +0 -0
- {fake_bpy_module_latest-20260113.dist-info → fake_bpy_module_latest-20260114.dist-info}/top_level.txt +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,13 +24,9 @@ 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:
|
|
@@ -45,11 +38,8 @@ def face_join(
|
|
|
45
38
|
"""Joins a sequence of faces.
|
|
46
39
|
|
|
47
40
|
:param faces: Sequence of faces.
|
|
48
|
-
:type faces: collections.abc.Sequence[bmesh.types.BMFace]
|
|
49
41
|
:param remove: Remove the edges and vertices between the faces.
|
|
50
|
-
:type remove: bool
|
|
51
42
|
:return: The newly created face or None on failure.
|
|
52
|
-
:rtype: bmesh.types.BMFace
|
|
53
43
|
"""
|
|
54
44
|
|
|
55
45
|
def face_split(
|
|
@@ -64,19 +54,12 @@ def face_split(
|
|
|
64
54
|
"""Face split with optional intermediate points.
|
|
65
55
|
|
|
66
56
|
:param face: The face to cut.
|
|
67
|
-
:type face: bmesh.types.BMFace
|
|
68
57
|
:param vert_a: First vertex to cut in the face (face must contain the vert).
|
|
69
|
-
:type vert_a: bmesh.types.BMVert
|
|
70
58
|
:param vert_b: Second vertex to cut in the face (face must contain the vert).
|
|
71
|
-
:type vert_b: bmesh.types.BMVert
|
|
72
59
|
:param coords: Optional sequence of 3D points in between vert_a and vert_b.
|
|
73
|
-
:type coords: collections.abc.Sequence[collections.abc.Sequence[float]]
|
|
74
60
|
:param use_exist: .Use an existing edge if it exists (Only used when coords argument is empty or omitted)
|
|
75
|
-
:type use_exist: bool
|
|
76
61
|
:param example: Newly created edge will copy settings from this one.
|
|
77
|
-
:type example: bmesh.types.BMEdge | None
|
|
78
62
|
:return: The newly created face or None on failure.
|
|
79
|
-
:rtype: tuple[bmesh.types.BMFace, bmesh.types.BMLoop]
|
|
80
63
|
"""
|
|
81
64
|
|
|
82
65
|
def face_split_edgenet(
|
|
@@ -85,11 +68,8 @@ def face_split_edgenet(
|
|
|
85
68
|
"""Splits a face into any number of regions defined by an edgenet.
|
|
86
69
|
|
|
87
70
|
:param face: The face to split.
|
|
88
|
-
:type face: bmesh.types.BMFace
|
|
89
71
|
:param edgenet: Sequence of edges.
|
|
90
|
-
:type edgenet: collections.abc.Sequence[bmesh.types.BMEdge]
|
|
91
72
|
:return: The newly created faces.
|
|
92
|
-
:rtype: tuple[bmesh.types.BMFace, ...]
|
|
93
73
|
"""
|
|
94
74
|
|
|
95
75
|
def face_vert_separate(
|
|
@@ -98,20 +78,15 @@ def face_vert_separate(
|
|
|
98
78
|
"""Rip a vertex in a face away and add a new vertex.
|
|
99
79
|
|
|
100
80
|
:param face: The face to separate.
|
|
101
|
-
:type face: bmesh.types.BMFace
|
|
102
81
|
:param vert: A vertex in the face to separate.
|
|
103
|
-
:type vert: bmesh.types.BMVert
|
|
104
82
|
:return: The newly created vertex or None on failure.
|
|
105
|
-
:rtype: bmesh.types.BMVert
|
|
106
83
|
"""
|
|
107
84
|
|
|
108
85
|
def loop_separate(loop: bmesh.types.BMLoop) -> bmesh.types.BMVert:
|
|
109
86
|
"""Rip a vertex in a face away and add a new vertex.
|
|
110
87
|
|
|
111
88
|
:param loop: The loop to separate.
|
|
112
|
-
:type loop: bmesh.types.BMLoop
|
|
113
89
|
:return: The newly created vertex or None on failure.
|
|
114
|
-
:rtype: bmesh.types.BMVert
|
|
115
90
|
"""
|
|
116
91
|
|
|
117
92
|
def uv_select_check(
|
|
@@ -120,13 +95,9 @@ def uv_select_check(
|
|
|
120
95
|
"""Check UV selection state for consistency issues.
|
|
121
96
|
|
|
122
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.
|
|
123
|
-
:type sync: bool
|
|
124
98
|
:param flush: Check the selection has been properly flushed between elements (based on the current `BMesh.select_mode`).
|
|
125
|
-
:type flush: bool
|
|
126
99
|
:param contiguous: Check connected UVs and edges have a matching selection state.
|
|
127
|
-
:type contiguous: bool
|
|
128
100
|
:return: An error dictionary or None when there are no errors found.
|
|
129
|
-
:rtype: None | dict[str, int]
|
|
130
101
|
"""
|
|
131
102
|
|
|
132
103
|
def vert_collapse_edge(
|
|
@@ -135,11 +106,8 @@ def vert_collapse_edge(
|
|
|
135
106
|
"""Collapse a vertex into an edge.
|
|
136
107
|
|
|
137
108
|
:param vert: The vert that will be collapsed.
|
|
138
|
-
:type vert: bmesh.types.BMVert
|
|
139
109
|
:param edge: The edge to collapse into.
|
|
140
|
-
:type edge: bmesh.types.BMEdge
|
|
141
110
|
:return: The resulting edge from the collapse operation.
|
|
142
|
-
:rtype: bmesh.types.BMEdge
|
|
143
111
|
"""
|
|
144
112
|
|
|
145
113
|
def vert_collapse_faces(
|
|
@@ -148,24 +116,17 @@ def vert_collapse_faces(
|
|
|
148
116
|
"""Collapses a vertex that has only two manifold edges onto a vertex it shares an edge with.
|
|
149
117
|
|
|
150
118
|
:param vert: The vert that will be collapsed.
|
|
151
|
-
:type vert: bmesh.types.BMVert
|
|
152
119
|
:param edge: The edge to collapse into.
|
|
153
|
-
:type edge: bmesh.types.BMEdge
|
|
154
120
|
:param fac: The factor to use when merging customdata [0 - 1].
|
|
155
|
-
:type fac: float
|
|
156
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.
|
|
157
|
-
:type join_faces: bool
|
|
158
122
|
:return: The resulting edge from the collapse operation.
|
|
159
|
-
:rtype: bmesh.types.BMEdge
|
|
160
123
|
"""
|
|
161
124
|
|
|
162
125
|
def vert_dissolve(vert: bmesh.types.BMVert) -> bool:
|
|
163
126
|
"""Dissolve this vertex (will be removed).
|
|
164
127
|
|
|
165
128
|
:param vert: The vert to be dissolved.
|
|
166
|
-
:type vert: bmesh.types.BMVert
|
|
167
129
|
:return: True when the vertex dissolve is successful.
|
|
168
|
-
:rtype: bool
|
|
169
130
|
"""
|
|
170
131
|
|
|
171
132
|
def vert_separate(
|
|
@@ -174,18 +135,13 @@ def vert_separate(
|
|
|
174
135
|
"""Separate this vertex at every edge.
|
|
175
136
|
|
|
176
137
|
:param vert: The vert to be separated.
|
|
177
|
-
:type vert: bmesh.types.BMVert
|
|
178
138
|
:param edges: The edges to separated.
|
|
179
|
-
:type edges: collections.abc.Sequence[bmesh.types.BMEdge]
|
|
180
139
|
:return: The newly separated verts (including the vertex passed).
|
|
181
|
-
:rtype: tuple[bmesh.types.BMVert, ...]
|
|
182
140
|
"""
|
|
183
141
|
|
|
184
142
|
def vert_splice(vert: bmesh.types.BMVert, vert_target: bmesh.types.BMVert) -> None:
|
|
185
143
|
"""Splice vert into vert_target.
|
|
186
144
|
|
|
187
145
|
:param vert: The vertex to be removed.
|
|
188
|
-
:type vert: bmesh.types.BMVert
|
|
189
146
|
:param vert_target: The vertex to use.
|
|
190
|
-
:type vert_target: bmesh.types.BMVert
|
|
191
147
|
"""
|
bpy/app/__init__.pyi
CHANGED
|
@@ -26,25 +26,20 @@ def help_text(*, all: bool | None = False) -> str:
|
|
|
26
26
|
"""Return the help text as a string.
|
|
27
27
|
|
|
28
28
|
:param all: Return all arguments, even those which arent available for the current platform.
|
|
29
|
-
:type all: bool | None
|
|
30
29
|
:return: Help text.
|
|
31
|
-
:rtype: str
|
|
32
30
|
"""
|
|
33
31
|
|
|
34
32
|
def is_job_running(job_type: bpy.stub_internal.rna_enums.WmJobTypeItems) -> bool:
|
|
35
33
|
"""Check whether a job of the given type is running.
|
|
36
34
|
|
|
37
35
|
:param job_type: job type in `rna_enum_wm_job_type_items`.
|
|
38
|
-
:type job_type: bpy.stub_internal.rna_enums.WmJobTypeItems
|
|
39
36
|
:return: Whether a job of the given type is currently running.
|
|
40
|
-
:rtype: bool
|
|
41
37
|
"""
|
|
42
38
|
|
|
43
39
|
def memory_usage_undo() -> int:
|
|
44
40
|
"""Get undo memory usage information.
|
|
45
41
|
|
|
46
42
|
:return: Memory usage of the undo stack in bytes.
|
|
47
|
-
:rtype: int
|
|
48
43
|
"""
|
|
49
44
|
|
|
50
45
|
alembic: typing.Any
|
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:
|
bpy/app/timers/__init__.pyi
CHANGED
|
@@ -30,9 +30,7 @@ def is_registered(function: collections.abc.Callable[[], float | None]) -> bool:
|
|
|
30
30
|
"""Check if this function is registered as a timer.
|
|
31
31
|
|
|
32
32
|
:param function: Function to check.
|
|
33
|
-
:type function: collections.abc.Callable[[], float | None]
|
|
34
33
|
:return: True when this function is registered, otherwise False.
|
|
35
|
-
:rtype: bool
|
|
36
34
|
"""
|
|
37
35
|
|
|
38
36
|
def register(
|
|
@@ -48,16 +46,12 @@ def register(
|
|
|
48
46
|
functools.partial can be used to assign some parameters.
|
|
49
47
|
|
|
50
48
|
:param function: The function that should called.
|
|
51
|
-
:type function: collections.abc.Callable[[], float | None]
|
|
52
49
|
:param first_interval: Seconds until the callback should be called the first time.
|
|
53
|
-
:type first_interval: float | None
|
|
54
50
|
:param persistent: Dont remove timer when a new file is loaded.
|
|
55
|
-
:type persistent: bool | None
|
|
56
51
|
"""
|
|
57
52
|
|
|
58
53
|
def unregister(function: collections.abc.Callable[[], float | None]) -> None:
|
|
59
54
|
"""Unregister timer.
|
|
60
55
|
|
|
61
56
|
:param function: Function to unregister.
|
|
62
|
-
:type function: collections.abc.Callable[[], float | None]
|
|
63
57
|
"""
|
|
@@ -72,9 +72,7 @@ def pgettext(msgid: str | None, msgctxt: None | str | None = None) -> None:
|
|
|
72
72
|
"""Try to translate the given msgid (with optional msgctxt).
|
|
73
73
|
|
|
74
74
|
:param msgid: The string to translate.
|
|
75
|
-
:type msgid: str | None
|
|
76
75
|
:param msgctxt: The translation context (defaults to BLT_I18NCONTEXT_DEFAULT).
|
|
77
|
-
:type msgctxt: None | str | None
|
|
78
76
|
:return: The translated string (or msgid if no translation was found).
|
|
79
77
|
"""
|
|
80
78
|
|
|
@@ -82,9 +80,7 @@ def pgettext_data(msgid: str | None, msgctxt: None | str | None = None) -> None:
|
|
|
82
80
|
"""Try to translate the given msgid (with optional msgctxt), if new data names translation is enabled.
|
|
83
81
|
|
|
84
82
|
:param msgid: The string to translate.
|
|
85
|
-
:type msgid: str | None
|
|
86
83
|
:param msgctxt: The translation context (defaults to BLT_I18NCONTEXT_DEFAULT).
|
|
87
|
-
:type msgctxt: None | str | None
|
|
88
84
|
:return: The translated string (or msgid if no translation was found).
|
|
89
85
|
"""
|
|
90
86
|
|
|
@@ -92,9 +88,7 @@ def pgettext_iface(msgid: str | None, msgctxt: None | str | None = None) -> None
|
|
|
92
88
|
"""Try to translate the given msgid (with optional msgctxt), if labels translation is enabled.
|
|
93
89
|
|
|
94
90
|
:param msgid: The string to translate.
|
|
95
|
-
:type msgid: str | None
|
|
96
91
|
:param msgctxt: The translation context (defaults to BLT_I18NCONTEXT_DEFAULT).
|
|
97
|
-
:type msgctxt: None | str | None
|
|
98
92
|
:return: The translated string (or msgid if no translation was found).
|
|
99
93
|
"""
|
|
100
94
|
|
|
@@ -102,9 +96,7 @@ def pgettext_n(msgid: str | None, msgctxt: None | str | None = None) -> None:
|
|
|
102
96
|
"""Extract the given msgid to translation files. This is a no-op function that will only mark the string to extract, but not perform the actual translation.
|
|
103
97
|
|
|
104
98
|
:param msgid: The string to extract.
|
|
105
|
-
:type msgid: str | None
|
|
106
99
|
:param msgctxt: The translation context (defaults to BLT_I18NCONTEXT_DEFAULT).
|
|
107
|
-
:type msgctxt: None | str | None
|
|
108
100
|
:return: The original string.
|
|
109
101
|
"""
|
|
110
102
|
|
|
@@ -112,9 +104,7 @@ def pgettext_rpt(msgid: str | None, msgctxt: None | str | None = None) -> None:
|
|
|
112
104
|
"""Try to translate the given msgid (with optional msgctxt), if reports translation is enabled.
|
|
113
105
|
|
|
114
106
|
:param msgid: The string to translate.
|
|
115
|
-
:type msgid: str | None
|
|
116
107
|
:param msgctxt: The translation context (defaults to BLT_I18NCONTEXT_DEFAULT).
|
|
117
|
-
:type msgctxt: None | str | None
|
|
118
108
|
:return: The translated string (or msgid if no translation was found).
|
|
119
109
|
"""
|
|
120
110
|
|
|
@@ -122,9 +112,7 @@ def pgettext_tip(msgid: str | None, msgctxt: None | str | None = None) -> None:
|
|
|
122
112
|
"""Try to translate the given msgid (with optional msgctxt), if tooltips translation is enabled.
|
|
123
113
|
|
|
124
114
|
:param msgid: The string to translate.
|
|
125
|
-
:type msgid: str | None
|
|
126
115
|
:param msgctxt: The translation context (defaults to BLT_I18NCONTEXT_DEFAULT).
|
|
127
|
-
:type msgctxt: None | str | None
|
|
128
116
|
:return: The translated string (or msgid if no translation was found).
|
|
129
117
|
"""
|
|
130
118
|
|
|
@@ -134,17 +122,14 @@ def register(
|
|
|
134
122
|
"""Registers an addons UI translations.
|
|
135
123
|
|
|
136
124
|
:param module_name: The name identifying the addon.
|
|
137
|
-
:type module_name: str | None
|
|
138
125
|
:param translations_dict: A dictionary built like that:
|
|
139
126
|
{locale: {msg_key: msg_translation, ...}, ...}
|
|
140
|
-
:type translations_dict: dict[str, dict[str, str]] | None
|
|
141
127
|
"""
|
|
142
128
|
|
|
143
129
|
def unregister(module_name: str | None) -> None:
|
|
144
130
|
"""Unregisters an addons UI translations.
|
|
145
131
|
|
|
146
132
|
:param module_name: The name identifying the addon.
|
|
147
|
-
:type module_name: str | None
|
|
148
133
|
"""
|
|
149
134
|
|
|
150
135
|
contexts: typing.Any
|
bpy/msgbus/__init__.pyi
CHANGED
|
@@ -78,7 +78,6 @@ def publish_rna(
|
|
|
78
78
|
- A property instance.
|
|
79
79
|
- A struct type.
|
|
80
80
|
- A tuple representing a (struct, property name) pair.
|
|
81
|
-
:type key: bpy.types.Property | bpy.types.Struct | tuple[bpy.types.Struct, str] | None
|
|
82
81
|
"""
|
|
83
82
|
|
|
84
83
|
def subscribe_rna(
|
|
@@ -87,7 +86,7 @@ def subscribe_rna(
|
|
|
87
86
|
args,
|
|
88
87
|
notify,
|
|
89
88
|
*,
|
|
90
|
-
options=set(),
|
|
89
|
+
options: set[str] | None = set(),
|
|
91
90
|
) -> None:
|
|
92
91
|
"""Register a message bus subscription. It will be cleared when another blend file is
|
|
93
92
|
loaded, or can be cleared explicitly via `bpy.msgbus.clear_by_owner`.
|
|
@@ -98,9 +97,7 @@ def subscribe_rna(
|
|
|
98
97
|
- A property instance.
|
|
99
98
|
- A struct type.
|
|
100
99
|
- A tuple representing a (struct, property name) pair.
|
|
101
|
-
:type key: bpy.types.Property | bpy.types.Struct | tuple[bpy.types.Struct, str] | None
|
|
102
100
|
:param owner: Handle for this subscription (compared by identity).
|
|
103
|
-
:type owner: typing.Any | None
|
|
104
101
|
:param options: Change the behavior of the subscriber.
|
|
105
102
|
|
|
106
103
|
PERSISTENT when set, the subscriber will be kept when remapping ID data.
|