Commit Graph

1003 Commits (9dec54886b468d6e9fd86e0a9e3fdec5fb9dd808)

Author SHA1 Message Date
Guillaume Seguin 9dec54886b Remove gcoder.py from setup.py 2013-05-16 15:05:52 +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 0833d3787a Add argparse dependency to README.md 2013-05-16 12:26:26 +02:00
Guillaume Seguin fb3e4068c0 Replace getopt CLI option parsing with a cleaner argparse parsing 2013-05-16 12:21:37 +02:00
Guillaume Seguin f63dfe9981 Minor presentation error fix in pronsole.py 2013-05-16 12:21:17 +02:00
Guillaume Seguin 280731f07b Remove debug statement in gcoder.py 2013-05-16 12:20:56 +02:00
Guillaume Seguin c5cb9a9926 Minor cleanups in pronsole.py
Command line option parsing really needs a better rework, to use optparse or
argparse and support gcode/stl filename argument.
2013-05-16 11:45:52 +02:00
Guillaume Seguin a46f73595e Use GCoder parsed gcode in gviz 2013-05-15 22:44:59 +02:00
Guillaume Seguin ea604380db Cleanup duration estimation
Estimation duration now uses the already parsed GCode instead of reparsing it.
It also computes a per layer duration estimation which can probably be used to
produce better ETAs.

The only difference is that it does not compute duration for Z layers changes,                                                                                                                        but it was probably super wrong already given how it is done (it only changes
the estimation by than 2s over 2 hours of print and 54 layers, and the feedrate
stuff mixes all the axes together).

I also detected a few potential issues in the code, which are marked by FIXMEs.
2013-05-15 21:49:12 +02:00
Guillaume Seguin 9816ea7c8a Cleanup some code in pronterface 2013-05-15 21:39:08 +02:00
Guillaume Seguin f15b0cdabb Speed up various parts of gcoder GCode processing 2013-05-15 19:43:26 +02:00
Guillaume Seguin b1113f06a5 Woops, typoz 2013-05-15 19:42:38 +02:00
Guillaume Seguin 595edf6064 More cleanup on gcode measurement 2013-05-15 15:35:48 +02:00
Guillaume Seguin ed38564549 Missing import 2013-05-15 15:28:09 +02:00
Guillaume Seguin b3d2a6f12f Woops, fix a typo 2013-05-15 15:24:33 +02:00
Guillaume Seguin 79d0477553 Move code around and remove useless helpers from pronsole.py 2013-05-15 15:23:46 +02:00
Guillaume Seguin d0a0ffbdf6 Fix and cleanup used filament length measurement 2013-05-15 15:19:23 +02:00
Guillaume Seguin 1dcf7be5eb Start cleaning up gcode measurement code 2013-05-15 15:18:36 +02:00
Guillaume Seguin f4a16223b0 Remove orphaned code 2013-05-15 15:12:03 +02:00
Guillaume Seguin b367fa2a0d Cleanup gcoder.py indent 2013-05-15 14:45:17 +02:00
kliment b3a673bc97 Merge pull request #358 from DanLipsitt/patch-1
fix typo in do_pause() log output
2013-05-01 22:11:27 -07:00
DanLipsitt 5ddbed5091 fix typo in do_pause() log output 2013-05-01 15:23:05 -07:00
Kliment Yanev 6fcb5b38b0 Initialize analyzer earlier in printcore.py 2013-04-25 10:54:32 +02:00
kliment 8c24401ddb Merge pull request #356 from D1plo1d/pronserve
Merging awesomeness
2013-04-19 23:17:04 -07:00
D1plo1d 4290a3b85d Fixing regression bugs caused by the event emitter refactoring 2013-04-19 20:43:32 -04:00
D1plo1d 31891fa3da Merging experimental branch with Pronserve 2013-04-19 20:42:03 -04:00
D1plo1d 7019d781b5 Refactoring pronserve for better code reuse 2013-04-19 19:05:10 -04:00
D1plo1d f01e5747e3 Getting the print queue api working with the printer, adding a job progress panel to inspector and adding job_finished and job_started events. 2013-04-19 13:26:03 -04:00
D1plo1d 5867975a10 Adding a print queue api. Not yet able to print. 2013-04-18 20:46:19 -04:00
D1plo1d 8c67ac28a9 Fixing inspector js logging on load 2013-04-15 16:39:11 -04:00
D1plo1d ccdf1b01b7 Removing legacy MDNS code that wasn't needed for the current MDNS setup. 2013-04-15 16:37:34 -04:00
D1plo1d 86ba7b9ed2 Throttling the DOM writes of pronserve inspector and stopping dom writes entirely when the window looses focus. 2013-04-12 10:53:33 -04:00
D1plo1d ad4c7153c0 Adding a link to inspector on the index 2013-04-11 00:07:47 -04:00
D1plo1d aeffb1c6c4 Adding temperature graphing to the pronsole inspector 2013-04-11 00:04:07 -04:00
D1plo1d a5c1ae9d1b Changing pronserve inspector to display a more reasonable persision 2013-04-10 23:07:39 -04:00
D1plo1d 7264c5e1c6 Adding a sleep to the pronserve startup. Seems to be fixing an intermittent bug where the printer wouldn't respond to temperature requests 2013-04-10 23:04:52 -04:00
D1plo1d b9a358a6a6 Fixing pronserve ououtputs: sensor values should be floats 2013-04-10 23:00:43 -04:00
D1plo1d 1a9b1502bd Cleaning up the pronserve code 2013-04-10 22:54:17 -04:00
D1plo1d 5f1955901c Adding "Pronserver" - a network discoverable 3d printer service. 2013-04-10 22:49:35 -04:00
D1plo1d eb0f808bf4 Refactoring Pronsole to wrap print in a self.log method so that it can be reused and overriden by a web interface or any other non-conosole interface 2013-04-10 09:05:08 -04:00
D1plo1d e1660bd7f0 Removing the web interface bindings from pronsole and pronterface 2013-04-09 15:46:40 -04:00
D1plo1d 47f75d10e5 Removing the web interface from the docs 2013-04-09 15:43:13 -04:00
D1plo1d c8d309f717 Removing the web interface 2013-04-08 21:04:39 -04:00
kliment b4f620a0b8 Merge pull request #352 from fsantini/experimental
Recovery after pause
2013-04-08 13:40:15 -07:00
fsantini 025a5a7bd6 Fix exception with join thread in print 2013-04-08 19:13:30 +02:00
fsantini 9500528676 Merge branch 'experimental' of https://github.com/kliment/Printrun into experimental 2013-04-08 19:03:34 +02:00
fsantini 896804056e Merge branch 'core_mods' into experimental - implementation of pause 2013-04-08 19:01:24 +02:00
fsantini a6abdbb74f Host commands start with ;@ 2013-04-08 18:49:33 +02:00
Francesco Santini 5a059961fa Indentation fixes, limit calculations 2013-04-08 13:06:31 +02:00