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.
Advertisements

Data-Shapes Node Index

Package published by elayoubi.mostafa

Current nodes:

Add Shared Parameter(s) from txt Add shared parameters to project from SharedParameter .txt file
All Lines of LineStyle Gets all lines in a project with a giver LineStyle
Categories list Gives list of all Revit categories and a matching list of their names
Duplicate Element Duplicates all types of elements including view templates
Element(s) cut Cutting element(s) with element
Export to FBX Exports 3D views to FBX format
Export Views to NavisWorks exports 3d views to NavisWorks
GetLinkedElements.ByHostView Get all linked elements in host view, following visibility setting of host view
GetLinkedElements.ByHostViewAndCategory Getting all linked elements in host view filtered by categories
Grid.SetVerticalExtents Set the vertical extents of all project grids
Line LineStyle Gives LineStyle name and element of Lines
ModificationTracker.AllChanges Takes ExistingElements Data as input and outputs lists with all geometry/parameter values change combinations . Check out http://www.Data-Shapes.net for more informations .
ModificationTracker.GeometryChanges Takes ExistingElements Data as input and outputs elements with same geometry and elements with changed geometry . Check out http://www.Data-Shapes.net for more infos
ModificationTracker.ModelComparison Compares elements from the current version of the model and a previous version (Current version is the current document by default) and returns existing elements data, new elements, deleted elements and a report. Check out http://www.Data-Shapes.net for more infos.
ModificationTracker.ParameterChanges Takes ExistingElements Data as input and outputs elements with same parameter values and elements with changed parameter values. Check out http://www.Data-Shapes.net for more infos.
ParameterGroup List List of all parameter groups
RayBounce On Link Category Same functionality as raybounce but takes linked model elements of selected category into account.
RayBounce On Linked Model Same functionality as raybounce but takes linked model elements into account
Replace viewports by center Replaces vieports on sheets according to list of points. (0 _0) is bottom left of sheets
Select Face (s) (PickObject) Same as OOTB Select Faces _ but can be used through Dynamo Player
Set Active Family Parameter By Name Set a parameter inside an active family document
SharedParameters from txt file Gets parameters from SharedParameter .txt file
SlabShape.AddPoints Add points to slab shape
UI.Boolean input Creates a boolean input for UI.MultipleInputForm ++ . Check out http://www.data-shapes.net for more infos!
UI.ColorInput Data Create a color selection input for UI.MultiInputForm++ . Check out http://www.data-shapes.net for more infos! Warning : Only works with Revit 2017
UI.DirectoryPath Data Creates a DirectoryPath input for UI.MultipleInputForm ++ . Check out http://www.data-shapes.net for more infos!
UI.DropDown Data Create data for DropDown input in UI.MultiInputForm ++ . Check out http://www.data-shapes.net for more infos.
UI.FilePath Data Create filepath input for UI.MultipleInputForm ++ . Check out http://www.data-shapes.net for more infos !
UI.Listview Data Create data for ListView input in UI.MultiInputForm ++ . Check out http://www.data-shapes.net for more infos.
UI.MultipleInputForm Create a form with multiple inputs.
UI.MultipleInputForm ++ Create a form with multiple inputs.
UI.SelectEdges Data Creates a Revit edge selection input for UI.MultipleInputForm++ . Check out http://www.data-shapes.net for more infos!
UI.SelectFaces Data Creates a Revit face selection input for UI.MultipleInputForm++. Check out http://www.data-shapes.net for more infos!
UI.SelectModelElements Data Creates a Revit element selection input for UI.MultipleInputForm++ . Check out http://www.data-shapes.net for more infos!
UI.TextBox Data Create Data for TextBox input in UI.MultipleInputForm ++ . Check out http://www.data-shapes.net for more informations
UI.TextNote Data Create Data for TextBox input in UI.MultipleInputForm ++ . Check out http://www.data-shapes.net for more informations
WallSweepOnWall Creates a wallsweep or reveal on a wall

datashapes20170104

Home page: https://data-shapes.net/