Minor case fix + test

This commit is contained in:
Bán Dénes 2021-07-16 14:47:52 +02:00
parent f955aac994
commit 58cadde9ed
3 changed files with 103 additions and 1 deletions

View file

@ -69,7 +69,7 @@ exports.threedee = async (script, debug) => {
})
})
const result = {
stl: jscad.generateOutput('stla', compiled).asBuffer()
stl: jscad.generateOutput('stla', compiled).asBuffer().toString()
}
if (debug) {
result.jscad = script