cad modeling
- Repo stars 0
- Author repo AGI_engineering_forge
- Domain
- Other
- Author-declared agents
- No explicit declaration found; this is not inferred or tested compatibility
- Static check
- 88 / 100 · heuristic scan, not runtime safety proof
- Runtime evidence
- Not run; no isolated runtime test evidence is currently recorded
- Author / version / license
- @00000star · no license declared
- Token usage
- Lean
- Setup complexity
- Plug-and-play
- External API key
- Not required
- Operating systems
- Unspecified (assume cross-platform)
- Runtime requirements
- No explicit requirements detected
- Detected file/system behavior
-
- Read-only
- Write / modify
- Network behavior
- Local-only
- Install commands
- None (reference only)
Heads up: Tool permissions are not declared; actual access depends on the runtime.
# 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
Sections and files
Listed in source order.
sections -> Usage → Best Practices
terms -> Generate parametric 3D geometry from code.
files/cmd -> $fn=32 · module · workspace/bridge.py · width/2 · STEP/STL
body sha256 -> c2769530e2a2
Best Practices
Always parameterize dimensions (no magic numbers) Use
$fn=32or higher for smooth curves Comment design intent Export to STEP/STL when manufacturing Usemodulefor reusable components