Giter Site home page Giter Site logo

kliment / printrun Goto Github PK

View Code? Open in Web Editor NEW
2.3K 176.0 995.0 81.4 MB

Pronterface, Pronsole, and Printcore - Pure Python 3d printing host software

License: GNU General Public License v3.0

Python 96.98% C 0.12% Batchfile 1.11% G-code 0.64% Cython 1.15%

printrun's Issues

Possibility to set origin of preview window

I like that I can see the progress of the print in the preview window, however since I use pronterface with a makerbot I am used that (0,0) is located in the middle of the build platform. If I use multiply and set it to (0,0) I will always have prints which are located in the center of the build platform.

In pronterface (0,0) seems to be located at the lower left hand corner of the preview window. It would be nice if users could choose to have it in the middle.

Random freezes while printing from Serial port

I cannot finish almost any of my prints as they stop after a few minutes (or seconds). The error message I get at the console is:

Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
self.run()
File "/usr/lib/python2.6/threading.py", line 484, in run
self.__target(_self.__args, *_self.__kwargs)
File "/home/misan/Documentos/prusa/Printrun/printcore.py", line 79, in _listen
line=self.printer.readline()
File "/usr/lib/python2.6/dist-packages/serial/serialutil.py", line 60, in readline
c = self.read(1)
File "/usr/lib/python2.6/dist-packages/serial/serialposix.py", line 320, in read
buf = os.read(self.fd, size-len(read))
OSError: [Errno 11] Recurso no disponible temporalmente

I'm running 10.4 64bit Ubuntu with python-serial 2.3.1. Problem happens with or without power in the RAMPS board (I guess it is not an EMI problem). Firmware is Sprinter.

As I understand it, it seems the serial port device vanishes temporarily so serialposix cannot complete a read. dmesg however, does not show a USB disconnect/connect cycle and USB device responds happily. I guess it might be an OS or pyserial problem, but I'm reporting it here just in case.

estimate_duration bails with ZeroDivisionError when moves have no feedrate

If the first two or more moves in a gcode file have no feed rate specified then this happens:

Estimated duration (pessimistic): .... estimating ....
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 505, in run
self.__target(_self.__args, *_self.__kwargs)
File "./pronterface.py", line 1358, in loadviz
print _("Estimated duration (pessimistic): "), pronsole.estimate_duration(self.f)
File "/home/sparr/src/printrun/git/Printrun/pronsole.py", line 141, in estimate_duration
moveduration = 2 * distance / ( lastf + f )
ZeroDivisionError: float division by zero

SFACT integration- cannot open settings after skein

