fake-bpy-module 20251001__py3-none-any.whl → 20251003__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/ops/wm/__init__.pyi CHANGED
@@ -5466,11 +5466,12 @@ def xr_navigation_fly(
5466
5466
  "CONTROLLER_FORWARD",
5467
5467
  ]
5468
5468
  | None = "VIEWER_FORWARD",
5469
+ snap_turn_threshold: float | None = 0.95,
5469
5470
  lock_location_z: bool | None = False,
5470
5471
  lock_direction: bool | None = False,
5471
- speed_frame_based: bool | None = True,
5472
- speed_min: float | None = 0.018,
5473
- speed_max: float | None = 0.054,
5472
+ speed_frame_based: bool | None = False,
5473
+ turn_speed_factor: float | None = 0.333333,
5474
+ fly_speed_factor: float | None = 0.333333,
5474
5475
  speed_interpolation0: collections.abc.Sequence[float] | mathutils.Vector | None = (
5475
5476
  0.0,
5476
5477
  0.0,
@@ -5479,6 +5480,24 @@ def xr_navigation_fly(
5479
5480
  1.0,
5480
5481
  1.0,
5481
5482
  ),
5483
+ alt_mode: typing.Literal[
5484
+ "FORWARD",
5485
+ "BACK",
5486
+ "LEFT",
5487
+ "RIGHT",
5488
+ "UP",
5489
+ "DOWN",
5490
+ "TURNLEFT",
5491
+ "TURNRIGHT",
5492
+ "VIEWER_FORWARD",
5493
+ "VIEWER_BACK",
5494
+ "VIEWER_LEFT",
5495
+ "VIEWER_RIGHT",
5496
+ "CONTROLLER_FORWARD",
5497
+ ]
5498
+ | None = "VIEWER_FORWARD",
5499
+ alt_lock_location_z: bool | None = False,
5500
+ alt_lock_direction: bool | None = False,
5482
5501
  ) -> None:
5483
5502
  """Move/turn relative to the VR viewer or controller
5484
5503
 
@@ -5525,20 +5544,67 @@ def xr_navigation_fly(
5525
5544
  CONTROLLER_FORWARD
5526
5545
  Controller Forward -- Move along controllers forward axis.
5527
5546
  :type mode: typing.Literal['FORWARD','BACK','LEFT','RIGHT','UP','DOWN','TURNLEFT','TURNRIGHT','VIEWER_FORWARD','VIEWER_BACK','VIEWER_LEFT','VIEWER_RIGHT','CONTROLLER_FORWARD'] | None
5547
+ :param snap_turn_threshold: Snap Turn Threshold, Input state threshold when using snap turn
5548
+ :type snap_turn_threshold: float | None
5528
5549
  :param lock_location_z: Lock Elevation, Prevent changes to viewer elevation
5529
5550
  :type lock_location_z: bool | None
5530
5551
  :param lock_direction: Lock Direction, Limit movement to viewers initial direction
5531
5552
  :type lock_direction: bool | None
5532
5553
  :param speed_frame_based: Frame Based Speed, Apply fixed movement deltas every update
5533
5554
  :type speed_frame_based: bool | None
5534
- :param speed_min: Minimum Speed, Minimum move (turn) speed in meters (radians) per second or frame
5535
- :type speed_min: float | None
5536
- :param speed_max: Maximum Speed, Maximum move (turn) speed in meters (radians) per second or frame
5537
- :type speed_max: float | None
5555
+ :param turn_speed_factor: Turn Speed Factor, Ratio between the min and max turn speed
5556
+ :type turn_speed_factor: float | None
5557
+ :param fly_speed_factor: Fly Speed Factor, Ratio between the min and max fly speed
5558
+ :type fly_speed_factor: float | None
5538
5559
  :param speed_interpolation0: Speed Interpolation 0, First cubic spline control point between min/max speeds
5539
5560
  :type speed_interpolation0: collections.abc.Sequence[float] | mathutils.Vector | None
5540
5561
  :param speed_interpolation1: Speed Interpolation 1, Second cubic spline control point between min/max speeds
5541
5562
  :type speed_interpolation1: collections.abc.Sequence[float] | mathutils.Vector | None
5563
+ :param alt_mode: Mode (Alt), Fly mode when hands are swapped
5564
+
5565
+ FORWARD
5566
+ Forward -- Move along navigation forward axis.
5567
+
5568
+ BACK
5569
+ Back -- Move along navigation back axis.
5570
+
5571
+ LEFT
5572
+ Left -- Move along navigation left axis.
5573
+
5574
+ RIGHT
5575
+ Right -- Move along navigation right axis.
5576
+
5577
+ UP
5578
+ Up -- Move along navigation up axis.
5579
+
5580
+ DOWN
5581
+ Down -- Move along navigation down axis.
5582
+
5583
+ TURNLEFT
5584
+ Turn Left -- Turn counter-clockwise around navigation up axis.
5585
+
5586
+ TURNRIGHT
5587
+ Turn Right -- Turn clockwise around navigation up axis.
5588
+
5589
+ VIEWER_FORWARD
5590
+ Viewer Forward -- Move along viewers forward axis.
5591
+
5592
+ VIEWER_BACK
5593
+ Viewer Back -- Move along viewers back axis.
5594
+
5595
+ VIEWER_LEFT
5596
+ Viewer Left -- Move along viewers left axis.
5597
+
5598
+ VIEWER_RIGHT
5599
+ Viewer Right -- Move along viewers right axis.
5600
+
5601
+ CONTROLLER_FORWARD
5602
+ Controller Forward -- Move along controllers forward axis.
5603
+ :type alt_mode: typing.Literal['FORWARD','BACK','LEFT','RIGHT','UP','DOWN','TURNLEFT','TURNRIGHT','VIEWER_FORWARD','VIEWER_BACK','VIEWER_LEFT','VIEWER_RIGHT','CONTROLLER_FORWARD'] | None
5604
+ :param alt_lock_location_z: Lock Elevation (Alt), When hands are swapped, prevent changes to viewer elevation
5605
+ :type alt_lock_location_z: bool | None
5606
+ :param alt_lock_direction: Lock Direction (Alt), When hands are swapped, limit movement to viewers initial direction
5607
+ :type alt_lock_direction: bool | None
5542
5608
  """
