new actions menu

This commit is contained in:
ochafik 2023-03-26 15:29:18 +01:00
commit 42e78dab52
2 changed files with 124 additions and 9 deletions

View file

@ -53,7 +53,7 @@ export const render =
turnIntoDelayableExecution(renderDelay, (params: RenderArgs) => {
const args = [
params.sourcePath,
"-o", "out.stl",
"-o", "/home/out.stl",
"--export-format=binstl",
...(params.features ?? []).map(f => `--enable=${f}`),
...(params.extraArgs ?? [])
@ -70,7 +70,7 @@ export const render =
workingDir: getParentDir(params.sourcePath),
inputs: [[params.sourcePath, source]],
args,
outputPaths: ['out.stl']
outputPaths: ['/home/out.stl']
});
return AbortablePromise<RenderOutput>((resolve, reject) => {