Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
_require.extensions['.dxf'] = (module, filename) => {
const content = fs.readFileSync(filename, 'utf8')
const parsed = deserializer.deserialize(content, filename, { output: 'geometry' })
module.exports = parsed
}
}
_require.extensions['.stl'] = (module, filename) => {
const content = fs.readFileSync(filename, 'utf8')
const parsed = deserializer.deserialize(content, filename, { output: 'geometry' })
module.exports = parsed
}
}
_require.extensions['.svg'] = (module, filename) => {
const content = fs.readFileSync(filename, 'utf8')
const parsed = deserializer.deserialize(content, filename, { output: 'geometry' })
module.exports = parsed
}
}
_require.extensions['.amf'] = (module, filename) => {
const content = fs.readFileSync(filename, 'utf8')
const parsed = deserializer.deserialize(content, filename, { output: 'geometry' })
module.exports = parsed
}
}