aligator / GoSlice

This is an experimental slicer for 3d printing written in Go also usable as modular slicing lib.
Apache License 2.0
108 stars 16 forks source link

Refactor GCode generation, use buffer #10

Closed aligator closed 4 years ago

aligator commented 4 years ago

I think the GCode builder should use a buffer, which buffers the commands and writes all GCode at the end of the layer.

Then we could add some optimization for combining small moves to one large one before flushing the buffer. (for reference: I have the idea from here https://github.com/Ultimaker/CuraEngine/commit/e67fb65122d5b1ea04597b4aff9d614c0207b9e6)

aligator commented 4 years ago

for now I don't think it works like I thought first... closing this