fake-bpy-module 20250919__py3-none-any.whl → 20250921__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fake-bpy-module might be problematic. Click here for more details.
- bl_ui/space_view3d/__init__.pyi +28 -0
- bmesh/ops/__init__.pyi +4 -1
- bpy/ops/mesh/__init__.pyi +3 -0
- bpy/ops/object/__init__.pyi +65 -0
- bpy/ops/uv/__init__.pyi +2 -2
- bpy/types/__init__.pyi +620 -1914
- {fake_bpy_module-20250919.dist-info → fake_bpy_module-20250921.dist-info}/METADATA +1 -1
- {fake_bpy_module-20250919.dist-info → fake_bpy_module-20250921.dist-info}/RECORD +10 -10
- {fake_bpy_module-20250919.dist-info → fake_bpy_module-20250921.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20250919.dist-info → fake_bpy_module-20250921.dist-info}/top_level.txt +0 -0
bl_ui/space_view3d/__init__.pyi
CHANGED
|
@@ -2476,6 +2476,34 @@ class VIEW3D_MT_image_add(_bpy_types.Menu):
|
|
|
2476
2476
|
:param _context:
|
|
2477
2477
|
"""
|
|
2478
2478
|
|
|
2479
|
+
class VIEW3D_MT_lattice_add(_bpy_types.Menu):
|
|
2480
|
+
bl_idname: typing.Any
|
|
2481
|
+
bl_label: typing.Any
|
|
2482
|
+
bl_options: typing.Any
|
|
2483
|
+
bl_rna: typing.Any
|
|
2484
|
+
bl_translation_context: typing.Any
|
|
2485
|
+
id_data: typing.Any
|
|
2486
|
+
|
|
2487
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
2488
|
+
"""
|
|
2489
|
+
|
|
2490
|
+
:return: The RNA type or default when not found.
|
|
2491
|
+
:rtype: bpy.types.Struct
|
|
2492
|
+
"""
|
|
2493
|
+
|
|
2494
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
2495
|
+
"""
|
|
2496
|
+
|
|
2497
|
+
:return: The class or default when not found.
|
|
2498
|
+
:rtype: typing.Any
|
|
2499
|
+
"""
|
|
2500
|
+
|
|
2501
|
+
def draw(self, _context) -> None:
|
|
2502
|
+
"""
|
|
2503
|
+
|
|
2504
|
+
:param _context:
|
|
2505
|
+
"""
|
|
2506
|
+
|
|
2479
2507
|
class VIEW3D_MT_light_add(_bpy_types.Menu):
|
|
2480
2508
|
bl_context: typing.Any
|
|
2481
2509
|
bl_idname: typing.Any
|
bmesh/ops/__init__.pyi
CHANGED
|
@@ -2075,7 +2075,7 @@ def unsubdivide(
|
|
|
2075
2075
|
:type iterations: int
|
|
2076
2076
|
"""
|
|
2077
2077
|
|
|
2078
|
-
def weld_verts(bm: bmesh.types.BMesh, targetmap={}) -> None:
|
|
2078
|
+
def weld_verts(bm: bmesh.types.BMesh, targetmap={}, use_centroid: bool = False) -> None:
|
|
2079
2079
|
"""Weld Verts.Welds verts together (kind-of like remove doubles, merge, etc, all of which
|
|
2080
2080
|
use or will use this BMOP). You pass in mappings from vertices to the vertices
|
|
2081
2081
|
they weld with.
|
|
@@ -2083,6 +2083,9 @@ def weld_verts(bm: bmesh.types.BMesh, targetmap={}) -> None:
|
|
|
2083
2083
|
:param bm: The bmesh to operate on.
|
|
2084
2084
|
:type bm: bmesh.types.BMesh
|
|
2085
2085
|
:param targetmap: Maps welded vertices to verts they should weld to.
|
|
2086
|
+
:param use_centroid: Merged vertices to their centroid position,
|
|
2087
|
+
otherwise the position of the target vertex is used.
|
|
2088
|
+
:type use_centroid: bool
|
|
2086
2089
|
"""
|
|
2087
2090
|
|
|
2088
2091
|
def wireframe(
|
bpy/ops/mesh/__init__.pyi
CHANGED
|
@@ -2681,6 +2681,7 @@ def remove_doubles(
|
|
|
2681
2681
|
/,
|
|
2682
2682
|
*,
|
|
2683
2683
|
threshold: float | None = 0.0001,
|
|
2684
|
+
use_centroid: bool | None = True,
|
|
2684
2685
|
use_unselected: bool | None = False,
|
|
2685
2686
|
use_sharp_edge_from_normals: bool | None = False,
|
|
2686
2687
|
) -> None:
|
|
@@ -2690,6 +2691,8 @@ def remove_doubles(
|
|
|
2690
2691
|
:type undo: bool | None
|
|
2691
2692
|
:param threshold: Merge Distance, Maximum distance between elements to merge
|
|
2692
2693
|
:type threshold: float | None
|
|
2694
|
+
:param use_centroid: Centroid Merge, Move vertices to the centroid of the duplicate cluster, otherwise the vertex closest to the centroid is used.
|
|
2695
|
+
:type use_centroid: bool | None
|
|
2693
2696
|
:param use_unselected: Unselected, Merge selected to other unselected vertices
|
|
2694
2697
|
:type use_unselected: bool | None
|
|
2695
2698
|
:param use_sharp_edge_from_normals: Sharp Edges, Calculate sharp edges using custom normal data (when available)
|
bpy/ops/object/__init__.pyi
CHANGED
|
@@ -1995,6 +1995,71 @@ def laplaciandeform_bind(
|
|
|
1995
1995
|
:type modifier: str
|
|
1996
1996
|
"""
|
|
1997
1997
|
|
|
1998
|
+
def lattice_add_to_selected(
|
|
1999
|
+
execution_context: int | str | None = None,
|
|
2000
|
+
undo: bool | None = None,
|
|
2001
|
+
/,
|
|
2002
|
+
*,
|
|
2003
|
+
fit_to_selected: bool | None = True,
|
|
2004
|
+
radius: float | None = 1.0,
|
|
2005
|
+
margin: float | None = 0.0,
|
|
2006
|
+
add_modifiers: bool | None = True,
|
|
2007
|
+
resolution_u: int | None = 2,
|
|
2008
|
+
resolution_v: int | None = 2,
|
|
2009
|
+
resolution_w: int | None = 2,
|
|
2010
|
+
enter_editmode: bool | None = False,
|
|
2011
|
+
align: typing.Literal["WORLD", "VIEW", "CURSOR"] | None = "WORLD",
|
|
2012
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
2013
|
+
0.0,
|
|
2014
|
+
0.0,
|
|
2015
|
+
0.0,
|
|
2016
|
+
),
|
|
2017
|
+
rotation: collections.abc.Sequence[float] | mathutils.Euler | None = (
|
|
2018
|
+
0.0,
|
|
2019
|
+
0.0,
|
|
2020
|
+
0.0,
|
|
2021
|
+
),
|
|
2022
|
+
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
2023
|
+
) -> None:
|
|
2024
|
+
"""Add a lattice and use it to deform selected objects
|
|
2025
|
+
|
|
2026
|
+
:type execution_context: int | str | None
|
|
2027
|
+
:type undo: bool | None
|
|
2028
|
+
:param fit_to_selected: Fit to Selected, Resize lattice to fit selected deformable objects
|
|
2029
|
+
:type fit_to_selected: bool | None
|
|
2030
|
+
:param radius: Radius
|
|
2031
|
+
:type radius: float | None
|
|
2032
|
+
:param margin: Margin, Add margin to lattice dimensions
|
|
2033
|
+
:type margin: float | None
|
|
2034
|
+
:param add_modifiers: Add Modifiers, Automatically add lattice modifiers to selected objects
|
|
2035
|
+
:type add_modifiers: bool | None
|
|
2036
|
+
:param resolution_u: Resolution U, Lattice resolution in U direction
|
|
2037
|
+
:type resolution_u: int | None
|
|
2038
|
+
:param resolution_v: V, Lattice resolution in V direction
|
|
2039
|
+
:type resolution_v: int | None
|
|
2040
|
+
:param resolution_w: W, Lattice resolution in W direction
|
|
2041
|
+
:type resolution_w: int | None
|
|
2042
|
+
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
2043
|
+
:type enter_editmode: bool | None
|
|
2044
|
+
:param align: Align, The alignment of the new object
|
|
2045
|
+
|
|
2046
|
+
WORLD
|
|
2047
|
+
World -- Align the new object to the world.
|
|
2048
|
+
|
|
2049
|
+
VIEW
|
|
2050
|
+
View -- Align the new object to the view.
|
|
2051
|
+
|
|
2052
|
+
CURSOR
|
|
2053
|
+
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
2054
|
+
:type align: typing.Literal['WORLD','VIEW','CURSOR'] | None
|
|
2055
|
+
:param location: Location, Location for the newly added object
|
|
2056
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
2057
|
+
:param rotation: Rotation, Rotation for the newly added object
|
|
2058
|
+
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
2059
|
+
:param scale: Scale, Scale for the newly added object
|
|
2060
|
+
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
2061
|
+
"""
|
|
2062
|
+
|
|
1998
2063
|
def light_add(
|
|
1999
2064
|
execution_context: int | str | None = None,
|
|
2000
2065
|
undo: bool | None = None,
|
bpy/ops/uv/__init__.pyi
CHANGED
|
@@ -150,10 +150,10 @@ def arrange_islands(
|
|
|
150
150
|
:param order: Order, Order of islands
|
|
151
151
|
|
|
152
152
|
LARGE_TO_SMALL
|
|
153
|
-
Largest to Smallest -- Sort
|
|
153
|
+
Largest to Smallest -- Sort islands from largest to smallest.
|
|
154
154
|
|
|
155
155
|
SMALL_TO_LARGE
|
|
156
|
-
Smallest to Largest -- Sort
|
|
156
|
+
Smallest to Largest -- Sort islands from smallest to largest.
|
|
157
157
|
|
|
158
158
|
Fixed
|
|
159
159
|
Fixed -- Preserve island order.
|