MCPcopy Create free account
hub / github.com/cncjs/gcode-toolpath / isImperialUnits

Method isImperialUnits

src/Toolpath.js:661–663  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

659 return this.modal.units === 'G21';
660 }
661 isImperialUnits() { // inches
662 return this.modal.units === 'G20';
663 }
664 isAbsoluteDistance() {
665 return this.modal.distance === 'G90';
666 }

Callers 4

translateXMethod · 0.95
translateYMethod · 0.95
translateZMethod · 0.95
translateRMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected