Grasshopper

algorithmic modeling for Rhino

Hi everyone,

I just started to use grasshopper 4 months ago. I have a question about using pathMapper in my context. I want to create Logarithmic spiral in my surface, based in 2 lofted curves. The surface is divided in UV directions, and each faces would have an X number of spirals based on user input in intSpiralAmount variable. And intConstant is the inner loop created by rotated-X-amount of spirals in each of faces in the base surface. I want to use path mapper to distribute equal number of spirals, (for instace: 5 rotated spirals in each face), to the surface. But it seems the data organization in my path mapper does not work well, and it cause the rotation of spirals seems messy. And I also dont know why the grasshopper suddenly turns out to run very slow. use VBscript to generate the spiral shape. I attach the grasshopper file, please check it out and drop some comments. Please help me, thank you,

Views: 357

Attachments:

Replies to This Discussion

Here is my suggestion:
1. the VB component only generate 4 spiral curves based on a given point as the center for spiral curves.
2. Find the center points (or center of weight) of all subsurfaces derived from the source surface.
3. Send the center points to the VB component.
If you send 15 points to the VB component, it will then return 15 * 4 spirals.
Hi June,

Thanx for replying. Initially i was thinking just as the way you described. But the think is, as you can see in my ghx, I use MorphBox to deform SetsOfSpirals. I will describe it like this:

I have 3 List in my VB:
List of points (arrpoints) --> obviously to construct one curve of spiral
List of Curves (objCurves)--> this list contain the copy and rotated one curve of spiral into intSpiralAmount number, I may say its a package of Curves, but still on one face
List of Spirals (setsOfCurves)--> this list to contain the real spiral with each having intSpiralAmount curves, and the (setsOfCurves.count) would be U*V value of the base surfaces.

So, even though there are for example there are 60 curves, but there are only 15 spiral here. Since each face in base surface has package of (4 rotated curves, which is 1 spiral). Sorry for using this confusing term. But, what i want to explains is that there will be only 15 variation of spiral (according to the number of faces in base surface)with different innerRadius (based on intConstant1).

The think is that i want to use ecotech eventually to generate the intConstant1 (innerRadius), so they have different opening. So, there will 15 different openings.

I use the morphbox instead of finding the centerpoint, since it morphbox could adjust any form according to size of each face in your surface. As you can see in the panel String output, I think already have an order of (4 curves made in each face) using pathmapper, which is good. But, the problem is that, im not sure that it is in the right order. I mean, perhaps it just create a random order of that amount in each face.

I dont know if i explained that well. Please advice

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service