architecture-building-systems / hive

Rhino Grasshopper plug-in for quick & dirty building simulation
https://www.food4rhino.com/en/app/hive
GNU General Public License v3.0
31 stars 4 forks source link

draw surface normals on all windows and walls and roofs #762

Closed ChrisZenhub closed 1 year ago

ChrisZenhub commented 2 years ago

image.png

ChrisZenhub commented 2 years ago

as per discussion: "what if window centroid coincides with wall centroid"? -> hardcode threshold to check coinciding centroids, if yes, randomly move one arrow away, -> assign different drawing properties to windows and walls (e.g., dashed vs solid lines, etc.) -> ..?

ChrisZenhub commented 2 years ago

careful with the grasshopper example above; it turns it into a mesh and then we might have multiple centroids per surface. -> better directly work with original surface. (careful: untrimmed vs trimmed surfaces)

philipschulz commented 2 years ago

image.png this does it