Grasshopper

algorithmic modeling for Rhino

Hi Guys, 

I can't for the life of me figure this out.  I need to finish the diagonal lines on the surface below which is going to be a diagonal weave.  I can get all the lines drawn except the last half of the one direction.  All the flipping and reversing doesn't get me the last bit.  Anyone have any idea?

As shown in my definition, I'm currently Shifting the list of points by one, then using Flip Matrix. 

Views: 5090

Attachments:

Replies to This Discussion

Hi Matt,

I am using an older version of gh, and some components are missing when I open your attached file. You did post the definition preview too, but I seem to be too lazy to recreate it.

Maybe you could use the Lunchbox's Diamond panels component instead, then get edge curves from those dimaond panels. Like so:

Or instead of that do you want to have a continuous diagonal lines?

Yeah they need to be continuous as they will start to weave and go through each other.  I actually have that part working, it's just this!

Try this:

But it takes equal division of diagonals in both direction:

Attachments:

That gets the desired effect, but only on a flat plane.  I need the lines to follow the diagonals of any surface :/  Thanks though!

If your surfaces are always going to be somewhat parallel with XY plane, than you can use the attached definition.

Attachments:

Thanks again!  This will have to do for now, though hopefully I can figure out the initial problem eventually.  Maybe if I stare at it long enough it will do something different.

Matt,

You could also do something like this:

Hi Reino, 

What is the .25 command at the top, I've never used that and can't find it. 

Thanks!


Hi Matt, Thats just a random point on the edge of the surface, the command is called Point on Curve:

I can't seem to get it to work.  Does the surface have to be something specific?

Thanks again :)

Attachments:

If you set your Contour distance to 1 instead of 100 you are good to go!

Thanks so much!  Now do you know if its possible to get the intersection points for each line on a line by line basis?  

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service