-
Notifications
You must be signed in to change notification settings - Fork 7
/
ManifoldPlus.py
41 lines (35 loc) · 1.24 KB
/
ManifoldPlus.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# ManifoldPlus is distributed for free for non-commercial use only an is © 2020 Jingwei Huang. All Rights Reserved https://github.com/hjwdzh/ManifoldPlus
# Binaries can be downloaded from here https://github.com/natowi/ManifoldPlus/releases (rename manifoldplus64.exe to manifoldplus.exe)
# The ManifoldPlus.py node for Meshroom is licensed under MPL2 by natowi
# EXPERIMENTAL: good for testing
__version__ = "1.1"
from meshroom.core import desc
class ManifoldPlus(desc.CommandLineNode):
commandLine = 'manifoldplus --input {inputValue} --output {outputValue} --depth {depthValue}'
inputs = [
desc.File(
name="input",
label="Input",
description="obj input",
value="",
uid=[0],
),
desc.IntParam(
name='depth',
label='depth',
description='''depth value''',
value=8,
range=(0, 9, 1),
uid=[0],
advanced=True,
),
]
outputs = [
desc.File(
name="output",
label="Output",
description="Output",
value=desc.Node.internalFolder + 'manifold-output.obj',
uid=[0],
)
]