Geometry.SplitRecursively


Performing recursive actions with nodes is never easy. You usually have to resort to some form of a script. The below case is a good example of this. It uses Dynamo’s DesignScript language to recursively cut the resulting geometry over and over, until the list of cutting tools is exhausted. For a successful result, the cutting tools have to be sorted in the order of which the geometry should be cut.

 

dynamosandbox_2016-12-16_21-18-28

Inputs:

  • geometry: the solid or surface you’re trying to split
  • tools: the objects you’re trying to cut your geometry with, for example a list of planes or surfaces.
  • pickPoint: a point that is near the end of the cut tools and controls the direction of the cut.
Advertisement

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 )

Facebook photo

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

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.