mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-05 21:26:50 +02:00
40 lines
693 B
Python
40 lines
693 B
Python
|
|
class Attribute:
|
|
"""
|
|
"""
|
|
isOutput = False
|
|
uid = []
|
|
group = 'allParams'
|
|
commandLine = '{nodeType} --help' # need to be overridden
|
|
|
|
def __init__(self, **kwargs):
|
|
for k, v in kwargs.items():
|
|
setattr(self, k, v)
|
|
|
|
|
|
class FileAttribute(Attribute):
|
|
"""
|
|
"""
|
|
def __init__(self, **kwargs):
|
|
super(FileAttribute, self).__init__(**kwargs)
|
|
|
|
|
|
class ParamAttribute(Attribute):
|
|
"""
|
|
"""
|
|
def __init__(self, **kwargs):
|
|
super(ParamAttribute, self).__init__(**kwargs)
|
|
|
|
|
|
class Node:
|
|
"""
|
|
"""
|
|
internalFolder = '{nodeType}/{uid0}/'
|
|
|
|
def __init__(self):
|
|
pass
|
|
|
|
|
|
class CommandLineNode(Node):
|
|
"""
|
|
"""
|