Grasshopper

algorithmic modeling for Rhino

Hello,

How can i modify SubSrf(isotrim) pattern to get some like this(see pictures)?

I used Lunch Box Pattern but in this case it doesn´t work because i get a gap between surfaces.

Regards,

Felipe

Views: 2562

Attachments:

Replies to This Discussion

Kyle,

The same problem with PullCrv component.......gap.

is there a way to modify regular Isotrim pattern like lunchBox StaggeredQuadPanels?

Regards,

Felipe

Attachments:

You can do it with native gh components as well...this one uses the component group "tree sloth" to manage some of the data handling, which is posted in the group "Milk Box" which I think you'll need to join in order to get it: http://www.grasshopper3d.com/group/milkbox/forum/topics/tree-sloth.  (If you don't want to, then you have to do some data and list management with native components, which is totally doable...but I made tree sloth for exactly these types of operations)

Basically, you divide your surface into your UV domains, and then partition them so that you have a data path for each set of U domains by dividing them up according to the total V domain divisions (make sure your V domain is an even number).  Then you use the divide branch component from tree sloth to sort your branches into two data structures (you could alternately do this using split tree, but you'll have to feed it a dispatched list of paths first)...then with one set, dispatch your domains with a True/False pattern, and rebuild new domains with the start of the UV from the first list and end of the UV from the second.  This way, your first one row of panels will each consist of domains two "V" units long and one "U" unit high.  With your second set of paths, get the first and last values out (either with list items, or as here with tree sloths first/last component) and set them aside.  Then you're going to get the rest of the values in the list (here using tree sloth trim ends...you could also use two shift components with wrap set to false to shift the ends out of existence) and perform the same operation of doubling the domains as above with the remains.  By recombining these, you'll have 1/2 of a double panel at the beginning and end of every second row, and your double panels all along the middle.

Attachments:

please post your gxh file so I can see the problem.

Hi David,

This is so cool!  I was wondering if its possible to make them change size according to the curvature. For example, could you scale them to get smaller as the they get closer to a curved part of a pipe?  I've attached an image at my attempt, but I didn't use this stagger isotrim script you have here! I feel like it would help if I could implement this into it.  

Attachments:

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