Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
.moveRelative([0, height])
.$reset()
.clone()
.rotate(180)
.addTo(this, 'dome4')
.moveRelative([width, height])
;
var outer = new makerjs.models.Rectangle(width, height);
makerjs.model.combineUnion(this, outer);
this.models.outer = outer;
var c = makerjs.model.findSingleChain(this);
var fillets = makerjs.chain.fillet(c, fillet);
this.models.fillets = fillets;
this.models.bolts = new makerjs.models.BoltRectangle(width, height, holeRadius);
}
chains.forEach(function (chain, i) {
var fillets = makerjs.chain.fillet(chain, fillet);
if (!fillets) return;
frame.models["fillets" + i] = fillets;
});
}