Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
translateX
Method · 0.95
translateY
Method · 0.95
translateZ
Method · 0.95
translateR
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected