To create a pcurve

Limit a surface to create a pcurve: