fake-bpy-module 20240921__py3-none-any.whl → 20240922__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of fake-bpy-module might be problematic. Click here for more details.

bpy/__init__.pyi CHANGED
@@ -16,6 +16,7 @@ from . import ops as ops
16
16
  from . import path as path
17
17
  from . import props as props
18
18
  from . import types as types
19
+ from . import typing as typing
19
20
  from . import utils as utils
20
21
 
21
22
  _GenericType1 = typing.TypeVar("_GenericType1")
bpy/ops/uv/__init__.pyi CHANGED
@@ -1317,12 +1317,18 @@ def unwrap(
1317
1317
  execution_context: int | str | None = None,
1318
1318
  undo: bool | None = None,
1319
1319
  *,
1320
- method: typing.Literal["ANGLE_BASED", "CONFORMAL"] | None = "ANGLE_BASED",
1321
- fill_holes: bool | None = True,
1320
+ method: typing.Literal["ANGLE_BASED", "CONFORMAL", "MINIMUM_STRETCH"]
1321
+ | None = "CONFORMAL",
1322
+ fill_holes: bool | None = False,
1322
1323
  correct_aspect: bool | None = True,
1323
1324
  use_subsurf_data: bool | None = False,
1324
1325
  margin_method: typing.Literal["SCALED", "ADD", "FRACTION"] | None = "SCALED",
1325
1326
  margin: float | None = 0.001,
1327
+ no_flip: bool | None = False,
1328
+ iterations: int | None = 10,
1329
+ use_weights: bool | None = False,
1330
+ weight_group: str = "uv_importance",
1331
+ weight_factor: float | None = 1.0,
1326
1332
  ):
1327
1333
  """Unwrap the mesh of the object being edited
1328
1334
 
@@ -1330,7 +1336,7 @@ def unwrap(
1330
1336
  :type execution_context: int | str | None
1331
1337
  :type undo: bool | None
1332
1338
  :param method: Method, Unwrapping method (Angle Based usually gives better results than Conformal, while being somewhat slower)
1333
- :type method: typing.Literal['ANGLE_BASED','CONFORMAL'] | None
1339
+ :type method: typing.Literal['ANGLE_BASED','CONFORMAL','MINIMUM_STRETCH'] | None
1334
1340
  :param fill_holes: Fill Holes, Virtually fill holes in mesh before unwrapping, to better avoid overlaps and preserve symmetry
1335
1341
  :type fill_holes: bool | None
1336
1342
  :param correct_aspect: Correct Aspect, Map UVs taking image aspect ratio into account
@@ -1350,6 +1356,16 @@ def unwrap(
1350
1356
  :type margin_method: typing.Literal['SCALED','ADD','FRACTION'] | None
1351
1357
  :param margin: Margin, Space between islands
1352
1358
  :type margin: float | None
1359
+ :param no_flip: No Flip, Prevent flipping UV's, flipping may lower distortion depending on the position of pins
1360
+ :type no_flip: bool | None
1361
+ :param iterations: Iterations, Number of iterations when "Minimum Stretch" method is used
1362
+ :type iterations: int | None
1363
+ :param use_weights: Importance Weights, Whether to take into account per-vertex importance weights
1364
+ :type use_weights: bool | None
1365
+ :param weight_group: Weight Group, Vertex group name for importance weights (modulating the deform)
1366
+ :type weight_group: str
1367
+ :param weight_factor: Weight Factor, How much influence the weightmap has for weighted parameterization, 0 being no influence
1368
+ :type weight_factor: float | None
1353
1369
  """
1354
1370
 
1355
1371
  def weld(