How do i realise that sweep profile along a 3D closed polyline