Skip to content

Variants with Kicad10 #892

@Zuikkis

Description

@Zuikkis

Prerequisites

  • I have read FAQ
  • I have searched existing issues (including closed ones)
  • I use KiKit at least version 1.7.2 (older version are not supported)

KiKit version

kikit, version 1.7.2

KiCAD version (only KiCAD 8 and 9 are supported)

Kicad 10

Operating system

Windows 11

Description

I know Kicad10 is not yet officially supported, but I assume the support is coming as Kicad10 was already released.

So far Kikit seems to be working fine in 10. But I noticed that if design has variants, they are not copied to the generated pcb and project.

In pcb, it's just a matter of copying the "variants" block, example below:

    (variants
		(variant
			(name "XVTP1000-P1")
			(description "desc")
		)
		(variant
			(name "XVTP1002-P0")
			(description "TT")
		)
	)

And in the project file:

    "variants": [
      {
        "description": "desc",
        "name": "XVTP1000-P1"
      },
      {
        "description": "TT",
        "name": "XVTP1002-P3"
      }
    ]

The actual variant information for each component is already in place in the pcb file. So only thing needed is copying the above blocks. It's perhaps not needed to do for the project.

Steps to Reproduce

Create a pcb with variants defined, see variants disappear in the panel.

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