Commit Graph

168 Commits (master)

Author SHA1 Message Date
Jeremy Hammett dbbb51a4e0 Disable constant Temperature display in console 2012-05-05 20:10:30 +01:00
Kliment Yanev 556ba0fbc2 Merge branch 'master' of https://github.com/PxT/Printrun into experimental 2012-05-04 07:47:21 +02:00
Paul Telford fee5b5b9f7 Adds support for running an executable when print is finished. 2012-05-03 13:55:41 -07:00
Jeremy Hammett 06296a5346 Issue 174 - Correct layer-count when z is lifted for travel moves 2012-04-28 15:22:10 +02:00
Nathan Zadoks c2baae7bbb Lines starting with $ are now passed through too. 2012-03-01 14:13:57 +01:00
Keegi c187622660 Changed way .pronsolerc is saved so that it is possible to symlink it 2012-02-13 09:39:33 +02:00
Alessandro Ranellucci 34ede756a6 Full GPLv3 notice 2012-01-23 12:36:49 +01:00
Alessandro Ranellucci 7d2ef9a6b6 Added licensing info to README and all source files 2012-01-23 12:17:28 +01:00
Christian Metzen 2c28694b03 merge missing translations from pronsole, add new ones, clean up naming scheme 2012-01-19 09:26:23 +01:00
Kliment Yanev 2a20f67eba Avoid division by zero during estimation 2012-01-07 19:50:54 +01:00
Kliment Yanev 1a90feb2ef Fix command line handling for stl files with spaces in the name 2011-12-22 11:07:52 +01:00
Kliment Yanev 505e62afc0 Add gettext import to pronsole 2011-12-21 09:12:40 +01:00
Christopher Keller 930583a176 Added Tooltips and a Help Dictionary for the User Options. 2011-12-20 03:48:23 -08:00
Kliment Yanev 3e06eb7431 Merge remote-tracking branch 'origin/master' into experimental 2011-12-11 11:12:02 +01:00
Christopher Keller 882298ed6f Reduced the amount of data emitted to the user.
The extra data while interesting, belongs in a deliberate command to show stats.
summary line reads:
  Estimated duration (pessimistic):  187 layers, 00:29:42
2011-12-09 15:50:09 -08:00
Kliment Yanev 8941eb74c5 Fix bug with slic3r gcode and duration estimation
Make STLs less shiny on non-Linux OSs
2011-12-09 20:11:56 +01:00
kliment a2d5cd5d1c Merge pull request #122 from kliment/master
Merge fixes added to master into experimental
2011-12-07 05:08:49 -08:00
Christopher Keller f2434e75b5 Complete rewrite of time estimation with (default) acceleration!
Accounts for G4 Pxxx
  Accounts for Z moves as well.
  Also prints out duration for each layer while calculating the total time.

  Does not use individual axis acceleration, only uses sprinter default acceleration 1500.0 mm/s/s
  Does not count E for timing... so if E is slowing down the move, we're not accounting for that.

** fixed: 2x distance to reach full speed, because accel and decel to 0.0 at each move.

TODO:
  Get Device Caps (per axis acceleration, per axis speed limits)
  anything else...?
2011-12-01 11:24:53 -08:00
Kliment Yanev 5c4e1691e2 Merge branch 'master', remote-tracking branch 'origin' into experimental 2011-11-30 06:44:00 +01:00
Christopher Keller cc40719e6c Fixed the time estimator in pronsole.py
at beginning of move set feedrate to average of last and current feedrate.  do move with that feedrate.
then set the feedrate to the current feedrate.
if it's just a feedrate change, then the feedrate will become the feedrate.
if there is no feedrate in current move, feedrate will be last feedrate
if there is a move and a new feedrate then the move will take however long the average feedrate would take.

estimation is a bit more optimistic than pessimistic.  however it seems to be a lot more accurate.
2011-11-28 20:36:04 -08:00
Kliment Yanev 3316dac639 Merge branch 'master' into experimental
Conflicts:
	stlview.py
