Note: use of this code is DEPRECATED
With the new library:
generation of this pump degrades to a few lines of code.
New version using the new library:
This is the center part of a progressing-cavity-pump (PCP-pump or moineau-pump)
It implements the design approach with alternating epi- and hypocycloids which avoids cusps/kinks (the curve is C1 but not C2 continous)
Right now it uses two and threefold symmetry for rotor and stator respectively, but it shouldn't be hard to change it to any N and (N+1) symmetry (it's prepared) like three and four for more sturdiness or one and two for more throughput.
It is a positive displacement pump and thus provides (if the clearance would be zero) constant flow with arbitrary pressure. At no time the input and output section is directly connected. It is suitable to pump high viscous liquids possibly mixed with solid particles. You can find more info on wikipedia.
Major tweaking points are marked with arrows.
Currently wall thicknesses are faked by scaling correctly for the radial component and rotating incorrectly (by eye) for tangential component. An offset in the epi and hypocycloid functions would be better.
For the initial print I used a very high clearance of 0.6mm to make sure it will fit.
If your printer is tuned well I recommend to reduce it a lot and make a new stator *.stl.
There are also conical PCPs which by nature cant be completely tight if made out of noncompliable material.
I am thinking about a steel printed version for re extrusion of PLA and PET plastics. Judging from the PLA melt artworks PLA should flow in by gravity. Sadly I had no success trying to "gravity melt" PET in a steel-can at 230ÃÂ° in 15min. Melting it with an soldering iron at that temperature works like a charm ... why the difference?
For now this is a huge one just for fun and maybe for (off printhead?) paste extrusion.
You may want to reduce the clearance for the stator.
There is still a lot of work to do for inclusion into a working project.