Loading
hudbrog

GCode Analyzer/Visualizer

by hudbrog Nov 21, 2012
Download All Files

Thing Apps Enabled

Please Login to Comment

Brilliant piece of work!
Well done!!

Is there a way to show the speeds on the 3D render? I'm looking for something to check "Velocity Painting" gcode before printing.

This has been very useful to me, thanks for creating and sharing it!

Thanks for this excellent tool.
Congratulations on your work.

nice tool, use it pre-print every time, if at the very least to see how long the print will take (usually spot on with prusa slic3r gcode) also very useful just to double check you're overhangs aren't too optimistic

Great thing.
Really.
I'm using it quite often to check generated g-code by different slicers.

And today I wanted to check how GCodeArcOptimiser (https://github.com/manticorp/GCodeArcOptimiser)
works and regretfully found out that my favorite gcode.ws doesn't support ARCs (G2/G3)

How can I request an ARCs support feature ?
I understand that probably this project has been finished several years ago
but I still use it and I need an improvement !

Regards,
Igor.

For some reason the time it is telling me is wrong,
it is saying 15 minute but it is around 25 minutes

ya.. all the times are wrong.. i wish he would go to http://gcodeanalyser.com/ and figure out how they are calculating, because their times are way more acurate, but i really like this layer browser

This is an awesome tool. I use it on most of my prints and it's let me spot and fix many potential problems, so has saved me from many of failed prints.

Thanks for providing this incredibly useful tool.

Nice tool! I use it all the time for print time and filament usage, especially on larger prints where I am uncertain if one spool is enough :D

This is a very useful tool. Thank you very much!
Did you planned to make different colours for different move speeds?
That would be great. :)

I've been working with a chromebook for a while, i have to build in tinkercad, slice in astroprint, but never found a great code visualizer like what slic3r or cura would provide, and those would crash with a lot of the drawings i would try. but this is very awesome! thank you so much

Thanks for this amazing tool. I use it all the time to get a "second opinion" on the gcode that slic3r and cura produce. It's great to check the buildtime and to see if the speed limits I set were actually calculated as expected. Thanks!

Thank you for this amazing tool.

Awesome, this is a life saver, it shows me more information then my slicer and printer combined, would highly recommend!

This works for me. I bought some files to make an airplane, and they prepared GCode for this in addition to the stl files, factory files, they did a great job. So I printed the first GCode file and I had problems. So I had to use their stl files and rotate, split, etc to work best for me.

But I didn't want to do this with every file they provided,because the probably did a good job with all their other files, so I wanted to predict whether they will print first.

Thanks, I appreciate the chance to see what I am about to print first, a reasonable desire which you have fulfilled!

D. Bacon

Sweet, i've been using this after googling for a way to see gcode, Thanks.

Super cool! Nice, easy to use tool. Thanks.

Thanks, very nice tool.

Thanks for this, great tool.

Thank you!, a great job!!!!

cảm ơn bạn nhiều , thật tuyệt vời

Great tool. Much more accurate than octoprint, and easier to use/more info than pronterface.

Really nice. Would love to see an option to have a "side view" (similar to 3D, but maybe simpler) just to show progress as the model builds. I tend to use this to "follow along" as the GCode is being printed, assuming I don't have the STL file.

Much more accurate than S3D estimates. Thanks!

Awesome tool, I wanted to check my swap at Z plugin was working as I wanted and this tool confirmed that it is.

Great tool, really useful. Many thanks for making it available.

Awesome Software. To be able to understand how my printer is constructing the prints is really beneficial.
Thank you.

Its a realy fast and easy way to check what slic3r has done!
I check all of my gcode before I print.
Thank you so much fot this tool it helps a lot!

Been loving your website. I use it to diagnose gcode slicing errors in my model. Can you add a firmware limitation to speed in the settings so timing is more accurate per machine?
kWr, $/GBP/YEN etc per MM/model would be cool too.
Great work!

Thanks heaps

the only thing missing is a price calculator :P

could we also have hrly cost and price per gram added ?

This is a great tool. I've had it running locally for a couple months now and it's saved my butt multiple times.

Great work... keep it up!

