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

[Feature] Support for undocumented kicad_sch attribute `[Symbol('netclass_flag') #418

Closed
N0cynym opened this issue Apr 14, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@N0cynym
Copy link

N0cynym commented Apr 14, 2023

Describe the bug
I'm trying to use the new feature netclass.
KiBot seems not to know about them.

To Reproduce
Add Netclass.

Environment (please complete the following information):
Where are you running KiBot:

  • In a CI/CD workflow GitLab
  • Using docker image ghcr.io/inti-cmnb/kicad7_auto:dev

Additional context

ERROR:Unknown kicad_sch attribute `[Symbol('netclass_flag'), '', [Symbol('length'), 2.54], [Symbol('shape'), Symbol('rectangle')], [Symbol('at'), 222.25, 41.91, 0], [Symbol('effects'), [Symbol('font'), [Symbol('size'), 1.27, 1.27]], [Symbol('justify'), Symbol('left'), Symbol('bottom')]], [Symbol('uuid'), Symbol('356c46fb-1c9f-46ea-82f7-5ade23c8fdc8')], [Symbol('property'), 'Netclass', 'NetCl_power', [Symbol('at'), 222.25, 38.1, 0], [Symbol('effects'), [Symbol('font'), [Symbol('size'), 0.635, 0.635], Symbol('italic')]]]]` (kibot - kiplot.py:270)
@set-soft set-soft added the enhancement New feature or request label Apr 14, 2023
@set-soft
Copy link
Member

Hi @N0cynym !

KiCad schematic format documentation doesn't mention anything about netclasses.

Moreover, netclasses are stored in the project.

So I think this is some additional feature, I need an example project using it.

@set-soft set-soft changed the title [BUG] Unknown kicad_sch attribute `[Symbol('netclass_flag') [Feature] Support for undocumented kicad_sch attribute `[Symbol('netclass_flag') Apr 14, 2023
@N0cynym
Copy link
Author

N0cynym commented Apr 14, 2023

This should fail if you anything with kibot.

Test-418.zip

set-soft added a commit that referenced this issue Apr 14, 2023
@set-soft
Copy link
Member

This should work now. They are very similar to other labels, just adds a length.

I didn't see these flags. Note that they aren't mandatory, you can tag net without using these flags.

@N0cynym
Copy link
Author

N0cynym commented Apr 14, 2023

Works, thanks you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants