-
Notifications
You must be signed in to change notification settings - Fork 0
Home
This is a library of modules and functions to create PVC pipe models within OpenSCAD.
Models start by selecting a PVC specification. A range of public PVC specifications are inline to the library: they define diameters and thicknesses and thread sizing for existing piping.
Once a specification is selected, it can be reused over and over to create many individual PVC components.
Individual PVC parts can be quickly modeled and attached to each other using BOSL2's Attachment feature.
A simple example:
pvc = pvc_spec_lookup(schedule=40, dn="DN20");
pvc_flange(pvc)
attach("B", "A")
pvc_pipe(pvc, 30)
attach("B", "A")
pvc_elbow(pvc, 90)
attach("B", "A")
pvc_cap(pvc);
...would yield something that looks like:
There's other examples in the examples directory.
Info on how to install openscad_pvc
and the external libraries needed can be found at the Installation wiki.
A full overview on selecting PVC specifications by schedule, the parts supported, and on joining individual PVC parts, can be found in the library reference document.