How to extract parts of g code using matlab

5 次查看(过去 30 天)
I want to obtain is a script capable of loading the g code and dividing it into a structure with cells containing the individual commands: I want to find the strings in which the outer contour of all layers is drawn, initialized by; TYPE: WALL-OUTER, as a result of which all commands containing the token G1 at the beginning of the command are stored, followed by the X Y Z E coordinates of displacement and possibly also from F. Then, also commands with the token G0 are stored.
  3 个评论
Federico Paolucci
Federico Paolucci 2022-8-25
@Geoff Hayes I report "file g.gcode" as attached file, this code is produced by a software from a file.stl and then the .gcode is sent to 3d printer to print the object

请先登录,再进行评论。

回答(1 个)

Federico
Federico 2022-8-25
@Geoff Hayes I report "file g.gcode" as attached file, this code is produced by a software from a file.stl and then the .gcode is sent to 3d printer to print the object

类别

Help CenterFile Exchange 中查找有关 MATLAB Report Generator 的更多信息

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by