Hi all,
I am writing a GH script for drawing pools edges. At first I tought it would have been a simple curve subdivision excercise, but, when encountering some industrial fabrication requirements, the task is far from being simple.
The main issue is keeping intact the corner tiles, so that they will always have the longest lenght possible, to do so, I divided between convex and concave corners, however, I couldn’t find the way to obtain what I want, thit is the nearest I came to the goal.
I don’t have time right now to mock up an example but you should be able to ‘shatter’ the imput curves, shrink them by a set length at each end (by a full tile) and then fill the remaining space however you wish (even tile divisions, or as few as possible cuts).
Hi Thomas,
thanks for the reply!
After a couple of years I digged the project out of the grave unfortunately it was abandoned…
your code is interesting and probably way simpler than what I came up with, which definitely needs some smoothing around the edges.
I noticed your code doesn’t really work with spline, but it seems way better in dealing with corners and central pieces.
I am attaching my old version, so please tell me what do you think!
I noticed this when I already replied, weird I saw as a recent topic I couldn’t test your file but I see you arc tiles measurements exceed the tile constraint.
I based with the tile constraint for both arcs and lines and the logic that corners have priority and the middle absorbs the remains.
Of course in terms of material optimization rotation alignment for cuttings plays an important role.