Close

Zigzag algorithm notes

A project log for Gcode Playground

Writing my own Gcode generator for pen plotter

mike-szczysMike Szczys 05/04/2020 at 18:150 Comments

This log is a bit out of order but I cleaned up my desk last week and want to get these papers off it lest I get back into the same mess I started in.

These are my notes on how to write an algorithm for a zigzag within X space given N...N+7 peaks on the zigzags. Issues I encountered on conceptualizing this:

Also, the sets of numbers on the right half of the leftmost sheets is the literal points and the delta of those points for the spiral algorithm.

Discussions