I am trying to print this shape optimized look out of a clay extruder, the issue with the clay extruder is that it is not able to start and stop, meaning that I need to feed it one continuous line. It is fine if it intersects and prints over each other.
How am I able to generate a continuous line from the image above?
Or How am I able to generate a continuous line from the Voronoi pattern below?
Is there a script in grasshopper that will help me generate this line?
You can and you can’t if you just one to keep just one line on each wall.
See this example
If you accept 2 paths for each wall, you will just have to add bridges
See this discussion
Some weeks ago I began my journey in the 3d printing world.
The main job was to generate 3d printer paths from closed curves which represent the intersection between a slice (plane or not) and a solid.
The paths must be a single curve, which means the extruder never stop to extrude during the print.
The results are very similar from what is presented here
and on this paper “Connected Fermat Spirals for Layered Fabrication”
The main tool is Offset from Clipper but there are many optimizatio…
You can make a Minimum Spanning Tree using Heteroptera plugin using the Voronoi cell topology (here I use my Nautilus plugin and cell topology but there are others tools)
This allows to connect each cell without making loops.
Then each path of the MST is scaled to the good length
Cells are offset inward using Clipper for example or Clipper2 or Grasshopper offset (but this could fail)
Then union the region, you will have a single polyline
You can add the outer wall if you want but here union will not work as the rectangle outside contain everything
Heteroptera is an Always WIP addon, directed at Uncertainty, Network-Topology, Vector & Fields, DataFlow
Clipper is a 2D polygon Clipper offering polygon boolean operations (clipping): Intersection, Join, Difference, and robust polygon offsets.