3
1
Back

Lines working_height = height * rotate_vector_cos; points = [ [right_edge, rotate_vector_sin * height], // top right [left_edge + height * rotate_vector_cos, rotate_vector_sin * height + rotate_vector_sin * height], // top horizontal rib h_wall(h=1.6, l=right_rib_x); // one more vertical to mount a circuit board to, dead center wall(h=6, w=height-hole_dist_top*3-4); // color([1,0,0] // surface("FireballSpellSmall.png", center=true, invert=false); */ module panel(h) { width_mm = hp_mm(h); difference() { difference() { difference() { 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 -8.99167 3 vertex -7.48323 -5.00013 4.51216 facet normal -5.422187e-001 -8.402374e-001 0.000000e+000 vertex 3.164974e+000 -4.740179e+000 2.496000e+001 vertex -5.605745e+000 6.171317e-001 2.496000e+001 vertex 6.971169e+000 -1.377601e+000 2.496000e+001 vertex -3.960817e+000 -5.892582e+000 2.496000e+001 vertex 2.178457e+000 -5.267156e+000 1.747200e+001 facet normal 4.064202e-001 7.112361e-001 5.735554e-001 facet normal -0.262733 0.257269 0.929938 facet normal -3.734865e-001 6.399639e-001 6.715311e-001 facet normal -0.471366 0.881856 -0.0120354 facet normal 0.683044 0.365095 0.63258 facet normal -0.634386 0.773016 0 facet normal -0.94072 0.331806 0.0703598 facet normal -3.385579e-001 5.800935e-001 7.408577e-001 facet normal -8.724432e-001 -3.884926e-003 4.887000e-001 facet normal 0.247514 -0.963781 0.0993082 facet normal 3.370504e-001 5.903097e-001 7.334381e-001 vertex 3.789905e-002 -4.800489e+000 2.490742e+001 facet normal 9.837191e-01 -1.797125e-01 2.781967e-04 vertex -1.044212e+02 9.741230e+01 4.255000e+01 facet normal -0.840155 0.533173 0.0993304 facet normal -5.059670e-01 -0.000000e+00 -8.625528e-01 vertex -1.081444e+02 9.725134e+01 1.036085e+01 vertex -1.082663e+02 9.695134e+01 1.043239e+01 facet normal 0.459965 0.538537 0.705981 vertex 2.71867 1.22155 19.4867 vertex 5.50469 -2.16809 19.8418 vertex 1.9692 -0.446949 19.9 vertex 4.01273 2.44513 19.9 facet normal -2.497601e-01 -9.683078e-01 0.000000e+00 vertex -1.041734e+02 1.012768e+02 1.055000e+01 vertex -9.355766e+01 1.049916e+02 3.455000e+01 facet normal.

New Pull Request