YAML-ification and minor output restructure

This commit is contained in:
Bán Dénes 2021-07-21 21:24:12 +02:00
parent 282e117457
commit fa850a643c
22 changed files with 287 additions and 409 deletions

View file

@ -60,7 +60,7 @@ exports.twodee = (model, debug) => {
dxf: makerjs.exporter.toDXF(assembly),
}
if (debug) {
result.json = assembly
result.yaml = assembly
result.svg = makerjs.exporter.toSVG(assembly)
}
return result