Ok, I’m starting to get excited! Here are some sample SVGs I’m generating:
2 ops, one to engrave the bullseye and one to cut the square
3 ops, 1 to cut the holes, one to cut the perimeter and one to engrave the entire shape
This is what I have implemented so far:
- Each operation gets a unique color taken from 15 high contract colors from the original Mac 16 color pallet. Glowforge automatically splits different colors into separate operations.
- Join cuts from each operation into a single
<path>element so you don’t have to join them yourself in Inkscape/Illustrator. Everything drags and drops together in the Glowforge UI properly as a single shape. Shapes inside shapes work properly as well.
- If you use the ‘Etch’ or ‘Vaporize’ laser power settings in CAM the post will generate filled shapes instead of lines. These are automatically detected as Engrave ops in Glowforge. So if done right you wont have to change anything in the Glowforge UI.
- Checking for Sideways Compensation: ‘In Control’ is now off by default. This was super confusing for new users as it resulted in a cryptic error using default laser CAM settings. For most uses the lack of Sideways Compensation wont matter. For power users that want sub mm accuracy you can enable Sideways Compensation: ‘In Computer’ and this will calculate the proper path offset based on the laser kerf diameter you set up in your laser tool. There is a parameter to force checking for this (its off by default) so if you are in a production shop the POST will validate that you did everything right before it burns your last piece of material.
- Each CAM operation is wrapped in a group (
<g>) in the SVG and gets a
<title>so you can read the source and see where the code came from in CAM. If you have an SVG and want to delete or re-order something its easy to find.
I’m still working on the stock setup. This has to be just right or the SVG looks off center (but still imports into Glowforge OK). You want the stock origin in the lower left corner with the Z coming up out of the material. I’m going to see if I can just make this issue go away.
If you are brave and want to try it out, the post is here.
(when this gets accepted by Autodesk I’ll change this link to point to the official source.)