I’ve had my Glowforge a couple of weeks now. I did some “tutorial” projects that came out well, and experimented with engraving some laser-safe rubber stamp sheets to make custom stamps for my wife… that’s the topic of another post.
I wanted to make some precision templates for one of my favorite table top miniatures game. For a first swing at it, I wanted to make 3 inch diameter circular templates that represent an area of effect.
But I wanted to make it more interesting. So I went looking for an interesting pattern for the interior. I found some code floating around the internet (written in Perl, of all things!) to generate random lattice work (by generating a point field, and then generating a Voronoi diagram from it, and thickening the resulting lines).
I had to mod up the code a bit to generate a circular bounding for the Voronoi diagram, and that took a while since I hadn’t written Perl for a decade. I took the resulting shape into inkscape, added an outside circle, score line, and some text, and cut the result on PG Maple plywood. It came out great!
For a second swing, I wrote some new code that generates hexes and put them through the same bounding code, and built another template with a hex infill instead of the random lattice infill.
I’m happy with how these came out. I didn’t expect to be writing Perl to generate shapes for my Glowforge; who knew?