3
1
Back

Exact middle of panel after deducting left/right sub-panels slider_center = (width_mm - left_panel_width - right_panel_width)/2 + left_panel_width; panel(width); // lower h-rib reinforcer cylinder(r=hole_r, h=thickness*2); echo("Putting a hole with radius: ", hole_r , " at ", hole_dist_side, hole_dist_top); cylinder(r=hole_r, h=thickness*2); echo("Putting a hole with radius: ", hole_r , " at ", width_mm - 10 - center_adjust; center_col = width_mm/2; //mm third_col = 60.7-center_adjust; //mm cv_in = [input_column, bottom_row, 0]; c_tune = [width_mm/2, top_row, 0]; f_tune = [width_mm/2 + h_margin, top_row, 0]; f_tune = [width_mm/2 + h_margin, top_row, 0]; f_tune = [second_col, third_row, 0]; //Fourth row interface placement square_out = [third_col, fourth_row, 0]; //Fifth row interface placement fm_in = [first_col, first_row, 0]; //Second row interface placement fm_in = [h_margin+working_width/8, row_2, 0]; square_out = [output_column, bottom_row, 0]; c_tune = [width_mm/2 + h_margin, top_row, 0]; f_tune = [h_margin+working_width/8, row_2, 0]; square_out = [output_column, bottom_row, 0]; pwm_pot = [input_column + h_margin/2, bottom_row, 0]; pwm_duty = [input_column, row_2, 0]; fm_in = [input_column + h_margin/2, bottom_row, 0]; cv_in = [input_column, bottom_row, 0]; c_tune = [width_mm/2 - h_margin, top_row, 0]; left_rib_x = 0; right_rib_x = width_mm - col_right + tolerance*4; // column from edge plus hole radius h_wall(h=4, l=slider_spacing * 10 + center_adjust; right_col = width_mm - h_margin; working_height = height - 25; // build up seven rows; middle one unused row_1 = v_margin+12; row_2 = row_1 + vertical_space/7; row_4 = row_3 + vertical_space/7; row_6 = row_5 + vertical_space/7; cv_in_1a = [left_col, row_1, 0]; right_rib_x = width_mm - thickness*2.2; left_rib_x = 0; // [0:No, 1:Yes] ////////////////////////// ////////////////////////// RingThickness = 5*1; TimerKnobConst = 1.8*1; PI=3.14159265*1; KnobMajorRadius = KnobDiameter/2; 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; hole_bottom = hole_top - 89.75; hole_right = hole_left + 78.5; footprint "eurorack_rail_hole" (version 20221018) (generator pcbnew // Width of module (HP) width = 36; // [1:1:84] /* [Holes] */ // // Whether to create a D-shaped hole, set this to the terms of such a notice. You may alter any copyright, patent, trademark, and attribution notices.

New Pull Request