2011-11-28 18:27:27 +01:00
Kliment Yanev 02f14d5090 Fix comment stripping in duration estimation 2011-11-28 18:15:59 +01:00
Kliment Yanev 244350fee1 Merge branch 'master' into experimental 2011-11-27 17:34:09 +01:00
Kliment Yanev f7e14bf772 Merge branch 'master' of github.com:kliment/Printrun 2011-11-27 17:31:12 +01:00
Kliment Yanev 1eee27aa77 Ignore comments in gcode files when estimating duration 2011-11-27 17:30:35 +01:00
ErikZalm 21d81f76a5 Enable T codes like T0 and T1. 2011-11-20 19:55:17 +01:00
Kliment Yanev 0afcc88bd4 Integrate plating into pronterface UI 2011-11-18 09:52:16 +01:00
Keegi 1d6605065d Merge branch 'master' into experimental 2011-11-09 15:16:04 +02:00
Steven Devijver 262b000f7a Removed initial_feedrate, isn't used anyways, will only confuse people 2011-11-04 14:12:18 +01:00
Steven Devijver 80a1301bfd Simplified duration calculation, acceleration calculation is not realistic anyways 2011-11-04 13:51:36 +01:00
Steven Devijver e89eba8c9b Use latest feedrate, no need to fall back 2011-11-04 13:03:54 +01:00
Steven Devijver 0500332267 Also take forward movement after retraction into account 2011-11-04 12:48:38 +01:00
Steven Devijver 0bff3c93e4 Added retraction to calculation, format time in lower case 2011-11-04 12:41:13 +01:00
Steven Devijver be5f0e4900 Moved estimated duration code to pronterface 2011-11-04 11:49:05 +01:00
Keegi f0f6333681 better temperature combo box behavior when heated up 2011-10-25 22:56:44 +03:00
Denis B ea72af56c1 Fixed hang on the second launch of skeinforge settings dialog under Windows. 2011-09-28 13:46:01 +02:00
kludgineer 5d2ea3cf4d pla temps set to better defaults 2011-08-27 01:16:35 -07:00
Skateboss 4f8cffd9b0 removed minmax() 2011-08-27 09:11:52 +02:00
Skateboss 52bb2bf919 Added two functions to return measurements in 'mm' when loading a .stl or gcode file. 2011-08-27 08:51:01 +02:00
Keegi d482c6636b Remove diagnostic message about saving data into .pronsolerc 2011-08-12 08:55:13 +03:00
Kliment 013c9f0bec Add estimated filament length used.
Print elapsed time at end of print.
2011-08-06 14:48:10 +02:00
Keegi 2e99e1d72d improve confusing message about saving key when it is erased 2011-08-04 14:07:19 +03:00
Keegi 8dd97e12e7 Custom button customisation implemented 2011-08-04 14:03:35 +03:00
kliment 7abc2d59ce Fix homing for people in the stone age (using FiveD) 2011-07-28 12:07:47 +02:00
Keegi ae81b88340 Python 2.5 friendly exception catching syntax change 2011-07-27 21:41:40 +03:00
Keegi fba262be54 Options dialog 2011-07-26 19:29:55 +03:00
Keegi 0af5005052 Edit macros via menu access 2011-07-26 19:29:52 +03:00
kliment dffa62023c Use G28 for individual axis homing 2011-07-20 15:10:01 +02:00
Keegi 2dc8272345 fix for unitialized variable error when .pronsolerc does not exist 2011-07-18 18:25:15 +03:00
Keegi 1d5ce77a36 some fixes to macro editor routines 2011-07-15 11:12:21 +03:00
Keegi 2834e5631e Merge remote branch 'kliment/master' 2011-07-15 10:19:53 +03:00
kliment 655ab135e5 Fix permissions, allow commands when printer disconnected 2011-07-15 09:15:12 +02:00
Keegi 7e80870c52 Merge remote branch 'kliment/master' 2011-07-12 00:15:58 +03:00
kliment 76818fc072 Fix crash on new file load 2011-07-10 11:57:11 +02:00
Keegi d08bc641c0 simple small GUI editor for macros in pronterface 2011-07-07 00:19:45 +03:00
Keegi 8ca085a728 changed order of parsing startup config files and -e commands 2011-07-04 13:06:58 +03:00
Keegi 6f4ea3baf1 command line parsing, -c for overriding .pronsolerc filename/location, -e for commands from command line 2011-07-04 12:06:18 +03:00
Keegi 6ed74e6a63 Fixed missed change from self.feed{xyze} into self.settings.{xyze}_feedrate 2011-06-29 23:13:43 +03:00
Keegi afb7236d03 pronterface to take into account the defaults (port, baudrate, feedrates) 2011-06-29 22:27:00 +03:00
Keegi 3de92320f8 command "set" to store persistent variables for preferences 2011-06-29 21:51:24 +03:00
Keegi 5f16c89d10 Fixed typo 2011-06-27 00:37:55 +03:00
Keegi 0fee017277 macro persistence 2011-06-27 00:05:22 +03:00
Keegi 2810993f06 Read .pronsolerc from current directory if not found in home directory 2011-06-25 11:03:01 +03:00
Keegi 936a2685be making macros work on pronterface (it was missing pronsole.__init__ call)
refactored reading pronsolerc as separate function, call that from pronterface
2011-06-20 23:41:31 +03:00
kliment 347124df57 Safer string handling. 2011-06-11 23:03:01 +02:00
kliment 756fa55fd2 Zero extruder after homing 2011-06-11 19:32:11 +02:00
kliment 95f6d22189 Fix z homing 2011-06-10 10:46:09 +02:00
kliment 0a79e1543e More precise homing 2011-06-10 10:24:16 +02:00
kliment 0d5809eada Slow approach on homing. Loaded filename in monitor output 2011-06-10 10:12:12 +02:00
kliment 80b222902b Remove dependency on "with" - works with python 2.5 2011-06-09 19:03:57 +02:00
kliment cee3698530 Controllable feedrates 2011-06-09 18:44:57 +02:00
kliment 7a8819e448 Pronterface: remember dir across opened files 2011-06-09 16:43:03 +02:00
kliment b3053854ca Allow copy from pronterface window. rstrip incoming lines. 2011-06-09 16:13:17 +02:00
kliment 5fc2fe09f8 Pronsole: Print all unknown responses
Updated readme
2011-06-09 16:01:23 +02:00
kliment f13110a68b Temperature setting 2011-06-09 12:54:03 +02:00
kliment 3984c41d03 Fix homing commands 2011-06-09 08:48:50 +02:00
Keegi cba3ebbecd Fixed macro arguments expansion 2011-06-09 09:02:12 +03:00
kliment 571e4402b8 Make pronsole importable. Add homing command 2011-06-09 08:01:09 +02:00
Keegi 9307b60bca bugfix reading multi-line macros from .pronsolerc 2011-06-08 22:12:45 +03:00
Keegi cf924f5068 removed debugging macro code output 2011-06-08 17:23:09 +03:00
Keegi 47298bba5e Remove alias command in favour of macro 2011-06-08 17:23:08 +03:00
Keegi 7db2f9b002 macro work (in progress) 2011-06-08 17:23:06 +03:00
Keegi b636b3165b Parametric multi-line macros... 2011-06-08 17:23:04 +03:00
kliment f10c2dce5c Merge branch 'master' of github.com:kliment/Printrun 2011-06-08 16:20:13 +02:00
kliment 275fcb2901 Added pronterface 2011-06-08 16:19:38 +02:00
kliment 6f7927d1c1 Merge pull request #7 from k-eex/master
make disconnect/reconnect default to port/speed last used
2011-06-07 21:25:45 -07:00
Keegi d39f34221d Don't auto-pick last used port when that port is not in detected ports list 2011-06-07 18:11:45 +03:00
kliment 31da9098a0 Fix pause command. Fix help for pause command. 2011-06-07 07:46:29 +02:00
Keegi 5ea057779b remember last connected port during session and reconnect to it when passed connect without args 2011-06-06 21:43:22 +03:00
kliment fd6eb8ac3a Add reset command. Make gettemp and monitor less misleading 2011-06-06 19:46:25 +02:00
kliment 69b0eed171 Merge branch 'master' of github.com:kliment/Printrun 2011-06-05 16:05:34 +02:00
kliment 2990304843 COnsistent temp handling for gettemp and monitor 2011-06-05 16:04:38 +02:00
Keegi 1a37c6ee92 Fix empty lines in .pronsolerc causing crash 2011-06-04 23:14:32 +03:00
kliment 718eaf5ca5 Fix speed reading in extrude command 2011-06-02 19:59:20 +02:00
kliment 4ab811754c Add skeinforge settings support. Make printing non-modal. Experimental pausing. 2011-06-02 18:47:45 +02:00
kliment 7fd5c664bc Fix connect command parsing 2011-06-01 23:42:27 +02:00
kliment 3731e91d0b Fix temp reading detection for non-Sprinter firmwares. 2011-06-01 23:09:51 +02:00
kliment f00a00814d Merge pull request #3 from k-eex/master
bugfix in .pronsolerc reading
2011-06-01 10:56:20 -07:00
Keegi cb2ddfbcbf Prevent overwriting built-in commands with aliases, as it would delete access to the built-in command permanently 2011-06-01 20:49:12 +03:00
Keegi d2c1b08e31 alias tab-completion and better integration to built-in help 2011-06-01 20:38:50 +03:00