to reproduce:
open sfact settings, close
pronterface->open, choose an STL (don't need to print or transfer to SD, just skein)
open sfact settings again

may affect skeinforge integration too

result:

this should never happen, getDisplayedDialogFromConstructor in settings could not open
<skeinforge.skeinforge_application.skeinforge.SkeinforgeRepository instance at 0xab05f44c>
Traceback (most recent call last):
File "/home/triffid/Projects/Printrun/skeinforge/fabmetheus_utilities/settings.py", line 147, in getDisplayedDialogFromConstructor
return RepositoryDialog( repository, Tkinter.Tk() )
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1685, in init
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
TclError: out of stack space (infinite loop?)
Warning, displayedDialogFromConstructor in settings is none, so the window will not be displayed.

Gets stuck when some code has to be resent.

First I noticed this it happened when I tried to see how the behaviour was when homing individual axis mid print.. After that it just kept trying to resend and it moved maybe 1 move every 1 or 2 seconds. Today it happened twice. The last time in the middle of a regular print without intervention...

manipulates GCode

Layers of serial builds by repsnapper are thrown together and not kept in their original sequence.

.... Probably they are printed in the correct sequence, but not shown in the layer view

[experimental branch] Unable to open file twice

On the experimental branch ( & Mac OS X):
I can load file and have it processed (either skeinforge or slic3r).
When I want to load the next file, no file menu dialog appears, instead I get a stacktrace:
Traceback (most recent call last):
File "pronterface.py", line 1280, in loadfile
self.skeinp.terminate()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1392, in terminate
self.send_signal(signal.SIGTERM)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1387, in send_signal
os.kill(self.pid, sig)
OSError: [Errno 3] No such process

pronterface in french on macosx has grayed out controls

Hi,
on macosx 10.5 and 10.6, with python 2.6.1, when locale is set to fr_FR.UTF-8, pronterface shows up in french but won't enable the grayed-out controls after connecting to the machine. When launched with LANG=C, everything works as expected.
Thanks,
Charles

Trouble when loading some gcode files

When loading GCode files, the load terminates unexpectedly. I've noticed this particularly on gcode from Slic3r but I have not confirmed whether or not it happens with SF generated GCode. If I comment out pronterface.py line 1306 giving estimated duration, the file loads and prints fine.

Here's the error. GCode file available on request.
layer z: 13.5 will take: 00:05:50
Exception in thread Thread-1:
Traceback (most recent call last):
File "C:\Program Files (x86)\Python27\lib\threading.py", line 552, in __bootst
rap_inner
self.run()
File "C:\Program Files (x86)\Python27\lib\threading.py", line 505, in run
self.__target(_self.__args, *_self.__kwargs)
File "D:\apps\reprap\Printrun-2011-12-09\pronterface.py", line 1307, in loadviz
print _("Estimated duration (pessimistic): "), pronsole.estimate_duration(self.f)
File "D:\apps\reprap\Printrun-2011-12-09\pronsole.py", line 129, in estimate_duration
f = get_coordinate_value("F", parts[1:])
File "D:\apps\reprap\Printrun-2011-12-09\pronsole.py", line 88, in get_coordinate_value
return float(i[1:])
ValueError: invalid literal for float(): 900 ;Retract

How to change/delete custom buttons?

Hi Kliment, great program, thank you so much! However...

A couple of months ago, I clicked the button on the toolbar that lets you add buttons with specific gcode, rather than adding them by editing the 'custombtn.txt' file, thinking that they would automatically be added to that file. However, they were not, and I can't edit them. Also,when I update Printrun, the same buttons remain, which I can't edit. Each time I update I create a new folder, and delete the old version once I have tested the new version. Is there a file hidden somewhere that I need to delete?

Also, if I edit 'custombtn.txt', the changes are not shown in the GUI when Printrun is next loaded. It just shows the custom buttons that were there before.

I'm running Printrun on OS X 10.6.8.

skeinforge not closing/closeable after rendering gcode

Using Printrun [HEAD] skeinforge is not closing properly, after I loaded a stl and it rendered the gcode. I'm also unable to close the skeinforge windows, it simply won't react on clicks. pronterface is stil usable. Closing pronteface sometimes closes skeinforge as well.

Loading a Slic3r generated GCode file causes error

When every I load a gocde file that has been generated by Slic3r(0.5.5b / 0.5.6) I get the following exception and nothing is displayed in the preview window.

I can send the code to the printer and it prints OK.

Exception in thread Thread-23:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 522, in __bootstrap_inner
self.run()
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 477, in run
self.__target(_self.__args, *_self.__kwargs)
File "./r", line 1307, in loadviz
print _("Estimated duration (pessimistic): "), pronsole.estimate_duration(self.f)
File "/Users/geoffd/projects/mechanical/printrun/pronsole.py", line 129, in estimate_duration
f = get_coordinate_value("F", parts[1:])
File "/Users/geoffd/projects/mechanical/printrun/pronsole.py", line 88, in get_coordinate_value
return float(i[1:])
ValueError: invalid literal for float(): 900 ;

Pronterface is missing library

The new version somehow introduced new dependencies, with pronterface.py or for convenience test.py I get:
python test.py
Traceback (most recent call last):
File "/Users/markusklink/Documents/Printrun/bufferedcanvas.py", line 117, in onPaint
self.draw(dc, w, h)
File "/Users/markusklink/Documents/Printrun/zbuttons.py", line 77, in draw
gc = wx.GraphicsContext.Create(dc)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_gdi.py", line 5501, in Create
val = gdi.GraphicsContext_Create(_args)
NotImplementedError: wx.GraphicsContext is not available on this platform.
Traceback (most recent call last):
File "/Users/markusklink/Documents/Printrun/bufferedcanvas.py", line 117, in onPaint
self.draw(dc, w, h)
File "/Users/markusklink/Documents/Printrun/xybuttons.py", line 192, in draw
gc = wx.GraphicsContext.Create(dc)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_gdi.py", line 5501, in Create
val = gdi.GraphicsContext_Create(_args)
NotImplementedError: wx.GraphicsContext is not available on this platform.
Traceback (most recent call last):
File "/Users/markusklink/Documents/Printrun/bufferedcanvas.py", line 117, in onPaint
self.draw(dc, w, h)
File "/Users/markusklink/Documents/Printrun/zbuttons.py", line 77, in draw
gc = wx.GraphicsContext.Create(dc)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_gdi.py", line 5501, in Create
val = gdi.GraphicsContext_Create(_args)
NotImplementedError: wx.GraphicsContext is not available on this platform.
Traceback (most recent call last):
File "/Users/markusklink/Documents/Printrun/bufferedcanvas.py", line 117, in onPaint
self.draw(dc, w, h)
File "/Users/markusklink/Documents/Printrun/xybuttons.py", line 192, in draw
gc = wx.GraphicsContext.Create(dc)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_gdi.py", line 5501, in Create
val = gdi.GraphicsContext_Create(_args)
NotImplementedError: wx.GraphicsContext is not available on this platform.

Using macports on Mac OS X Lion I do not know what kind of library I need to fix this.

Setting infill solidity to zero produces error in quick settings

Original value is 0.35, setting this value to 0 in quick settings is not possible.

Error:

Saving ... Infill Solidity (ratio): = 0
Traceback (most recent call last):
File "C:\dev\PrintrunFork\SkeinforgeQuickEditDialog.py", line 134, in OnSave
settings.saveRepository(repo)
File "C:\dev\PrintrunFork\skeinforge\fabmetheus_utilities\settings.py", line 4
66, in saveRepository
setting.setToDisplay()
File "C:\dev\PrintrunFork\skeinforge\fabmetheus_utilities\settings.py", line 1
718, in setToDisplay
self.value = ( self.latentStringVar.getString() == self.radiobutton['value']
)
File "C:\dev\PrintrunFork\skeinforge\fabmetheus_utilities\settings.py", line 1
382, in getString
return self.getVar().get()
File "C:\dev\PrintrunFork\skeinforge\fabmetheus_utilities\settings.py", line 1
377, in getVar
self.stringVar = Tkinter.StringVar()
File "C:\Python27\lib\lib-tk\Tkinter.py", line 251, in init
Variable.init(self, master, value, name)
File "C:\Python27\lib\lib-tk\Tkinter.py", line 182, in init
self._tk = master.tk
AttributeError: 'NoneType' object has no attribute 'tk'

Feature request: mention remaining layers in status line

Seeing the percentage of the build that is completed is great, but sometimes I also wish I knew what layer # the print was on, out of how many total layers. (My assumption is that the percentage isn't solely derived from the current layer, but instead on the amount of remaining gcode). On pieces with large bases but small upper layers, percentage complete is often quite different from the number of remaining layers.

Mentioning something like

58% done (layer 23 of 45)

would be a much welcomed feature.

Extrusion during pause should, somehow, correct E position...

(oops this was originally posted as issue in sprinter, my mistake, it should have been here)

During a recent print, I paused because I could see there was a plastic problem, so I homed in X and Y.... of course, the nozzle sitting there oozed etc, so I primed the extruder....

After I resumed, the extruder RETRACTED the amount of extrusion I had extruded to prime.
In other words, when I manually extruded 150mm and then resumed, the next E command was now 150mm backward from where the board thought it was, so it retracts 150mm to get there... (IT IS BAD to retract too much filament, gets soft filament into the pinch-wheel... BAD BAD BAD :) )

