jaln
Posts: 16
Joined: Sat Jan 03, 2015 9:22 am

Dreaming of reversing G-Code to STL

It would really be useful to have a reverse function that took a G-Code file back to STL.
arhi
Posts: 480
Joined: Thu Oct 06, 2016 5:13 pm

Re: Dreaming of reversing G-Code to STL

you can extract all the XYZ values from g-code and create point cloud, or even better, parse gcode and create more points along each line... then you can use that point cloud to create mesh .. it will never be identical to original STL but it can be very close
gcodestat integrates with Simplify3D and allow you to
Calculate print time accurately (acceleration, max speed, junction deviation all taken into consideration)
Embed M117 codes into G-Code
Upload your G-Code directly to Octoprint
open source and unlicence
srinivasbakki
Posts: 1
Joined: Thu Feb 01, 2018 9:06 am

Re: Dreaming of reversing G-Code to STL

Interesting! What's the use case you have for this ?
User avatar
dkightley
Posts: 2405
Joined: Tue Mar 10, 2015 4:09 pm

Re: Dreaming of reversing G-Code to STL

There is an online service that will reverse engineer a gcode file back into an stl file.....

https://makeprintable.com/labs


Be warned....if the gcode file included slicer generated support, then the reverse engineered file will also contain the support!!!!
Doug Kightley
Volunteer at the National Tramway Museum http://www.tramway.co.uk
Railway modeller and webmaster at http://www.talkingtgauge.net

Return to “Feature Requests”