Flatten NURBS curve

Moderator: GiD Team

Post Reply
User avatar
vpapanik
Posts: 49
Joined: Sat Oct 08, 2016 1:05 pm

Flatten NURBS curve

Post by vpapanik »

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 ?
User avatar
escolano
Posts: 1918
Joined: Sun Sep 05, 1982 10:51 pm

Re: Flatten NURBS curve

Post by escolano »

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.
User avatar
vpapanik
Posts: 49
Joined: Sat Oct 08, 2016 1:05 pm

Re: Flatten NURBS curve

Post by vpapanik »

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.
Post Reply