fake-bpy-module 20241003__py3-none-any.whl → 20241008__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/properties_data_gpencil/__init__.pyi +0 -256
- bl_ui/properties_grease_pencil_common/__init__.pyi +0 -220
- bl_ui/properties_object/__init__.pyi +149 -0
- bl_ui/properties_paint_common/__init__.pyi +43 -0
- bl_ui/space_dopesheet/__init__.pyi +0 -194
- bl_ui/space_toolsystem_toolbar/__init__.pyi +0 -56
- bl_ui/space_topbar/__init__.pyi +0 -43
- bl_ui/space_view3d/__init__.pyi +45 -721
- bl_ui/space_view3d_toolbar/__init__.pyi +0 -28
- bpy/ops/file/__init__.pyi +3 -0
- bpy/ops/gpencil/__init__.pyi +9 -2857
- bpy/ops/grease_pencil/__init__.pyi +16 -0
- bpy/ops/mesh/__init__.pyi +25 -0
- bpy/ops/node/__init__.pyi +24 -24
- bpy/ops/object/__init__.pyi +3 -66
- bpy/ops/wm/__init__.pyi +13 -357
- bpy/types/__init__.pyi +126 -250
- bpy/typing/__init__.pyi +8 -8
- {fake_bpy_module-20241003.dist-info → fake_bpy_module-20241008.dist-info}/METADATA +1 -1
- {fake_bpy_module-20241003.dist-info → fake_bpy_module-20241008.dist-info}/RECORD +22 -22
- {fake_bpy_module-20241003.dist-info → fake_bpy_module-20241008.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20241003.dist-info → fake_bpy_module-20241008.dist-info}/top_level.txt +0 -0
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,
|
|
@@ -5721,6 +5364,8 @@ def usd_import(
|
|
|
5721
5364
|
import_usd_preview: bool | None = True,
|
|
5722
5365
|
set_material_blend: bool | None = True,
|
|
5723
5366
|
light_intensity_scale: float | None = 1.0,
|
|
5367
|
+
mtl_purpose: typing.Literal["MTL_ALL_PURPOSE", "MTL_PREVIEW", "MTL_FULL"]
|
|
5368
|
+
| None = "MTL_FULL",
|
|
5724
5369
|
mtl_name_collision_mode: typing.Literal["MAKE_UNIQUE", "REFERENCE_EXISTING"]
|
|
5725
5370
|
| None = "MAKE_UNIQUE",
|
|
5726
5371
|
import_textures_mode: typing.Literal["IMPORT_NONE", "IMPORT_PACK", "IMPORT_COPY"]
|
|
@@ -5851,6 +5496,17 @@ def usd_import(
|
|
|
5851
5496
|
:type set_material_blend: bool | None
|
|
5852
5497
|
:param light_intensity_scale: Light Intensity Scale, Scale for the intensity of imported lights
|
|
5853
5498
|
:type light_intensity_scale: float | None
|
|
5499
|
+
:param mtl_purpose: Material Purpose, Attempt to import materials with the given purpose. If no material with this purpose is bound to the primitive, fall back on loading any other bound material
|
|
5500
|
+
|
|
5501
|
+
MTL_ALL_PURPOSE
|
|
5502
|
+
All Purpose -- Attempt to import 'allPurpose' materials..
|
|
5503
|
+
|
|
5504
|
+
MTL_PREVIEW
|
|
5505
|
+
Preview -- Attempt to import 'preview' materials. Load 'allPurpose' materials as a fallback.
|
|
5506
|
+
|
|
5507
|
+
MTL_FULL
|
|
5508
|
+
Full -- Attempt to import 'full' materials. Load 'allPurpose' or 'preview' materials, in that order, as a fallback.
|
|
5509
|
+
:type mtl_purpose: typing.Literal['MTL_ALL_PURPOSE','MTL_PREVIEW','MTL_FULL'] | None
|
|
5854
5510
|
:param mtl_name_collision_mode: Material Name Collision, Behavior when the name of an imported material conflicts with an existing material
|
|
5855
5511
|
|
|
5856
5512
|
MAKE_UNIQUE
|