Этот контент был автоматически переведен. Показать оригинал
https://github.com/ok1hra/Parameterizable-rugged-box-in-OpenScad
// inner sizes in mm
width = 240.4; // inner size in mm
depth = 220.4; // inner size in mm
thickness = 3.5; // [>3.5] box thickness in mm
// top part 上盖
heightTOP = 22; // must be larger than 4 x thickness variable
// bottom part 下盖
heightBOT = 22+8+27; // must be greater than 7 x thickness variable
Delete this module
//module TOPinside(){
// fourSupport(FrontPanelScrewDia,heightTOP-FrontPanelEmbedmentDepthTop); // screw diameter, height
//}
//
//module BOTinside(){
// fourSupport(FrontPanelScrewDia,heightBOT-FrontPanelEmbedmentDepthBot); // screw diameter, height
//}