On Pause it would be nice if Pronterface PUSHed the XYZE position of the last G-Code sent.
Then when un-pausing POPed that position back by, moving to that stored Z position, then that X/Y, then G92'd that E position!

Ideally... maybe even start with Z + some offset, then drop down to the correct Z after the rest...
G1 Z+2.0,
G1 X Y,
G92 E
G1 Z


What do you think?? if this sounds like a good idea - I might give it a shot. If there's a better way to do it, let me know (maybe I'm doing something stupid)

GCode Vis - Shows everything at a particular height...

it seems that the GCode visualizer shows everything that's at a particular height which yields rather strange results especially for intro gcode that starts with any kind of Z-jump.

my gcode starts 5mm above Zero, then extrudes and then wipes the excess to prime the nozzle that's been sitting.

I kept seeing what looked like an anomalous layer from the middle of the gcode at the very beginning of the gcode vis.

it might be better, since there's no 3D visualization tool for gcode in pronterface, if the gcode vis created a list of heights, and sorted them from low-high, then displayed the layers in that order.

as it is it appears it's stepping through the gcode to determine the height.

imagine the issue with hops before retraction, or similar moves.

Display Print Time at End of Print

This is a new feature request, is it possible to have the total print time displayed when a print is finished? It's not really an important feature, it'd just be a nice feature.

