Grasshopper

algorithmic modeling for Rhino

I've managed to position a cuboid on a line that is curving in the x, y, and z directions.

However, the cuboid tilts along with the curve. I'm trying to allow the cuboid to turn with the curve, while also staying perpendicular to the ground. 

This picture shows how it tilts in the z direction, which is what I'm trying to prevent. I made 3 cuboids manually to show what I am trying to do. 

Edit: Also, would it be possible to stretch the distributed cuboid placements in one direction? Stretching it so the cuboids get farther and farther apart. 

My file is attached.

Any help would be appreciated.

Views: 646

Attachments:

Replies to This Discussion

Hi.

Your curve parameter is empty-->Next time, don't forget to internalize your referenced geometries from rhino or upload 3dm file together.

Anyway, try "Horizontal Frames" instead.

Attachments:

Oh, wow. I can't believe how easy that was. Thanks!

My next step is to stretch one side of the surface so the cuboids get further apart with distance. I'd also like to figure out how to rotate them gradually as they continue. I might be able to figure this out on my own, but I'd be glad to still get help. 

Attachments:

Check attachment.

Attachments:
Thank you so much! This forum is so helpful.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service