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: create_new() API for classes that directly serve files #33

Merged
merged 20 commits into from
Nov 20, 2022

Conversation

mvnmgrx
Copy link
Owner

@mvnmgrx mvnmgrx commented Nov 20, 2022

Added a create_new() function to the following file-serving classe:

  • Board(), DesignRules(), Footprint(), Library(), Schematic(), Symbol() and WorkSheet()

This is now the prefered way to create a new instance of said classes, as it populates all members in a similar way as KiCad would do it. Using the to_file() API afterwards will generate a file that is ready to be used with KiCad afterwards.

@mvnmgrx mvnmgrx merged commit 7eb0fa1 into master Nov 20, 2022
@mvnmgrx mvnmgrx deleted the feature_create_new branch November 20, 2022 15:15
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

Successfully merging this pull request may close these issues.

1 participant