# Flatten NURBS curve

**URL:** <https://forum.gidsimulation.com/t/flatten-nurbs-curve/2539>\
**Category:** Geometry\
**Created:** [March 18, 2020, 9:42pm UTC](https://forum.gidsimulation.com/t/flatten-nurbs-curve/2539 "2020-03-18T21:42:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vpapanik](https://forum.gidsimulation.com/user_avatar/forum.gidsimulation.com/vpapanik/32/15_2.png) [@vpapanik](https://forum.gidsimulation.com/u/vpapanik)\
**Post date:** [March 18, 2020, 9:42pm UTC](https://forum.gidsimulation.com/t/flatten-nurbs-curve/2539/1 "2020-03-18T21:42:02Z")

</div>

I have a NURBS line that lies on the XY plane and belongs to an edge of a surface. I want to elevate both ends of this line to a new Z elevation. However, the line become distorted. Is there any easy way to edit all the internal points of the NURBS line to have the same Z elevation and then rebuild the surface ?

---

<div class="post-metadata">

**Author:** ![escolano](https://forum.gidsimulation.com/user_avatar/forum.gidsimulation.com/escolano/32/6_2.png) [@escolano](https://forum.gidsimulation.com/u/escolano)\
**Post date:** [April 9, 2020, 7:34pm UTC](https://forum.gidsimulation.com/t/flatten-nurbs-curve/2539/2 "2020-04-09T19:34:53Z")

</div>

It is not possible to deform a shape as you want, because in general the curves and surfaces connected to the part to move cannot be deformed in a compatible way.

It is possible to re-build a ‘wrong’ surface that doesn’t mach its moved boundary with  
Geometry-\>Edit-\>Rebuild surface from boundary  
and select the surfaces

Probably in your case the best option is to do a copy of the curves moved to z, delete the original surface and two curves of the points to move, create again these curver ending in the new location, and create a new surface with its shape from the boundary curves.

---

<div class="post-metadata">

**Author:** ![vpapanik](https://forum.gidsimulation.com/user_avatar/forum.gidsimulation.com/vpapanik/32/15_2.png) [@vpapanik](https://forum.gidsimulation.com/u/vpapanik)\
**Post date:** [April 10, 2020, 7:23am UTC](https://forum.gidsimulation.com/t/flatten-nurbs-curve/2539/3 "2020-04-10T07:23:19Z")

</div>

Thanks a lot, this is exactly what I do, since I have no script access to internal node coords of a NURBS line, in order to alter them using a script.
