Laser Art Code

Below is some code I wrote up to make fun shapes to laser etch. It uses an new version of the convex hull library I’ve been writing called newhull (which I will release shortly), as well as the pdf export library that comes with processing. It provides an object class that sets a convex hull with inputs for number of points, minimum and maximum on each axis (x, y, and z) and stroke weight. It produces something like this (which you can export to .pdf, then open with Inkscape or Illustrator, save to .svg and send to the laser cutter).

 

 

Code Here: