fixed euclid / euclid3 issue... should have used numpy

This commit is contained in:
Peter Boin 2017-07-18 22:25:22 +10:00
parent 549f82f203
commit e56811dbd5
3 changed files with 4 additions and 6 deletions

View File

@ -101,6 +101,7 @@ The ``Block`` contains a list of gcodes you're after.
To elaborate, here are some line examples
::
>>> from pygcode import Line
>>> line = Line('G01 x1 y2 f100 s1000 ; blah')

View File

@ -5,8 +5,8 @@
# 0.3.x - Development Status :: 4 - Beta
# 1.x - Development Status :: 5 - Production/Stable
# <any above>.y - developments on that version (pre-release)
# <any above>*.dev - development release (intended purely to test deployment)
__version__ = "0.1.0.dev"
# <any above>*.dev* - development release (intended purely to test deployment)
__version__ = "0.1.0"
__title__ = "pygcode"
__description__ = "Basic g-code parser, interpreter, and encoder library."

View File

@ -1,10 +1,7 @@
import sys
from copy import copy, deepcopy
if sys.version_info < (3, 0):
from euclid import Vector3, Quaternion
else:
from euclid3 import Vector3, Quaternion
from euclid3 import Vector3, Quaternion
# ==================== Geometric Utilities ====================