3D Workspace
Home
Assets
Affiliate Program
Sign up/Log in
?
Upgrade
DCC Bridge
Anonymous1763752304
01-02 11:26
Model Name
lid housing 3d model
Tags
machine
3d printing
realistic
Input
Prompt
// -------------------- // ПАРАМЕТРЫ // -------------------- length = 110; // Общая длина овала width = 75; // Общая ширина height_base = 25; // Высота стенок wall_thick = 2; // Толщина пластика dome_height = 15; // Высота купола clip_width = 15; // Ширина защелок seal_width = 3; // Ширина уплотнителя seal_depth = 2; // Глубина паза $fn = 120; // -------------------- // КОРПУС // -------------------- module body_shell() { union() { difference() { hull() { translate([-(length/2 - width/2), 0, 0]) cylinder(h=height_base, d=width); translate([(length/2 - width/2), 0, 0]) cylinder(h=height_base, d=width); } translate([0,0, wall_thick]) hull() { translate([-(length/2 - width/2), 0, 0]) cylinder(h=height_base, d=width - wall_thick*2); translate([(length/2 - width/2), 0, 0]) cylinder(h=height_base, d=width - wall_thick*2); } } // Купол intersection() { translate([0, 0, height_base - 1]) scale([1.2, 0.8, 1]) sphere(d = width * 0.9); translate([-length, -width, height_base]) cube([length*2, width*2, dome_height*2]); } } } // -------------------- // ЗАЩЕЛКИ // -------------------- module clips() { translate([-(length/2 + 2), -clip_width/2, 0]) difference() { cube([10, clip_width, height_base]); translate([2, -1, 5]) cube([10, clip_width+2, height_base-10]); } translate([(length/2 - 8), -clip_width/2, 0]) difference() { cube([10, clip_width, height_base]); translate([-2, -1, 5]) cube([10, clip_width+2, height_base-10]); } } // -------------------- // БОРТИК + ПАЗ // -------------------- module sealing_rim() { difference() { // Внешний бортик hull() { translate([-(length/2 - width/2), 0, height_base]) cylinder(h=4, d=width + 4); translate([(length/2 - width/2), 0, height_base]) cylinder(h=4, d=width + 4); } // Внутренний вырез hull() { translate([-(length/2 - width/2), 0, height_base-1]) cylinder(h=6, d=width - wall_thick*2); translate([(length/2 - width/2), 0, height_base-1]) cylinder(h=6, d=width - wall_thick*2); } // 🔴 ПАЗ ПОД УПЛОТНИТЕЛЬ translate([0,0, height_base + 1]) hull() { translate([-(length/2 - width/2), 0, 0]) cylinder(h=seal_depth, d=width - seal_width); translate([(length/2 - width/2), 0, 0]) cylinder(h=seal_depth, d=width - seal_width); } } } // -------------------- // СБОРКА // -------------------- union() { body_shell(); clips(); sealing_rim(); }
Detailed Info
Related Models
Enter invite code
Enter invite code to get credits!