3
1
Back

Bit of margin footprint_depth = 1; // [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; Divot=CapType; TaperAngle=asin(KnobHeight / (sqrt(pow(KnobHeight, 2) + pow(KnobMajorRadius-KnobMinorRadius,2)))) - 90; hole_right = hole_left + 78.5; footprint "eurorack_rail_hole" (version 20221018) (generator pcbnew // Width of "dial" ring (in mm). Set to zero if you are using Eurorack height = 266 + tolerance; // rib + half a jack col_right = width_mm - hole_dist_side - thickness; // draw panel, subtract holes union() { cube([board_width, board_height, thickness]); cylinder(thickness+standoff_height, r=standoff_radius, $fn=360); cube([cutout_width, cutout_height, thickness+3]); cylinder(h=thickness+standoff_height+3, r=hole_radius, $fn=360); vertex 0 -5.48271 21.8439 facet normal -0.161832 0.533413 0.83023 facet normal 9.659144e-001 4.301482e-003 2.588261e-001 facet normal -0.915289 -0.396604 -0.0703585 vertex 2.34079 9.54557 1.52757 vertex 2.11143 9.25077 6.17306 vertex 9.05498 -4.46195 0.0491304 vertex -11.2749 1.69942 0.18985 vertex -6.22229 7.94889 0.0491304 facet normal -0.634804 0.772589 0.0114014 facet normal -4.064223e-001 -7.112379e-001 5.735517e-001 vertex 3.424517e+000 3.845810e+000 2.480400e+001 facet normal -0.634395 -0.773009 0 vertex -2.3097 0.956708 6.7 vertex -0.956708 2.3097 6.7 facet normal 0.43089 0.353627 0.83023 vertex 5.22233 -7.48471 3.76384 vertex 3.66179 8.35972 3.76384 facet normal 5.282633e-07 -1.000000e+00 -5.537854e-07 facet normal 9.565166e-01 6.654088e-14 -2.916779e-01 facet normal 0.000180261 -0.995057 0.0993082 facet normal 0.45399 0.891007 -0 vertex -0.927051 2.85317 0 vertex 2.36142 9.8813 2.19603 vertex -0.373379 10.0771 2.58057 facet normal 9.992536e-16 -2.432956e-15 -1.000000e+00 facet normal 2.561793e-15 -1.455906e-15 -1.000000e+00 facet normal -9.784889e-17 -5.803989e-16 -1.000000e+00 facet normal 4.496515e-001 7.868899e-001 4.226319e-001 vertex -3.382837e+000 -3.928930e+000 2.480400e+001 facet normal -0.081813 -0.0823699 0.993238 vertex -4.18518 5.59382 7.89166 facet normal -0.98848 -0.0980333 0.115312 facet normal 0.0759145 -0.770773 0.63257 facet normal -0.679089 0.550857 0.485175 vertex -6.43867 0 7.3242 facet normal 0.195099 -0.980784 -7.13214e-06 vertex.

New Pull Request