algorithmic modeling for Rhino
Hello everyone!
I have a problem- I want to rotate helix curve frames so that they are aligned to curve but also parallel to worlds ground plane.
In my thoughts I should rotate planes around Z axis but I don't know how to find correct angle...
So that next i can sweep rectangle and it's top plane is parallel to ground plane.
Please see attached file.
Atis
Tags:
Is this what you are after? There is certainly a faster and more elegant way to do it but this should work for now...
the logic is: create XY planes on the same points as PFrames and align them with the vectors from the PFrames.
cheers,
Nikos
the faster and more elegant way that I was sure existed.... Duh!...
the beauty of grasshopper is the many ways one can reach an objective.
your outputs could come in handy in further development of the definition.
Many thanks guys for responses, but problem is bit different:
I have to rotate plane so that let's say Y axis is parallel to ground, but Z and X following curve.
So that i can sweep any curve shape (not just rectangle) and one of it's sides is parallel to ground.
And that is depending to Z axis rotation (i think so)..
In capture bellow i have marked with red plane sides that must be parallel to ground.
Thanks!
[Align] with UnitZ
i guess i got confused by: "So that next i can sweep rectangle and it's top plane is parallel to ground plane." By "top plane" I thought you meant the top cap of the brep... anyway, good luck with your project!
omg! that easy!!! THANK YOU GUYS!!!!!!!
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by