Linux Gcode and STL viewer

2,899 views
Skip to first unread message

Denis Kobozev

unread,
Nov 22, 2011, 11:33:27 PM11/22/11
to make...@googlegroups.com
I've been in need of a better Gcode and STL viewer on my Linux machine
for a while now. Preview in ReplicatorG doesn't work on my distro
(Arch), Pleasant 3D is Mac-only and Gcode viewing in skeinforge is way
too painful to use. As a result, I decided to code my own viewer in
Python, which I finally got to publish on github a week or so ago.

The project's page is at http://dkobozev.github.com/tatlin/

A brief overview of the project:
* Still early in development.
* I've only tried feeding it Gcode generated by Skeinforge and a
handful of STL files, so I don't know how the parsers stand up to
files in the wild. It does handle both plain-text and binary STLs.
* Written in Python without any platform-specific code that I know of.
All of the libraries are purportedly cross-platform too, but I suspect
that PyGTK is hard to install on macs.
* Fairly fast, because it uses numpy for most calculation-intensive
tasks. I've been getting decent performance on a 5 year old Thinkpad.

If you're interested, give it a try. The project's page has some more
info, along with screenshots. Your feedback is welcome.

Denis.

Jordan Miller

unread,
Nov 23, 2011, 12:36:08 AM11/23/11
to make...@googlegroups.com
Amazing project, congrats!!!! Love those screenshots.

will have to try to see if I can get it up on OS X lion. or i should just finally install ubuntu. :-D

Dunno how easy it would be but maybe if you could switch from perspective to orthographic 3D view that would be a really unique feature.

cheers,
jordan

> --
> You received this message because you are subscribed to the Google Groups "MakerBot Operators" group.
> To post to this group, send email to make...@googlegroups.com.
> To unsubscribe from this group, send email to makerbot+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/makerbot?hl=en.
>

seventy

unread,
Nov 23, 2011, 7:58:04 AM11/23/11
to MakerBot Operators
thank you very much! exactly was i was looking for.

cheers
simon

On 23 Nov., 05:33, Denis Kobozev <d.v.kobo...@gmail.com> wrote:
> I've been in need of a better Gcode and STL viewer on my Linux machine
> for a while now. Preview in ReplicatorG doesn't work on my distro
> (Arch), Pleasant 3D is Mac-only and Gcode viewing in skeinforge is way
> too painful to use. As a result, I decided to code my own viewer in
> Python, which I finally got to publish on github a week or so ago.
>

> The project's page is athttp://dkobozev.github.com/tatlin/

G. Wade Johnson

unread,
Nov 23, 2011, 8:10:43 AM11/23/11
to make...@googlegroups.com
On Tue, 22 Nov 2011 23:33:27 -0500
Denis Kobozev <d.v.k...@gmail.com> wrote:

> I've been in need of a better Gcode and STL viewer on my Linux machine
> for a while now. Preview in ReplicatorG doesn't work on my distro
> (Arch), Pleasant 3D is Mac-only and Gcode viewing in skeinforge is way
> too painful to use. As a result, I decided to code my own viewer in
> Python, which I finally got to publish on github a week or so ago.

I'm also in a Linux environment and was unable to preview in
ReplicatorG. A couple of weeks ago, I stumbled across a website that
suggested changing the default Java installation to Sun's Java. I gave
it a try and it worked like a champ.

As a nice side effect the graphics have tightened up a bit, so that the
"Generate GCode" dialog doesn't extend off the bottom of the window on
my laptop. This allows me to use Print-o-matic when I want without
deleting custom profiles.

> The project's page is at http://dkobozev.github.com/tatlin/
>
> A brief overview of the project:
> * Still early in development.
> * I've only tried feeding it Gcode generated by Skeinforge and a
> handful of STL files, so I don't know how the parsers stand up to
> files in the wild. It does handle both plain-text and binary STLs.
> * Written in Python without any platform-specific code that I know of.
> All of the libraries are purportedly cross-platform too, but I suspect
> that PyGTK is hard to install on macs.
> * Fairly fast, because it uses numpy for most calculation-intensive
> tasks. I've been getting decent performance on a 5 year old Thinkpad.
>
> If you're interested, give it a try. The project's page has some more
> info, along with screenshots. Your feedback is welcome.

G. Wade
--
The three principal virtues of a programmer are Laziness, Impatience,
and Hubris. -- Larry Wall

