fake-bpy-module 20241004__py3-none-any.whl → 20241009__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.

@@ -852,6 +852,22 @@ def material_hide(
852
852
  :type invert: bool | None
853
853
  """
854
854
 
855
+ def material_isolate(
856
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
857
+ execution_context: int | str | None = None,
858
+ undo: bool | None = None,
859
+ *,
860
+ affect_visibility: bool | None = False,
861
+ ):
862
+ """Toggle whether the active material is the only one that is editable and/or visible
863
+
864
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
865
+ :type execution_context: int | str | None
866
+ :type undo: bool | None
867
+ :param affect_visibility: Affect Visibility, In addition to toggling the editability, also affect the visibility
868
+ :type affect_visibility: bool | None
869
+ """
870
+
855
871
  def material_lock_all(
856
872
  override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
857
873
  execution_context: int | str | None = None,
bpy/ops/mesh/__init__.pyi CHANGED
@@ -3095,6 +3095,31 @@ def select_by_attribute(
3095
3095
  :type undo: bool | None
3096
3096
  """
3097
3097
 
3098
+ def select_by_pole_count(
3099
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
3100
+ execution_context: int | str | None = None,
3101
+ undo: bool | None = None,
3102
+ *,
3103
+ pole_count: int | None = 4,
3104
+ type: typing.Literal["LESS", "EQUAL", "GREATER", "NOTEQUAL"] | None = "NOTEQUAL",
3105
+ extend: bool | None = False,
3106
+ exclude_nonmanifold: bool | None = True,
3107
+ ):
3108
+ """Select vertices at poles by the number of connected edges. In edge and face mode the geometry connected to the vertices is selected
3109
+
3110
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
3111
+ :type execution_context: int | str | None
3112
+ :type undo: bool | None
3113
+ :param pole_count: Pole Count
3114
+ :type pole_count: int | None
3115
+ :param type: Type, Type of comparison to make
3116
+ :type type: typing.Literal['LESS','EQUAL','GREATER','NOTEQUAL'] | None
3117
+ :param extend: Extend, Extend the selection
3118
+ :type extend: bool | None
3119
+ :param exclude_nonmanifold: Exclude Non Manifold, Exclude non-manifold poles
3120
+ :type exclude_nonmanifold: bool | None
3121
+ """
3122
+
3098
3123
  def select_face_by_sides(
3099
3124
  override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
3100
3125
  execution_context: int | str | None = None,
@@ -1610,72 +1610,6 @@ def geometry_nodes_move_to_nodes(
1610
1610
  :type use_selected_objects: bool | None
1611
1611
  """
1612
1612
 
1613
- def gpencil_add(
1614
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1615
- execution_context: int | str | None = None,
1616
- undo: bool | None = None,
1617
- *,
1618
- radius: float | None = 1.0,
1619
- align: typing.Literal["WORLD", "VIEW", "CURSOR"] | None = "WORLD",
1620
- location: collections.abc.Sequence[float] | mathutils.Vector | None = (
1621
- 0.0,
1622
- 0.0,
1623
- 0.0,
1624
- ),
1625
- rotation: collections.abc.Sequence[float] | mathutils.Euler | None = (
1626
- 0.0,
1627
- 0.0,
1628
- 0.0,
1629
- ),
1630
- scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
1631
- type: bpy.typing.ObjectGpencilTypeItems | None = "EMPTY",
1632
- use_in_front: bool | None = True,
1633
- stroke_depth_offset: float | None = 0.05,
1634
- use_lights: bool | None = False,
1635
- stroke_depth_order: typing.Literal["2D", "3D"] | None = "3D",
1636
- ):
1637
- """Add a Grease Pencil object to the scene
1638
-
1639
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1640
- :type execution_context: int | str | None
1641
- :type undo: bool | None
1642
- :param radius: Radius
1643
- :type radius: float | None
1644
- :param align: Align, The alignment of the new object
1645
-
1646
- WORLD
1647
- World -- Align the new object to the world.
1648
-
1649
- VIEW
1650
- View -- Align the new object to the view.
1651
-
1652
- CURSOR
1653
- 3D Cursor -- Use the 3D cursor orientation for the new object.
1654
- :type align: typing.Literal['WORLD','VIEW','CURSOR'] | None
1655
- :param location: Location, Location for the newly added object
1656
- :type location: collections.abc.Sequence[float] | mathutils.Vector | None
1657
- :param rotation: Rotation, Rotation for the newly added object
1658
- :type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
1659
- :param scale: Scale, Scale for the newly added object
1660
- :type scale: collections.abc.Sequence[float] | mathutils.Vector | None
1661
- :param type: Type
1662
- :type type: bpy.typing.ObjectGpencilTypeItems | None
1663
- :param use_in_front: Show In Front, Show Line Art grease pencil in front of everything
1664
- :type use_in_front: bool | None
1665
- :param stroke_depth_offset: Stroke Offset, Stroke offset for the Line Art modifier
1666
- :type stroke_depth_offset: float | None
1667
- :param use_lights: Use Lights, Use lights for this grease pencil object
1668
- :type use_lights: bool | None
1669
- :param stroke_depth_order: Stroke Depth Order, Defines how the strokes are ordered in 3D space (for objects not displayed 'In Front')
1670
-
1671
- 2D
1672
- 2D Layers -- Display strokes using grease pencil layers to define order.
1673
-
1674
- 3D
1675
- 3D Location -- Display strokes using real 3D position in 3D space.
1676
- :type stroke_depth_order: typing.Literal['2D','3D'] | None
1677
- """
1678
-
1679
1613
  def grease_pencil_add(
1680
1614
  override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1681
1615
  execution_context: int | str | None = None,
@@ -2864,6 +2798,7 @@ def modifier_apply(
2864
2798
  report: bool | None = False,
2865
2799
  merge_customdata: bool | None = True,
2866
2800
  single_user: bool | None = False,
2801
+ all_keyframes: bool | None = False,
2867
2802
  use_selected_objects: bool | None = False,
2868
2803
  ):
2869
2804
  """Apply modifier and remove from the stack
@@ -2879,6 +2814,8 @@ def modifier_apply(
2879
2814
  :type merge_customdata: bool | None
2880
2815
  :param single_user: Make Data Single User, Make the object's data single user if needed
2881
2816
  :type single_user: bool | None
2817
+ :param all_keyframes: Apply to all keyframes, For Grease Pencil objects, apply the modifier to all the keyframes
2818
+ :type all_keyframes: bool | None
2882
2819
  :param use_selected_objects: Selected Objects, Affect all selected objects instead of just the active object
2883
2820
  :type use_selected_objects: bool | None
2884
2821
  """
bpy/ops/wm/__init__.pyi CHANGED
@@ -1463,363 +1463,6 @@ def drop_import_file(
1463
1463
  :type files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement] | None
1464
1464
  """
1465
1465
 
1466
- def gpencil_export_pdf(
1467
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1468
- execution_context: int | str | None = None,
1469
- undo: bool | None = None,
1470
- *,
1471
- filepath: str = "",
1472
- check_existing: bool | None = True,
1473
- filter_blender: bool | None = False,
1474
- filter_backup: bool | None = False,
1475
- filter_image: bool | None = False,
1476
- filter_movie: bool | None = False,
1477
- filter_python: bool | None = False,
1478
- filter_font: bool | None = False,
1479
- filter_sound: bool | None = False,
1480
- filter_text: bool | None = False,
1481
- filter_archive: bool | None = False,
1482
- filter_btx: bool | None = False,
1483
- filter_collada: bool | None = False,
1484
- filter_alembic: bool | None = False,
1485
- filter_usd: bool | None = False,
1486
- filter_obj: bool | None = True,
1487
- filter_volume: bool | None = False,
1488
- filter_folder: bool | None = True,
1489
- filter_blenlib: bool | None = False,
1490
- filemode: int | None = 8,
1491
- display_type: typing.Literal[
1492
- "DEFAULT", "LIST_VERTICAL", "LIST_HORIZONTAL", "THUMBNAIL"
1493
- ]
1494
- | None = "DEFAULT",
1495
- sort_method: str | None = "",
1496
- use_fill: bool | None = True,
1497
- selected_object_type: typing.Literal["ACTIVE", "SELECTED", "VISIBLE"]
1498
- | None = "SELECTED",
1499
- stroke_sample: float | None = 0.0,
1500
- use_normalized_thickness: bool | None = False,
1501
- frame_mode: typing.Literal["ACTIVE", "SELECTED", "SCENE"] | None = "ACTIVE",
1502
- ):
1503
- """Export grease pencil to PDF
1504
-
1505
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1506
- :type execution_context: int | str | None
1507
- :type undo: bool | None
1508
- :param filepath: File Path, Path to file
1509
- :type filepath: str
1510
- :param check_existing: Check Existing, Check and warn on overwriting existing files
1511
- :type check_existing: bool | None
1512
- :param filter_blender: Filter .blend files
1513
- :type filter_blender: bool | None
1514
- :param filter_backup: Filter .blend files
1515
- :type filter_backup: bool | None
1516
- :param filter_image: Filter image files
1517
- :type filter_image: bool | None
1518
- :param filter_movie: Filter movie files
1519
- :type filter_movie: bool | None
1520
- :param filter_python: Filter Python files
1521
- :type filter_python: bool | None
1522
- :param filter_font: Filter font files
1523
- :type filter_font: bool | None
1524
- :param filter_sound: Filter sound files
1525
- :type filter_sound: bool | None
1526
- :param filter_text: Filter text files
1527
- :type filter_text: bool | None
1528
- :param filter_archive: Filter archive files
1529
- :type filter_archive: bool | None
1530
- :param filter_btx: Filter btx files
1531
- :type filter_btx: bool | None
1532
- :param filter_collada: Filter COLLADA files
1533
- :type filter_collada: bool | None
1534
- :param filter_alembic: Filter Alembic files
1535
- :type filter_alembic: bool | None
1536
- :param filter_usd: Filter USD files
1537
- :type filter_usd: bool | None
1538
- :param filter_obj: Filter OBJ files
1539
- :type filter_obj: bool | None
1540
- :param filter_volume: Filter OpenVDB volume files
1541
- :type filter_volume: bool | None
1542
- :param filter_folder: Filter folders
1543
- :type filter_folder: bool | None
1544
- :param filter_blenlib: Filter Blender IDs
1545
- :type filter_blenlib: bool | None
1546
- :param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
1547
- :type filemode: int | None
1548
- :param display_type: Display Type
1549
-
1550
- DEFAULT
1551
- Default -- Automatically determine display type for files.
1552
-
1553
- LIST_VERTICAL
1554
- Short List -- Display files as short list.
1555
-
1556
- LIST_HORIZONTAL
1557
- Long List -- Display files as a detailed list.
1558
-
1559
- THUMBNAIL
1560
- Thumbnails -- Display files as thumbnails.
1561
- :type display_type: typing.Literal['DEFAULT','LIST_VERTICAL','LIST_HORIZONTAL','THUMBNAIL'] | None
1562
- :param sort_method: File sorting mode
1563
- :type sort_method: str | None
1564
- :param use_fill: Fill, Export strokes with fill enabled
1565
- :type use_fill: bool | None
1566
- :param selected_object_type: Object, Which objects to include in the export
1567
-
1568
- ACTIVE
1569
- Active -- Include only the active object.
1570
-
1571
- SELECTED
1572
- Selected -- Include selected objects.
1573
-
1574
- VISIBLE
1575
- Visible -- Include all visible objects.
1576
- :type selected_object_type: typing.Literal['ACTIVE','SELECTED','VISIBLE'] | None
1577
- :param stroke_sample: Sampling, Precision of stroke sampling. Low values mean a more precise result, and zero disables sampling
1578
- :type stroke_sample: float | None
1579
- :param use_normalized_thickness: Normalize, Export strokes with constant thickness
1580
- :type use_normalized_thickness: bool | None
1581
- :param frame_mode: Frames, Which frames to include in the export
1582
-
1583
- ACTIVE
1584
- Active -- Include only active frame.
1585
-
1586
- SELECTED
1587
- Selected -- Include selected frames.
1588
-
1589
- SCENE
1590
- Scene -- Include all scene frames.
1591
- :type frame_mode: typing.Literal['ACTIVE','SELECTED','SCENE'] | None
1592
- """
1593
-
1594
- def gpencil_export_svg(
1595
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1596
- execution_context: int | str | None = None,
1597
- undo: bool | None = None,
1598
- *,
1599
- filepath: str = "",
1600
- check_existing: bool | None = True,
1601
- filter_blender: bool | None = False,
1602
- filter_backup: bool | None = False,
1603
- filter_image: bool | None = False,
1604
- filter_movie: bool | None = False,
1605
- filter_python: bool | None = False,
1606
- filter_font: bool | None = False,
1607
- filter_sound: bool | None = False,
1608
- filter_text: bool | None = False,
1609
- filter_archive: bool | None = False,
1610
- filter_btx: bool | None = False,
1611
- filter_collada: bool | None = False,
1612
- filter_alembic: bool | None = False,
1613
- filter_usd: bool | None = False,
1614
- filter_obj: bool | None = True,
1615
- filter_volume: bool | None = False,
1616
- filter_folder: bool | None = True,
1617
- filter_blenlib: bool | None = False,
1618
- filemode: int | None = 8,
1619
- display_type: typing.Literal[
1620
- "DEFAULT", "LIST_VERTICAL", "LIST_HORIZONTAL", "THUMBNAIL"
1621
- ]
1622
- | None = "DEFAULT",
1623
- sort_method: str | None = "",
1624
- use_fill: bool | None = True,
1625
- selected_object_type: typing.Literal["ACTIVE", "SELECTED", "VISIBLE"]
1626
- | None = "SELECTED",
1627
- stroke_sample: float | None = 0.0,
1628
- use_normalized_thickness: bool | None = False,
1629
- use_clip_camera: bool | None = False,
1630
- ):
1631
- """Export grease pencil to SVG
1632
-
1633
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1634
- :type execution_context: int | str | None
1635
- :type undo: bool | None
1636
- :param filepath: File Path, Path to file
1637
- :type filepath: str
1638
- :param check_existing: Check Existing, Check and warn on overwriting existing files
1639
- :type check_existing: bool | None
1640
- :param filter_blender: Filter .blend files
1641
- :type filter_blender: bool | None
1642
- :param filter_backup: Filter .blend files
1643
- :type filter_backup: bool | None
1644
- :param filter_image: Filter image files
1645
- :type filter_image: bool | None
1646
- :param filter_movie: Filter movie files
1647
- :type filter_movie: bool | None
1648
- :param filter_python: Filter Python files
1649
- :type filter_python: bool | None
1650
- :param filter_font: Filter font files
1651
- :type filter_font: bool | None
1652
- :param filter_sound: Filter sound files
1653
- :type filter_sound: bool | None
1654
- :param filter_text: Filter text files
1655
- :type filter_text: bool | None
1656
- :param filter_archive: Filter archive files
1657
- :type filter_archive: bool | None
1658
- :param filter_btx: Filter btx files
1659
- :type filter_btx: bool | None
1660
- :param filter_collada: Filter COLLADA files
1661
- :type filter_collada: bool | None
1662
- :param filter_alembic: Filter Alembic files
1663
- :type filter_alembic: bool | None
1664
- :param filter_usd: Filter USD files
1665
- :type filter_usd: bool | None
1666
- :param filter_obj: Filter OBJ files
1667
- :type filter_obj: bool | None
1668
- :param filter_volume: Filter OpenVDB volume files
1669
- :type filter_volume: bool | None
1670
- :param filter_folder: Filter folders
1671
- :type filter_folder: bool | None
1672
- :param filter_blenlib: Filter Blender IDs
1673
- :type filter_blenlib: bool | None
1674
- :param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
1675
- :type filemode: int | None
1676
- :param display_type: Display Type
1677
-
1678
- DEFAULT
1679
- Default -- Automatically determine display type for files.
1680
-
1681
- LIST_VERTICAL
1682
- Short List -- Display files as short list.
1683
-
1684
- LIST_HORIZONTAL
1685
- Long List -- Display files as a detailed list.
1686
-
1687
- THUMBNAIL
1688
- Thumbnails -- Display files as thumbnails.
1689
- :type display_type: typing.Literal['DEFAULT','LIST_VERTICAL','LIST_HORIZONTAL','THUMBNAIL'] | None
1690
- :param sort_method: File sorting mode
1691
- :type sort_method: str | None
1692
- :param use_fill: Fill, Export strokes with fill enabled
1693
- :type use_fill: bool | None
1694
- :param selected_object_type: Object, Which objects to include in the export
1695
-
1696
- ACTIVE
1697
- Active -- Include only the active object.
1698
-
1699
- SELECTED
1700
- Selected -- Include selected objects.
1701
-
1702
- VISIBLE
1703
- Visible -- Include all visible objects.
1704
- :type selected_object_type: typing.Literal['ACTIVE','SELECTED','VISIBLE'] | None
1705
- :param stroke_sample: Sampling, Precision of stroke sampling. Low values mean a more precise result, and zero disables sampling
1706
- :type stroke_sample: float | None
1707
- :param use_normalized_thickness: Normalize, Export strokes with constant thickness
1708
- :type use_normalized_thickness: bool | None
1709
- :param use_clip_camera: Clip Camera, Clip drawings to camera size when export in camera view
1710
- :type use_clip_camera: bool | None
1711
- """
1712
-
1713
- def gpencil_import_svg(
1714
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1715
- execution_context: int | str | None = None,
1716
- undo: bool | None = None,
1717
- *,
1718
- filepath: str = "",
1719
- directory: str = "",
1720
- files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement]
1721
- | None = None,
1722
- check_existing: bool | None = False,
1723
- filter_blender: bool | None = False,
1724
- filter_backup: bool | None = False,
1725
- filter_image: bool | None = False,
1726
- filter_movie: bool | None = False,
1727
- filter_python: bool | None = False,
1728
- filter_font: bool | None = False,
1729
- filter_sound: bool | None = False,
1730
- filter_text: bool | None = False,
1731
- filter_archive: bool | None = False,
1732
- filter_btx: bool | None = False,
1733
- filter_collada: bool | None = False,
1734
- filter_alembic: bool | None = False,
1735
- filter_usd: bool | None = False,
1736
- filter_obj: bool | None = True,
1737
- filter_volume: bool | None = False,
1738
- filter_folder: bool | None = True,
1739
- filter_blenlib: bool | None = False,
1740
- filemode: int | None = 8,
1741
- relative_path: bool | None = True,
1742
- display_type: typing.Literal[
1743
- "DEFAULT", "LIST_VERTICAL", "LIST_HORIZONTAL", "THUMBNAIL"
1744
- ]
1745
- | None = "DEFAULT",
1746
- sort_method: str | None = "",
1747
- resolution: int | None = 10,
1748
- scale: float | None = 10.0,
1749
- ):
1750
- """Import SVG into grease pencil
1751
-
1752
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
1753
- :type execution_context: int | str | None
1754
- :type undo: bool | None
1755
- :param filepath: File Path, Path to file
1756
- :type filepath: str
1757
- :param directory: Directory, Directory of the file
1758
- :type directory: str
1759
- :param files: Files
1760
- :type files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement] | None
1761
- :param check_existing: Check Existing, Check and warn on overwriting existing files
1762
- :type check_existing: bool | None
1763
- :param filter_blender: Filter .blend files
1764
- :type filter_blender: bool | None
1765
- :param filter_backup: Filter .blend files
1766
- :type filter_backup: bool | None
1767
- :param filter_image: Filter image files
1768
- :type filter_image: bool | None
1769
- :param filter_movie: Filter movie files
1770
- :type filter_movie: bool | None
1771
- :param filter_python: Filter Python files
1772
- :type filter_python: bool | None
1773
- :param filter_font: Filter font files
1774
- :type filter_font: bool | None
1775
- :param filter_sound: Filter sound files
1776
- :type filter_sound: bool | None
1777
- :param filter_text: Filter text files
1778
- :type filter_text: bool | None
1779
- :param filter_archive: Filter archive files
1780
- :type filter_archive: bool | None
1781
- :param filter_btx: Filter btx files
1782
- :type filter_btx: bool | None
1783
- :param filter_collada: Filter COLLADA files
1784
- :type filter_collada: bool | None
1785
- :param filter_alembic: Filter Alembic files
1786
- :type filter_alembic: bool | None
1787
- :param filter_usd: Filter USD files
1788
- :type filter_usd: bool | None
1789
- :param filter_obj: Filter OBJ files
1790
- :type filter_obj: bool | None
1791
- :param filter_volume: Filter OpenVDB volume files
1792
- :type filter_volume: bool | None
1793
- :param filter_folder: Filter folders
1794
- :type filter_folder: bool | None
1795
- :param filter_blenlib: Filter Blender IDs
1796
- :type filter_blenlib: bool | None
1797
- :param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
1798
- :type filemode: int | None
1799
- :param relative_path: Relative Path, Select the file relative to the blend file
1800
- :type relative_path: bool | None
1801
- :param display_type: Display Type
1802
-
1803
- DEFAULT
1804
- Default -- Automatically determine display type for files.
1805
-
1806
- LIST_VERTICAL
1807
- Short List -- Display files as short list.
1808
-
1809
- LIST_HORIZONTAL
1810
- Long List -- Display files as a detailed list.
1811
-
1812
- THUMBNAIL
1813
- Thumbnails -- Display files as thumbnails.
1814
- :type display_type: typing.Literal['DEFAULT','LIST_VERTICAL','LIST_HORIZONTAL','THUMBNAIL'] | None
1815
- :param sort_method: File sorting mode
1816
- :type sort_method: str | None
1817
- :param resolution: Resolution, Resolution of the generated strokes
1818
- :type resolution: int | None
1819
- :param scale: Scale, Scale of the final strokes
1820
- :type scale: float | None
1821
- """
1822
-
1823
1466
  def grease_pencil_export_pdf(
1824
1467
  override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
1825
1468
  execution_context: int | str | None = None,