3
1
Back

Settings ////////////////////////// RingThickness = 5*1; TimerKnobConst = 1.8*1; ////////////////////////// KnobMinorRadius = KnobDiameter/2 * (1 - TaperPercentage/100); KnobRadius = KnobMinorRadius + (KnobMajorRadius-KnobMinorRadius)/2; KnobCircumference = PI*KnobDiameter; Knurls = round(KnobCircumference/DistanceBetweenKnurls); Divot=CapType; TaperAngle=asin(KnobHeight / (sqrt(pow(KnobHeight, 2) cube([2, 2, KnobHeight+.001], center=true); if (Pointer2==1 cube([8, 3, KnobHeight], center=true); if (RingWidth>0 cylinder(r1=KnobMajorRadius + RingWidth, r2=KnobMinorRadius, h=RingThickness, $fn=50, center=true); if (Pointer2==1 cube([8, 3, KnobHeight], center=true); // Pointer1: Offset hemispherical divot sphere(r=DivotRadius, $fn=40); // Divot1: Centered cylynrical divot // Divot1: Centered cylynrical divot // Divot1: Centered cylynrical divot // Flat for D-shaped hole // D shaft shape for shaft cutout // set screw locations. // for inset labels, translating to this height controls label depth label_inset_height = thickness-1; // Width of module (HP) width = 17; // [1:1:84] width = 17; // [1:1:84] width = 12; // [1:1:84] /* [Holes] */ v_margin = hole_dist_top*2 + thickness; col_left = h_margin; bottom_row = v_margin + 12; row_1 = vertical_space/7; row_2 = row_1 + vertical_space/7; cv_in_1a = [left_col, row_7, 0]; manual_1 = [left_col, row_6, 0]; cv_1b_atten = [right_col, row_5, 0]; cv_in_2a = [left_col, row_3, 0]; cv_in_2b = [right_col, row_2, 0]; cv_2b_atten = [right_col, row_2, 0]; f_tune = [h_margin+working_width/8, row_4.

New Pull Request