Grasshopper

algorithmic modeling for Rhino

How to flip lists within a list? - I've painted myself into a corner with this one!

Background: I'm trying to generate curved pillows shapes from triangular mesh faces.

Problem: I'm trying to find a way to flip lists of U and V points which are generated on a prior collection of surfaces. I've been trying to work out how to use the Path Mapper for this but have been having no luck. At the bottom left you'll see the Explode component, which at the moment seems like it's currently the only way to separate out the surfaces and flip their U and V grids separately. 

Things were messy so I put some components into clusters. Here are the contents of each from left to right:

The list item component is extracting edges perpendicular to the curves that are eventually being created, so that Network Srf can be used to create the surface. Other methods of creating the surfaces were not working.

This cluster is analysing the distance of the points to the surface edge in order to use that as a driver for the curve of the resulting surface.

This component is first setting the vector as the normal of the surface, and then using that as the direction in which to move the points. Points are then interpolated into curves and the curves used to create the surface.

I REALLY need help to fix this so I can do this on multiple surfaces at once.

If there's a way to do this on every surface simultaneously to generate adjustable pillow-like forms (with a surface-generated grid of points' proximity to the edge deciding the resulting curvature) WITHOUT going through this list problem then I'm open to that. (Sorry for the word density.)

Many thanks in advance,

Alex

Views: 205

Attachments:

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service