Skip to content
This repository has been archived by the owner on Oct 2, 2020. It is now read-only.

Added generic buzzer 14D, 7mm height, P10mm #1864

Merged
merged 3 commits into from
Nov 14, 2019

Conversation

gggfred
Copy link
Contributor

@gggfred gggfred commented Sep 18, 2019

Datasheet

Footprint

Reference

All contributions to the kicad library must follow the KiCad library convention

Thanks for creating a pull request to contribute to the KiCad libraries! To speed up integration of your PR, please check the following items:

  • Provide a URL to a datasheet for the footprint(s) you are contributing
  • An example screenshot image is very helpful
  • If there are matching symbol or 3D model pull requests, provide link(s) as appropriate
  • Check the output of the Travis automated check scripts - fix any errors as required
  • Give a reason behind any intentional library convention rule violation.

@antoniovazquezblanco antoniovazquezblanco added Addition Adds new footprint to library Pending reviewer A pull request waiting for a reviewer labels Sep 19, 2019
@cpresser
Copy link
Contributor

Hi and thanks for you contribution.

This looks like it is exactly in line with the other buzzers already in the library. Which is good.
But the name does not conform to KLC. Whats the meaning of RM?

A compliant KLC name would be: Buzzer_D14mm_H7mn_P10mm

@cpresser cpresser self-assigned this Sep 26, 2019
@cpresser cpresser removed the Pending reviewer A pull request waiting for a reviewer label Sep 26, 2019
@gggfred
Copy link
Contributor Author

gggfred commented Sep 26, 2019

Hi and thanks for you contribution.

This looks like it is exactly in line with the other buzzers already in the library. Which is good.
But the name does not conform to KLC. Whats the meaning of RM?

A compliant KLC name would be: Buzzer_D14mm_H7mn_P10mm

Hi @cpresser thanks for your comments, actually I don't know what does RM means, I just copy Buzzer_12x9.5RM7.6.kicad_mod and Buzzer_15x7.5RM7.6.kicad_mod name. But Buzzer_D14mm_H7mm_P10mm is better. I'll rename.

@gggfred
Copy link
Contributor Author

gggfred commented Sep 26, 2019

@cpresser I renamed the part, please check again

@gggfred gggfred changed the title Added generic buzzer 14D, 7mm height, RM10mm Added generic buzzer 14D, 7mm height, P10mm Sep 26, 2019
@cpresser
Copy link
Contributor

cpresser commented Sep 26, 2019

The 3D-Model is missing mm.
And travis is having some issues again, it did include parts/commits that you did not commit in this PR. You can ignore the errors not related to your addition.
I suspect its the same issue as this one: KiCad/kicad-library-utils#302

@gggfred
Copy link
Contributor Author

gggfred commented Sep 27, 2019

The 3D model name now includes the missing mm. I read about the travis error, but I didn't understood yet, so I'll research more.

@chschlue
Copy link
Contributor

I assume RM means Rastermaß.
Somebody apparently forgot to translate to pitch.

@gggfred
Copy link
Contributor Author

gggfred commented Sep 27, 2019

Thanks @chschlue

@evanshultz
Copy link
Collaborator

@chschlue
Correct. Many scripts written by @jkriege2 use or used this term.

@chschlue
Copy link
Contributor

@evanshultz
Wasn't aware of scripted buzzers. So this one should be added to https://github.com/pointhi/kicad-footprint-generator/tree/master/scripts/Buzzers_Beepers?

@evanshultz
Copy link
Collaborator

@chschlue
We prefer scripted solutions where possible, but we wouldn't discount a good handmade contribution without reason. Lately, Rene has been requiring scripted submissions for the IPC generators, but this footprint isn't one of them.

So if the contributor would swap out this footprint with a scripted one and submit the script update that's ideal.

I know that Jan often used RM in his footprints, the scripted ones being what I'm familiar with, but if one of his footprints was used as a reference (like it was here) we can proliferate that convention. Sometimes the convention might be desirable and other times not.

@chschlue
Copy link
Contributor

Rastermaß is kind of obsolescent in German (this thread has shown its abbreviation can baffle electronics-savvy native speakers) and probably unknown elsewhere.

So I'm all for proliferating / reviving it!

@gggfred
Copy link
Contributor Author

gggfred commented Sep 27, 2019

Ok, now everything is clear. Where can I find information about scripting?

@cpresser
Copy link
Contributor

cpresser commented Oct 1, 2019

perhaps those? But I am not sure if thats the script which was used to generate the other buzzers.
https://github.com/pointhi/kicad-footprint-generator/tree/master/scripts/Buzzers_Beepers

TBH, I don't see why we would want to keep RM. I would rather merge this PR as it is. With the current KLC compliant naming.

We can open an issue to rework the buzzers. Their geometry is so simple that we can redo the whole script so it also uses the .yaml input like the newer generators.

@gggfred
Copy link
Contributor Author

gggfred commented Oct 2, 2019

I can rename the buzzers, I have no problem, is it possible?

@cpresser
Copy link
Contributor

cpresser commented Oct 2, 2019

I can rename the buzzers, I have no problem, is it possible?

Nope. That would break existing designs. So we don't want that yet. With the next major (v6) release, renaming is possible.

@evanshultz
Copy link
Collaborator

@cpresser
For footprints, we can rename since they are embedded into the board file. It's symbols that are not, and the rescue feature is apparently fragile.

@cpresser
Copy link
Contributor

cpresser commented Oct 2, 2019

@cpresser
For footprints, we can rename since they are embedded into the board file.

Then I am in favor of renaming all of them so they conform to KLC.
Perhaps even regenerating them with a updated script.

There is only one symbol for a buzzer with no FP set and the filter is *Buzzer*, which will still work after renaming all FPs.

@cpresser
Copy link
Contributor

This has been sitting idle for quite some time.
I would like to merge this PR as it is right now. Then do a separate PR to rename all Buzzers to align the naming with current KLC.
Any objections?

@gggfred Would you like to do the renaming PR? If not, I will take care of it.

@gggfred
Copy link
Contributor Author

gggfred commented Nov 14, 2019

Ok @cpresser I will rename the buzzers in other PR

@cpresser cpresser merged commit ac0ed5e into KiCad:master Nov 14, 2019
@antoniovazquezblanco antoniovazquezblanco added this to the 5.1.5 milestone Nov 14, 2019
@gggfred gggfred deleted the buzzer14x7RM10 branch November 14, 2019 19:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Addition Adds new footprint to library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants