This commit is contained in:
ochafik 2023-03-26 21:36:47 +01:00
commit 8e33e4ed7e
4 changed files with 11 additions and 5 deletions

View file

@ -16,7 +16,6 @@ export const checkSyntax =
source = '$preview=true;\n' + source;
const job = spawnOpenSCAD({
workingDir: getParentDir(sourcePath),
inputs: [[sourcePath, source + '\n']],
args: [sourcePath, "-o", "out.ast"],
});
@ -67,7 +66,6 @@ export const render =
const job = spawnOpenSCAD({
// wasmMemory,
workingDir: getParentDir(params.sourcePath),
inputs: [[params.sourcePath, source]],
args,
outputPaths: ['/home/out.stl']