Grasshopper

algorithmic modeling for Rhino

This is my first time using grasshopper for a project, I am trying to create a structure on a grid that fits under any specific surface. Then, I am trying to connect the members at the top of the structure with lines between points from a divide command, but I can't figure out the correct list structure. I don't know how this forum works, but if someone can help that would be awesome.

Thanks

Views: 1117

Attachments:

Replies to This Discussion

hi, you forgot the surfaces(internalized or rhinofile) and maybe a picture/sketch of what you trying to archieve could help.

This file has the base planes and the surface, thanks!

Attachments:
You might find the panel tool useful. If you plug the two inputs you are trying to make the line with you can see what the data structure looks like.

It sounds like you are trying to connect one point to one line so you want the data structures to be the same. If you look on the top right of the panels you want to try and get the same list structure, graft adds one, flatten removes all structure info, simplify gets rid of unnecessary columns in the data (useful to keep things under control to see what's going on). Next time post a screenshot of the grasshopper file, you can save an image in grasshopper. You'll get a better response. Good luck!

See attached

Sorry for using some (totally inappropriate for a novice) things here and there but I had a very limited time for that one.

But I could translate these into native components after the USA MotoGP

Chapulin:

Well .. . you can imagine what I want from you, on that one he he.

Attachments:

First, Thank You! I understand most of what you did, up until you started path mapping, and writing scripts. I am far behind on understanding the scripts, but I think I understand the path mapping. Could explain how you did that? I see that it groups based on the index value, but I think I'm lacking the vocabulary. You switched the "B" value (whatever the A and B values are named, I do not know) and a specific index value, and vise versa. I am just beginning to grasp the logic behind lists, what are those A and B values called, branches?

Well ... if we forget the obvious (code) the 1M question is:

Are you familiar with Data Trees ? (these are an "internal" - to GH - way to manage Lists). If not the explanations about what a Path Mapper can (and can't) do are a bit off-topic.

That said the only way to do anything in GH is to fully master the way to manage Trees. 

Since a good Samaritan is found I've just added some explanations/notes.

Irrelevant to the thread on a per se basis ... I've added something that you may find useful in general (don't bother how it works, just use it):

A Perspective View control: input any collection of points in any definition, choose the from and to point and have fun. Note: very often if a "big item" (the surface) is present and despite the on/off visible state (layer) zoom extends fails (at least in all of my Kepler Quadros) - Rhino does this since the dawn of Time. Meaning that this added thingy could make life easier. 

Note: since your units are Imperial [inches] you may need to adjust values accordingly.  

Attachments:

Check this as well.

I've simplified your def. a bit witout scripting, but the use of path mapper is the same as peter's. Best.

Attachments:

put that §$%& sardines in the cans?

directly after chking out the group thing, i"ll start

Well ... the thing is that the yummy (slightly used) sardines are NOT on sight.

Your last chance: for what "Paris" I'm talking about? And why the pink?

Moral: give me sardines or give me death.

Attachments:

hi Peter,

Who is Paris:Not sure, very close to my name but i think its just coincidence, maybe the princess of SardineLandia?

The Pink is for Paris i suggest.

Slightly used Sardines? What on earth happened to them?

Thanks for sharing this piece of code.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service