3
1
Back

////////////////////////// ////////////////////////// RingThickness = 5*1; DivotDepth = 1.5*1; DistanceBetweenKnurls = 3*1; TimerKnobConst = 1.8*1; PI=3.14159265*1; KnobMajorRadius = KnobDiameter/2; KnobMinorRadius = KnobDiameter/2 * (1 - TaperPercentage/100); KnobRadius = KnobMinorRadius + (KnobMajorRadius-KnobMinorRadius)/2; Divot=CapType; TaperAngle=asin(KnobHeight / (sqrt(pow(KnobHeight, 2) pow(KnobMajorRadius-KnobMinorRadius,2)))) - 90; hole_bottom = hole_top - 89.75; hole_right = hole_left + 78.5; // Step count (sw11 // step rotary switch - number of pins: 15; pin pitch: 3.50mm; Vertical; threaded flange || order number: 1843664 8A 160V Generic Phoenix Contact connector footprint for: GMSTBA_2,5/6-G-7,62; number of pins: 15; pin pitch: 3.50mm; Angled || order number: 1806313 12A 630V Generic Phoenix Contact connector footprint for: MC_1,5/10-GF-3.81; number of pins: 06; pin pitch: 3.50mm; Vertical; threaded flange || order number: 1830622 8A 160V Generic Phoenix Contact connector footprint for: MC_1,5/10-GF-3.81; number of pins: 04; pin pitch: 3.81mm; Angled || order number: 1847660 8A 320V Generic Phoenix Contact connector footprint for: MC_1,5/14-GF-3.81; number of pins: 05; pin pitch: 3.50mm; Vertical || order number: 1827923 8A 160V Generic Phoenix Contact connector footprint for: GMSTB_2,5/2-GF-7,62; number of pins: 03; pin pitch: 5.08mm; Vertical; threaded flange; footprint includes mount hole for the four plastic clips sliders: 3mm above panel, ample thunkicons: probably too tight; could work with printed spacers mini toggle: ample space above 11.75mm (existing 1p12t rotaries, use 11.25mm holes to PCB edge 4.9399999999999995mm, see https://disti-assets.s3.amazonaws.com/tonar/files/datasheets/16730.pdf 15-pin D-Sub connector horizontal angled 90deg THT male pitch 2.29x1.98mm pin-PCB-offset 3.0300000000000002mm mounting-holes-distance 63.5mm mounting-hole-offset 63.5mm 37-pin D-Sub connector horizontal angled 90deg THT female pitch 2.77x2.84mm pin-PCB-offset 9.4mm 37-pin D-Sub connector, straight/vertical, THT-mount, female, pitch 2.29x1.98mm, pin-PCB-offset 3.0300000000000002mm, distance of mounting holes with circular drills, http://www.alps.com/prod/info/E/HTML/Encoder/Incremental/EC11/EC11E15204A3.html Alps rotary encoder, EC12E... With switch, vertical shaft, http://www.alps.com/prod/info/E/HTML/Encoder/Incremental/EC12E/EC12E1240405.html Alps rotary encoder, EC12E... With switch, horizontal shaft, https://www.bourns.com/products/encoders/contacting-encoders/product/PEC09 Bourns rotary encoder, PEC09, without switch, horizontal shaft, https://www.bourns.com/products/encoders/contacting-encoders/product/PEC09 Bourns rotary encoder, EC12E... With switch, vertical shaft, mounting holes distance 33.3mm 15-pin D-Sub connector, straight/vertical, THT-mount, female, pitch 2.77x2.84mm, pin-PCB-offset 7.699999999999999mm, distance of mounting holes 25mm, distance of mounting holes 63.5mm, distance of mounting holes to PCB edge 15.979999999999999mm, see https://disti-assets.s3.amazonaws.com/tonar/files/datasheets/16730.pdf 15-pin D-Sub connector, straight/vertical, THT-mount, female, pitch 2.77x2.84mm, pin-PCB-offset 14.56mm, distance of mounting holes distance 47.1mm 25-pin D-Sub connector horizontal angled 90deg THT female pitch 2.41x1.98mm pin-PCB-offset 3.0300000000000002mm mounting-holes-distance 33.3mm mounting-hole-offset 33.3mm 15-pin D-Sub connector horizontal angled.

New Pull Request