Thanks Kliment, keep up the great work!!

Lockup at end of print (slic3r with custom end.gcode)

With the following gcode at the end of the print, pronterface stops just before the end.gcode with a "Missing CRC" error.

G1 X0 Y0 F3000.0 ; home X and Y - leave Z alone.
M84 ; Shut the motors off - no point in cooking them.
M104 S0 ; Shut off the extruder heater, so we don't cook the plastic.

Further testing shows that it's the comments that are messing pronterface up. Perhaps the ' mark in "don't"?

Pressing Connect Twice - Quickly

Pressing the connect button twice in quick succession will connect, then start sending/receiving twice as many messages from/to the reprap. The issue will persist until printrun is closed.

Maybe graying out the connect button immediately after it's pressed and only enabling the button again after it fails to connect will prevent this?

Suggestion for declutering the status line

Currently the status line is getting very full, and especially if the file name is long, it can overrun the size of the window.

As a suggestion how about moving the currently loaded file name to the title of the window and then removing it from the status line which would free lots of space and allow all the other fields to be visible,

Pronterface crashes when loading Gcode

I am running Ubuntu 64-bit, latest commit of pronterface. Python 2.7. It seems that, I can load my first gcode file fine, when I first start the program. Then if I press load file and try to load either another gcode file or the same file, the program either quits immediately or it locks up and I have to force a shut down.

So, every time I want to load a gcode file, I have to restart the application.

gcode generated with Slic3r doesn't show up in the preview window

When i am using the latest 07Dec2011 precompiled version of Pronterface, gcode generated in Slic3r doesn't seem to finish loading (it still prints fine thought).

I don't have slic3r integrated with Pronterface, i am just using them separately... when i open a gcode file that has been created with Slic3r it tries to load it, shows all the estimations on the right, but fails to display the last line which shows the Total Duration. The preview of the gcode also doesn't show up and i can't flip through the layers to inspect my object.

I downloaded the previous version of pronterface (precompiled) and it loads and displays my slic3r generated gcode just fine.

Event object missing message

I am running Pronterface under MacOs Snow Leopard.

I can successfully connect, load a gcode file and print, but if at anytime I use Sfact from within Pronterface I often see the following message. The only way to recover is to quit Pronterface, re-plug the USB cable, and restart Pronterface. Any idea what might be causing this?

event object missing
Traceback (most recent call last):
  File "./r", line 806, in procbutton
    self.onecmd(e.GetEventObject().properties[1])
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/cmd.py", line 218, in onecmd
    return self.default(line)
  File "/Users/geoffd/projects/mechanical/printrun/pronsole.py", line 761, in default
    self.p.send_now(l)
  File "/Users/geoffd/projects/mechanical/printrun/printcore.py", line 186, in send_now
self._send(command)
  File "/Users/geoffd/projects/mechanical/printrun/printcore.py", line 255, in _send
self.printer.write(str(command+"\n"))
  File "/Library/Python/2.6/site-packages/serial/serialposix.py", line 485, in write
raise SerialException('write failed: %s' % (v,))
serial.serialutil.SerialException: write failed: [Errno 6] Device not configured
Disconnected.

SFACT Profiles and Alterations location...

When I first ran SFACT directly, the Profiles and Alterations were in the "Skeinforge_Application" folder. Then when I ran it from within Pronterface, I ended up with all the adjusted settings lost... thought it was wierd, but turns out the profiles, and alterations end up inside "sfact_profiles" just under the main printrun folder.

is this expected behavior? - IOW, is it known that SFACT puts the profile folder within the folder you launch it from, rather than in your home folder? - so then should we be copying this folder to wherever we intend to run it from? and then what? we have to remember to disseminate all the modifications to all the various locations?

anyway - just wondered if it was something that pronterface was doing wierd, or sfact.

Temperature indicators while running gcode

The temperature indicators in current experimental updates so you can see target temperature when manually setting the temperature, but does not when temperature is set in the gcode.

No images in OS X

