Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AstroPrint/AstroBox
/ copy
Method
copy
src/ext/makerbot_driver/Gcode/Point.py:32–36 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
30
setattr(self, axis, codes[axis])
31
32
def
copy(self):
33
copy_point = Point()
34
for
axis in [
'X'
,
'Y'
,
'Z'
,
'A'
,
'B'
]:
35
setattr(copy_point, axis, getattr(self, axis))
36
return
copy_point
Callers
5
load
Method · 0.45
__init__
Method · 0.45
wget
Method · 0.45
set_position
Method · 0.45
linear_interpolation
Method · 0.45
Calls
1
Point
Class · 0.85
Tested by
no test coverage detected