Hi, I’ve been working on tiling of a flexible system I’m designing.
After some effort I managed to get it to tile in a way (not perfect, but getting there) and now I want to try out if I can even extrude my patter and this is where I get stuck.
This is the pattern type:
Is it generated with the offset tool from the Clipper components from a base curve like this one:
The issue that happens is that the Clipper Offset component creates a polyline, otherwise known as a segmented curve, this will hinder making an extrusion by a lot:
So instead I looked at generating a better type of curve, which I managed to do with Offset Curve
:
The result is a nice curve instead of a polyline, though this offset is missing the nice round cap that the Clipper offset has:
So I went back to Clipper to see how else I could extrude the offset curves and then I ran into the issue that the Clipper result doesn’t respect the boundaries:
So then I started trying things out with Unions, Mesh Unions and other ways to subtract the shapes and manipulated lists to see if I could subtract the smalled holes from the large outline surface:
This has unexpected results:
I hope my screenshot journey is still able to catch your focus, anyway, I’m at this point where I’m stuck where I don’t know how to make a better offset and a better intersection of the shapes I’m generating. My goal is to be able to make even bigger and more complex shapes, so if this smaller and simpler approach is already bugging out or just taking too long to generate, I’m becoming slightly pessimistic for the future of my project. However I do not believe there is not a solution.
Would it help speed things up if I start using plain values between 0.0 and 1.0 instead of a mix of integer and floating point?
Is there a way to generate the desired offsets and extruding them, without slowing down the script too much?
Here is the file with internalized data, I hope someone has a piece of advice:
curve_offset_extrusion.gh (736.0 KB)
This is what the file looks like: