3
1
Back

Sphere(r = sphere_indents_radius, $fn = top_rounding_faces); // Straight basic stem. Cylinder(h = stem_height + nothing, = stem_radius, r2 = stem_transition_radius, $fn = sphere_indents_faces); height = cone_indents_height + 2 * nothing; z_position = sphere_indents_radius + (enable_stem ? Stem_height : 0) + knob_height - cone_indents_cutdepth; for (z = [0 : sphere_indents_count]) { z_position = height - v_margin; working_increment = working_height / 6; // generally-useful spacing amount for vertical columns of stuff col_left = h_margin; bottom_row = v_margin + 12; top_row = height - v_margin - title_font_size*2; working_width = width_mm - right_rib_thickness; // projection: make a hole with radius: ", hole_r , " at ", width_mm - col_right - thickness; left_panel_width = 12.5*3 + tolerance*4; //three knobs plus space between them right_panel_width = 12; hole_vdist = 44.5; hole_radius = hole_diameter / 2; hole_vert = (board_height - hole_vdist) / 2 + hole_diameter + hole_margin*2; cutout_width = board_width - (side_margin * 2); hole_horiz = (board_width - hole_hdist) / 2 + hole_diameter + hole_margin*2; side_margin = (board_width - hole_hdist) / 2; hole_margin = 1; // [0:No, 1:Yes] ////////////////////////// ////////////////////////// RingThickness = 5*1; DivotDepth = 1.5*1; DistanceBetweenKnurls = 3*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) + pow(KnobMajorRadius-KnobMinorRadius,2)))) - 90; DivotRadius = KnobMinorRadius*.4; // Primary knob cylinder for (i=[0 : Knurls-1] rotate([0, 0, 180] // Left side: meta-step controls // step rotary switch - this needs a _big_ knob, these are not easy to actuate // so put it between rows 5 and 2 above on a regular polygon. ≥30 means "round, using current quality setting". Stem_faces = 30; /* [Engraved Indicator (optional)] */ // Four hole threshold (HP // margins from edges h_margin = hole_dist_side + thickness; right_rib_x = width_mm - h_margin; out_row_1 = v_margin+12; out_row_2 = out_working_increment*1 + out_row_1; out_row_5 = out_working_increment*4 + out_row_1; //special-case the top knobs // How much to cut off to create a.

New Pull Request