Guillaume Seguin
df00b7e2a1
Don't parse gcodes other than G* (attempt to harden against #303 )
2013-05-16 20:32:50 +02:00
Guillaume Seguin
d2a0163a4e
Merge git://github.com/sbliven/Printrun into experimental
...
Should fix #359 initial issues
Conflicts:
.gitignore
printrun/gui.py
2013-05-16 19:30:39 +02:00
Guillaume Seguin
975b45936d
Handle N... gcodes in GCoder
2013-05-16 19:16:13 +02:00
Guillaume Seguin
9a19e12777
Fix gviz.add_parsed_gcode for relative gcodes
2013-05-16 17:39:45 +02:00
Guillaume Seguin
a49b487124
Start cleaning up addgcode()
...
There is a lot of code duplication between addgcode() and add_parsed_gcode,
which would probably need to be cleaned up.
2013-05-16 17:10:46 +02:00
Guillaume Seguin
251bda7dbe
Improve resizing behavior of Pronterface main window
2013-05-16 16:53:02 +02:00
Guillaume Seguin
e85f2cc69c
Rework left pane arrangement
2013-05-16 16:38:01 +02:00
Guillaume Seguin
a2977663f0
Factor 2 lines in printrun/gviz.py
2013-05-16 16:14:40 +02:00
Guillaume Seguin
dbc5362085
Improve zooming buttons by dynamically computing center
...
This might be slightly off, but it could also be the zooming code that's off.
2013-05-16 16:13:31 +02:00
Guillaume Seguin
cc64aef5f2
Improve and cleanup gviz resizing
2013-05-16 16:12:54 +02:00
Guillaume Seguin
72bd19d8bd
Remove debug output
2013-05-16 16:02:23 +02:00
Guillaume Seguin
0920bc6e97
Greatly improve resizing behavior of GViz windows
2013-05-16 15:57:18 +02:00
Guillaume Seguin
db04449a2b
Cleanup and speedup gviz
...
This commit mostly removes unused code and cleans some things up.
The main contribution is that instead of calling repaint() and Refresh(), we
now only mark the canvas as dirty and call Refresh(), which will do the repaint
just-in-time. This speeds things a lot when quickly changing layers or zooming,
as it does not repaint once per keyboard/mouse event but once per actual
Refresh, which makes it much smoother.
2013-05-16 15:31:32 +02:00
Guillaume Seguin
3339501383
Very minor cleanup
2013-05-16 15:27:41 +02:00
Guillaume Seguin
260d65643c
Fix gviz.py __main__
2013-05-16 15:06:48 +02:00
Guillaume Seguin
a80a2fea4b
Move gcoder.py into printrun module
2013-05-16 15:05:28 +02:00
Guillaume Seguin
4b372f5686
Speedup full file gcode loading in printrun/gviz.py
...
FWIW, on my test system with my test GCode loading time goes down from 5.7s to
2.3s between b3a673bc97
and this commit, that's almost 60% gone.
However, there is still a lot of room for functional improvements :
- I don't think the roundtrip through the target array is useful
- There's no handling of relative coordinates (neither for position nor for e)
- The arcs drawing code might be wrong
- The stlview bits are not enabled and probably have to be looked at and updated
2013-05-16 14:05:28 +02:00
Guillaume Seguin
a46f73595e
Use GCoder parsed gcode in gviz
2013-05-15 22:44:59 +02:00
Spencer Bliven
70ca8ace07
Setting BufferedCanvas sizes at creation.
...
This fixes bug #359
2013-05-02 15:05:37 -07:00
Spencer Bliven
b77ce7a2e7
Adding w,h parameters to BufferedCanvas.draw
...
All subclasses of BufferedCanvas require dimensions,
so the interface should be consistent.
2013-05-02 15:00:36 -07:00
Spencer Bliven
83b3bb6b71
Widen serial port dropbox to fill available space
2013-04-30 15:57:46 -07:00
D1plo1d
31891fa3da
Merging experimental branch with Pronserve
2013-04-19 20:42:03 -04:00
D1plo1d
c8d309f717
Removing the web interface
2013-04-08 21:04:39 -04:00
N Oliver
06280e2ba8
Update webinterface.py
...
oops! :'( web/css/style.css
2013-03-25 16:38:13 -07:00
OliverEngineer
3cfe86f96e
Adding AJAX to the web interface
...
need to explore CherryPy & websockets, but this quick'n'dirty is a big
speed increase
2013-03-23 18:02:18 -07:00
N Oliver
c298228ce9
attempting fix for issue 305
...
Encountered https://github.com/kliment/Printrun/issues/305#issuecomment-12306186
This edit removed the error, but I don't know what the original output was so I'm not sure if this really _fixes_ it, or is just a band-aid.
2013-03-23 14:36:15 -07:00
Kliment Yanev
37e27101f2
Merge branch 'master' of github.com:kliment/Printrun into experimental
...
Conflicts:
gcoder.py
2013-02-02 11:49:42 +01:00
Miro Hrončok
d90166b04c
Making the whole package GNU GPLv3+.
2013-01-13 12:18:47 +01:00
Kliment Yanev
80403aa7eb
Make port textbox bigger
2012-11-13 17:36:12 +01:00
Guillaume Seguin
55ff65805b
Correctly parent xyz buttons code-wise
2012-09-06 17:35:44 +02:00
Guillaume Seguin
8979ec888a
Rename macroed to MacroEditor
2012-09-05 17:30:28 +02:00
Guillaume Seguin
f8b7a52cbc
Whitespace cleanup (extra newlines) on graph.py
2012-09-05 17:00:26 +02:00
Guillaume Seguin
02ef52d777
Remove temperature gauges entirely from codebase
2012-09-05 16:46:39 +02:00
Guillaume Seguin
ae7bac414b
More cleanup of buttons handling, sanitize custom buttons
2012-09-05 16:32:35 +02:00
Guillaume Seguin
bbcdf2f383
Cleanup factorized button creation, start using it more
2012-09-05 15:46:50 +02:00
Guillaume Seguin
8974ada134
Fix autosized button creation
2012-09-05 15:45:55 +02:00
Guillaume Seguin
ffd7ff55dd
Improve lookup of files
2012-09-05 15:11:11 +02:00
Guillaume Seguin
123fbf3802
re module was missing in pronterface_widgets
2012-09-05 13:27:49 +02:00
Guillaume Seguin
5f8d69c653
Merge branch 'experimental' of https://github.com/kliment/Printrun into split-gui
2012-09-05 13:26:00 +02:00
Guillaume Seguin
796968197d
Factorize toolbar buttons creation
2012-09-05 13:20:37 +02:00
Guillaume Seguin
db143e8589
Split GUI
2012-09-05 13:09:38 +02:00
Guillaume Seguin
3a8bb5277c
Remove unappropriate webInterface close in pronterface_widgets
2012-09-05 13:06:55 +02:00
Christopher Keller
aa48536f18
Fixed a bug on windows that caused find to fail by a few spaces.
...
here is a link to the explanation of why this bug exists.
http://wiki.wxpython.org/wxPython%20Platform%20Inconsistencies#line-142
2012-09-05 04:05:47 -07:00
Christopher Keller
a868e571f3
Fixed bug that caused divide by zero error if main gviz window was sized too small.
2012-09-05 02:21:02 -07:00
Guillaume Seguin
6f446e3726
More automated cleanup
2012-08-08 09:58:09 +02:00
Guillaume Seguin
77eb2440e3
Semi-automated coding style cleanup
2012-08-08 09:38:48 +02:00
Guillaume Seguin
8cc134955f
Run reindent.py on the whole repository
2012-08-08 08:39:50 +02:00
Guillaume Seguin
f008ba2316
Move printcore back to root folder and install it in setup.py
2012-08-04 10:42:42 +02:00
Guillaume Seguin
5778ff0020
Cleanup printcore's main
2012-08-04 10:40:44 +02:00
Guillaume Seguin
f8151b5292
Fix typo
2012-08-04 10:35:56 +02:00