p.s. I'd love it if we could actually edit the gcode visually using this (just move a node if there's a single one that's wrong for instance).

Thank you for this!

Great viewer but yesterday it stopped working...

403 Forbidden

Code: AllAccessDisabled
Message: All access to this object has been disabled
RequestId: C24A693136970A5D
HostId: BfyveuMoy/45DKMG/vCHJur8XVyG9xzrsD5EczFl4sW1jb0oXHPEhePnekL8xKVBAhI1yPku7mE=

Ooops, my bad, forgot to pay for services =) Should be up soon.

Not sure if there is a PayPal donation link on your site BUT... if not please add one and I will contribute!

Thanks - Brad
http://www.UltiBots.com

Really useful tool I use it pretty much before every print just to check that things are set the way I wanted

Also just came across this... nice tool.... is there a file size limit? i have to check a 40mb file... know its big... its a selfwatering flowerpot

None of the other tools I have found so far are able to visualize the gcode files onther than one layer at a time, so I was delighted to find this one -- a slicing problem I first saw after wasting an hour and lots of filament would have been completely obvious when examining the 3D view in GCode Analyzer.
Thank you for creating this, it is going right into the toolbox! :-)

Just wanted to say thank you for writing this software/website. It's used daily by me to check my g-code. Sometimes it's just cool to show it too. Friends think it's neat to be able to visualize the tool paths.

This is a great tool to help me when I'm debugging a design -- I can validate that the gcode is going to print the object correctly (or not), saving me from starting the print and discovering problems then...

nothing happen after select G code file.. maybe something wrong with my chrome browser?

Could you publish the gcode file you are trying to view somewhere? Like dropbox or mega, just so I can use it to debug.

thank you. I guess it's my broswer issue... not support HTML5

AWESOME!!!! I can learn what this bot is doing now!!!

That is SERIOUSLY AWESOME! Really, I can't help, any time I slice something, coming here and checking how it will be printed... Really, great work and huge thanks!

One thing that I'm noticing is, if I use G0 (the command for the rapid movements: http://reprap.org/wiki/G-code#G0:_Rapid_move)http://reprap.org/wiki/G-code#... for retractions, it looks like they're not showed (and I'm talking about both the red dot of the retraction and the green line of the subsequent travel move). Is that something known? Is there a plan to support it? I surely can provide some screenshots, g-code samples, or whatever you think it could be of help.

Thanks again for the amazing piece of software! :-D

Thanks.
It's strange about G0, it should be treated by the same code as G1. Can you create an issue on github and attach a sample gcode file that has that issue?

Best thing since sliced bread !

Very nice work. I am wondering if you could add a start and stop button for each layer to see actually where the extrusion stops. Kind of like virtual printing, but a great job indeed.

Hey, thanks! You can use two bottom sliders to to achieve kind of virtual printing effect.

Amazing job, very clear visualization! Thanks for sharing.

great! I built a rostock with a friend, and we have been printing (calibrating) about a week. And your application will be very helpfull!

Hey very cool! I think I have a whole bunch of files that do not render right. They are normal 2D cnc drawings. If you wanted to check it out for yourself they are all here in the TinyG project.

https://github.com/synthetos/TinyG/tree/master/gcode_sampleshttps://github.com/synthetos/T...

Hi, sorry, this viewer is mainly for 3d printer-specific gcode variation.. there is no support for more general cnc routers gcode planned.

A really useful tool! Good job!

One technical difficulty though: it appears the website you are hosting it on is a bit unreliable. Sometimes it loads right away, sometimes it takes a couple minutes to load, and sometimes I get a connection timeout error. Any ideas why?

BTW the offline version works without changing "dangerous" settings in the latest version of Opera.

Hi, thanks! Basically, whole application is a static page, after you load it once - it should be stored in your browser cache for quite a long time. I've signed up for a monitoring service to check latency from different parts of the world. If it shows significant problems - I'll move it to another hosting.

Ok thanks. Basically, sometimes it loads and sometimes it doesn't. More info that might help you troubleshoot: I'm located in Central California, USA. I'm running Win 7 x64, web browser: Google Chrome Version 24.0.1312.56 m

This looks fantastic!!! Is there a way to start up this viewer with a named gcode file from the command-line rather than needing user interaction? (I currently have tatlin being invoked automatically by slic3r and skeinforge when they finish slicing to review what they've done, but wouldn't mind swapping to yours.)

Hi, unfortuantely html5 filereader api requires user to select file manualy, otherwise it would be kinda unsecure. I might get to building a standalone app for that in future thou.

Finally tried this out. Really really awesome. Thank you!
Runs better in Safari than Pleasant 3d!

Any chance we can see repeater host style 3d representation?
Being an in browser app is simply the best thing.

I wonder how long before the entire toolchain for slicing becomes a webapp.

Hey, thanks. I was looking into changing 3d representation to be more repetier host like, but every solution I came up with was either time or memory intensive, most of the time - both. Maybe I'll look some more into it, but I'm not very enthusastic about 3d view since I don't see much use for it.

You know, the only reason I even use the 3d view in Pleasant 3d is to look at how the layers overlap, i.e. how much does the current layer of a curved surface(overhang) overlap with the previous layer or the next.

Could you possibly just add a toggle for ghosting an N range of previous and next layers within the 2d view? This would be super useful for checking overlap. Sometimes if I'm really concerned, I'll screen cap a few 2d views in pleasant 3d, and overlay them in photoshop at 30% opacity. I havent seen a gcode viewer that offers this functionality. It would be useful for this user! :)

