I'm not sure if I entirely understood your question because that's seem trivial : -1- create a tube object -2- on geometry node enable “Ends Caps” -3- select top face and add an SOP “Poly Extrude” : tweak “Inset” param -4- add another SOP “Poly Extrude” : tweak “Distance” param