Trying to populate3d a tube but points go outside of tube solid

I made a tube from a curve and inputed the tube into the pop 3d element. The points fall mostly outside the tube. How would I constrain them inside the tube geometry?

This could be a way.


pop3d_Demo_re.gh (6.6 KB)

wow thanks! gonna try it right away!

It works like a charm. I need to keep a defined amount of points after the cull pattern, is there an easy way to do that?

fixed it with a random reduction. Thanks