3D-printed valves