fabDraw()

A function called once to generate G-code commands.

p5.fab calls fabDraw() automatically once after setup() completes and before draw() runs, and again whenever stopPrint() is called to regenerate the command queue.

Examples