mirror of
https://git.mirrors.martin98.com/https://github.com/petaflot/pygcode
synced 2025-08-14 04:05:56 +08:00
fixed euclid / euclid3 issue... should have used numpy
This commit is contained in:
parent
549f82f203
commit
e56811dbd5
@ -101,6 +101,7 @@ The ``Block`` contains a list of gcodes you're after.
|
|||||||
To elaborate, here are some line examples
|
To elaborate, here are some line examples
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
>>> from pygcode import Line
|
>>> from pygcode import Line
|
||||||
|
|
||||||
>>> line = Line('G01 x1 y2 f100 s1000 ; blah')
|
>>> line = Line('G01 x1 y2 f100 s1000 ; blah')
|
||||||
|
@ -5,8 +5,8 @@
|
|||||||
# 0.3.x - Development Status :: 4 - Beta
|
# 0.3.x - Development Status :: 4 - Beta
|
||||||
# 1.x - Development Status :: 5 - Production/Stable
|
# 1.x - Development Status :: 5 - Production/Stable
|
||||||
# <any above>.y - developments on that version (pre-release)
|
# <any above>.y - developments on that version (pre-release)
|
||||||
# <any above>*.dev - development release (intended purely to test deployment)
|
# <any above>*.dev* - development release (intended purely to test deployment)
|
||||||
__version__ = "0.1.0.dev"
|
__version__ = "0.1.0"
|
||||||
|
|
||||||
__title__ = "pygcode"
|
__title__ = "pygcode"
|
||||||
__description__ = "Basic g-code parser, interpreter, and encoder library."
|
__description__ = "Basic g-code parser, interpreter, and encoder library."
|
||||||
|
@ -1,10 +1,7 @@
|
|||||||
import sys
|
import sys
|
||||||
from copy import copy, deepcopy
|
from copy import copy, deepcopy
|
||||||
|
|
||||||
if sys.version_info < (3, 0):
|
from euclid3 import Vector3, Quaternion
|
||||||
from euclid import Vector3, Quaternion
|
|
||||||
else:
|
|
||||||
from euclid3 import Vector3, Quaternion
|
|
||||||
|
|
||||||
|
|
||||||
# ==================== Geometric Utilities ====================
|
# ==================== Geometric Utilities ====================
|
||||||
|
Loading…
x
Reference in New Issue
Block a user