Good Afternoon Forum,
I think I am finding this more complicated than necessary; the task should be quite simple really? As per title, I am trying to create a definition where I will input a profile curve, which will then follow between input rail curves.
The difficulty is that the definition must allow for the rail curves to vary in rotation and scale (ie. angle and distance between). And the end use of the definition is that the rail will be divided, so that the profiles between will be lofted to create tiles.
So far I have managed to copy the profile curve along the rail curve, scale it to the correct length, and rotate the profile into the angle between the rail curves (see ss-05). The issue I am having is orienting the projection of the profile perpendicular to the rail, and so the tiles do not have a consistent profile, and have large gaps between them in places (see ss-06).
The aim would be for the tiles to have the regularity of the guide grid (see ss-02), but with a consistent three-dimensional form of the profile.
I have organised my progress to clearly demonstrate the steps in my logic (see ss-00), but wonder if actually I am approaching wrong entirely? Maybe there is an existing definition or plugin that achieves this?
I have attached a sequence of screenshots to show my progress, and the .gh definition where I am stuck.Any assistance with this issue would be greatly appreciated!
Kindest,
JJC.
004_X_190622_ArrayCrv_03.gh (40.2 KB)