Match Adjacent Floor Points

Continuing with last week’s theme of automating Slab Shape editing, another useful function that can be done in Dynamo is matching adjacent Floor points. So if you’ve taken the time to modify the points of one Floor, you can automatically match the adjacent (or overlapping) points of another Floor.

For this definition, I created a node that will get the adjacent points of two Floors and, when combined with Clockwork’s List.ReplaceItemAtIndex, it will replace the points of Floor 2 with the points of Floor 1. UPDATE: This definition will reset all non-adjacent points to 0, for an updated definition, see Match Floor Points Update.

floorpoint_def01

However, for this first definition to work correctly, both Floors must already be converted to slab shapes.

floors_01a

Here it is in action:

gif_matchfloor_short

The definition can be modified to work on a flat Floor that has not yet been converted to a Slab Shape.

floorspoing_def02.PNG

It requires a few more nodes, including Input.Wait from SpringNodes.

floors_01

This more complex version should work on a flat Floor or Slab Shape, but it will not work on a sloped Floor. If the Floor has a slope you will need to convert it to a slab shape first (but then you can match adjacent points using the simpler definition).

floors_02

Advertisements

5 thoughts on “Match Adjacent Floor Points

  1. Nice, a real timesaver! Is it possible to only change the adjacent points and not reset the other ones to zero?

    • Ah, I thought I had worked that out… apparently not. Yes, it is doable, though I’ll need to modify the node. I’ll post an update soon. Thanks for letting me know.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s