3D Workspace
Home
Assets
Affiliate Program
Sign up/Log in
?
Upgrade
DCC Bridge
Anonymous1778334869
05-10 09:29
Model Name
圆柱体容器3d模型
Tags
machine
rendering
realistic
Prompt
$fn = 60; // --- 参数设置 --- t = 5; // 材料壁厚 5mm cam_d = 67.5; // 摄像头内径 cam_h = 39; // 摄像头高度 base_l = 105; // 底座长 base_w = 53; // 底座宽 lip = 5; // 顶部限位缘 rounding_r = 1.5; // 圆角半径 // 弯折参数 f1_w = 12; f1_rot = 180 - 155; // 25度 f2_w = 42; f2_rot = 180 - 129; // 51度 f2_end_w = 50; // 卡扣参数 snap_h = 5; // 用户要求卡扣 5mm module raw_geometry() { union() { // 1. 主体圆柱 cylinder(h = cam_h + t, r = (cam_d/2) + t); // 2. 底座 translate([-base_l/2, -base_w/2, 0]) cube([base_l, base_w, t]); // 3. 固定耳朵 for(x = [-40, 40]) translate([x, base_w/2, 0]) cylinder(h = t, r = 5); // 4. 第一段弯折 (与 y=-base_w/2 对齐) translate([0, -base_w/2, t]) rotate([f1_rot, 0, 0]) translate([-base_l/2, -f1_w, -t]) { cube([base_l, f1_w, t]); // 5. 第二段弯折 (梯形) translate([base_l/2, 0, 0]) rotate([f2_rot, 0, 0]) translate([0,
Detailed Info
Related Models
Enter invite code
Enter invite code to get credits!