Grasshopper

algorithmic modeling for Rhino

Hi there! This is my first post and i hope the last asking for help :P

Specialy for "problems" such the one i am facing..

 

I am making a triangular grid using the triangular grid tool that grasshopper has... but for an unexplainable reason, the point output isn't at the corners of the grid bun on the centre of the grid cells... Can this change in any way? Use the grid corners instead the centres of grid cells??!?!?!

 

i know, is an amateur problem.... but please help! i tried a VB script with diamond grid.. but im not that expert in scripting to change it from diamond grid to tirangular...

 

Any suggestions are welcome...

Views: 4091

Replies to This Discussion

Why do you want only the corner points?

 

You could use the explode component to get the corner points of the cell outlines. If you don't want duplicate points, you can use the remove duplicates component from the Kangaroo plugin.

When using the Kangaroo DupPt component make sure you set the tolerance t = 0.0001 instead of 0. otherwise you might find that some creep through as a result of round errors.

Alternatively if you don't have Kangaroo you can use the Create Set component from the Sets Tab > Sets Panel.

further reading 

Or use a rectangular grid in which x or y spacing is √3 times bigger than the other if you want to stick to equilateral triangle.


There is so much activity in this forum now a days, when i saw the thread with 0 replies i was tempted to just answer: "FIRST".

 

thanks for the answers! :) im very glad that i got answers from all of you!

i will try all the suggestions!

 

@Vincente

i have the kangaroo plugin i will try it that way! 

also i wll try Danny's sets panel. 

 

@Caglar

on Sy what is the expression you declare? Sy=√3*Sx? 

also where is the merge tool?

 

@Danny

thanks for the advices! 

 

if i have any further problem, i will post again... hope not for the same triangular grid... ARGGGGGH :P

The expression is: Sy*sqrt(3)

Merge is under Sets>Tree. You can always double click on canvas and type.

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