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

Mark the footprint as virtual in the pretty format #14

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

Mark the footprint as virtual in the pretty format #14

wants to merge 1 commit into from

Conversation

matthijskooijman
Copy link

The export currently adds (attr smd), which marks the footprint as an
SMD component (which internally sets the MOD_CMS attribute, and in the
GUI marks the component as "Normal+Insert").

This causes it to be exported in a .pos file for a pick & place machine.
Since this is just a silkscreen and not an actual component, this makes
no sense.

This commit instead sets (attr virtual) (which internally sets
MOD_VIRTUAL, and in the GUI marks the component as "Virtual") which
causes it to be ignored by various parts of kicad that iterate over
actual components.

The export currently adds (attr smd), which marks the footprint as an
SMD component (which internally sets the MOD_CMS attribute, and in the
GUI marks the component as "Normal+Insert").

This causes it to be exported in a .pos file for a pick & place machine.
Since this is just a silkscreen and not an actual component, this makes
no sense.

This commit instead sets (attr virtual) (which internally sets
MOD_VIRTUAL, and in the GUI marks the component as "Virtual") which
causes it to be ignored by various parts of kicad that iterate over
actual components.
@NaH012 NaH012 mentioned this pull request Aug 23, 2018
herostrat added a commit to herostrat/svg2mod that referenced this pull request May 17, 2019
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