5543
5609
 
5544
5610
  def xr_navigation_grab(
@@ -5589,6 +5655,17 @@ def xr_navigation_reset(
5589
5655
  :type scale: bool | None
5590
5656
  """
5591
5657
 
5658
+ def xr_navigation_swap_hands(
5659
+ execution_context: int | str | None = None,
5660
+ undo: bool | None = None,
5661
+ /,
5662
+ ) -> None:
5663
+ """Swap VR navigation controls between left / right controllers
5664
+
5665
+ :type execution_context: int | str | None
5666
+ :type undo: bool | None
5667
+ """
5668
+
5592
5669
  def xr_navigation_teleport(
5593
5670
  execution_context: int | str | None = None,
5594
5671
  undo: bool | None = None,
@@ -5596,12 +5673,18 @@ def xr_navigation_teleport(
5596
5673
  *,
5597
5674
  teleport_axes: collections.abc.Iterable[bool] | None = (True, True, True),
5598
5675
  interpolation: float | None = 1.0,
5599
- offset: float | None = 0.0,
5676
+ offset: float | None = 0.25,
5600
5677
  selectable_only: bool | None = True,
5601
- distance: float | None = 1.70141e38,
5678
+ distance: float | None = 80.0,
5679
+ gravity: float | None = 0.1,
5680
+ raycast_scale: float | None = 0.02,
5681
+ destination_scale: float | None = 0.05,
5682
+ sample_count: int | None = 48,
5602
5683
  from_viewer: bool | None = False,
5603
5684
  axis: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, -1.0),
5604
- color: collections.abc.Iterable[float] | None = (0.35, 0.35, 1.0, 1.0),
5685
+ hit_color: collections.abc.Iterable[float] | None = (0.35, 0.35, 1.0, 1.0),
5686
+ miss_color: collections.abc.Iterable[float] | None = (1.0, 0.35, 0.35, 1.0),
5687
+ fallback_color: collections.abc.Iterable[float] | None = (0.35, 0.35, 1.0, 1.0),
5605
5688
  ) -> None:
5606
5689
  """Set VR viewer location to controller raycast hit location
5607
5690
 
@@ -5617,12 +5700,24 @@ def xr_navigation_teleport(
5617
5700
  :type selectable_only: bool | None
5618
5701
  :param distance: Maximum raycast distance
5619
5702
  :type distance: float | None
5703
+ :param gravity: Gravity, Downward curvature applied to raycast
5704
+ :type gravity: float | None
5705
+ :param raycast_scale: Raycast Scale, Width of the raycast visualization
5706
+ :type raycast_scale: float | None
5707
+ :param destination_scale: Destination Scale, Width of the destination visualization
5708
+ :type destination_scale: float | None
5709
+ :param sample_count: Sample Count, Number of interpolation samples for the raycast visualization
5710
+ :type sample_count: int | None
5620
5711
  :param from_viewer: From Viewer, Use viewer pose as raycast origin
5621
5712
  :type from_viewer: bool | None
5622
5713
  :param axis: Axis, Raycast axis in controller/viewer space
5623
5714
  :type axis: collections.abc.Sequence[float] | mathutils.Vector | None
5624
- :param color: Color, Raycast color
5625
- :type color: collections.abc.Iterable[float] | None
5715
+ :param hit_color: Hit Color, Color of raycast when it succeeds
5716
+ :type hit_color: collections.abc.Iterable[float] | None
5717
+ :param miss_color: Miss Color, Color of raycast when it misses
5718
+ :type miss_color: collections.abc.Iterable[float] | None
5719
+ :param fallback_color: Fallback Color, Color of raycast when a fallback case succeeds
5720
+ :type fallback_color: collections.abc.Iterable[float] | None
5626
5721
  """
5627
5722
 
5628
5723
  def xr_session_toggle(
@@ -1224,6 +1224,7 @@ type IconItems = typing.Literal[
1224
1224
  "MOD_CAST", # MOD_CAST.
1225
1225
  "MOD_CLOTH", # MOD_CLOTH.
1226
1226
  "MOD_CURVE", # MOD_CURVE.
1227
+ "MOD_CURVE_TO_TUBE", # MOD_CURVE_TO_TUBE.
1227
1228
  "MOD_DASH", # MOD_DASH.
1228
1229
  "MOD_DATA_TRANSFER", # MOD_DATA_TRANSFER.
1229
1230
  "MOD_DECIM", # MOD_DECIM.
@@ -1253,6 +1254,7 @@ type IconItems = typing.Literal[
1253
1254
  "MOD_PARTICLES", # MOD_PARTICLES.
1254
1255
  "MOD_PHYSICS", # MOD_PHYSICS.
1255
1256
  "MOD_REMESH", # MOD_REMESH.
1257
+ "MOD_SCATTER_ON_SURFACE", # MOD_SCATTER_ON_SURFACE.
1256
1258
  "MOD_SCREW", # MOD_SCREW.
1257
1259
  "MOD_SHRINKWRAP", # MOD_SHRINKWRAP.
1258
1260
  "MOD_SIMPLEDEFORM", # MOD_SIMPLEDEFORM.
@@ -1488,6 +1490,7 @@ type IconItems = typing.Literal[
1488
1490
  "SEQ_SPLITVIEW", # SEQ_SPLITVIEW.
1489
1491
  "SEQ_STRIP_DUPLICATE", # SEQ_STRIP_DUPLICATE.
1490
1492
  "SEQ_STRIP_META", # SEQ_STRIP_META.
1493
+ "SEQ_STRIP_MODIFIER", # SEQ_STRIP_MODIFIER.
1491
1494
  "MOD_BRIGHTNESS_CONTRAST", # MOD_BRIGHTNESS_CONTRAST.
1492
1495
  "MOD_COLOR_BALANCE", # MOD_COLOR_BALANCE.
1493
1496
  "MOD_CURVES", # MOD_CURVES.
@@ -2803,10 +2806,6 @@ type SnapSourceItems = typing.Literal[
2803
2806
  "MEDIAN", # Median.Snap median onto target.
2804
2807
  "ACTIVE", # Active.Snap active onto target.
2805
2808
  ]
2806
- type SpaceActionModeItems = typing.Literal[
2807
- "DOPESHEET", # Dope Sheet.Edit all keyframes in scene.
2808
- "TIMELINE", # Timeline.Timeline and playback controls.
2809
- ]
2810
2809
  type SpaceFileBrowseModeItems = typing.Literal[
2811
2810
  "FILES", # File Browser.Built-in file manager for opening, saving, and linking data.
2812
2811
  "ASSETS", # Asset Browser.Manage assets in the current file and access linked asset libraries.
@@ -3033,7 +3032,7 @@ type VolumeGridDataTypeItems = typing.Literal[
3033
3032
  "INT", # Integer.32-bit integer.
3034
3033
  "INT64", # Integer 64-bit.64-bit integer.
3035
3034
  "MASK", # Mask.No data, boolean mask of active voxels.
3036
- "VECTOR_FLOAT", # Float Vector.3D float vector.
3035
+ "VECTOR_FLOAT", # Vector.3D float vector.
3037
3036
  "VECTOR_DOUBLE", # Double Vector.3D double vector.
3038
3037
  "VECTOR_INT", # Integer Vector.3D integer vector.
3039
3038
  "POINTS", # Points (Unsupported).Points grid, currently unsupported by volume objects.