solidcraft-shell-and-tangent-arcs
Skill12 starsChanged 17 days agoApache-2.0View on GitHub
Use when applying solid.shell (hollowing, underside cavities, open face) in SolidCraft, or when a shell fails or hangs: causes, safe order, tangent-arc precision and the pocket-cut fallback.
In this repository19 other files it gives its agents.
- solidcraft-3d-print-dfmSkill
- solidcraft-assembliesSkill
- solidcraft-checkingSkill
- solidcraft-delivery-gateSkill
- solidcraft-dfm-reviewSkill
- solidcraft-drawing-and-tutorial-readingSkill
- solidcraft-editingSkill
- solidcraft-engineering-drawingSkill
- solidcraft-hole-fastener-rulesSkill
- solidcraft-mechanismsSkill
- solidcraft-modelingSkill
- solidcraft-requirements-and-sanitySkill
- solidcraft-robust-build-orderSkill
- solidcraft-sheet-metal-flatpackSkill
- solidcraft-sheet-metalSkill
- solidcraft-speed-modeling-lessonsSkill
- solidcraft-step-partsSkill
- solidcraft-sweep-and-boolean-hangsSkill
- solidcraft-tutorial-recipesSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 29
Add circles for the material that must stay: a boss ring (for example R30).
- Very specific: line 31
Verify with measure (volume, shells=1) and tell the user it is an emulation, not solid.shell.
≈ “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.
Files
solid.shell in SolidCraft: how it works, how it fails, how to get around it
Syntax
solid.shell {faces:[[x,y,z]], thickness, direction:"inside"|"outside"|"both", tangent_chain?, body?}
facesare points on the faces to REMOVE (open). For an underside cavity pick a point on the bottom face z=0 that lies inside the outline and outside bosses and bores, for example [-38,0,0].direction:"inside"keeps the outer shape.bodynames the target body.
Failure 1: "offset: a corner whose faces don't meet the same way after the move"
- Cause: arcs that are meant to be tangent (for example a convex R12 around a hole boss and concave R75 side arcs) were entered with 5-decimal coordinates, so the faces are only nearly tangent. The offset treats the joints as real corners and fails for any thickness, even on the bare extruded base.
- Fix: compute the tangent points analytically (the point on the line between the two arc centres at distance r1 from the first centre) and enter the coordinates with 10 decimals in
sketch.arc.three_point(start, end, through). The shell then works on the base and on base plus cylinder. solid.filleton such an edge answersedge is smoothwhen the joint is truly tangent, so you can use it as a tangency test.tangent_chain:truedid not help for this failure.
Failure 2: shell hangs SolidCraft (minutes, needs a restart)
- Seen when the body already has a bore whose wall equals the shell thickness: a bore R25 inside a cylinder R30 with thickness 5 (4.9 as well). The offset of the outer face and of the bore face meet and collapse into degenerate geometry and an endless computation. A 60 s timeout does not mean it stopped: check
runningand do not resend. Nothing can be done until it ends or the app is restarted. - Prevention: shell BEFORE cutting bores or holes whose wall to another face is <= thickness (plus a small margin). A working order is base, cylinder, ear or joins, shell, bores, small cuts. Save a checkpoint before the shell.
- A batch that contains a failing shell rolls back everything, so run the shell as a separate call.
Safe order that worked
base extrude, cylinder join, shell (thickness 5, bottom face open). Adding the bore afterwards is the open point to test: the cavity wall at R25 coincides with an R25 bore, so expect a degenerate boolean. Consider a slightly different shell thickness or build the bore as part of a pocket.
Fallback: emulate an underside shell with a pocket cut (validated)
- Sketch on XY at the open face with the outline offset INWARD by the wall thickness t: convex arcs R become R-t and concave arcs R become R+t (same centres), keeping tangency exact.
- Add circles for the material that must stay: a boss ring (for example R30). Rings around holes are already in the offset outline (hole radius plus t).
solid.extrude {operation:"cut", start_offset:-1, distance: depth+1, profiles:[{point:[x,y]}], exact_regions:true}. Pick a point INSIDE the wanted region only. A point outside the offset outline givesunknown profile.- Verify with
measure(volume, shells=1) and tell the user it is an emulation, notsolid.shell.
Checks after a shell
measure: 1 shell, closed, and a plausible volume drop (area x t). Then take a screenshot from below (camera yaw 225, pitch -40) to confirm the cavity.
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
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.

