Retrieve topo contour lines and smooth curves

Hello community,

We would like to be able to smooth topography contour lines, similar to the smooth modifier we can find on any modelling software.

We have seen a couple of workflows like the ones in the links below.

[https://landarchbim.com/2016/01/20/toposurface-to-nurbssurface/]
https://www.youtube.com/watch?v=yxSCRXmN9hM

Is it possible to retrieve topo contour lines without creating the physical intersection with a number of planes, just read these curves?

Then once we get the curves and create nurbs, is it possible to divide a nurb curve?

You can access lines drawn by Revit trough API - see https://www.revitapidocs.com/2020/d8a55a5b-2a69-d5ab-3e1f-6cf1ee43c8ec.htm. There’s no need to create slices.

You can divide Nurbs:
https://dictionary.dynamobim.com/#/Geometry/Curve/Action/PointAtParameter

1 Like

Thanks guys,

Contour lines can be retrieved using Element.Geometry

Then we can smooth curves using PolyCurve.Fillet

Hello,

Could You please post a screenshot of the node pipeline You used?

Thank You in advance!