增加注释,方便 makerworld 上传参数化模型

This commit is contained in:
2025-06-25 23:10:46 +08:00
parent 4bd050fe9a
commit ecfe200c0c
2 changed files with 30 additions and 16 deletions

View File

@ -3,6 +3,7 @@
width = 8;
// 卡槽长度
height = 200;
// 卡槽厚度
thickness = 8;
// 门框宽度
@ -10,21 +11,24 @@ frame_width = 58;
// 门框深度
frame_depth = 12;
difference() {
union() {
cube([frame_width + width * 2, height, frame_depth + thickness]);
cube([height, frame_width + width * 2, frame_depth + thickness]);
};
// 门框
translate([width, width, 0])
union() {
// 卡槽
difference() {
union() {
cube([frame_width, height, frame_depth]);
cube([height, frame_width, frame_depth]);
cube([frame_width + width * 2, height, frame_depth + thickness]);
cube([height, frame_width + width * 2, frame_depth + thickness]);
};
// 门框
translate([width, width, 0])
union() {
cube([frame_width, height, frame_depth]);
cube([height, frame_width, frame_depth]);
};
}
// 挂钩
translate([frame_width / 2 + width, frame_width / 2 + width, frame_depth + thickness])
cylinder(r=15, h=10);
translate([frame_width / 2 + width, frame_width / 2 + width, frame_depth + thickness + 10])
cylinder(r=30, h=8);
}
translate([frame_width / 2 + width, frame_width / 2 + width, frame_depth + thickness])
cylinder(r=15, h=10);
translate([frame_width / 2 + width, frame_width / 2 + width, frame_depth + thickness + 10])
cylinder(r=30, h=8);