Grasshopper

algorithmic modeling for Rhino

Hi

I need to sweep a rectangular profile on Fermat Spiral curve.

Please help.

Though it can be achieved with loft and perpendicular frame. But that method results in too many objects.

Views: 916

Attachments:

Replies to This Discussion

Well...

... here's a way.

By that I mean that I could sort things properly waaay back in the definition ... but I've used this long way home logic as a demo for other far more complex cases (rather a testimony for "the never is too late", he he).

BTW: a profile "centered" as regards the initial plane (orient component) is 100% critical (can you guess why?).

BTW: path mapper depends upon the current data structure (thus is not a 100% assured way to do this kind of business, but you get the gist I do hope).

best, Peter

Attachments:

Great Explanation.

Regards!!

Peter  can you explain me that part where you put "This weird syntax means : don't invite circles to the party". Can not understand the syntax {!(0,3)}. Furthermore is there any reference for such operation.

this means:

exclude (the ! thing means not) paths {0} and {3} from the data tree paths (that contain curves(good) and circles(bad)).

in order to create a "continuous" filter:

{!(0,2,...)} means exclude 0,2,4,... paths

in order to create "specific" things:

{!(0 to 4) and !(8 to 10)} means exclude 0,1,2,3,4,8,9,10

etc etc

http://elsewarecollective.com/AIR/Tutorial%20Videos/AIR_TutorialVid...

BTW: if you need to orient some none symmetrical (for instance add a triangle in one rectangle edge) profile and because of this (notice the plane coordinates for the "left" and "right" curves):

or that :

you should rotate some planes (say the ones corresponding to the "left" curves). 

And for separating the planes ... use the {!(0,2,...)} thing as a mask and after rotating them just merge the 2 trees.

Hi Peter

I did try to orient non symmetrical object as shown here.

It only fails with top circular rail curve. But it works with rest of the curves.

Just to highlight this, I used list component. Can't understand why it fails. While the data structure seems to be correct here !!

Post the definition (and have faith, he he)

BTW: I never said that the orient fails with non symmetrical stuff... it's just the planes that head north/south and ... havoc is assured without rotating the "wrong" ones (or the "good" ones).

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service