Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/cncjs/gcode-toolpath
/ translateI
Method
translateI
src/Toolpath.js:719–721 ·
view source on GitHub ↗
(i)
Source
from the content-addressed store, hash-verified
717
return
translatePosition(this.position.z, z, !!relative);
718
}
719
translateI(i) {
720
return
this.translateX(i, true);
721
}
722
translateJ(j) {
723
return
this.translateY(j, true);
724
}
Callers
1
Toolpath
Class · 0.95
Calls
1
translateX
Method · 0.95
Tested by
no test coverage detected