Give it a try here: http://jherrm.github.com/gcode-viewer. Just drag & drop your GCode on the window. Right now it works best with GCode made for additive manufacturing.
I’m looking forward to adding some more features like custom colors, better controls, and more GCode support. I’ve made some fairly large changes to the underlying architecture which should make adding and rendering more GCodes pretty simple. Included in the source code is an unfinished javascript port<https://github.com/jherrm/gcode-viewer/blob/master/web/gcode_interpre...>of grbl’s GCode interpreter <https://github.com/grbl/grbl/blob/edge/gcode.c>, hopefully paving the way for full simulation someday.
This is awesome! I've been working with the same gcode viewer for
integration with BotQueue.com and the upcoming integrated slicer support.
I'm on the road now, but once I get some time I'd like to pull in your
changes. Good stuff!
On Mon, Oct 22, 2012 at 11:09 PM, jherrm <grudg...@gmail.com> wrote:
> For the past couple of months, I’ve been working on my first WebGL
> project: enhancements to Joe Walnes<http://joewalnes.com/2012/04/01/a-3d-webgl-gcode-viewer-for-understan...>‘
> excellent online GCode Viewer <http://gcode.joewalnes.com/>. I’ve added
> some neat features like individual GCode coloring, animation, and the
> ability to scrub through GCode.
> Give it a try here: http://jherrm.github.com/gcode-viewer. Just drag &
> drop your GCode on the window. Right now it works best with GCode made for
> additive manufacturing.
> I’m looking forward to adding some more features like custom colors,
> better controls, and more GCode support. I’ve made some fairly large
> changes to the underlying architecture which should make adding and
> rendering more GCodes pretty simple. Included in the source code is an
> unfinished javascript port<https://github.com/jherrm/gcode-viewer/blob/master/web/gcode_interpre...>of grbl’s
> GCode interpreter <https://github.com/grbl/grbl/blob/edge/gcode.c>,
> hopefully paving the way for full simulation someday.
> You received this message because you are subscribed to the Google
> Groups "thingiverse" group.
> To post to this group, send email to thingiverse@googlegroups.com
> To unsubscribe from this group, send email to
> thingiverse+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/thingiverse?hl=en
On Monday, October 22, 2012 9:34:50 PM UTC-4, Zach Hoeken Smith wrote:
> Hey Jeremy,
> This is awesome! I've been working with the same gcode viewer for > integration with BotQueue.com and the upcoming integrated slicer support. > I'm on the road now, but once I get some time I'd like to pull in your > changes. Good stuff!
>> Give it a try here: http://jherrm.github.com/gcode-viewer. Just drag & >> drop your GCode on the window. Right now it works best with GCode made for >> additive manufacturing.
>> I’m looking forward to adding some more features like custom colors, >> better controls, and more GCode support. I’ve made some fairly large >> changes to the underlying architecture which should make adding and >> rendering more GCodes pretty simple. Included in the source code is an >> unfinished javascript port<https://github.com/jherrm/gcode-viewer/blob/master/web/gcode_interpre...>of grbl’s >> GCode interpreter <https://github.com/grbl/grbl/blob/edge/gcode.c>, >> hopefully paving the way for full simulation someday.
>> You received this message because you are subscribed to the Google
>> Groups "thingiverse" group.
>> To post to this group, send email to thing...@googlegroups.com<javascript:>
>> To unsubscribe from this group, send email to
>> thingiverse...@googlegroups.com <javascript:>
>> For more options, visit this group at
>> http://groups.google.com/group/thingiverse?hl=en
Hi Jeremy, I tried it and either you or java have a severe memory leak. Viewing the octopus in Firefox, working set went up to 2GB (yes GB) then froze; I had to kill it.
Very wicked - this is the kind of next-level web-based stuff MBI should be contributing too in order to support the community. Why write more locally executed applications when this kind of intelligence is out there?
Some quick feedback from a Win7-64bit + Chrome install...
1. Loading link_bracelet was taking a while, so I just selected hand_ok and thought I'd moved on.... then while viewing the hand the bracelet finally appeared *as well*. Kinda cute, but probably not intentional. :)
2. Might benefit from a 'wipe the slate clean' button somewhere; right now I have to shut down the tab completely.
3. I'm not sure how I kicked it off, but the animation of the Octopus design looks awesome (and although memory usage looked okay prior to this, based on how fast usage climbed once the octopus gcode was loaded, I'm guessing the animation function has the memory leak mentioned earlier)
On Saturday, October 27, 2012 2:42:14 PM UTC+11, jherrm wrote:
> Thanks Zach. BotQueue looks great - I'd be happy to help integrate the > gcode viewer if you'd like a hand.
> - Jeremy
> On Monday, October 22, 2012 9:34:50 PM UTC-4, Zach Hoeken Smith wrote:
>> Hey Jeremy,
>> This is awesome! I've been working with the same gcode viewer for >> integration with BotQueue.com and the upcoming integrated slicer support. >> I'm on the road now, but once I get some time I'd like to pull in your >> changes. Good stuff!
>>> Give it a try here: http://jherrm.github.com/gcode-viewer. Just drag & >>> drop your GCode on the window. Right now it works best with GCode made for >>> additive manufacturing.
>>> I’m looking forward to adding some more features like custom colors, >>> better controls, and more GCode support. I’ve made some fairly large >>> changes to the underlying architecture which should make adding and >>> rendering more GCodes pretty simple. Included in the source code is an >>> unfinished javascript port<https://github.com/jherrm/gcode-viewer/blob/master/web/gcode_interpre...>of grbl’s >>> GCode interpreter <https://github.com/grbl/grbl/blob/edge/gcode.c>, >>> hopefully paving the way for full simulation someday.
>>> You received this message because you are subscribed to the Google
>>> Groups "thingiverse" group.
>>> To post to this group, send email to thing...@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> thingiverse...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/thingiverse?hl=en
Thanks for the feedback. Opening a new model should cause the old one to get cleared. I'll have to be sure to stop the loading of a file if another one is opened before the first one is done.
Like I said, this is my first webGL project and there's bound to be a few leaks, especially when loading files with > 25k gcodes like the octocat. I'll definitely look into finding and plugging those leaks.
On Sunday, October 28, 2012 5:36:23 AM UTC-4, gth wrote:
> Very wicked - this is the kind of next-level web-based stuff MBI should be > contributing too in order to support the community. Why write more locally > executed applications when this kind of intelligence is out there?
> Some quick feedback from a Win7-64bit + Chrome install...
> 1. Loading link_bracelet was taking a while, so I just selected hand_ok > and thought I'd moved on.... then while viewing the hand the bracelet > finally appeared *as well*. Kinda cute, but probably not intentional. :)
> 2. Might benefit from a 'wipe the slate clean' button somewhere; right now > I have to shut down the tab completely.
> 3. I'm not sure how I kicked it off, but the animation of the Octopus > design looks awesome (and although memory usage looked okay prior to this, > based on how fast usage climbed once the octopus gcode was loaded, I'm > guessing the animation function has the memory leak mentioned earlier)
> Orsm.
> - G.
> On Saturday, October 27, 2012 2:42:14 PM UTC+11, jherrm wrote:
>> Thanks Zach. BotQueue looks great - I'd be happy to help integrate the >> gcode viewer if you'd like a hand.
>> - Jeremy
>> On Monday, October 22, 2012 9:34:50 PM UTC-4, Zach Hoeken Smith wrote:
>>> Hey Jeremy,
>>> This is awesome! I've been working with the same gcode viewer for >>> integration with BotQueue.com and the upcoming integrated slicer support. >>> I'm on the road now, but once I get some time I'd like to pull in your >>> changes. Good stuff!
>>>> Give it a try here: http://jherrm.github.com/gcode-viewer. Just drag & >>>> drop your GCode on the window. Right now it works best with GCode made for >>>> additive manufacturing.
>>>> I’m looking forward to adding some more features like custom colors, >>>> better controls, and more GCode support. I’ve made some fairly large >>>> changes to the underlying architecture which should make adding and >>>> rendering more GCodes pretty simple. Included in the source code is an >>>> unfinished javascript port<https://github.com/jherrm/gcode-viewer/blob/master/web/gcode_interpre...>of grbl’s >>>> GCode interpreter <https://github.com/grbl/grbl/blob/edge/gcode.c>, >>>> hopefully paving the way for full simulation someday.
>>>> You received this message because you are subscribed to the Google
>>>> Groups "thingiverse" group.
>>>> To post to this group, send email to thing...@googlegroups.com
>>>> To unsubscribe from this group, send email to
>>>> thingiverse...@googlegroups.com
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/thingiverse?hl=en