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

Template gererated 180° off #37

Open
Keuronde opened this issue Aug 11, 2023 · 1 comment
Open

Template gererated 180° off #37

Keuronde opened this issue Aug 11, 2023 · 1 comment

Comments

@Keuronde
Copy link

When trying to generate the template of the footprint AMASS_XT60-M_1x02_P7.20mm_Vertical, the component seems to be rotated by 180° while the document border seems to be correct

Command run

./scripts/create_template.py footprint /usr/share/kicad/footprints/Connector_AMASS.pretty/AMASS_XT60-M_1x02_P7.20mm_Vertical.kicad_mod custom_footprint/Connector_AMASS/AMASS_XT60-M_1x02_P7.20mm_Vertical.svg

Result expected : having the component fully in the document of Inkscpae

@Keuronde
Copy link
Author

Keuronde commented Aug 12, 2023

Well, the previous description wasn't very accurate.

Step to reproduce the issue.

  1. create a new kicad project
  2. create a board (call it board.kicad_pcb) with edgecut and one connector AMASS_XT60-M_1x02_P7.20mm_Vertical
  3. Rotate the component by 180°

Generate the template of the svg footprint, giving the board as an input (and not directly the footprint)
pip3 install pcbdraw==0.9.0
./pcbdraw-lib/scripts/create_template.py board board.kicad_pcb footprint

Then, the footprint is generated 180° rotated, and badly applied to the board when using pcbdraw.

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

No branches or pull requests

1 participant