MANAGE THOSE ATTRIBUTES
Attribute management is one of the most important factors to maintaining control throughout the script. The easiest way to keep the data stream lean and consistent is to branch operations and then copy relevant attributes back to the main stream by id – including P. When working with hair, use prim ids and prim points to copy data in an attribute wrangle. This will enable carving and resampling curves without worrying about scrambling attributes. Aside from that, keeping a uv attribute on the curves is one of the best ways to add an extra level of control during operations.