Grasshopper

algorithmic modeling for Rhino

Is there a way to assign Rhino-drawn closed curves (profiles) to points along a divided curve (rail)?

I want to assign these profiles to certain points along the rail and be able to change their location with a number slider and maintain the profile perpendicular to the rail curve at all times for an eventual sweep.

Example:

version 1: RAIL - point 1 (profile 2) - point 2 (profile 3) - point 3 (profile 1) - Sweep

version 2: RAIL - point 1 (profile 3) - point 2 (profile 1) - point 3 (profile 2) - Sweep

Thanks

Views: 1221

Replies to This Discussion

whats the logic to the order? cant do much without some logic unless you want it random or want to assign them with manual text input.

Here is something that you may be able to modify for your needs. I'm not sure what version you are needing as your screenshot doesn't follow version 1 or 2...

I am also not sure that the sweep one rail component works the same as when you use it directly in Rhino.

I tried and noticed it gave different results when using freeform closedCurves. Rhino direct method rotated the curves along the sweep as expected, while Gh version did not.

But if you are looking for a starting point this definition may help.

Good luck!

Attachments:

just noticed I didn't address your request to have sliders adjust the position of profile along the rail... I can get to that later after lunch if someone else doesn't chime in...

this solution certainly isn't the most elegant.... but here is some more control over the location of cross sections.

If  you needed to control more than a handful of cross sections, this solution would get tedious quickly.

Which is why Michael Pryor wanted to know more about the logic... that way a better solution could be build.... and he could do it too:)

Attachments:

SUPER USEFUL. You guys rock. Thank you very much.

The idea was to change the profiles along the curve without having to connect and disconnect every time. The issue that arises then is that the point along the curve cannot be repeated more than once or else the sweep won't work. Ive been trying out culling or some sort to see if there is a way to only have one profile per point.

I came up to this but it requires adding and deleting number sliders and making sure that the same point along the curve isnt repeated more than once or else the sweep fails

Attachments:

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