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

Package editor: Rule checker #55

Open
greenscreenflicker opened this issue Jan 5, 2018 · 7 comments
Open

Package editor: Rule checker #55

greenscreenflicker opened this issue Jan 5, 2018 · 7 comments

Comments

@greenscreenflicker
Copy link

I'd propose to add a rule checker when creating packages. As many people should later create packages, "wildwuchs" (deutsch: rank-grove) would result, as everybody would do things slightly diffrently.

The package checker could do e.g. those things:

  1. Check if a name for the part is given
  2. Check if a $RD tag is on the footprint
  3. Check if $RD tag has the same size arrording to the standard (0.15mm line width - 1mm height)
  4. Check if Countyard is present
  5. Check if silkscreen is present
    ... This could be extended, when more using it, more ideas will come...

Only if this DRC checks are passed, a merge to the repository should be allowed.

@carrotIndustries
Copy link
Member

6e49cb9 adds some of these. New checks should be fairly trivial to add: https://github.com/carrotIndustries/horizon/blob/master/package/package_rules_check.cpp

@greenscreenflicker
Copy link
Author

greenscreenflicker commented Jan 6, 2018

@carrotIndustries
This error message is not quite clear to me. Maybe you add a proposed "fixed" to the error msg.
grafik

Maybe i need to add it to another layer? Please give hint.

@carrotIndustries
Copy link
Member

Oh, i got that text wrong (fixed in 3b35e75), it should read assembly reference designator. That's the one you're missing: https://github.com/carrotIndustries/horizon/wiki/Creating-a-Package#assembly-outline

@greenscreenflicker
Copy link
Author

greenscreenflicker commented Jan 12, 2018

@carrotIndustries Ok, clear now.

Can you add the following more test:

  1. Check if package outline is present
  2. Check if Assembly outline is present
  3. (Maybe this exists) Check if Countyard is present
  4. Check that package outline fits in countyard
  5. Check that assembly outline fits in countyard
  6. No polygons on Top copper
  7. No polygons on Bot copper

@greenscreenflicker
Copy link
Author

@carrotIndustries : One more rule to check:
Only one countyard polygon inside the footprint.

@greenscreenflicker
Copy link
Author

@carrotIndustries As you are so crictical about submitting to the horizon pool, i think strict rule checking allows the reduction of errors.

@pwnorbitals
Copy link

Can be closed ?

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