Grasshopper

algorithmic modeling for Rhino

As you can see on this image, there is a line (points on it are created separately) in the bottom of the stack that is numbered nicely, and above it, there is a wacky grid, that is numbered in a weird fashion (no idea why, would like to hear the answer) that I want to learn how to control the order in such situations.

I want to use relative item component to triangulate the grid for structure visualization. 

Feel free to alter and suggest easier ways for doing that, oh gods of grasshopper, cheers.

Views: 938

Attachments:

Replies to This Discussion

This roughly what you're looking for? I picked the edges directly off the surface via Rhino rather than extracting them from the Deconstruct Brep component. Either way works, I just prefer to pick the edge I want with the mouse rather than a slider.

Attachments:

Omg, the coolest grasshopper god!!!

Hey David,

Thank you for reply, I'll delve in immediately.

Did you notice the weird structure of the grid from the intersection component? It was structured like a fir branch, if you know what I mean. Could you explain why did that happen?

Ah PathMapper, I went with ShiftPaths :) Another highly rated component :)
I added a (w)hacky way to do this using the MultipleCurves(MCX) component: Edit: the Simplify on the Replace (R) input is superfluous~

Attachments:

This one is nice, the way I like it. I will try to arrange them vertically now to understand how it works (turns out I need them vertically anyway XD)

Thank you!

Just reverse the connecting order to the MultipleCurves component to get them vertically arranged :)

Notice I don't recommend this approach, using the CurveCurveIntersection component makes more sense.

Ok, I'll try to go with CCI component now.

Btw, replace paths component worked with index A list directly, handy))

Edit:

Yeah, curve | curve intersection component works cleaner and creates a sequential grid of points later on, no wackiness, yey.

Thank you and Armin Seltz for the knowledgeable advices.

Ah - yes, of coarse ~:
Good catch!

If you decide to go the MCX-way, I would normally use AssignPaths from Human's Treefrog, but I somehow decided to make it with only native components this time - not sure why.

Once again, hi and thanks for the help.

I looked into your definition, turn the grid in vertical order, when I realised that I needed to include the top and bottom rows as well, this is where I've met my nemesis. I'm not experienced enough to merge and edit nonuniform grids into something meaningful for relative item component for triangulation.

Here is an example of what I wanted to do but didn't know how:

Ah, David beat me by 3 minutes.

The key is using the single curve | curve intersection component rather than the multi-curve one, because for that all the curves have to be flattened and you lose the tree structure for proper numbering.

Hope this helps too.

Attachments:

Hi Armin, 

Yes, CCX, worked better, thanks for the reply, now the order is back:

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service