Grasshopper

algorithmic modeling for Rhino

A few Simple queries I hope: List Item component and trim surface.

 

 

Hi everyone.

 

I have been using Gh for a month or two so am just getting over the basic stages I think. I have created a simple definition, and have come across two problems. the first being that the list component I have used is presenting warning messages, however it  is doing the job fine. Why is this? and how can I get around it? or Shall I just ignore it? The second is that I can not trim a pipe with a surface. I have tried several different methods, and am now totally out of ideas. I can't get my head round these two queries. I have posted the GH file and would really appreciate any input.

 

Thanks,

Dave

Views: 588

Attachments:

Replies to This Discussion

Hi David,

 

The error message you are getting for the List Item is "Supplied index too high, no possible solution"

When you examine the input you will see that there are two path structures and one contains only 1 item. So there is no 3 and 9 in this branch. It stems from the circle and the points having different path structures at the input to the move component circled in red.

With regard to the pipe split:

You have chosen to cap the pipe with rounded ends thus making a Closed BRep (Polysurface) so the best way to trim it is to extrude the splitting surface up into a closed Brep and do a Solid Trim.

Alternatively if it was just a single surface (no caps) you could use the Surface Split component to trim it like the image below.

 Note that you need to check your data structures further upstream as you are getting duplications or null values.  

 

Once again I find myself saying thanks to you Danny. Thats gotta be another beer I owe you now. Will keep a check on the data structures. At present I do not have the time to properly explore Gh so am only dabbling at it here and there, but am making steady progress - I think. . . 

 

Thanks again mate.

 

Dave

Hi Danny,

 

Sorry to ask you again, but could you help me out with this expression I'm trying to create. I have been exploring mapping geometry to surfaces with the help of some tutorials and a few from my own imagination with success, but I'm struggling with this one. I have a cylindrical surface which is then split/divided to give vertical segments,  im then trying to map a 3d geometry within the boundaries of each split surface.

 

Im then intending to turn these into one complete mesh which will then be sent off to be rapid prototyped - another new challenge.

 

I have attached relevant GH and Rhino Files. I was going to post a new discussion on this, but figured you'd be the one to reply, so decided to go through this one. hope thats ok with you.

 

Cheers,

Dave

Attachments:

I only now the method with Surface box and Box morph. See picture below. But this got me interested, what's the purpose with Surface morph? 

 

Yes I tried this aswell, but the problem I have is that the new morphed geometries cut in straight lines. I am trying to achieve an aesthetic where the morphed geometry follows the exact curvature of the base surface. this is where the surface morph came into play, as that allows the geometry to be morphed straight onto the base surface, mapping the geometry around it, and not cutting through it point to point.

 

Any other ideas how I might achieve this?

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