-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
88 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,23 @@ | ||
# NOTE: when you edit a symbol in here, it won't | ||
# take effect until you reload symbols. Eventually | ||
# add a method to update this user side... | ||
|
||
from enum import Enum | ||
|
||
class SYMBOLS(Enum): | ||
|
||
GND = """LINE Normal 0 0 0 4 2 | ||
LINE Normal -12 4 12 4 2 | ||
LINE Normal -12 4 0 16 2 | ||
LINE Normal 0 16 12 4 2""" | ||
GND = """ | ||
LINE Normal -12 0 12 0 2 | ||
LINE Normal -12 0 0 12 2 | ||
LINE Normal 0 12 12 0 2 | ||
""" | ||
|
||
NODE = """LINE Normal -4 4 4 4 2 | ||
NODE = """ | ||
LINE Normal -4 4 4 4 2 | ||
LINE Normal -4 4 -4 -4 2 | ||
LINE Normal 4 4 4 -4 2 | ||
LINE Normal -4 -4 4 -4 2""" | ||
LINE Normal -4 -4 4 -4 2 | ||
""" | ||
|
||
def __call__(self): | ||
return self.value |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters