Files
CAD-Projects/Helmet_LED Center.scad
2025-03-04 17:18:08 +01:00

21 lines
481 B
OpenSCAD

total_width=105;
top_width=77;
height=39;
bottom_angle_height=38;
top_angle_height=25;
bottom_width=52;
bottom_diag=30; //35
top_diag=20; //25
thickness=1;
/*[Hidden]*/
mid_height=height/2;//sqrt(bottom_diag^2-((total_width-bottom_width)/2)^2);
echo(mid_height);
polygon([
[(total_width-bottom_width)/2,0],
[(total_width-bottom_width)/2+bottom_width,0],
[total_width,mid_height],
[(total_width-top_width)/2+top_width,height],
[(total_width-top_width)/2,height],
[0,mid_height]
]);