Far McKon

unread,
Nov 23, 2011, 11:52:09 AM11/23/11
to MakerBot Operators
Denis,
Man, that is an awesome project! I just grabbed the code and am
checking it out now. Would you mind if I throw up a MakerBot blog
post on it? I'm trying to get more software love on the weblog, and
this is a great thing to do for that.

Also FYI, there is also a very simple cross-platform viewer based on
QT that is called ToolPathViz you can grab from https://github.com/makerbot/ToolPathViz
That might be worth taking a look at too.

hack on,
- Far McKon

Desktop Lead and Nerd Herder
MakerBot Industries

On Nov 23, 8:10 am, "G. Wade Johnson" <gwa...@anomaly.org> wrote:
> On Tue, 22 Nov 2011 23:33:27 -0500
>

> Denis Kobozev <d.v.kobo...@gmail.com> wrote:
> > I've been in need of a better Gcode and STL viewer on my Linux machine
> > for a while now. Preview in ReplicatorG doesn't work on my distro
> > (Arch), Pleasant 3D is Mac-only and Gcode viewing in skeinforge is way
> > too painful to use. As a result, I decided to code my own viewer in
> > Python, which I finally got to publish on github a week or so ago.
>
> I'm also in a Linux environment and was unable to preview in
> ReplicatorG. A couple of weeks ago, I stumbled across a website that
> suggested changing the default Java installation to Sun's Java. I gave
> it a try and it worked like a champ.
>
> As a nice side effect the graphics have tightened up a bit, so that the
> "Generate GCode" dialog doesn't extend off the bottom of the window on
> my laptop. This allows me to use Print-o-matic when I want without
> deleting custom profiles.
>

> > The project's page is athttp://dkobozev.github.com/tatlin/

Len Trigg

unread,
Nov 23, 2011, 6:56:48 PM11/23/11
to make...@googlegroups.com
Wow, this is great!! Can you make it so that zooming in/out is
achieved by the mouse wheel rather than (or in addition to)
middle-click drag?

Cheers,
Len.

Denis Kobozev

unread,
Nov 24, 2011, 1:50:20 AM11/24/11
to make...@googlegroups.com
On Wed, Nov 23, 2011 at 12:36 AM, Jordan Miller <jrd...@gmail.com> wrote:
> Dunno how easy it would be but maybe if you could switch from perspective to orthographic 3D view that would be a really unique feature.

Shouldn't be hard. I'm curious, what's the use case though?

On Wed, Nov 23, 2011 at 8:10 AM, G. Wade Johnson <gwa...@anomaly.org> wrote:
> I'm also in a Linux environment and was unable to preview in
> ReplicatorG. A couple of weeks ago, I stumbled across a website that
> suggested changing the default Java installation to Sun's Java. I gave
> it a try and it worked like a champ.

I'm also running Awesome WM, which doesn't play nice with Sun's Java.
It's a lose-lose.

On Wed, Nov 23, 2011 at 11:52 AM, Far McKon <farm...@gmail.com> wrote:
> Man, that is an awesome project! I just grabbed the code and am
> checking it out now. Would you mind if I throw up a MakerBot blog
> post on it? I'm trying to get more software love on the weblog, and
> this is a great thing to do for that.

If people can get it installed and running here in the mailing list
without it going haywire, then sure, why not. It could use some
eyeballs.

> Also FYI, there is also a very simple cross-platform viewer based on
> QT that is called ToolPathViz you can grab from https://github.com/makerbot/ToolPathViz
> That might be worth taking a look at too.

I like how fast it is. When I get all the basic features down, I'll
see how I can make Tatlin faster. I already have some ideas. Also, Qt
is probably a better choice in terms of being easier to get on
multiple platforms...

On Wed, Nov 23, 2011 at 6:56 PM, Len Trigg <len...@gmail.com> wrote:
> Wow, this is great!! Can you make it so that zooming in/out is
> achieved by the mouse wheel rather than (or in addition to)
> middle-click drag?

Yeah, middle-click drag is awkward. It was just the easiest thing to
do at the time.

Denis.

SpiRaiL

unread,
Dec 16, 2011, 7:20:01 AM12/16/11
to MakerBot Operators
Nice work man.

works really nice for STLs, but im getting errors on gcode. is there
something specific i need to do?

Reply all
Reply to author
Forward
0 new messages