建模
- 作者仓库星标 0
- 作者仓库 AGI_engineering_forge
- 领域
- 通用
- 作者声明的智能体
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 运行环境证据
- 未执行;当前没有隔离运行测试证据
- 作者 / 版本 / 许可证
- @00000star · 未声明许可证
- 上下文用量评级
- 低消耗
- 接入复杂程度
- 即装即用
- 是否需要外部接口密钥
- 不需要
- 兼容的系统
- 未声明(默认跨平台)
- 运行环境要求
- 未检出明确要求
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
需要注意: 未声明工具权限范围;实际权限由运行环境决定。
# CAD Modeling with OpenSCAD
Generate parametric 3D geometry from code. Produces .scad files (and .stl if OpenSCAD binary is installed).
## Usage
```bash
python3 /workspace/bridge.py openscad '
// Parametric bracket
thickness = 5;
width = 30;
height = 40;
hole_d = 6;
difference() {
cube([width, thickness, height]);
translate([width/2, -1, height - 15])
rotate([-90, 0, 0])
cylinder(h=thickness+2, d=hole_d, $fn=32);
}
'
```
## Best Practices
- Always parameterize dimensions (no magic numbers)
- Use `$fn=32` or higher for smooth curves
- Comment design intent
- Export to STEP/STL when manufacturing
- Use `module` for reusable components
章节与文件索引
按说明文件中的顺序排列。
最佳实践
文件/命令 -> $fn=32 · module · workspace/bridge.py · width/2 · STEP/STL
内容校验值 -> c2769530e2a2
当前原文的自动摘译,尚未人工审校。
最佳实践
始终参数化尺寸(无幻数) 使用
$fn=32或更高版本实现平滑曲线 注释设计意图 制造时导出到 STEP/STL 使用module实现可重复使用的组件