Grasshopper frames on rails issues

Hi all

I am trying to learn and implement grasshopper for the first time and place these “portal frames” that incrementally scale up and equally between the two rails/curves, i think? i have managed to dived each rail appropriately but trying to place the frames has led to this mess and have butted heads enough with AIs

rhino frames.gh (12.4 KB)

Please internalize your crv’s , or attach your .3dm file .

sure,
here is the rhino file

cultural centre.3dm (5.8 MB)


For starters, your rails are going in opposite directions, and they have a different point count


You have a frame count that you can use to specify a number of subdivisions on each rail.

This is what the curve tangents are doing, which is probably not what you were looking for, you wanted vectors perpendicular to the tangents.

This might not be what you were expecting, but I think this is what you were trying to do with your script.

rhino frames_NL.gh (13.3 KB)

Here’s a version that makes more sense. The frames are scaled to accommodate the distance between rails at each pair of points.

rhino frames_NLv2.gh (10.4 KB)

@hamish4,

Check this out in case it helps:
rhino frames_NLv2-fakeSweep.gh (33.8 KB)


Many ways to skin a cat:


rhino frames VR 01.gh (46.9 KB)

Orient Direction doesn’t get enough love. Your cross-section is not planar.

unreal stuff

many thankyous

would there be any reason when trying to interpolate curves through the rails to sweep along later it becomes haywire

CCentre facade framesa.gh (17.5 KB)

Curve contianer is not internalized:

Probably data structure issues.

CCentre facade framesa.gh (754.0 KB)

the curves should now be internalized i think

The frames were all out of order.

Here a solution:


rhino frames VR 02.gh (772.7 KB)

What did I do wrong?

Feels like the starting and ending profiles are oriented wrong, but otherwise everything else is “OK”.