Hi @DavidRutten and @Joseph_Oster thanks @DavidRutten I wish I could solve it with grasshopper
It was easier to explain myself with an example with geometry directly in Rhino.
the only thing that interests me is to restrict the rotation of the curve, so in the example I use the curvature graph, regardless of the heights it has along the path.
only be able to address in a direction without rotation
It is not what I have in mind. I will try otherwise to make myself understood; please bear with me
Imagine a reptile moving along a path, it happens that when the reptile moves along the curve it begins to rotate along it. that’s the rotation i would like to avoid.
tried to achieve a natural flow curvature_2example.gh (50.7 KB)
but I want to be able to easily adapt to any 3d curve
OH! You know, I really can’t emphasize strongly enough how helpful it would have been to have your GH model from the very beginning. REALLY. Don’t need the video, the model is enough.
Flow doesn’t seem to give you any options but you could use “perp frames” aligned with vertical or horizontal to loft a cross section to make the box, then use Orient to add the pyramid thing (not shown below). Often there is no difference but sometimes maybe there is?
Take a curve that would describe your path then array isoceles triangles along it. Rotate the said triangles around the point attached on the base curve according to your expectations. Then interpolate curves from each of the two corners thay are not attached to your base curve.
edit1 : F ! This is a tiny gif
edit2 : Thank you @DavidRutten for edit 1.5 !
I can have a look in that file when I’m on my computer… But I think i used Curvature component (+ some gravity equations to have the banking from the forces). This is a old and bad version though.
But for your specific question I’d use Curvature component, then move points in opposite direction of the curvature at parameter… Not perfect, but that’s what first comes to my mind
@vikthor hasn’t explained yet what’s wrong with what I posted above, but I’m not going to pull teeth to get answers. curvature_2019Nov19c.gh (49.2 KB) (not sure how I messed up the date in my file names)