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.
Fusion lane: fusion export calls fusion_export_gerbers without the layer count, so a 4-layer board exports as 2 layers
We kept a list of tool issues as we worked on a project, the 772 power module (LM251772), a 4-layer board built with AI Flow on the Fusion lane, and set them aside so they wouldn't slow the build down. Now that the project is finished, we're filing them together. Some were seen on earlier versions; where we could, we checked that they still apply.
Versions: adom-aiflow 0.2.44 when seen; the call is unchanged in 0.2.51 (tools/fusion-project.py, about line 2000). fusion-bridge 1.13.67.
What happens: fusion export calls fusion_export_gerbers with only outputPath. The bridge auto-detects the layer count, and on our 4-layer board (772 power module, LM251772) it detected 2 layers. The zip had top and bottom copper only, with no inner PGND/AGND planes. At 0.2.44 the export check still passed it.
Expected: pass the board's copper layer count to the bridge ("layers": "4" fixed it for us), and fail the export if the Gerber copper count differs from the board. 0.2.51's check_gerbers compares against the board's copper layers, which should catch the result; the export itself still needs the layer count.
Related: the detection bug on the bridge side is filed separately on adom/fusion-bridge.
No design files attached; happy to describe more on request.
1 Reply
Log in to reply.