Raspberry pi cm4 footprint export two connectors pick and place position

When export bom and position from cm4io board project, the cm4 library and generated data for itself not two DF40C-100DS-0.4v connector as material and position, this is really confusing
So my solution

  • Create Two Text in footprint and name it as BOM_A*, then place its position and rotation as connector

  • Create Fields with same name in symbol to store the footprint name
    BOM_A1 -> DF40C-100DS-0.4V
    BOM_A2 -> DF40C-100DS-0.4V

  • use custom export script to read text data and export,this is the GitHub link for my script, it can export ready to use csv for JLC
    https://github.com/Huibean/KiCAD_JLC