Grasshopper

algorithmic modeling for Rhino

May I ask how to filter out roof surfaces (normal = [0,0,1]), exposed floor surfaces (normal = [0,0,-1]), and other tilted surfaces whose z component of the normal is not zero so as to keep only vertical surfaces for a closed Brep geometry representing a building massing using only native Grasshopper components?

Thank you!

Views: 1579

Replies to This Discussion

If the normal vector of a surface is perpendicular to the vector Z of the world XY, then is vertical.

If (Normal -vector angle- Unit Z) is aprox. 0.5*pi then true.

thanks, Daniel! May I ask how this can be applied in a Grasshopper workflow?

You can promote assistance if you accompany the question with files or images.

Is it what you want?

Attachments:

Apologize, Daniel, for not posting a simple demo file to illustrate my question!

Thank you very much, Mahdiyar! I learn the use of the Equals, Or, and Dispatch components.

May I ask why the input for the evaluate surface component need to be reparameterized?

Actually there is no need to reparameterize this input, but I prefer to calculate the normal vector in the center point of every face, but for planar surfaces there is no need to do this.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service