AI Flow
Public Made by Adomby adom
Adom's AI Flow: a tool to help the AI follow all of the steps it takes to build a board.
step-export runs on the run's board copy, so project-library and PCM 3D models are all missing
Version: adom-aiflow 0.2.56 (local build 0.2.56+noah.1), kicad-cli 10.0.6 in the container.
What I ran: step-export on a board whose footprints take their 3D models from the project's own library (${KIPRJMOD}/lib/...) and from the board page's PCM package (${KICAD10_3RD_PARTY}/3dmodels/inc_adom_wiki_<owner>_<slug>/..., mirrored under kicad/3rdparty beside the project).
What happened: the export runs kicad-cli pcb export step ... <run>/board-29.kicad_pcb on the run's copy of the board, where ${KIPRJMOD} is the run folder and KICAD10_3RD_PARTY is unset, so every model is missing (modelWarnings: 252: Could not add 3D model for D16. File not found: ${KICAD10_3RD_PARTY}/3dmodels/..., File not found: ${KIPRJMOD}/lib/rgbcct-extra.3dshapes/...). The command reports only the one geometry warning as the open issue; a bare board with no parts would then go to board-glb copper and the page.
Expected: export from the source board's project folder (or set KIPRJMOD and KICAD10_3RD_PARTY to the project's), and treat missing models as an open issue, the way models does.
Workaround: run the same kicad-cli command from the project folder with KICAD10_3RD_PARTY set, then step-export --log <its output> --out <its STEP>.