algorithmic modeling for Rhino
Let's say I draw line along the x axis where it's not touching the origin. Then I construct a mesh box around the line, so the line isn't visible anymore. Now I want to rotate that line about the origin (using grasshopper) with the axis of rotation being the z-axis. You'd simply use the Rotate3D or RotateAx to accomplish this goal. But here's where I have a problem: without using a rotate component (this is important), how do I get the mesh box to follow the line where ever it goes, always covering it up?
I'm assuming orient would do the trick, but when I plug in the start and end points of the line to the A and B values, the box goes forward and uncovers the whole line, which is not what I want. How can I accomplish my goal without using rotate?
I added a grasshopper file with the problem I'm trying to fix. Thanks!
Tags:
Thank you so much! It works great. But now I have another problem: if I add a second rotation component and have one of the end points on the line rotate, I the box doesn't follow the line; actually it does this weird rotation thing that I can't seem to figure out why. The only thing I changed to your file was the initialization of the original line.
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
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by