Bouni / kicad-jlcpcb-tools

Plugin to generate BOM + CPL files for JLCPCB, assigning LCSC part numbers directly from the plugin, query the JLCPCB parts database, lookup datasheets and much more.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rotation override by component property

lk-davidegironi opened this issue · comments

Just like using the 'LCSC Part #' property to auto compile the JLC part number, it would be useful if the 'JLCPCB Rotation Offset' were implemented as a Rotation table override for specific board component. Sometime it happens one package has to be rotate in one board and in other not. (I've found this problem with the Potentiometer_Bourns_3296W_Vertical package, as example the C118954 part).

Can you go a bit more into detail why a part has to be rotated in one board but not in the other?
That makes no sense to me ....

I've investigate further to prepare a sample for you. And I've found something "strange".
Let's take just the RV1 component (Potentiometer_Bourns_3296W_Vertical)
On the board1 with the placement error I've this CPL line for RV1
RV1,1K,Potentiometer_Bourns_3296W_Vertical,54.864,-77.988,90.0,top
But on the JLCPCB Tools (2023.09.01), the RV1 line looks like this (no rotation, rotation = zero 0)
jlcpcb_tool
On JLCPCB it looks like the image attached below (90 degree rotated)
board_2

The other board indeed has RV1 with not rotation, the CPL line is:
RV1,10k,Potentiometer_Bourns_3296W_Vertical,85.969,-87.376,0.0,top
And I've no error on JLCPCB online.

So I suppose It's something related to just one board.
Find attached by rotation Export.

rot.csv