Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: plot board layers for kicad 8 (and later?) #174

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sethp
Copy link

@sethp sethp commented Sep 4, 2024

Previously, plotting a board using the kicad 8 library would only render component footprints, all grouped in the bottom right corner. As of this snapshot, PcbDraw once again plots the appropriate mask/silkscreen layers.

The primary mechanism is to reshape the version selection logic such that that newer versions which are backwards compatible should render without requiring any code changes in PcbDraw going forward.

Upstream modifications that still require changes (such as the existing differences in handling kicad 5/6 from 7 & 8) have been changed to form non-default branches, such that if support for kicad 5 is dropped, it's clear what code ought to be deleted to excise the kicad-5-specific compatibility concerns.

I expect this change to address #172, #162 (the most recent comment, anyway), and #167.

Previously, plotting a board using the kicad 8 library would only render
component footprints, all grouped in the bottom right corner. As of this
snapshot, PcbDraw once again plots the appropriate mask/silkscreen
layers.

The primary mechanism is to reshape the version selection logic such
that that newer versions which are backwards compatible should render
without requiring any code changes in PcbDraw going forward.

Upstream modifications that still require changes (such as the existing
differences in handling kicad 5/6 from 7 & 8) have been changed to form
non-default branches, such that if support for kicad 5 is dropped, it's
clear what code ought to be deleted to excise the kicad-5-specific
compatibility concerns.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant