How to modify a G-Code text

Hi, I have to write a matlab script to modify a g code file and as a starting point I have this:

5 个评论

What modifications would you like to make?
the script in g code shown above is used to acquire the images of the layers produced on the work surface of a 3d printer. in particular the body of the script presents the G commands for the acquisition of two images . this acquisition is carried out with a microscope positioned inclined in a certain position. I have to modify the g code taking into account that I have two microscopes: the inclined one, already present, plus another in vertical position. in practice I must also consider the commands for acquiring images of this vertical microscope
I explained myself wrongly, the G commands are used for the correct positioning of the material extruder on the work surface with respect to the position of the microscope that acquires the image. I have to modify the code taking into account that it is not acquired only with the oblique microscope, but also with the vertical one
the two microscopes are on the same (vertical) plane as the extruder and there is a certain distance between the two
Okay, what does that mean in terms of MATLAB code that we could assist you with? Assume that we do not have experience with positioning extruders to immediately recognize what would have to be changed for your situation, but that we do have a little bit of experience with gcode, and a fair bit of experience with MATLAB.

回答(0 个)

此问题已关闭。

产品

版本

R2022a

关闭:

2022-8-15

Community Treasure Hunt

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

Start Hunting!

Translated by