MCPcopy Index your code
hub / github.com/cncjs/gcode-toolpath / setModal

Method setModal

src/Toolpath.js:651–657  ·  view source on GitHub ↗
(modal)

Source from the content-addressed store, hash-verified

649 return toolpath;
650 }
651 setModal(modal) {
652 this.modal = {
653 ...this.modal,
654 ...modal
655 };
656 return this.modal;
657 }
658 isMetricUnits() { // mm
659 return this.modal.units === 'G21';
660 }

Callers 3

ToolpathClass · 0.95
constructorMethod · 0.95
index.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected