Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

fea

БесплатноБез исполняемых скриптовНе проверен

Checks whether a part, or an assembly of bonded parts, is strong enough under its loads, as a linear static stress study (FEA). Use when the person asks…

earthtojakeот earthtojake★ 27 943 звезды на GitHub

Об этом скилле

FEA: will it hold, and how far does it move

A study holds some faces of a part, loads others, and solves the linear elastic response: stress and displacement under forces, pressures, the part's own weight and steady accelerations, with an isotropic material below yield, rigid fixtures and loads that do not move. An assembly's parts are bonded where they touch. It is a first-pass engineering check, not a certification: say so in the report. Vibration, buckling, heat, fatigue, impact and sliding contact are outside it, and a static safety factor is no answer to them (a drop or a braking load can be estimated as a steady g-load: body loads).

Start with the task

Task Start with Reference
Check a part under a load cad step solve part.step lists its faces; write the study; solve into a folder Workflow, linear static
Check an assembly cad step solve assembly.step lists the parts and the pairs that touch Assemblies
Write or edit a study One JSON object: fixtures and loads, then material, mesh, margin and checks Study file
Choose a material The model's own, or the E, ν and yield the person gives Materials
Judge the answer result.json and its findings, against a hand estimate Findings, judging the answer
Find the load a part takes Solve at any load: the model is linear, so yield comes at the loads applied, all scaled by the safety factor checks
Answer what the summary does not result.vtu, read with meshio Your own questions
Compare design variants The same study on each, faces mapped, mesh size held Compare variants

The study reads a saved .step or .xbf, or a model the server holds by its id (cad model solve <id>), and solves the whole document: to study one part of an assembly alone, export it as a document of its own.

Setup

Written for cad==0.11.21. Before first use in a chat, run cad --version. If it fails, or cad is missing or older than 0.11.12, run uv tool install --force cad. If it is older than the release this skill was written for, run cad update.

If cad is a major or minor version newer than this skill, tell the person to update the text-to-cad plugin: https://github.com/earthtojake/text-to-cad A project written for an earlier version may need changes; the migration guides say what: https://github.com/earthtojake/text-to-cad/tree/main/docs/migrations

The mesher and the solver are fetched by cad the first time a study needs them, nothing to install: the netgen integration (cad[netgen], about 11 MB; macOS, Linux x86_64 and Windows x86_64 only, and a solve elsewhere refuses, naming the platform) and the calculix integration (cad[calculix], CalculiX 2.23, about 13 MB). The solve runs headless on one thread, so the same study gives the same numbers on every run. cad run ccx ARGS runs the same ccx on a deck of your own. A ccx on PATH is never run; where the fetched one does not run on a computer, CAD_CCX names another (2.20 or newer).

Units are fixed: mm, N, MPa (pressure, modulus and stress), t/mm³ for density (steel 7.85e-9) and g (9.81 m/s²) for gravity and acceleration. Restate every load in them before writing it down.

Workflow

  1. List the faces. With no study, solve prints the setup and writes nothing: the parts, the pairs that touch, then each face with its ref, area, centre, surface type and a hint such as plane, normal -Z, largest.

    cad step solve part.step
    

    Match the person's words ("the mounting face") to a ref by the hint and the centre; a hole is a cylinder. A face they picked in the viewer arrives as a ref already (/work/bracket.step#bracket/face 17). A document of several parts lists faces once one is named (--occurrence post). A face number is a position in the saved document, so list again after the part is edited.

  2. Write the study (study file):

    {
      "fixtures": [{"faces": ["bracket/face 17"], "type": "fixed"}],
      "loads": [{"faces": ["bracket/face 22"], "type": "force", "vector_N": [0, -500, 0]}]
    }
    

    fixed holds a face still; roller lets it slide in its plane (a frictionless support, a symmetry cut). A force is the total over its faces; a pressure is in MPa, positive into the surface; gravity and acceleration take vector_g and no faces, and need the material's density. margin is the safety factor the part should keep (default 2). checks adds a displacement limit when the person gave one. Leave mesh out on the first run.

  3. Solve into a folder, one per study:

    `

Полный SKILL.md на GitHub

Установить fea в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

LICENSEagents/openai.yamlreferences/linear-static.mdreferences/materials.mdreferences/study-file.md

FAQ

Что делает скилл fea?

Checks whether a part, or an assembly of bonded parts, is strong enough under its loads, as a linear static stress study (FEA). Use when the person asks whether a part will hold, break or bend too much, where it is most stressed, how much load it takes, how to make it stronger or lighter, or for FEA, a stress analysis or a strength simulation. Reports peak stress, safety factor against yield and deflection. Static loads only, not vibration, buckling, heat, fatigue or impact.

Как установить скилл fea?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл fea запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить fea с