// Necks & Caps for DIY projects // Xavan June 2016 //https://www.thingiverse.com/thing:1654620 //***** Bouchons / Caps ***** //38mm3start (); //28PCO1810 (); //28PCO1881 (); //TestMotif (); //***** Goulots / Necks ***** //N38mm3start (); //N28PCO1810 (); //N28PCO1881 (); //TestMotif (); // threadform test //***** ************ ***** $fn=64; module screw (Sta,End,Pas,Ray){ // filet - thread Ste=5;//pas angulaire //Pas mm/360° //Ray rayon centre du motif //Sta angle de départ //End angle de fin for (Rz = [Sta:Ste:End]) {//Rz rotation Z a= Rz>Sta ? 1: 0; b= Rz