organize project structure

This commit is contained in:
2025-05-11 14:07:06 +08:00
parent 976459d867
commit 6254e31564
14 changed files with 74 additions and 0 deletions

28
READMD.md Normal file
View File

@ -0,0 +1,28 @@
# OpenSCAD 模型
练习用的模型。
在 Linux 上没有特别趁手的 CAD 软件,所以尝试用 Gemini 教我用 OpenSCAD 制作模型。
大部分模型都有三个格式:
- `*.scad`: 源文件
- `*.stl`: 通用模型
- `*.3mf`: 打印用的模型
## 模型列表
### [养猫用的东西](猫猫用品):
- TODO: 猫猫出入用的挡板
- TODO: 猫猫出入后,皮筋自动关门
- [门上的挂钩](猫猫用品/猫门.3mf)
- TODO: 门框上的挂钩
### 家装
- 书房书柜上的[手柄挂架](./家装/手柄挂架.3mf)
- 给小朋友铺了地垫后,[机器人通行用的缓坡](./家装/机器人缓坡2-3+2+2.scad)
### 练习
- 套在一起的环

BIN
家装/手柄挂架.3mf (Stored with Git LFS) Normal file

Binary file not shown.

30
家装/手柄挂架.scad Normal file
View File

@ -0,0 +1,30 @@
difference() {
translate([0, -5, 0])
minkowski() {
cube([28, 28, 28], center=true);
sphere(1);
};
cube([80, 20, 18], center=true);
translate([0, 0, 20])
cube([17, 20, 40], center=true);
};
translate([-7, -19, -180 - 15 + 1])
minkowski() {
union() {
cube([14, 14+14, 180]);
translate([-17, -48, 14])
cube([48, 4, 4]);
translate([-17, -48, 0])
cube([48, 62+14, 14]);
translate([-17, -48, 14+150])
cube([48, 4, 4]);
translate([-17, -48, 150])
cube([48, 62+14, 14]);
};
sphere(1);
}

View File

@ -0,0 +1,10 @@
translate([0, 0, 0])
rotate([30, 30, 0])
rotate_extrude(angle=360)
translate([5, 0, 0])
circle(1);
translate([2, 3, 2])
rotate([30, -30, 0])
rotate_extrude(angle=360)
translate([5, 0, 0])
circle(1);

BIN
练习/套在一起的环.stl (Stored with Git LFS) Normal file

Binary file not shown.