Revit dynamo - Create a "digpit" with input values and existing topography - example 4

1. Input

Select model element, here we select the existing topography, which will be used as the upper limit for the “digpit”. Next, we select the bottom surface of the construction we would like to create a “digpit” around. The three last input values are 2 different distances and an inclination/slope, the picture below explains these values. 

Picture 1
  1. perimeter, bottom pit

The task here is to create the bottom surface for the “digpit”. We do that by selecting the curves on the selected bottom surface of the construction.  Further, we use the input values a and b to offset the selected curves with Polycurve.offset, both down(a) and outward(b), as shown in the video. We have now created the bottom surface for the “digpit”

Picture 2

3. perimeter, top pit

The next step is to use the surface created in 2. Perimeter, bottom pit, to offset and create a perimeter, top pit. We use the last input value (c) in conjunction with Number higher than topo.d)(important that this number is greater than the distance between the bottom surface and top topography), to determine the slope. 

Picture 3

4. Revit import

Combine the Polycruve.Byjoined.curves for top and bottom of the “digpit” to create a solid with Solid.byloft.

Picture 4

5. “digpit” split

Here we use the same principle from example 3, where we split the solid with the existing topography into two pieces. The bottom piece will be imported to revit as the “Digpit_1”

Picture 5

6. Revit

Here we use the same principle from example 2, where we split the solid with the existing topography into two pieces. The bottom piece will be imported to revit as the “Digpit_1”

Picture 5

7. Conclusion

Picture 6
Picture 7

Check out how to create a topography in example 1 and. how to create a void with dynamo in example 2 and example 3