Info

This question is closed. Reopen it to edit or answer.

extraction of external edges coordinates from g code files

3 views (last 30 days)
hi, I extracted the g code corresponding to the parts to be printed from the 3d printing software. the parts are a, b, c, which are named in the file g code, and first with MATLAB I have to declare which of the three parts to analyze, that is in my case part c and then I have to extract the coordinates of the outer edges for all the layers of the part.
To be more specific, I want to extract the X, Y, E coordinates referring to WALL OUTER in the file in question:
for each layer I have
; LAYER: number of the layer
; TYPE: WALL-OUTER
; MESH: c.stl
and immediately after the coordinates of the edge of the considered layer.
I attach the g code file to the question
p.s. in file c = lattice1, dim elem 0.98, rotaz 30

Answers (0)

This question is closed.

Products


Release

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!