Finding all Wall orientations (including North-East, South-West, etc...)

I was hoping someone could help me in this problem. As my project require us to see all 8 orientation, North, South, East, West, North-East, North-West, South East & South-West, I’m able to retrieve only North, South, East & West despite rotating the building to 45 degree (Including setting the True North) which led to the same orientation result with the same wall respectively. I have went to multiple discussion forum and everyone seem to be doing only just 4 orientation(N,S,E,W). Hope someone might have encounter this problem could help me.

I have done something like this for a 16 point compass before. Currently learning how to make a package so I can release these. What you want to do is create a few vectors. One for each wall base point outwards, another from 0,0,0 to 1,0,0 and compare the vector angles to the site angle using a vector angle node. Finally use something like x<= ‘angle’ && x>= ‘angle’ to find your orientation of the element where each comparison returns the direction.

2 Likes

I was able to solve it using this method, thank you.

2 Likes

Glad to hear!

Hi notkssy, is it possible to share your script as I have the same problem but still very new to dynamo

johannes.pienaar the graph structure I suggested looks something like this one by l.rozendaal

If you don’t have archilab installed you can use my package HAPattack to get the site north vector and use my compass to select 4 8 or 16 point division. That being said it is version 0.0.1 because its in what I would call alpha right now. (feedback is welcome)

Hi SAM, Thank you for your reply. I can’t seem to download your package. I found it under the Dynamo packaged and all I could download was the ZIP file

Please advise

Regards

Pine

@johannes.pienaar, as you direct message me I just wanted to followup here that the package manager is working as intended for HAPattack as I have had other inquires.

1 Like

Yes it’s working fine

Hi SAM

I ran you HAPattack script using the advance architectural model in Revit 2018. Please see attached the result. Can you assist where
I’m going wrong?

Looks like the site north vector node is broken, I may have to rewrite/make that. I will investigate

Hi

Just a follow up om the HAPattack node? Have you managed to fix yet?

image001.png

image006.jpg

image007.jpg

image008.jpg

image009.jpg

Sorry I’ve gotten busy with project work. I will see what I can do this weekend.