Grasshopper

algorithmic modeling for Rhino

Multiple sweep1 with shattered segments as rails

Hello,

I'm having lot of problems with the component "sweep1".

In this definition I'm trying to sweep the oriented sections along the rails (that corresponds to the segments of the "shatter" components).

Why sweep doesn't work?

I've read something about flipping the curves, but it doesn't work, or I'm not able to make it work.

Any help would be very useful!

Thanks in advance.

Views: 746

Attachments:

Replies to This Discussion

Hello Claudia,

I cannot be sure what the next steps of the definition will be but I believe a better approach would be to do the sweeps to the whole length of each curve and then slice them at the desired points.

Having said that, sweep seems to have trouble working especially with polylines as rails.

A thing that helps is to graft (and simplify) the inputs of sweep so that for each list it gets one rail and one section.

A second step would be to turn the polylines into smooth curves. This could create some problems with their intersections but I tried it in your file and it seems to work:

hope this helps a bit.

ciao,

nikos

Attachments:

I've tried, in firts instance, the general approach that you suggest (sweep for the whole curve and slice): the sweep was fine, but the division of the rib didn't work. Actually, I didn't know what was the best component for this (a boolean operation, split brep or a definition for cutting by plane that I've found). What do you suggest for this case?

Another question: I was looking at your definition, but the first part is not so clear for me: what do you do with the list component and cull? Why do you divide the list?

Thanks very much for your help.

Hi Claudia,

What I did in the start of the definition is to divide the list in polylines and curves(the four arcs at the edges). Then I took the kinks (the endpoints of their segments) of the polylines and interpolated a curve through them. And finally joined the two lists again so all items are now curves (now that I see it again it could certainly be done in a simpler way).

As for the first question, I am not really sure... I generally avoid brep boolean because it often fails, so maybe go with the split with plane...

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