Grasshopper

algorithmic modeling for Rhino

How to determine the angles at the grid point in the grasshopper?

Hello!
It is necessary to display at each grid point adjacent corners of each triangle?

Tell me what you want to add to the algorithm in grasshopper to do?

Views: 1630

Attachments:

Replies to This Discussion

this does it.

only problem I see is you can't easily control the size of the dimension's arc.

nikos

Attachments:

Thank you very much Nikos!!!

You can even question whether it is possible then to group nodes with the corresponding angles at them and let the angles less than 50 degrees to illuminate in blue?

Hello Gotzman,

I am afraid that color is not available for the dimensions components at the moment. It would only be possible to feed the less-than-50-degrees-angles into a seperate [AngleDim] component and turning this on and off. Would that be ok?

Also I don't understand the point of your other request. It is possible to group your points differently before feeding them to the [AngleDim] component, but it's pointless since the component is close-ended (it doesn't have an output to continue your definition from). The only thing that would make sense is to have the [angleDim] display only the angles around one node at a time (chosing the node with a slider, for example). Is this what you want?

Hello, dear Nikos!

The final aim of all these manipulations. To grasshopper itself depending on the angle adjacent to the grid node determines the radius of the tube on normal from this site?

the logic of the algorithm: if any of the corner near node grid say 50 degrees less than the diameter of the pipe runs along the normals of the node say 200.

Attachments:

Hello Gotzman,

I am not sure I understand exactly what you are after. Here is a definition that groups the angles around each node and at the end it breaks into 3 different [AngleDim] components so you can display:

1. All angles

2. Angles that are smaller than a number(chose number from the CONTROLS group)

3. Only the angles around a specific node (chose node from the CONTROLS group)

Can you please explain a little better what you are trying to do?

Do you want to create pipes around all the mesh edges?

If so, what is the rule for the pipe's radius?

If it starts or ends on a node that has at least one angle<50 then its radius is 100?

And if not?

Hello, dear Nikos!

Thank you very much for your reply! 

To one side the grid node 6 different angles. We know their size. From the node goes normal. The normals pipe goes a certain radius. Whether it is possible to do so, for example if one angle is less than 50 degrees is the radius of the tube 40 for example, and so on for each node?

Attachments:

Hi Gotzman,
did I understand correctly that the smallest angle should determin the pipe radius? I've attached a quick gh sketch for you to test. Got to go now, shelter dogs are waiting for me to go for a walk :)

Attachments:

Hello, dear Pieter!

Yes, you understood it right!

Thank you very much!

I have a clarifying question!

Is it possible to add something as a condition if parameter memory (and, or) for example if I have a Range of angles, or to choose a certain Range?

You're welcome Gotzman, glad I got it right. It's possible to use nested conditions, but I used some dedicated GH components here:

Attachments:

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