summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhoekstar <hoekstar@cb376a5e-1013-0410-a455-b6b1f9ac8223>2009-02-22 01:31:25 +0000
committerhoekstar <hoekstar@cb376a5e-1013-0410-a455-b6b1f9ac8223>2009-02-22 01:31:25 +0000
commite9c286df2ed0158593e89ac86bc7ab959628e519 (patch)
tree70b5ccc8ddce90a880780e8487ff4de6f0dbfa5b
parent0a144ad6d22372c7003282c0ebc9caa88e97a2c1 (diff)
downloadreprap-backup-e9c286df2ed0158593e89ac86bc7ab959628e519.tar.gz
reprap-backup-e9c286df2ed0158593e89ac86bc7ab959628e519.zip
fix for the XY rod lengths.
git-svn-id: https://reprap.svn.sourceforge.net/svnroot/reprap@2585 cb376a5e-1013-0410-a455-b6b1f9ac8223
-rwxr-xr-xtrunk/users/hoeken/pythagoras/make_bot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/trunk/users/hoeken/pythagoras/make_bot.py b/trunk/users/hoeken/pythagoras/make_bot.py
index 201b1bab..2d1ce125 100755
--- a/trunk/users/hoeken/pythagoras/make_bot.py
+++ b/trunk/users/hoeken/pythagoras/make_bot.py
@@ -139,7 +139,7 @@ def main(argv):
yDistance = yMidpointFar - yMidPointNear
xyMidpointDistance = sqrt(xDistance*xDistance + yDistance*yDistance)
- xyDistance = xyMidpointDistance + blockSize + (nutHeight + washerHeight)*2 + 10
+ xyDistance = xyMidpointDistance + blockSize + (nutHeight + washerHeight)*2.0+ nutHeight*6.0
#show some header / info
print "(Generated by make_bot.py)"