Skip to content

Not picking all similar components #17

@Juvar1

Description

@Juvar1

First it didn't work but as I'm a programmer too I fixed it with following changes to file action_place_footprints.py. I have KiCAD 7. Problem was that plugin didn't picked all similar components. I have them 216 pieces on board.

fp_references = [ref_fp_ref]
for sheet in sheets_to_place:
    for fp in footprints_with_same_id:
        if "/".join(sheet) in "/".join(fp.sheet_id):
            fp_references.append(fp.ref)
            #break # <--- commented out

# remove duplicates NEW
fp_references = list(set(fp_references))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions