This is a simple snap-fit joints library based on "Snap-Fit Joints for Plastics - A Design Guide" by Bayer MaterialScience LLC .
The idea is to correctly dimension the snap-fit joints, according to the elongation at break that can withstand.
-The global variable eps define the material (e.g. PLA: eps=0.03; ABS: eps=0.06)
-The dimension are the same reported on Design Guide. For simple cantilever snap it is also possible to define h or y (see figure)
-The value of K2 or K1 used in Ring snap could be taken from Fig 10 of guide (but the default K=2 should be ok).
I have also added some simple example on the use of the library. I also printed the cable clamp, and it works well.
it is suggested to print snap-fit cantilever on the XY printer plane.
New version : 0.36
added SnapHoleY module
Bug Fix: 0.35
on the basis of the shanemgrey reporting:
on RSnapY I have added a check to avioid interference of lobes during closure; on RRSnappY I have added a check to avioid overlapped lobes. also the snapLib.Example files is updated.
New version: 0.30
Added Scale factor f to reduce the calculate value h or y (this maintain the snap on unbreakable zone when f>1)
added function Hsnap and Snap to calculate the snap H or Y for cantilever snap (useful to define the snap bores)