Jump to content
fdamani

extending gcode viewer to saving as stl file

Recommended Posts

Posted (edited) · extending gcode viewer to saving as stl file

Hello,

 

I am interested in a tool that imports gcode and saves the rendered visualization as a stl file. Is this possible? If it is not, what is the data structure behind the current gcode viewer plug in? Thanks!

Edited by fdamani

Share this post


Link to post
Share on other sites
Posted · extending gcode viewer to saving as stl file

Wow.  That's going to be hard to do and even if you got it to work it would be pretty ugly.  You would lose a lot of the resolution of the original part.  

 

There are lots of much simpler gcode viewers than cura.  For example there is http://gcode.ws website which is written completely in javascript I think.  You could start with that.  cura is much more complicated.

 

 

Share this post


Link to post
Share on other sites
Posted · extending gcode viewer to saving as stl file

The current-gcode viewer is rendered in a shader that uses vertex displacement, this makes it damn annoying to get that data and save it as STL.

Share this post


Link to post
Share on other sites
Posted · extending gcode viewer to saving as stl file

Even if you would create a model out of the lines specified in the gcode, it would not be a very "nice" model to work with.

 

At one time, AutoDesk had a tool that would let you load a gcode file and then "remesh" it into an stl, but it has been "retired".

https://www.3ders.org/articles/20131013-free-autodesk-project-miller-offers-3d-printing-previews.html

Some of its functionality is now part of MeshMixer, but loading gcode files is not.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Our picks

    • Ultimaker Cura 4.0 | Stable available!
      Ultimaker Cura 4.0 is mainly focused on the improved user interface and cloud integration.
      As always, we want to collect your user feedback for this release. If there are any improvements you can think of, feel free to mention it here and help us to shape the next release.
      • 81 replies
×
×
  • Create New...

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!