mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-16 09:41:58 +02:00
Move nodes into subfolders
This commit is contained in:
parent
85eff3509f
commit
aacdf32915
17 changed files with 23 additions and 11 deletions
20
meshroom/nodes/test/appendText.py
Normal file
20
meshroom/nodes/test/appendText.py
Normal file
|
@ -0,0 +1,20 @@
|
|||
from meshroom.core import desc
|
||||
|
||||
|
||||
class AppendText(desc.CommandLineNode):
|
||||
commandLine = 'cat {inputValue} > {outputValue} && echo {inputTextValue} >> {outputValue}'
|
||||
input = desc.FileAttribute(
|
||||
label='Input File',
|
||||
uid=[0],
|
||||
)
|
||||
output = desc.FileAttribute(
|
||||
label='Output',
|
||||
value='{cache}/{nodeType}/{uid0}/appendText.txt',
|
||||
isOutput=True,
|
||||
hasExpression=True,
|
||||
)
|
||||
inputText = desc.FileAttribute(
|
||||
label='Input Text',
|
||||
uid=[0],
|
||||
)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue