Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function exoPanel(width, height, holeRadius, rim, fillet) {
var domeRadius = rim + holeRadius;
makerjs.$(new makerjs.models.Dome(2 * domeRadius, 2 * domeRadius, domeRadius))
.moveRelative([0, - domeRadius])
.rotate(135)
.addTo(this, 'dome1')
.clone()
.rotate(90)
.addTo(this, 'dome2')
.moveRelative([width, 0])
.$reset()
.clone()
.rotate(270)
.addTo(this, 'dome3')
.moveRelative([0, height])
.$reset()
.clone()
.rotate(180)
.addTo(this, 'dome4')