thanks again.

Hey! Finally got to work on it for a little, so implemented that function. To enable - check the lower option in "2d render options" menu. I prefer to check two lower ones. Current layer is black, higher level is magenta (and yeah, they are actually rendered first the higher one, then the lower one, so visually it lloks like black is on top of pink, but it's the other way around).

Awesome! Thanks so much for adding this feature!

That's a great idea! Certainly will implement it ) Thanks!

Well done, thanks for your hard work.

Amazing tool! Only just found it but already wouldn't be without it :-)

Just freaking awesome...i love it. Thanks so much Monsieur Hudbrog!!!

Great Mate! Awesome use of functional colouring(coloring)! 2D+3D :)

This is freaking awesome

Great work!  Runs perfekt :-)

This is excellent. What a great way to visualise the printing process! Thanks so much.

This works great on Skeinforge and Slic3r, but doesn't show me anything with MakerWare-generated gcode. Could you look into it?

Fixed ) Should work now. 

Excellent! Thank you so much!

I found a small problem though. For some models the viewer will drop either part of the topmost layer, or a few layers from the top. I know the gcode is ok because other visualizers show the whole model, and it prints completely.

Otherwise, this is a great tool and extremely useful for tweaking settings.

This one if fixed now.

Hm, can you send me the problematic gcode file to hudbrog@gmail.com, I'll take a look.

Nice.  

I wish I could make changes in the 2D interface and have it recreate the corresponding portion of GCode.

Ahh, that's a whole lot of a different tool you're requesting. I'll think about that, but for now it seems like writing one from ground up would be easier =)

Hi Hudbrog
Not sure what I'm not doing right here but I cannot get your app to view the different layers. I'm using version 17 of firefox, and in 2D view  pressing up and down arrow, also page up and page down. The scoll bar on the bottom works but not the up and down scroll bar. hmm not sure what I'm missing here. Also tried chrome version 23, same thing.

There was a bug with layer identification when Z goes up and immediately down. Should work now. 

 Try using the up and down arrow keys. These work for me. You can also click on the scroll bar, but that jumps too much, IMHO.

Can you please send me your gcode file to hudbrog@gmail.com, I'll take a look. Most likely a bug )

Wonderful tool!

3D view is blank for me on Windows 8 Pro 64bit, Firefox 17.0.
Intel HD4000 / Nvidia GeForce GT 630M. I've forced Firefox to use both without any difference.

(The objects show up nicely in 3D on Ubuntu Linux at work, so the objects should be alright)

Thanks! Can you show me the output of javascript console after you've tried to switch to 3d mode? 

Timestamp: 2012-12-07 21:58:09
Warning: Error: WebGL: Can't get a usable WebGL context
Source File: http://hobbydev.ru/lib/three.jshttp://hobbydev.ru/lib/three.j...
Line: 22339

