3D de-standalone-ification
This commit is contained in:
parent
c6f4832ee4
commit
bbab283850
12 changed files with 44 additions and 284 deletions
|
@ -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])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue