simplifyPath = (pathString) => {
const makerModel = makerjs.importer.fromSVGPathData(pathString);
makerjs.model.originate(makerModel);
makerjs.model.simplify(makerModel);
const svg = html`${makerjs.exporter.toSVG(makerModel)}`;
return svg.querySelector('path').getAttribute('d');
}