agentleFS
KevoyuanKevoyuan/AgentSCAD/skills/scad-library-round-anything/SKILL.md

scad-library-round-anything

Skill26 starsChanged 5 months agoMITView on GitHub

This skill should be used when generating OpenSCAD with Round-Anything, polyRound, polyRoundExtrude, shell2d, rounded sketch profiles, filleted extrusions, beams, tabs, brackets, and consumer-product-style softened parts.

The file

Show its rules and text

We split this skill into the rules it gives an agent

14 rules. About 0 are common, 8 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use Round-Anything when the runtime prompt lists use <Round-Anything/polyround.scad> or use <polyround.scad> and the requested part is …

    line 13
  2. Distinctive:

    Use the exact include/use statement shown by the runtime prompt.

    line 17
  3. Very specific:

    Use polyRound() for rounded polygons instead of manually approximating rounded corners.

    line 31
  4. Very specific:

    Use polyRoundExtrude() for rounded plates, brackets, tabs, bezels, lips, and soft rectangular profiles.

    line 32
  5. Very specific:

    Use shell2d() patterns for open shells and wall outlines when the part is sketch-driven.

    line 33
  6. Distinctive:

    Use rounded profiles for stress relief and visual polish.

    line 34
  7. Very specific:

    Prefer Round-Anything over minkowski() for complex 2D outlines that need controlled corner radii.

    line 35
  8. Distinctive:

    Keep each radius less than half the adjacent segment length.

    line 62
  9. Distinctive:

    Use smaller radii on tabs, clips, and screw ears than on cosmetic outer corners.

    line 63
  10. Distinctive:

    Prefer a simple rounded profile plus boolean cutouts over many nested hull operations.

    line 64
  11. Distinctive:

    Keep profile arrays readable and derived from top-level parameters.

    line 65
  12. Very specific:

    Do not use minkowskiRound by default.

    line 69
  13. Distinctive:

    Do not use Round-Anything for pure cylinders or simple cuboids if BOSL2 can express the shape more clearly.

    line 70
  14. Distinctive:

    Do not copy library source into generated SCAD.

    line 71

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

SCAD Library Round-Anything Skill

Use Round-Anything when the runtime prompt lists use <Round-Anything/polyround.scad> or use <polyround.scad> and the requested part is naturally built from rounded 2D sketches extruded into 3D.

Import

Use the exact include/use statement shown by the runtime prompt. Common forms are:

use <Round-Anything/polyround.scad>

or:

use <polyround.scad>

Best Uses

  • Use polyRound() for rounded polygons instead of manually approximating rounded corners.
  • Use polyRoundExtrude() for rounded plates, brackets, tabs, bezels, lips, and soft rectangular profiles.
  • Use shell2d() patterns for open shells and wall outlines when the part is sketch-driven.
  • Use rounded profiles for stress relief and visual polish.
  • Prefer Round-Anything over minkowski() for complex 2D outlines that need controlled corner radii.

Generation Pattern

Represent profile points as [x, y, radius] and keep radii parameterized:

use <Round-Anything/polyround.scad>

/* [Profile] */
width = 70;          // min: 20 max: 180 step: 1
depth = 42;          // min: 15 max: 120 step: 1
thickness = 5;       // min: 1.2 max: 20 step: 0.5
corner_radius = 5;   // min: 0 max: 20 step: 0.5

profile = [
  [-width/2, -depth/2, corner_radius],
  [ width/2, -depth/2, corner_radius],
  [ width/2,  depth/2, corner_radius],
  [-width/2,  depth/2, corner_radius],
];

polyRoundExtrude(profile, thickness, corner_radius, corner_radius, fn=32);

Quality Rules

  • Keep each radius less than half the adjacent segment length.
  • Use smaller radii on tabs, clips, and screw ears than on cosmetic outer corners.
  • Prefer a simple rounded profile plus boolean cutouts over many nested hull operations.
  • Keep profile arrays readable and derived from top-level parameters.

Avoid

  • Do not use minkowskiRound by default; it is slow and fragile for generated models.
  • Do not use Round-Anything for pure cylinders or simple cuboids if BOSL2 can express the shape more clearly.
  • Do not copy library source into generated SCAD.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.