GMT Project projecting all data points to cross-section

I think you are after buffer polygons. See gmtspatial -S. Not sure if there is an option to trim the half-circle tips.