Cropping a vector shape for GlowForge

I have a vector image that extends beyond the layer it is on:

it actually is clipped by the layer it is on:

When I try to engrave it, the whole fish are there in the GlowForge app, even though I want them to be clipped.

So, I then add a crop:


And get:

However, in GlowForge, I still see this:

And that makes that engraving too long to engrave (the tails jut out into the non-engrave margins).

How can I better clip this in Affinity so I don’t have this issue?

Thank you!

I don’t have affinity designer so I can’t help you with the process, but if you clip it and save the image as a raster image, it will pull up the way you want it in the interface. Glowforge interface doesn’t process masks and clips, which disappear when you bring them in. But rasterizing the image so it’s no longer a vector will fix it.

2 Likes

Will I lose the sharpness or resolution of the image if i do so?

What would you recommend I do, export to PNG?

In Inkscape, the bitmap copy inside the file would represent what you are seeing on screen, then you would just delete the original vector image(s). No need to export as the bitmap is contained within the SVG or PDF when you save it.

I’m sure AD can do the same.

1 Like

If I export the whole file to PNG and use that to import into GlowForge, I get this:

which is not as sharp as what I had before.

I lose my cut lines, as they become rasterized too. Also, the entire image gets 1/3 smaller.

If I raterize just those two fish, in Affinity, and then export and import into GF:

Hate to keep saying “in Inkscape” but that’s all I have…

So, in Inkscape, you set the DPI for both bitmap conversions in the app, and the resolution for export. The default is 96dpi, because that’s what SVG was designed for (screen display), but you can set it to anything.

See if you have similar settings in AD?

You don’t want to export as PNG, you need SVG or PDF to preserve the cut lines.

3 Likes

I’ve wanted to switch to Inkscape, but every time I try to install XQuartz, it crashes my Macs.

Let me look for those type of options. It’s sad that GF still doesn’t support clipping.

You don’t need XQuartz. Inkscape 1.0 runs natively, and has been available for over a year.

No way. That’s great news! I think… I’ll see if I can import my project and do it from there.

1 Like

I use Illustrator. But Affinity probably has a similar option to this. It should be “subtract” or something like that. Draw a shape that follows the contour of the edge of the box***. Make sure it covers the area of the fish you want to get rid of, and that the shape is layered ABOVE the fish. Select the shape, and the fish, and subtract the front object.

This has a section with video explanation of the Subtract feature. Now you shouldn’t have the entire fish.

1 Like

Here’s a tutorial on breaking up a vector image in AD. Uses rectangles but you could just as easily use your existing shape:

3 Likes

So there are two recommendations here (three if you count “use a different program”), they’re both good but have trade-offs. As you said, Glowforge doesn’t support clip masks, but you can apply a boolean operation to remove the part of the fish that extends outside the shape. And/or, you can rasterize the fish.

While using the boolean operation and keeping everything a vector is nice and clean, Glowforge sometimes has trouble interpreting complex vector shapes. Since an engrave has to be rasterized anyway, either by your software or by the Glowforge software, sometimes it’s just safer to do it yourself and know what you’re getting. I’m not sure why that didn’t work… it looks kind of like a transparency issue. I know in Illustrator there are some options in the rasterize dialog for stuff like that. Maybe the same with Affinity?

6 Likes

It’s three click in Inkscape (again, sorry!)

With a copy of your cut path at the highest level, click the vector design, followed by that path, then use “Path/Intersection”, and turn on fill. If you want to do multiple vector designs at once, use “Path/Combine” on them all first.

5 Likes

I do @chris1’s method here. I don’t like to use the cut outline as my “intersection” as per @eflyguy , I prefer to draw a rectangle just outside my cut piece (>= 0.02" outside) that covers the part of the fish that I don’t want. Then I use difference to leave just the portion of the fish that I need. I think it leads to a cleaner result because booleans are prone to very small errors and this way the cut line is fully within the engrave. If you use the cut line as the intersection border the slight boolean errors might well be visible at the end of the cut, the difference method sidesteps all that uncertainty.

1 Like

The problem is that the fish are made up of multiple groups, and each of those groups have subgroups and curves. It looks like I have to get rid of the groups and then combine the shapes into a compound or merge them. Otherwise if I select the fish, and a rectangle that overlaps it, I only get the following options:

Here are the overlapping shapes. One fish is selected and the rectangle covering half its right side.

Inkscape user here. In Inkscape I would ungroup everything and delete what falls outside the large shape. Then I’d do a boolean operation for what remained.

However, if I just wanted it done, and didn’t care about the material to the right of the cut line, I’d just run it as is. The glowforge is going to cut right through the fish.

Right, but not quite. If the entire design is wide enough to encroach into the margins where engraving can’t happen (cutting can) then none of the design will engrave.

1 Like

Surprised (or maybe I missed it) that nobody sent you here:

Same process.

EDIT: I totally missed it. :slight_smile:

2 Likes

You missed it. :slight_smile:

2 Likes