
ลำโพงบลูทูธ 3d โมเดล
========================================== // สคริปต์ตู้ลำโพงบลูทูธ (หน่วย: มิลลิเมตร) // ========================================== $fn = 60; // ความละเอียดของโค้ง // ขนาดหลัก (กว้าง 10 x ยาว 19 x สูง 22 cm) width = 100; length = 190; height = 220; wall_thick = 5; // ความหนาของผนังตู้ corner_r = 15; // รัศมีมุมมนภายนอก module rounded_box(w, l, h, r) { hull() { for (x = [r, w-r]) for (y = [r, l-r]) for (z = [r, h-r]) translate([x, y, z]) sphere(r=r); } } difference() { // 1. ตัวตู้ภายนอก rounded_box(width, length, height, corner_r); // 2. ช่องว่างภายในตู้ translate([wall_thick, wall_thick, wall_thick]) rounded_box(width - wall_thick*2, length - wall_thick*2, height - wall_thick*2, max(1, corner_r - wall_thick)); // 3. เจาะช่องด้านหน้า (ด้านความยาว 190 mm) // ช่องลำโพงหลักด้านล่าง translate([width/2, -5, 75]) rotate([-90, 0, 0]) cylinder(h=wall_thi
4K·PBR·v3.1-20260211









