Creating gcode

well, you can for sure extrapolate data from a geometry, and use those as bricks to create gcode

for instance (this is taken from Marlin) a G1 command accepts the following parameters

Linear Move | Marlin Firmware

from your drawing you can get an ordered list of vertexes, and use those to start the creation of G1 linear movements like this:

depending on what you are doing, E might be a function of the length of the segment you just moved along, and you can continue composing your commands as text by concatenating (or Text Join)

spiral tower_inno.gh (17.9 KB)

3 Likes