科研 Skill

力学教学图绘制

mechanics-visuals

Produces mechanics teaching figures such as Mohr’s circle, shear/moment diagrams, S-N curves, and free-body diagrams as PNG/SVG. Use when asked to draw or plot a mechanics concept.

发布者 Codar安全审核通过v0.1.0更新于 2026-11-18

SKILL.md

Mechanics Visuals

The numbers behind every figure come from scripts/mech_plots.py, so the picture and the values always agree.

Workflow

  1. Pin down the scenario: geometry, loads, supports, sign convention, and units. If the user is teaching, ask once which textbook's convention they follow (the default is Shigley/Hibbeler).
  2. Generate the figure:
    python scripts/mech_plots.py mohr --sx 80 --sy -40 --txy 30 --out mohr
    python scripts/mech_plots.py beam --L 2000 --support simply --point 800:5000 --udl 0:2000:2 --I 8.3e6 --out beam
    python scripts/mech_plots.py sn   --Sut 690 --Se 280 --out sn
    python scripts/mech_plots.py ss   --sy 350 --Sut 480 --n 0.18 --out ss
    
  3. Free-body diagrams: no script. Write a matplotlib or SVG drawing following references/fbd_style.md (body as a light-grey shape, every force as a labelled arrow from its point of application, reactions in a different color, coordinate triad in a corner). Check equilibrium numerically (ΣF = 0, ΣM = 0) and print the residuals before you show the figure.
  4. Verify: compare one value against a closed form, e.g. simply supported center load M_max = PL/4, δ = PL³/48EI. State the comparison.
  5. Deliver: the PNG for viewing, the SVG for slides, and a 2–3 sentence caption with the key numbers.

Style

Use one accent color for loads, one for reactions and grey for geometry. Use SI units, label every axis, and keep titles under about 8 words. Never put more than one concept in a single figure unless the user asks for it.

示例提示词

帮我画一条简支梁的剪力弯矩图和对应的应力莫尔圆。

所属插件

机械设计与先进制造面向机械设计与制造研究:文本/草图生成 CAD、FreeCAD/SolidWorks 参数化建模、机构综合与零件选型、公差与 GD&T、DFM 与设计评审、快速有限元与应力代理模型、增材制造工艺与缺陷预测、疲劳断裂寿命。

安装该插件会一并获得同领域的 35 个 Skill / MCP。

同插件的其他科研 Skill

常见问题

力学教学图绘制能做什么?

Produces mechanics teaching figures such as Mohr’s circle, shear/moment diagrams, S-N curves, and free-body diagrams as PNG/SVG. Use when asked to draw or plot a mechanics concept。

如何安装力学教学图绘制?

在科搭 Codar 左侧点击「插件」,在「组件」页签搜索「力学教学图绘制」并安装;在 Claude Code 或 Codex 中可以发送本页的安装提示词,或下载 Skill 包后解压到 ~/.claude/skills 或 ~/.codex/skills。

力学教学图绘制需要哪些权限?

该科研 Skill没有声明额外权限;执行具体操作时仍由 Agent 按自身规则请求确认。

力学教学图绘制经过官方审核吗?

是。SpeedSkills 收录的每个版本都会记录内容摘要与权限声明,当前版本已通过安全审核。