I am using OS X Lion, python 2.7.2 in 32 bit mode and previous versions of pronterface work great for me. I am having issues seeing the graphics on this version which means that I can't control the X,Y,Z motion. Is there a good way to fix this?

Thanks for making such a nice piece of software!

[Enhancement] Integrate with slic3r

It would be awesome if models could be sliced by slic3r from within printrun. No need for quicksettings, just pass the selected stl file to slice and have printrun load and display the selected STL file.

SD Print not working properly

It's a long time I live with this bug.

When I click SD print and then select a file, an exception is raised, and nothing happens. Except that when I manually select the file with M23, the print immediately start without issuing M24.

This is the exception:
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14614, in
lambda event: event.callable(_event.args, *_event.kw) )
File "pronterface.py", line 924, in filesloaded
self.p.send_now("M23 "+target.lower())
File "/home/caru/Printrun/printcore.py", line 182, in send_now
self._send(command)
File "/home/caru/Printrun/printcore.py", line 251, in _send
self.printer.write(command+"\n")
File "/usr/lib/python2.6/dist-packages/serial/serialposix.py", line 330, in write
raise TypeError('expected str, got %s' % type(data))
TypeError: expected str, got <type 'unicode'>

Readme is incorrect, WX only runs on Lion in 32-bit mode

The Readme says that you don't need to worry about 32 vs 64-bit mode on OS X Lion. This is incorrect. If the user runs it in 64-bit mode, WX gives an error (and this is with the Carbon version):

python ./pronterface.py
WX is not installed. This program requires WX to run.
Traceback (most recent call last):
File "./pronterface.py", line 13, in
import wx
File "/usr/local/lib/wxPython-2.9.2.4/lib/python2.7/site-packages/wx-2.9.2-osx_carbon/wx/init.py", line 45, in
from wx._core import *
File "/usr/local/lib/wxPython-2.9.2.4/lib/python2.7/site-packages/wx-2.9.2-osx_carbon/wx/_core.py", line 4, in
import core
ImportError: /usr/local/lib/wxPython-2.9.2.4/lib/python2.7/site-packages/wx-2.9.2-osx_carbon/wx/core.so: no appropriate 64-bit architecture (see "man python" for running in 32-bit mode)


If the following is used and pronterface is run again, the UI comes up:

export VERSIONER_PYTHON_PREFER_32_BIT=yes

Mac Pronterface cutting heating to nozzle?

I am using pronterface (precompiled) for mac with 0.6 slicer and I notice sometimes when I print that the heating will just be cut to the nozzle and it isn't until 5 or 10 minutes later that I notice this when the print fails. Is there a particular reason why it is doing this?

Thanks for such a great program!

README results in 'unknown syntax'

sudo python ./pronsole.py
Welcome to the printer console! Type "help" for a list of available commands.
PC>p=printcore('/dev/ttyUSB0',115200)
*** Unknown syntax: p=printcore('/dev/ttyUSB0',115200)

crash on connect with e5b0a4ff

Connecting...
ok T:57.90 B:75.00
Printer is now online.
**
Gdk:ERROR:gdkregion-generic.c:1110:miUnionNonO: assertion failed: (y1 < y2)
Aborted

doesn't happen every time but the error looks like it might be useful?

Python 2.5.2 problems

I downloaded 2011jul26 - fba262b

It works ok on Debian 601 with Python 2.6.6
It fails on Debian 506 with Python 2.5.2

Traceback (most recent call last):
File "./pronterface.py", line 23, in
import pronsole
File ".../kliment-Printrun-fba262b/pronsole.py", line 263
except ValueError as ve:
^
SyntaxError: invalid syntax

NOTE: "^" is under "as"

Pronterface not centering with large parts

Hi there,
I am using os x version of pronterface and it works great for many objects, but there are some that it refuses to center properly so that I can't print them. A good example is this one:
http://www.thingiverse.com/thing:10254
I print it and it tries to put it at the bottom 1/3 of the print bed so that it engages the endstop as it tries to print the lower half of the part. I have this problem with sprinter & marlin as well as sfact & slic3r. I get this issue even when I try and recenter the 0 point so that Y=50 or Y=150.

Does anyone know why this may be happening? Thanks for your help!

EDIT: So apparently it isn't all large prints. This octopus one seemed to print centered, but the pin printed off center. Weird!
http://www.thingiverse.com/thing:13019

UI on Mac OS X

