Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

KiCAD Schematic Exporter MVP #125

Closed
wants to merge 102 commits into from

Conversation

mawildoer
Copy link
Contributor

@mawildoer mawildoer commented Nov 6, 2024

This is the base of something that needs on-going work to produce schematics EEs will be happy with.

Screenshot 2024-11-05 at 18 29 03
Screenshot 2024-11-05 at 18 26 54

Fixes # (issue)

Checklist

Please read and execute the following:

  • My code follows the coding guidelines of this project
  • My PR title is following the contribution guidelines
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (if applicable)
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works (if applicable)
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I ran Black to format my code

Code of Conduct

By submitting this issue, you agree to follow our Code of Conduct:

@mawildoer mawildoer force-pushed the mawildoer/kicad-schematic-exporter-12 branch from 6837164 to 0f4d2fd Compare November 6, 2024 03:24
@mawildoer mawildoer force-pushed the mawildoer/kicad-schematic-exporter-12 branch from cb927d6 to d44e838 Compare November 6, 2024 03:26
@@ -110,6 +110,12 @@ def _handle_added_to_parent(self):
def on_obj_set(self): ...

def handle_duplicate(self, other: "TraitImpl", node: Node) -> bool:
"""
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@IoannisP-ITENG I'm not sure this is 100% accurate. It'd be handy to know what the return means?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FIxed in #113

@@ -0,0 +1,64 @@
# This file is part of the faebryk project
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@IoannisP-ITENG I've got more hints to add to this, and imagine it'll grow with time.

What do you think of this pattern?

@@ -27,6 +26,12 @@


def uuid_field():
def gen_uuid():
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Boy... this got to be a big mess. One of the tests had a circular import, which this managed to break.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in #113

src/faebryk/libs/util.py Show resolved Hide resolved
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved this and updated the tests because it's a usually part of the lib dir, so this format matches reality better

@mawildoer
Copy link
Contributor Author

Superseded by atopile/atopile#537

@mawildoer mawildoer closed this Nov 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants