3D Workspace
Home
Assets
Affiliate Program
Sign up/Log in
?
Upgrade
DCC Bridge
Anonymous1779517192
05-24 06:41
Model Name
plastic case 3d model
Tags
props
rendering
realistic
Prompt
$fn = 60; // Độ mượt của các góc bo tròn length = 94; width = 46; height_base = 18; // Thân dưới chứa mạch và pin height_lid = 4; // Nắp trên giữ màn hình wall = 2; // Độ dày vách hộp radius = 4; // Bo tròn góc hộp giống ảnh mẫu module rounded_box(l, w, h, r) { translate([r, r, 0]) minkowski() { cube([l - 2*r, w - 2*r, h - 0.5]); cylinder(r = r, h = 0.5); } } module case_base() { difference() { rounded_box(length, width, height_base, radius); translate([wall, wall, wall]) rounded_box(length - 2*wall, width - 2*wall, height_base, radius - 1); translate([-1, (width - 10)/2, 4]) cube([wall + 2, 10, 6]); } } module case_lid() { difference() { rounded_box(length, width, height_lid, radius); translate([(length - 68)/2, (width - 30)/2, -1]) cube([68, 30, height_lid + 2]); translate([wall + 0.2, wall + 0.2, -0.5]) rounded_box(length
Detailed Info
Related Models
Enter invite code
Enter invite code to get credits!