done in Grasshopper for Rhino. Additional smoothing done with Weaverbird component for Grasshopper.