Most plastics are generally safe. PLA, ABS, PTE, polycarbonate and nylon have all been used in marine tanks without deleterious effects. Most aquariums have pumps, canisters, baskets, etc made of these plastics. I'd be a little cautious about the newer plastics like the rubbery filaments, even though I'd guess they're probably also fine.
There was a small amount of evidence that resin based (liquid) 3D printing material affected fish when used in large quantities, like keeping small fish in containers made of those plastics. I can't imagine a part as small as a venturi having a noticeable effect though.
Both Nylon and ABS have been used forever, I really wouldn't worry about it.