How to implement CPR (curved planar reconstruction) from centerline?

A post was split to a new topic: Loading markups curves from fcsv file