cad-modeling
- Repo stars 0
- Author repo AGI_engineering_forge
CAD Modeling with OpenSCAD
Generate parametric 3D geometry from code. Produces .scad files (and .stl if OpenSCAD binary is installed).
Usage
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=32or higher for smooth curves - Comment design intent
- Export to STEP/STL when manufacturing
- Use
modulefor reusable components
- Fluxly category
- 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
- Author / version / license
- @00000star · no license declared
- Fluxly token estimate
- Lean
- Fluxly setup estimate
- Plug-and-play
- External API key
- No requirement detected
- Detected OS requirements
- Unspecified
- Runtime requirements
- Unspecified
- Detected file/system behavior
-
- Read-only
- Write / modify
- Detected network behavior
- Local-only
- Install commands
- None (reference only)
Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.
Heads up: 未限定 allowed-tools,默认拥有全部工具权限。
The current SKILL.md does not define a fixed output example. Usage
Usage
Best Practices
Always parameterize dimensions (no magic numbers) Use $fn=32 or higher for smooth curves Comment design intent
# 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 Evidence boundary and execution chain
Author text anchors workflow facts; Fluxly only indexes current sections, terms, files, and commands.
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
Decide Fit First
Design Intent
How To Use It
Boundaries And Review