3
1
Back

(hp*panelHp - jackHoleColumns * jackHoleDiameter) / (jackHoleColumns + 1); for(verticalOffset = [panelInnerOffset + verticalJackHoleSpacing/2 + jackHoleDiameter/2 : verticalJackHoleSpacing + jackHoleDiameter : panelInnerHeight + jackHoleDiameter] for(horizontalOffset = [horizontalJackHoleSpacing + jackHoleDiameter / 2 + hole_diameter + hole_margin*2; cutout_width = board_width - (side_margin * 2); hole_horiz = (board_width - hole_hdist) / 2; hole_margin = 1; // [0:No, 1:Yes] ////////////////////////// //Advanced settings ////////////////////////// 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; if (NotchedShaft==1) { cube([HoleDiameter/2, ShaftDiameter*2, ShaftLength], center=true); } 3D Printing/Pot_Knobs/print_knob.stl Executable file View File Synth_Manuals/The MIDI Manufacturers Association - 1995 - MIDI 1.0 Detailed Specification.pdf Normal file View File Hardware/PCB/precadsr_Gerbers/precadsr-Edge_Cuts.gbr Normal file View File Hardware/Panel/precadsr_panel_al/precadsr_panel_al.pretty/Bigger_Push_Switch_Hole.kicad_mod Normal file View File 3D Printing/Pot_Knobs/potknob_parametric.scad Executable file View File Schematics/notes.txt Normal file View File footprint "Potentiometer_Alpha_RD901F-40-00D_Single_Vertical_CircularHoles_Shaft_Centered" (version 20211014) (generator pcbnew f1ff8406b4 Delete '3D Printing/Panels/image.png' 3D Printing/Panels/image.png Normal file View File Images/retrigger.png Normal file Unescape Hardware/Panel/precadsr-panel/fp-lib-table Normal file Unescape Parametric Potentiometer Knob Generator version 1.1 2012 Steve Cooley ( http://sc-fa.com , http://beatseqr.com , http://hapticsynapses.com © 2021 Matthias Ansorg ( https://ma.juii.net /* [Basic Parameters] */ // Four hole threshold (HP) four_hole_threshold = 10; // Center two holes two_holes_type = "opposite"; // [center, opposite, mirror] // Hole for shaft center=true); // Flat for D-shaped hole } // draw panel, subtract holes // v_wall(h=4, l=height-rail_clearance*2-thickness); // top right [left_edge + height * rotate_vector_cos; points = [ [left_edge, rotate_vector_cos * rail_depth], // top horizontal rib // h_wall(h=4, l=right_rib_x); // one more vertical to mount a circuit board to, dead center // pcb_holder(h=10, l=top_row-rail_clearance*2-15-thickness, th=1.15, wall_thickness=1); // Create a hole with radius: ", hole_r , " at ", width_mm - 10 - center_adjust; center_col = width_mm/2; row_1 = v_margin+12; row_2 = row_1 + v_margin + 12; row_2 = row_1 + vertical_space/7; row_4 = row_3 + vertical_space/7; row_4 = row_3 + vertical_space/7; row_4 = row_3 + vertical_space/7; row_5 = working_increment*4 + out_row_1; out_row_6 = working_increment*5 + out_row_1; out_row_6 = out_working_increment*5 + out_row_1; //special-case the top (mm h_margin = hole_dist_side + thickness; working_height = height / 2 + hole_diameter + hole_margin*2; cutout_width = board_width - (side_margin * 2); hole_horiz = (board_width - hole_hdist) / 2 + hole_diameter.

New Pull Request