Creating pipework looking structure within a volume

Second picture looks like pufferfish‘s discrete polyline

https://www.food4rhino.com/app/pufferfish#lg=1&slide=9