Timestamp: 2012-12-07 21:58:09
Warning: Error: WebGL: Can't get a usable WebGL context
Source File: http://hobbydev.ru/lib/three.jshttp://hobbydev.ru/lib/three.j...
Line: 22339

Timestamp: 2012-12-07 21:58:09
Error: TypeError: _gl is undefined
Source File: http://hobbydev.ru/lib/three.jshttp://hobbydev.ru/lib/three.j...
Line: 22351

Ah just dove alittle deeper on one of those warnings.

"about:support" in Firefox states this under Graphics;
WebGL RendererBlocked for your graphics card because of unresolved driver issues.

Setting webgl.force-enabled=true in "about:config" enables the 3D viewer, but I'll have to look into that further. Thanks for pointing me in the right direction.

Bug report:

First vector after a layer change or other Z-lift is not plotted correctly.
Since there is no way to attach images, I'll send you the files directly.

Thanks! I've fixed at least one bug that was causing incorrect visualization of the first commands on the layer. There could by more thou, please check.

This is nice! 

One feature request: any chance you could add either the ability to zoom in on a model or define how large our build platforms are? The Makerbot Cupcake's/TOM's are a 100mm x 100mm build platform whereas many repraps are 200mm x 200mm.

You should be able to zoom in/out with mouse scroll both on 2D and 3D views. With platform size.. I was planning on adding plastic parameters and other physical settings in near future.

I tried this with a 20mm box and it worked great. Every file I've given it since has gotten to 100% and then showed nothing (except the Gcode file itself). The view and info are all blank. I'm using Firefox. Am I missing something?

I've fixed the bug I've mentioned before. If you still get blank page - please, send me the files you're having problems with.

That might be a known bug, you need to reload page every time you view new file. I'm planning on fixing it pretty soon. If it doesn't help I'd appreciate if you could share the files you are trying to view and OS/browser versions.

I'm using Mac OS 10.7 and Firefox 16. Still not working, even from a fresh page. I can send you the files (I've tried several), just tell me where to send it to.

Send them to hudbrog@gmail.com

Maybe I'm missing it, but it would be real nice to have a key-scroll combo to scroll through layers (as in Pronterface) instead of having to drag the scrollbar.

You can now use pgup/pgdwn or arrow keys to switch layers in 2D view. 

Hm, good idea, I'll implement hotkeys on the weekend, shouldn't be that hard.

Works great for me on my mac.  The 3D UI is a little twitchy/sensitive but it does the job.  Great work.

This is a really nice tool! Should really help tracking down obscure slicing problems.

Minor point: Are color mappings off a little? In my "Layer info" box, two move speeds are listed, but both have the same color (green). "Retract speed" has a red code, but a dark blue dot is shown on the rendering. These are minor and the tool is totally usable as is. Just thought you might like to know about it.

Thanks. I guess I need to write some kind of documentation to avoid confusion )
Moves are always green, no matter how many speeds there are.  Just so you can always visually see which lines are moves and which are extrusion without checking layerinfo box.  
With retractions there are two types of dots - retracts and restarts. Retracts are red, restarts are blue. I only show red on the speed list thou, I can add blue dot there too ) I guess I should remove red color from the list of possible extrusion line colors..

How to run this app?
is it not suitable for mac users?
i only got a bunch of folders and html files.

I ve been happy with 3D pleasant too (with repG) but since it doesnt support the colours from CURA and just gives me a white drawing.. i cant use it anymore.

Maybe someone knows ho i do have to change my gcode in CURA that i get the fullcoloured view in 3D Pleasant again.
Maybe its just adding some extra lines in the Start gcode file..-

For some reason I don't see my previous answer, so I'll reply again. It does work on any OS (I am using it on macos), but requires a modern version of chrome of firefox browser. It is a web application, so all you need to do to use it - is go to the link I've provided in description and drag your gcode to the designated area.

 thx
works now

Nice.  I've been pretty happy with Pleasant3D on my mac - but I'll give this a whirl and see how it does for me.  It's always nice to have more than one option for visualization tools.

Thanks, let me know how it works for you.

Works fine in the latest version of Safari.