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 Kommentare

Walter Roberson
Walter Roberson am 14 Aug. 2022
What modifications would you like to make?
Federico Paolucci
Federico Paolucci am 15 Aug. 2022
Bearbeitet: Federico Paolucci am 15 Aug. 2022
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
Federico Paolucci
Federico Paolucci am 15 Aug. 2022
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
Federico Paolucci
Federico Paolucci am 15 Aug. 2022
the two microscopes are on the same (vertical) plane as the extruder and there is a certain distance between the two
Walter Roberson
Walter Roberson am 15 Aug. 2022
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.

Antworten (0)

Diese Frage ist geschlossen.

Produkte

Version

R2022a

Gefragt:

am 14 Aug. 2022

Geschlossen:

am 15 Aug. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by