Grasshopper

algorithmic modeling for Rhino

I have 1 path with 870 items.

I want 87 paths with 10 items.

Whats the best way to acheive this?  I've read every post and I'm really struggling with Path Maper.

Views: 1237

Replies to This Discussion

Perhaps you should more clearly explain what you want to do. What is your input, how you want to manipulate the input etc.

 

More specific.

Hi Greg

you should be more precise and add screen-captures of your def

but take a look on this definition

Hi to],

I dont know how to write those lexical operation well, is there a guide for that?

For example, in your {A;floor(i/10)} 

Is the programme going through each i during the assign, and calculate the path that is based on floor(i/10) and then map it to the new path?

 

This is elegant.

Hi Victor

just right click on the pathmapper component and read the help David supports

floor and ceiling are programming functions

floor = round down

ceiling = round up

in my example is i the count of the items of path {A;B}

so 870/10 = 87

so it creates 87 paths with 10 items

 

best to]

 

Victor Leung,

This post was a big help in understanding Path Mapper,

http://www.grasshopper3d.com/forum/topics/path-mapper-component-what

Sorry, thanks for the help.

I've read a file that contains a point cloud from my CNC/Digitizer.  I would like to make a surface from these points.  when I connect the points, the IntCrv command makes a continous curve, so I can't loft a surface.  I tried to divide the curve, but the points are not evenly divided. There are 878 pts and 1 curve (1 path, 878 items).  So, I would like to seperate the curve to loft a surface. 

 

I hope that is clearer.  Thanks again.

 

I'm not pro on that, 

 

my gut feeling is that if your points are scanned in a spiral manner (which appears to be in the result from InterpolateLine) , than you probably have to restructure your points into rolls (like a grid), then to do interpolate curve on the points in each roll. This depends on your input.

 

See if sort point works for you, I doubt, but worth a try.

 

See also if using a point cloud plug-in would help, despite I never used one :(

Thanks Victor,

I'm trying to sort the pts right now.  Yes, they are in a spiral pattern.  My digitizing program will only scan in this manner.

 

There are plenty of point cloud programs on the market, but I know GH will do it.  Plus I don't want to spend the money for a point cloud program right now($400).  If I spend much more time on GH, then it'll be more cost effective to just buy the point cloud program.

to],

Your def does what I was trying to do. 

Thank you and have a Merry Christmas.  Actually, Merry Christmas and Happy Holiday to all.

 

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service