Spaces:
Running on Zero
Running on Zero
Commit ·
5959243
1
Parent(s): aa240c3
added flatforge support
Browse files
app.py
CHANGED
|
@@ -305,6 +305,19 @@ def get_script_args_info(exclude_args=None):
|
|
| 305 |
"precision": 0,
|
| 306 |
"help": "Number of rounds to choose the starting height map from.",
|
| 307 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 308 |
]
|
| 309 |
return [arg for arg in all_args_info if arg["name"] not in exclude_args]
|
| 310 |
|
|
|
|
| 305 |
"precision": 0,
|
| 306 |
"help": "Number of rounds to choose the starting height map from.",
|
| 307 |
},
|
| 308 |
+
{
|
| 309 |
+
"name": "--flatforge",
|
| 310 |
+
"type": "checkbox",
|
| 311 |
+
"default": False,
|
| 312 |
+
"help": "Enable FlatForge mode to generate separate STL files for each color",
|
| 313 |
+
},
|
| 314 |
+
{
|
| 315 |
+
"name": "--cap_layers",
|
| 316 |
+
"type": "number",
|
| 317 |
+
"default": 0,
|
| 318 |
+
"precision": 0,
|
| 319 |
+
"help": "Number of complete clear/transparent layers to add on top in FlatForge mode",
|
| 320 |
+
},
|
| 321 |
]
|
| 322 |
return [arg for arg in all_args_info if arg["name"] not in exclude_args]
|
| 323 |
|