Skip to content

Commit 346900e

Browse files
committed
update to the new automatic_polycube CLI
1 parent 7261a47 commit 346900e

File tree

2 files changed

+43
-7
lines changed

2 files changed

+43
-7
lines changed
Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,35 @@
11
description: |
22
See main app of https://github.com/LIHPC-Computational-Geometry/automatic_polycube
3-
tet-mesh: { # case of 'automatic_polycube' applied on a 'tet-mesh' subfolder
3+
tet-mesh: { # case of 'automatic_polycube' applied on a 'tet-mesh' folder
44
executable: {
55
path: AUTOMATIC_POLYCUBE,
66
filename: automatic_polycube,
7-
command_line: '{mesh} {labeling} gui=false'
7+
command_line: '{mesh} gui=false output={output_labeling}'
88
},
99
output_folder: 'automatic_polycube_%d',
1010
arguments: {
1111
input_files: {
12-
surface_mesh: SURFACE_MESH_OBJ
12+
mesh: SURFACE_MESH_OBJ
1313
},
1414
output_files: {
15-
labeling: SURFACE_LABELING_TXT
15+
output_labeling: SURFACE_LABELING_TXT
16+
}
17+
}
18+
}
19+
labeling: { # case of 'automatic_polycube' applied on a 'labeling' folder
20+
executable: {
21+
path: AUTOMATIC_POLYCUBE,
22+
filename: automatic_polycube,
23+
command_line: '{mesh} {init_labeling} gui=false output={output_labeling}'
24+
},
25+
output_folder: 'automatic_polycube_%d',
26+
arguments: {
27+
input_files: {
28+
mesh: SURFACE_MESH_OBJ,
29+
init_labeling: SURFACE_LABELING_TXT
30+
},
31+
output_files: {
32+
output_labeling: SURFACE_LABELING_TXT
1633
}
1734
}
1835
}
Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
description: |
22
See main app of https://github.com/LIHPC-Computational-Geometry/automatic_polycube
3-
tet-mesh: { # case of 'automatic_polycube_gui' applied on a 'tet-mesh' subfolder
3+
tet-mesh: { # case of 'automatic_polycube_gui' applied on a 'tet-mesh' folder
44
executable: {
55
path: AUTOMATIC_POLYCUBE,
66
filename: automatic_polycube,
7-
command_line: '{mesh} {labeling} gui=true'
7+
command_line: '{mesh} gui=true'
88
},
99
output_folder: 'automatic_polycube_%d',
1010
arguments: {
@@ -14,5 +14,24 @@ tet-mesh: { # case of 'automatic_polycube_gui' applied on a 'tet-mesh' subfolder
1414
output_files: {
1515
labeling: SURFACE_LABELING_TXT
1616
}
17-
}
17+
},
18+
note: "Save the output file as {labeling}"
19+
}
20+
labeling: { # case of 'automatic_polycube_gui' applied on a 'labeling' folder
21+
executable: {
22+
path: AUTOMATIC_POLYCUBE,
23+
filename: automatic_polycube,
24+
command_line: '{mesh} {init_labeling} gui=true output={output_labeling}'
25+
},
26+
output_folder: 'automatic_polycube_%d',
27+
arguments: {
28+
input_files: {
29+
mesh: SURFACE_MESH_OBJ,
30+
init_labeling: SURFACE_LABELING_TXT
31+
},
32+
output_files: {
33+
output_labeling: SURFACE_LABELING_TXT
34+
}
35+
},
36+
note: "Save the output file as {output_labeling}"
1837
}

0 commit comments

Comments
 (0)