Grasshopper

algorithmic modeling for Rhino

Hey All,

Quick question.  I'm stalling on a simple problem - connecting the points of the panels as shown in the image, rather than connecting them within the panel itself ...
(the image shows only 2 examples, but I would of course like to connect them all, to 'fill in the gaps')


By the way, this is for version 0.6.059 ... 

raw unedited gh file attached ...

cheers.

Views: 1398

Attachments:

Replies to This Discussion

If you're willing to break away from 0.6.059, version 8 introduces a very easy way to accomplish this, using the new relative paths component.

Attachments:
Can you explain how the relative path implementation works...

Specifically, why is the offset is causing some branches to be culled?

And what is the difference between the A and B output?
This is, to be honest, the first time I've used it, so I might misrepresent it a bit. As I understand it, it basically operates like shift list, but on paths instead of items - my input says {0;0;0;0;1;0}, which shifts the 5th level of tree hierarchy by -1 and 1, output into A and B respectively. The two boolean inputs to the component control whether or not paths and items wrap, and since they are both false, there is a culling of branches.

edit: just noticed david posted a much more thorough explanation of it here: http://www.grasshopper3d.com/forum/topics/grasshopper-080002-availa...
Yeah, I did read that but a visual example would help immensely...
I'm running v8 on my personal machine, but the campus machines will not be updated until next semester so for now we've got v6.

Thanks for the advice on the new component, and your sample script - I had not attempted to use it as of yet.

It would be very useful for me, and probably others to understand the basics of something like this without the use of the new component as well.
Wooo the use of this componet here seens to be amazing :D
Thanks again!

upon opening the file up in v08, I'm noticing something odd ...

The t from the Divide Curve component is outputting values from 0 - 1 (making the surfaces very small of course), as opposed to values that would represent more accurate dimensions along the line. In v06, and from what it seems like in your file as expressed through the image above, it is working just fine ....

?
anyone have any insight on this?
Sorry, didn't see this question until now. t-parameters don't represent dimensions - they are a function of the domain of the curve, which usually has nothing to do with the curve's dimension. For simplicity's sake, it is common to "reparameterize" curves to guarantee that their domain is reset to be from 0-1. Lines between two points generated in grasshopper automatically have the domain from 0-1, whereas straight lines generated in rhino and referenced will have a domain related to their length. In general I always choose the "reparameterize" option for my curve parameters in order to guarantee predictable behavior.

Hope this answers your question!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service