Grasshopper

algorithmic modeling for Rhino

I have been working a window definition for a facade. Works fine when in alignment with x,y,z planes, but when out of alignment (which it will need to be) I am having trouble creating a rectangle around the point  I have evaluated on the surface. 

Thank you. 

Views: 842

Attachments:

Replies to This Discussion

[Rectangle] builds itself around a Frame. [Evaluate Surface] Produces a Frame (output F) at the evaluation location. The two should tie up quite nicely.

you should supply [Rectangle] with Domains i.e. x = -5 to 5 and y = -3 to 3

Thank you Danny, 

I have gotten a rectangle on the frame and my definition works nicely except I think I am not inputting your domain suggestions properly (see attached). Furthermore, because my surface does not have right angles, the rectangular windows are tilted on the surface rather than corresponding perpendicularly to the global x,y,z coordinates. (see attached). I am unsure how to solve that portion. If you could have a look that would be huge!

thank you

thank you again. 

Attachments:

This is what I would do for tidiness. Have a separate slider for X and for Y. Switch the expressions around so that the negative is at the start of your domain. Then I would use them on the I/O Modifier <Expression>.

Otherwise you were very nearly there. Also in these situations I like to use [MDSlider] for the UV input.

 

I cannot tell what is going on in your definition without the Original Referenced Geometry try internalizing it into GH

Oh great this makes sense. Thank you very much. I have attached the GH file with the data internalized. Also I attached my 3dm file in case the data doesn't show up. I am guessing the rectangle should somehow be oriented towards the global world planes? 

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service