import G-code and convert to stl file
I'm interested in a feature where you can import a G-code file and save the 3D model visualization as a stl file. Is this possible? If it's not, what is the data structure behind the 3d visualized model? Thank you!
No it is not possible, only the other way around. The aims of the format are completely different. STL is a boundary representation and gcode is the machine control language to approximate the shape with given constraints and options.