# /fea: Find out whether a part will hold before you build it

Source: https://trendhub.net/skills/earthtojake-text-to-cad/fea
Skill folder: https://github.com/earthtojake/text-to-cad/tree/main/skills/fea
Pack: text-to-cad (https://trendhub.net/skills/earthtojake-text-to-cad)
Works with: macOS and Linux (all detected agent apps), Windows PowerShell (all detected agent apps)

This skill runs a first-pass linear static stress study on a STEP file, an xbf document or a model held by the cad server. The agent lists the faces, writes a small JSON study of fixtures and loads, solves it with netgen and CalculiX, and reports peak stress, safety factor, deflection and findings. It is explicit about what it does not cover, such as buckling, fatigue and sliding contact.

## When to use it

- You ask whether a bracket, mount or frame will bend or break under a known load.
- You want to make a part lighter and need to see how much margin remains.
- You are comparing two versions of a design under the same loads.

## How it works

1. **List the faces**: Runs the solve command without a study to print each face's reference, area, centre and type, and matches the user's wording to a face.
2. **Write the study**: Creates one JSON object with fixed or roller fixtures, forces, pressures or g-loads in mm, N and MPa, plus a margin and optional deflection limit.
3. **Solve into a folder**: Writes result.json, stress and displacement images, a GLB and a VTU mesh, and re-meshes finer on its own when the safety factor is under 3.
4. **Report with units**: States peak stress and where, safety factor against yield, maximum deflection, load against reaction, mesh size and the remaining findings and assumptions.

## What it steers the agent away from

- Presenting a static safety factor as an answer about vibration, buckling or fatigue.
- Lowering the margin to make a low-margin warning disappear.
- Reusing face numbers across design versions without remapping them.

## What it can touch

Runs cad solve commands that install and use netgen and CalculiX, and writes result files into a folder you choose.

## Pairs well with

- `/cad`

## Questions

### Can it analyse assemblies?

Yes. Parts that touch are bonded into one mesh and each is judged against its own material's yield; bolted joints and sliding contact are outside this version.

### Which platforms does meshing support?

netgen ships builds for macOS and for x86_64 Linux and Windows only; on other platforms, ARM Linux included, a solve refuses and names the platform.
