3D de-standalone-ification

This commit is contained in:
Bán Dénes 2022-04-16 13:12:51 +02:00
parent c6f4832ee4
commit bbab283850
12 changed files with 44 additions and 284 deletions

View file

@ -81,7 +81,7 @@ const composite = (data, rel) => {
fs.mkdirpSync(path.dirname(abs))
fs.writeFileSync(abs + '.yaml', yaml.dump(data.yaml, {indent: 4}))
}
for (const format of ['svg', 'dxf', 'jscad', 'stl']) {
for (const format of ['svg', 'dxf', 'jscad']) {
if (data[format]) {
fs.mkdirpSync(path.dirname(abs))
fs.writeFileSync(abs + '.' + format, data[format])