storborg / axibot

Headless control software for the AxiDraw pen plotter.
http://axibot.readthedocs.io/
GNU General Public License v2.0
31 stars 8 forks source link

Auto-scaling fails #34

Open tkornack opened 7 years ago

tkornack commented 7 years ago

Looks like a floating point error.


WARNING:axibot.svg:This document does not specify physical units. Auto-scaling it to fit the drawing area.
AssertionError: SVG width of 11.000000000000002 must be <= 11
'''

Using python 3.6 / macOS 10.12.2 .
storborg commented 7 years ago

Thanks, that might be fixed in 349fa145905031bdb92f21cff880be3cd61da0de, but I haven't tried to reproduce that yet.

tkornack commented 7 years ago

I pulled this change, but it still seems to be an issue for me.

pwicks86 commented 7 years ago

This is probably fixed by 08fac51f19b1e3d298ae0b707722fbc42f042b23