So now that we've replaced the X/Y/Z buttons with a better UI, I'm looking at some other things that could use improvement. Since I'm on a Mac, I'd like to highlight some of the things that look odd or could be improved. I'm not sure if these things apply to all platforms:

http://dl.dropbox.com/u/118766/Ultimaker/pronterface-on-mac2.png

What do you think of:

a) reducing the height of the console on the right so that it matches the height of the gviz panel in the middle? We could then use the blank space at the bottom for other things, like a live graph of temperatures.

b) creating our own button control that does background colors on all platforms?

c) centering the gcode in gviz?

Time estimate seems off by factor of 60x

Latest Print::
Pessimistic estimate: 143 Hours, 13 Minutes
Actual time: 134 minutes, 6 seconds

is the estimate off by labels only? or is it just me?

another print - here's the output

Estimated duration (pessimistic): 192h41m
Print took 149 minutes 37 seconds.

again - seems like hours are minutes and minutes are seconds?

[experimental branch] slicing with slic3r fails to load gcode file

When I slice the STL file with slic3r pronterface will not open the generated gcode file.
My command to invoke slic3r:
/Applications/Slic3r.app/Contents/MacOS/slic3r $s

The gcode file is generated and can be loaded afterwards into pronterface.
Here are the file names:
domekit2v-hexa.gcode domekit2v-hexa.stl

Z+, Z- max buttons in new UI?

The new ui has buttons for Z+- .1, 1 , and 10, clicking the button above and below the 10 seems to send the z axis ALL the way in either direction. This is a potentially dangerous thing, especially with its proximity so close to the 10+- buttons.

Estimated duration and number of layers are way off

I sliced an object using slic3r which is 35mm high, at a layer height of 0.2mm. It should have 175layers, but Pronterface says 1955 layers and a vastly exaggerated print time estimate.

I am guessing this is something to do with the fact that I use the "Lift Z on retract" setting in slic3r, and pronterface is just counting every Z movement as a layer? If that is the case, I think the best way to solve this would be to ignore layers that only contain travels, when counting layers.

My print is still in progress as I write this issue but it looks like the current estimate has dropped from 17 hours down to 2h30m

From the console window:
...
the print goes from 0.2 mm to 35.2 mm in Z
and is 35.0 mm high

Estimated duration (pessimistic): 1955 layers, 17:13:32

Probably remove test.py

I just noticed that my test.py file snuck in on the merge request. It's not really needed--I was just testing the new UI elements.

Error on UTF8 output of slicer

problems with localized debugging output (UTF8) of slicer

Fehler beim Ausführen der Slicing Software:
Traceback (most recent call last):
File "/S/data/o/3D/Steuerung/printrun/Printrun/pronterface.py", line 1308, in skein_func
sys.stdout.write(o)
File "/S/data/o/3D/Steuerung/printrun/Printrun/pronterface.py", line 65, in write
self.stdout.write(data.encode("utf-8"))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 0: ordinal not in range(128)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14665, in
lambda event: event.callable(_event.args, *_event.kw) )
File "/usr/lib/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_controls.py", line 1850, in AppendText
return controls.TextCtrl_AppendText(_args, *_kwargs)
File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xc3 in position 0: unexpected end of data

Message from firmware to host

Hi!
From what I understand, it would be awesome if the firmware could send a message to the host, that is just displayed, e.g. "dude, you are doomed".

In printcore.py line 90 you have

if(line.startswith('DEBUG_')):
continue
However an additional safe ignore of lines starting with "echo:" would be nice.
if(line.startswith('DEBUG_') ||line.startswith('echo:')):

The "echo:" is done at least in the
https://github.com/makerbot/ReplicatorG/blob/master/src/replicatorg/drivers/reprap/RepRap5DDriver.java line 702
and it would be cool to have a host-software independent mechanism for displaying firmware infos..

We needed it because if some machine settings are read from the eeprom (acceleration, speed, whatever), we wanted to output it to the host software, so the user sees that a lot of stuff is read from eeprom.

Maybe there is a better way even.

Feature req: alternate keys to scroll layer window

Selfish but hopefully easy request; my terrible old laptop that runs my printer has a terrible touchpad, no mouse, and it's next to impossible to scroll in the popup pronterface layers window. Can you possibly add arrow key up/down (or whatever keys you want) to scroll through layers?

Thanks either way :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.