How to find out CAD model dimensions from GCODE file?

How to parse STL file OR GCODE file?
I wanted to extract CAD model features from readymade STL file.

2 Answers

you can load g-code in a slice program. Then you can save this as stl.

- save as .STL
- open file in CURA
- slice
- save in removable (sdcard/usb)
- plug in 3d print