# 匯入 FEMM 結果 (`magnetics.femmImport`)

[元件參考](https://voltecx-web.nguyenvanqui291.workers.dev/zh/docs/reference/) · [English](https://voltecx-web.nguyenvanqui291.workers.dev/docs/reference/commands/magnetics-femmImport/)

**選單:** **設計 › 場求解器 › 匯入 FEMM** · **執行方式:** 立即完成

以下參數與說明取自指令本身的定義，與 CLI、Python 及 MCP 讀到的文字相同，因此保留英文。

## 說明

Reads field-solver results back: L of each winding, M, k = M/√(L1·L2), the magnetising inductance a·M and the leakages L1 − a·M and L2 − M/a, and the winding resistance at the frequency (rac). Give exactly one of results, path or values. With apply, an inductor gets l, a coupled inductor l1, l2 and k, a transformer lm, llk1 and llk2; the source (e.g. 'FEMM, gap 1.2 mm, 100 kHz') names the history step.

## 參數

- `results`: str? (the text of the results file the magnetics.femmExport script wrote)
- `path`: str? (that file, read through the host's file service)
- `values`: {"source":str,"frequency":Hz,"gapMm":number?,"l1":H,"l2":H?,"m":H?,"r1":Ω?,"r2":Ω?,"turns1":int?,"turns2":int?}? (from another field solver, e.g. Ansys Maxwell or COMSOL)
- `component`: str? (inductor, coupled inductor or transformer to write)
- `ratio`: number? (N1/N2 for the transformer split; default the results' turns, then the part's n)
- `apply`: bool=false (write ONE history step named after the source)

## 回覆

- source
- frequency
- gapMm
- result:{values}
- apply:\[edits\]
- applied
- notes
