Added part description as property to KiCad response, to show it also in Kicad 9.0.5 and 9.06

Fixes #1291
This commit is contained in:
Jan Böhmer 2026-03-07 19:45:09 +01:00
parent 6e4d252617
commit 463d7b89f6
2 changed files with 4 additions and 1 deletions

View file

@ -202,6 +202,7 @@ class KiCadHelper
"exclude_from_bom" => $this->boolToKicadBool($part->getEdaInfo()->getExcludeFromBom() ?? $part->getCategory()?->getEdaInfo()->getExcludeFromBom() ?? false),
"exclude_from_board" => $this->boolToKicadBool($part->getEdaInfo()->getExcludeFromBoard() ?? $part->getCategory()?->getEdaInfo()->getExcludeFromBoard() ?? false),
"exclude_from_sim" => $this->boolToKicadBool($part->getEdaInfo()->getExcludeFromSim() ?? $part->getCategory()?->getEdaInfo()->getExcludeFromSim() ?? false),
"description" => $part->getDescription(),
"fields" => []
];