kliment / Printrun

Pronterface, Pronsole, and Printcore - Pure Python 3d printing host software
GNU General Public License v3.0
2.34k stars 995 forks source link

Can we have a decent 3D viewer built-in to Printrun/Pronterface please? a layer-at-a-time view is so last century. #404

Closed davidbuzz closed 11 years ago

davidbuzz commented 11 years ago

how about python+GTK+OpenGL+numpy ( screenshots look neat ) ? http://dkobozev.github.io/tatlin/

or perhaps :

python/Qt4/OpenGL viewer here: ( code looks plausible, not tried it myself) https://bitbucket.org/davidcorne/stl-viewer/overview or this: python/pyv8/Thingiview.js ( I have no idea if this actually works, if not there's got to be another way to host javascript in python, yes?). http://code.google.com/p/pyv8/ https://github.com/tbuser/thingiview.js

or this: compile the entire printrun/pronterface python app to javascript, and you can then still run it as a desktop app ( or in a browser, same, same ) . http://pyjs.org/
as a bonus, it would then be way easier to integrate thingiview.js :-)

If it can be done in just about every other 3D and reprap tool out there, why can't it be done in Pronterface? ( or... why do I need to use a different app just to rotate my part/s and get a nice 3D render of what's going on? )

thoughts? Buzz.

iXce commented 11 years ago

Err, you're talking about something like http://guillaume.segu.in/blog/wp-content/uploads/2013/06/3dviewer-2.png ? It's been in Pronterface for like a month :) Please reach the Options dialog, User interface tab, and enable the 3D viewer (either just the checkbox or both the checkbox and the combobox to have the same 3d viz in the main viewer)

davidbuzz commented 11 years ago

well, I guess that's got to be the fastest feature request ever implemented! time-travel! Of course , I've been meaning to request this for a year, so maybe it wasn't time-travel, just long distance mind reading. :-)

iXce commented 11 years ago

Ahah :) Glad we got this issue solved without a single line of code !