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

Implement pick&place file export #639

Merged
merged 5 commits into from Dec 28, 2019
Merged

Conversation

ubruhin
Copy link
Member

@ubruhin ubruhin commented Dec 26, 2019

New dialog in the board editor:

grafik

Example output:

# Pick&Place Position Data File
# 
# Project Name:        Hydro Battery Charger
# Project Version:     v2
# Board Name:          default
# Generation Software: LibrePCB 0.1.4-unstable
# Generation Date:     2019-12-22T21:37:19
# Unit:                mm
# Rotation:            Degrees CCW
# Board Side:          Top

Designator,Value,Device,Package,Position X,Position Y,Rotation,Side
C1,LGW2E471MELZ40 470μF/250V,Elko 22/10mm,Elko 22/10mm,40.005,48.26,180.0,Top
C2,LGW2E471MELZ40 470μF/250V,Elko 22/10mm,Elko 22/10mm,62.5475,48.26,180.0,Top
C3,LGW2E471MELZ40 470μF/250V,Elko 22/10mm,Elko 22/10mm,40.005,11.43,0.0,Top
C4,LGW2E471MELZ40 470μF/250V,Elko 22/10mm,Elko 22/10mm,62.5475,11.43,0.0,Top
C5,10nF,C-0603,C-0603,117.475,26.035,270.0,Top
C6,2.2μF 25V,C-0805,C-0805,63.8175,27.735074,180.0,Top
L1,1mH Würth 7447075,Würth 7447075,Würth 7447075,89.2175,26.3525,0.0,Top
L2,,0603 Ferrite Bead,RESC1608 (0603),119.0625,31.75,270.0,Top
L3,68μH,DR127-680,Eaton DR127,55.403978,29.893846,90.0,Top

The whole feature is currently very simple (doesn't provide many configuration options, and configuration is not saved yet in the project), but I think it should already be quite useful for automated assembly.

Fixes #621.

@ubruhin ubruhin added this to the 0.1.4 milestone Dec 26, 2019
@ubruhin ubruhin self-assigned this Dec 26, 2019
@dbrgn
Copy link
Member

dbrgn commented Dec 26, 2019

Nice! Did you do some research on format and mirroring?

Should mirroring of parts on the bottom side be configurable?

@ubruhin
Copy link
Member Author

ubruhin commented Dec 26, 2019

Did you do some research on format and mirroring?

See #621 (comment) and #621 (comment). Thus I think we don't have to mirror coordinates. If we still need it some day, we could add it later.

@ubruhin ubruhin force-pushed the 621-implement-pick-place-export branch from d4fddf4 to b197e9d Compare Dec 27, 2019
@ubruhin ubruhin merged commit 09250c8 into master Dec 28, 2019
2 checks passed
@ubruhin ubruhin deleted the 621-implement-pick-place-export branch Dec 28, 2019
ubruhin added a commit that referenced this pull request Apr 22, 2020
Implement pick&place file export
(cherry picked from commit 09250c8)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement device placement file export for pick&place machines
2 participants