Fix 3mf export

This commit is contained in:
ochafik 2024-12-24 00:51:39 +00:00 • committed by Olivier Chafik
commit 18c1e6e12b
6 changed files with 87 additions and 44 deletions

View file

@ -128,7 +128,7 @@ export const render =
if (source.content == null) throw new Error('Source content is null!');
const content = [...prefixLines, source.content].join('\n');
const actualRenderFormat = renderFormat == 'glb' ? 'off' : renderFormat;
const actualRenderFormat = renderFormat == 'glb' || renderFormat == '3mf' ? 'off' : renderFormat;
const outFile = 'out.' + actualRenderFormat;
const args = [
scadPath,