filmov
tv
Dynamo: Automatic Sort and Sequence Piles

Показать описание
This video demonstrates a Dynamo graph that sorts and sequences piles by their locations along X or Y direction. The sequence is mapped to a series of sequential numbers and feed to the piles' "Mark" parameter.
I have this pile model that consists of two types of piles, namely spun piles (SP) and bored piles (BP). My task is to sequence the piles from south to north along the west-to-east direction, and present the sequence in a series of sequential numbers.
In earlier iteration of this graph, I used "rounding" to group the piles prior to sorting them. It works on uniformly positioned piles, however, there's an obvious flaw in the "rounding" method when it comes to piles been position on a "chaotic" fashion like the test model in the video.
For that I've switched to "pile distance" sorting/grouping logic in this iteration, which sequences the piles in a way that makes more sense.
I wrote about the flaw in the "rounding" method in the following post, if you're interested
The logic employed in this graph can be adopted to sequence columns, though in that case we may need to take Z-coordinates into consideration.
Timestamps
0:00 Context
0:50 Input nodes
3:53 Executing the graph with different type of sequencing and sorting directions
7:33 Anatomy of the graph
#visualprogramming #visualcoding #visualscripting #revit #revitdynamo #dynamobim #dynamo #parametric #automation #bim #buildinginformationmodeling #lowcode #nocode #lowcodenocode #piling #foundation #sorting #sequencing
I have this pile model that consists of two types of piles, namely spun piles (SP) and bored piles (BP). My task is to sequence the piles from south to north along the west-to-east direction, and present the sequence in a series of sequential numbers.
In earlier iteration of this graph, I used "rounding" to group the piles prior to sorting them. It works on uniformly positioned piles, however, there's an obvious flaw in the "rounding" method when it comes to piles been position on a "chaotic" fashion like the test model in the video.
For that I've switched to "pile distance" sorting/grouping logic in this iteration, which sequences the piles in a way that makes more sense.
I wrote about the flaw in the "rounding" method in the following post, if you're interested
The logic employed in this graph can be adopted to sequence columns, though in that case we may need to take Z-coordinates into consideration.
Timestamps
0:00 Context
0:50 Input nodes
3:53 Executing the graph with different type of sequencing and sorting directions
7:33 Anatomy of the graph
#visualprogramming #visualcoding #visualscripting #revit #revitdynamo #dynamobim #dynamo #parametric #automation #bim #buildinginformationmodeling #lowcode #nocode #lowcodenocode #piling #foundation #sorting #sequencing
Комментарии