mfp3d.py : the retraction speed is extracted from Velocity, not RetractVelocity
authoralbertogomcas <devnull@localhost>
Tue, 16 Mar 2010 08:39:37 +0000 (08:39 +0000)
committeralbertogomcas <devnull@localhost>
Tue, 16 Mar 2010 08:39:37 +0000 (08:39 +0000)
mfp3d.py

index 90497290c7336e75b683d22470228c501bb212d7..944d614ad21da84fa826957b34a8417b8f37705e 100644 (file)
--- a/mfp3d.py
+++ b/mfp3d.py
@@ -204,7 +204,7 @@ class mfp3dDriver(lhc.Driver):
                if ':' in line:
                    key, value = line.split(':', 1)
                     self.note[key] = value
-            self.retract_velocity = float(self.note['RetractVelocity'])
+            self.retract_velocity = float(self.note['Velocity'])
             self.spring_constant = float(self.note['SpringConstant'])
         else:
             assert False, "Fileversion is of type '%i', not supported" % dtype