Component offset in POS file
See original GitHub issueHi, To be fair, I am not sure if it is some configuration I have, or something to do with the plugin…
Describe the bug Position data is offset for components selected through the JLCPCB component selector. ~7.6mm in -x direction
To Reproduce Steps to reproduce the behavior:
- Go to PCBNEW
- Click plugin button
- Select JLCPCB Components
- Generate assembly files
- View POS file is incorrect (Within JLCPCB viewer) -> components are shifted 7.61118mm -x
Expected behavior POS file to be correct
KiCad Version
Application: KiCad (64-bit)
Version: (6.0.6), release build
Libraries:
wxWidgets 3.1.6
libcurl/7.82.0-DEV Schannel zlib/1.2.12
Platform: Windows 11 (build 22000), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Date: Jun 26 2022 02:39:06
wxWidgets: 3.1.6 (wchar_t,wx containers)
Boost: 1.79.0
OCC: 7.6.0
Curl: 7.82.0-DEV
ngspice: 37
Compiler: Visual C++ 1929 without C++ ABI
Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON
Issue Analytics
- State:
- Created a year ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
POS File Format - X-Ways
Specifies the start offset of the position itself, i. e. the offset within a file or a disk. In case of disk partitions...
Read more >Generate Position File in Kicad - Help Center - PCBWay
Select the menu bar Place-> Drilling and Position Offset, place the origin at the bottom left corner of the PCB board frame, and...
Read more >Footprint Position File X coordinates suddenly negative
So the problem is that suddenly the X coordinates in the output POS file went negative. I've tried moving the Drill and Place...
Read more >How to write at a specific address using pos mode and pos offset
I want to reserve the first 100 bytes for a binary file and start writing raw data from the 101th byte address. I...
Read more >offset-position - CSS: Cascading Style Sheets - MDN Web Docs
If two non-keyword values are used, the first value represents the horizontal position and the second represents the vertical position. If only ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you for your detailed research! I guess when we use the PR #199 and add
popt.SetUseAuxOrigin(True)
as well we cover most cases.I was a bit impatient, so I modified the plugin a bit. I replaced a part in file fabrication.py:
It should be easy to find. It looks that this solves the problem for myself. I haven’t ordered a new pcb yet and I’ve only verified the top layer, so I’m not sure if this solves the problem completely.
I also found this: https://forum.kicad.info/t/coordinate-system-grid-and-origins-in-the-pcb-editor/24535 to explain the topic.