Material: Convert XML bindings to Python.
This commit is contained in:
committed by
Benjamin Nauck
parent
35420022e9
commit
4ec136b252
37
src/Mod/Material/App/ModelManager.pyi
Normal file
37
src/Mod/Material/App/ModelManager.pyi
Normal file
@@ -0,0 +1,37 @@
|
||||
from Base.Metadata import export, constmethod
|
||||
from Base.BaseClass import BaseClass
|
||||
from typing import Final, List, Dict
|
||||
|
||||
@export(
|
||||
Include="Mod/Material/App/ModelManager.h",
|
||||
Namespace="Materials",
|
||||
Constructor=True
|
||||
)
|
||||
class ModelManager(BaseClass):
|
||||
"""
|
||||
Material model descriptions.
|
||||
|
||||
Author: DavidCarter (dcarter@davidcarter.ca)
|
||||
Licence: LGPL
|
||||
"""
|
||||
|
||||
ModelLibraries: Final[List] = ...
|
||||
"""List of model libraries."""
|
||||
|
||||
LocalModelLibraries: Final[List] = ...
|
||||
"""List of local model libraries."""
|
||||
|
||||
Models: Final[Dict] = ...
|
||||
"""List of model libraries."""
|
||||
|
||||
def getModel(self) -> ...:
|
||||
"""
|
||||
Get a model object by specifying its UUID
|
||||
"""
|
||||
...
|
||||
|
||||
def getModelByPath(self) -> ...:
|
||||
"""
|
||||
Get a model object by specifying its path
|
||||
"""
|
||||
...
|
||||
Reference in New Issue
Block a user