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

Rotation in positions.csv file? #20

Closed
phil-barrett opened this issue Sep 26, 2022 · 4 comments
Closed

Rotation in positions.csv file? #20

phil-barrett opened this issue Sep 26, 2022 · 4 comments

Comments

@phil-barrett
Copy link

phil-barrett commented Sep 26, 2022

Sorry, this is a question, not a bug. Though might be a feature request... I searched but did not find an answer so asking here.

JLCPCB always has device rotations messed up (ok, maybe it's not their fault but often a part is not in the proper orientation in the positions.CSV file). Is there a way to specify this other than post editing the CSV file? I know JLCPCB will correct rotations but I'd rather not rely on a tech always doing the right thing.

[edit] Yes, I know I can change the rotations during ordering but I frequently reorder and would have to go through the same process every time - the less manual intervention the better.

@bennymeg
Copy link
Owner

Well, the issue is that the footprints JLC uses are not guaranteed to be oriented in the same manner your footprint is oriented.
There is not a way that I know of the to match the rotations (unfortunately).
BTW, a good place for this question would be in the discussions tab.

@zapta
Copy link

zapta commented Oct 2, 2022

I use this script to rotate kicad models. It's not perfect and sometimes I need to do minor manual fixes but it work well with JLCPCB. Each invocation rotates by 90deg so I run it 1, 2, or 3 times as needed. Sometimes I also need to move the footprint by x/y using the move-exact command in Kicad. My practice is to rotate/offset my footprint such that the land perfectly when I upload to JLCPCB. Very useful for open source projects when other people order independently for themselves.

https://github.com/zapta/ble_stepper_motor_analyzer/tree/main/kicad/tools

@zapta
Copy link

zapta commented Oct 2, 2022

There is not a way that I know of the to match the rotations (unfortunately).

This could be an extra footprint property. E..g. JLCPBP_FIX =" 270/+0.1/-0.32", for rotating by 270deg and offsetting by 0.1, -0.32mm. Just an idea.

@bennymeg
Copy link
Owner

bennymeg commented Oct 2, 2022

Sounds good

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

3 participants