I used this to connect to pipes together. Model is customizable.
Uploaded parts need heat set inserts and M3 Screws.
OpenSCAD Model can be used to create Parts without heatset inserts.
Source Code
https://github.com/andimoto/things/tree/develop/015-pipe-connector
The author marked this model as their own original creation.