Space filling curves for more interesting engraving patterns

By combining @evansd2’s two Inkscape plugins,

  1. Concentric engraving inkscape plugin, followed by
  2. Improved cut path Inkscape plugin

you can get a space-filling curve effect for a more interesting engraving pattern.

You can also add segments inside the shape to modify the output:

Note, you will need Inkscape version 1.4.

Creating a single plugin that will do both steps at once is left as an exercise for the reader. :wink:

20 Likes

Hilariously enough I was about to do this very thing.

Two notes from early tests:

Be careful of closed paths in the center, it’s easy to overburn in early testing.

Did you tackle the problem of paths with internal exclusions, aka islands?

I’m planning on making a single plugin that does this in a single operation but the island issue is tricky from a performance standpoint.

10 Likes

I didn’t tackle anything; these were my first two experiments.

4 Likes

I wonder if you could get a smoother transition by assuming that the two curves are following a vector field, and extrapolating the rest of the vector field by diffusion or relaxation. Of course, the hard part is handling the divergence of the resulting parallel curves. This just diffuses the problem, it doesn’t solve it.

7 Likes

Now you guys are just showing off. :wink:

Thank you! This will be very useful to lots of us.

9 Likes

Using vectors is how Inset and outset work and they lead to inaccuracy.

You can see this for yourself by using the inset outset halo function. It does roughly what it sounds like but it struggles on complex shapes since it uses vector expansion.

In fairness so does stroke to path; it’s sometimes not perfect either but I find it far more consistent as long as your path is well constructed.

5 Likes

You can sort of do it by starting with the built-in ‘interpolate between paths’ path effect:

7 Likes

Nice.

Previously re: interpolate

And

You’re using it in clever ways. I love that you’re finding interesting workflows with the extensions.

6 Likes

9 Likes

This topic was automatically closed 32 days after the last reply. New replies are no longer allowed.