Dynamo script

Dynamo script

RVTing
Contributor Contributor
680 Views
5 Replies
Message 1 of 6

Dynamo script

RVTing
Contributor
Contributor

I was wondering if theres a way to get dynamo to tally how may internal and external corners there are in a building?

 

0 Likes
681 Views
5 Replies
Replies (5)
Message 2 of 6

_Vijay
Collaborator
Collaborator

Hey @RVTing , sure it can be done. But you need to ask in the right forum. please ask in the dynamo forum and I am happy to help.

here is the forum link: Dynamo

Vijayakumar
Head of BIM
Did you find this post helpful? Feel free to like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


0 Likes
Message 3 of 6

RDAOU
Mentor
Mentor

@RVTing 

 

What are corners and are you able to define which corner should be identified as internal and which as an external, there could be a way. But as brief as your question it is guaranteed that you will not get the answer you are seeking anywhere, not here and not on Dynamobim

 

 

YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION


0 Likes
Message 4 of 6

RVTing
Contributor
Contributor

i thought maybe Dynamo could identify which is external corner and which would be an internal. this is to count the number of corner soakers in the project. some will be junction between the same cladding and some with junction of different claddings.

0 Likes
Message 5 of 6

RLY_15
Advisor
Advisor

Just some loose thoughts from a person with limited knowledge on wall assemblies but a painfully large amount of knowledge on clash detection/visualization strategies:

 

Dynamo can retrieve wall information in a number of ways: you can GetLocation which will pull the centerline that generates the wall assembly, you can get the element geometry which will get the physical geometry of the assembly in a way that's interactable with raybouncing, you can get the vector that determines which direction an assembly with an 'exterior' face points, and you can get a whole bunch of other stuff I'm sure.

 

You probably need to make the distinction between if you care about corners that are generated by only exterior-assembly walls, one exterior/one interior wall, and only interior walls. I don't know what you're using this workflow for so I'm not going to make that assumption for you. You also probably need to distinguish exactly what a corner 'means' for your workflow: if I have a multistory apartment do the corners of each floor matter? Do the corners of a mechanical penthouse on a roof count? Or is all of this corner identification projecting to a flat plane so floors don't matter for the topic?

 

If you make that distinction, you can use the line geometry from GetLocation as a low-resource way to collect a list of locations/wall elements to check for corners. You probably want to take the list of intersections and see which ones are generated using 'only' endpoints of lines, or within a % distance from endpoints in case of bad modelling. A 'cross' intersection is likely not a corner candidate, a 'tee' intersection is also not likely a corner candidate. An exception would be if you're using that wall assembly and pulling it inside to form column covers (not great modelling but I've seen it done).

 

Once you finish your simple intersection check and simple filter to reduce the number of locations to investigate, you can render the geometry of those specific elements to try and get outside vs inside corners.Naturally, this gets more complex if you look at multiple levels, if you look at complex wall assemblies with thickness/material variations based on height, etc....

 

 

With a more clearly defined intent and set of assumptions for the wall assemblies, we can isolate portions of the workflow and discuss node/package options.

 

And to reiterate what @RDAOU was saying, you need to be more specific to receive support on the Dynamobim forums. Same as here, it's all users supporting each other and people are generally not going to create the script from scratch for you. If you can clearly describe your intent and then break down the intent into steps (showing that you just don't know what nodes/packages to use), you'll get far more traction.

0 Likes
Message 6 of 6

RLY_15
Advisor
Advisor

RLY_15_0-1754610712897.png

RLY_15_1-1754610754849.png


Also probably a relevant question/clarification: how often is siding even rendered as 3D forms instead of a material slapped to a surface? You wouldn't be able to directly use the 3D geometry here, you'd have to pull the Face corresponding to the siding and calculate the number of corner soakers based on a formula.

 

0 Likes