Vcarve toolpath?

Hi all. I do need to create a Vcarve toolpath with Z-depth information from some existing shapes and I don’t know how I can achieve this using Grasshopper.

I do created the actual toolpath (Blue lines) in PixelCNC but when I do import the toolpath in Rhino I only get some flat curves and I do need to reconstruct somehow the Z-depth of the cut so the tool (3D gold one) is following the red curves inside like a V-carve operation.

In theory one way to solve this will be to copy the tool in all the points of the blue toolpath and move the tool down along Z until it hits the red boundary curves.


Vcarve_test.3dm (384.6 KB)



Made some progress.
Now the question is how I can move the 3D shapes on the Z direction downwards until it hits the surface bellow?


Vcarving_test.gh (39.8 KB)

Hi @Cumberland
Here’s a script I’ve been using over the years. It generates the toolpath completely in Gh. I’m sure you can easily plug in the existing toolpath as well for height calculations. This one assumes 90-degree V-tip.



Vcarve.gh (19.3 KB)

1 Like

Thank you for the definition, very good one, unfortunately this definition uses Voronoi to create a grid and the result it is not very smooth.

For this reason the “resolution” slider exists. Depends much on the needed accuracy and final product size.

Comparison between your imported toolpath and the one generated by the script. What is “smooth” in this scale could be argued.

I added a join curves and a Smooth Polyline after the Cull Pattern and this seems to make the toolpath smoother.

1 Like