- Home
- Skills
- Agents & Orchestration
- solidcraft checking
Works with the AI Agents you already use
solidcraft checking
Validates SolidCraft CAD designs against geometric traps, parameter range failures, and boolean errors.
Free
solidcraft checking
Example session with this skill installed
I need to verify the parametric range of my 'standoff_grid' design. The 'count' parameter goes from 1 to 10. Check for Trap 1 and Trap 2 issues and give me a test script.
- Read your context and instructions
- Compiled the solidcraft checking
I have analyzed the standoff_grid design for parametric stability. The primary risks identified are a potential rebuild failure if count reaches 0 (Trap 2) and potential solver drift if the grid spacing causes any dimension to reach exactly 0 relative to the origin (Trap 1).
Parametric Validation Script
import sys
import os
# Insert skill scripts path for scb helper
sys.path.insert(0, "/home/user/.claude/skills/solidcraft-checking/scripts")
from scb import Script
def generate_walk_test():
# Defines the walk through the allowed range: 1 to 10 and back to default
script = {
"commands": [
{"parameters.change": {"name": "count", "value": 1}},
{"document.inspect": {"measure": True}},
{"parameters.change": {"name": "count", "value": 10}},
{"document.inspect": {"measure": True}},
{"parameters.change": {"name": "count", "value": 5}} # default
]
}
return script
# Use run.py walk.json --in standoff_grid.json to execute
Next steps
- Run
python3 scripts/run.py walk.json --in standoff_grid.jsonand check forSKETCHlines indicating non-zero DOF. - Verify the
BODYvolume atcount: 10matches your analytic calculation (Volume = Base + 10 * Standoff). - Add
round(count)to any expressions positioning the grid to prevent fractional rounding shifts.
Connects securely to your tools. The creator never sees your data.
About this skill
Maintaining CAD design integrity in SolidCraft requires more than just modeling. Parametric changes can easily break geometry through zero-dimension traps, hidden boolean failures, or degree-of-freedom shifts that the core app doesn't report.
What it does
- Geometric validation checks that sketches remain at zero degrees of freedom to prevent unpredictable shape solving during parameter updates.
- Regression testing walks driving parameters through their entire allowed ranges to catch "Trap 1" failures where dimensions reach zero.
- Volume analysis compares calculated volumes against actual body data to detect silent boolean retry errors and incorrect joins.
- External diffing provides exact STEP file comparisons using OpenCASCADE to verify porting accuracy from tools like OpenSCAD or build123d.
- Git integration manages designs as plain JSON files to ensure readable diffs and stable version control.
How it works
- Define ranges for every driving parameter and document them in comments for user visibility and scripted walking.
- Execute walk scripts using
run.pyto move parameters to their limits and verify volume/center-of-mass consistency at every step. - Run snapshot renders via
solidcraft-clito visually inspect ISO views of the design in various states. - Automate tests by applying the
test_design.pytemplate to your repository to verify tolerance and analytic growth.
Frameworks & tools
This skill interfaces with the SolidCraft 0.21.0 MCP and CLI. It utilizes build123d and OpenCASCADE for external geometric verification and pytest for fact-checking design conventions.
Why this beats prompting it yourself
Generic LLM prompting lacks the specialized knowledge of SolidCraft's specific geometric traps, such as how circumscribed polygons retain degrees of freedom or how fractional counts round. This skill embeds specific physical verification scripts and mathematical constraints that prevent the model from hallucinating valid geometry.
Use cases
- Porting legacy OpenSCAD or CadQuery designs to SolidCraft with volume-match verification.
- Building robust parametric parts where a user-defined "count" might break the model if set to 1 or 0.
- Managing complex mechanical assemblies within a Git-based development workflow.
Known limitations
Does not support if statements or comparisons in expressions. SolidCraft configuration rules are only active during row activation, not during live parameter changes.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.
No support for if or comparison operators in expressions. Boolean retry warnings require manual volume verification. Parameter ranges are not enforced by the core app during edits.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 19 days ago
- Free with an Agensi account