aktos-io / aecad

Open Source Circuit Board Design Software that runs on the browser and desktop
https://aktos.io/aecad
54 stars 10 forks source link

Support custom fields for "Quick Labels" #91

Open ceremcem opened 2 years ago

ceremcem commented 2 years ago

Currently Quick Labels are in this format:

    bom:
        foo:
            '500ohm':
                "x":           
                    1: "aaa"
                    2: "bbb"

Labels are supposed to be strings. However they should also support objects, like for "Cable definition" purposes:

    bom:
        Dsub_9_vertical:
            '':
                "rs232":           
                    2: 'tx': connect-to: "Omron.RX(3)"
                    3: 'rx': connect-to: "Omron.TX(2)"   
                    5: 'gnd': connect-to: "Omron.Gnd(9)"
                    # no connection
                    1: 'nc'
                    4: 'nc'
                    6: 'nc'
                    7: 'nc'
                    8: 'nc'
                    9: 'nc'