summaryrefslogtreecommitdiff
path: root/src/maker/Appconfig.py
diff options
context:
space:
mode:
authorrahulp132023-06-29 19:33:02 +0530
committerrahulp132023-06-29 19:38:37 +0530
commit6fb36b7f770ecf81e2abd8b8b5d86a1b75e497c5 (patch)
tree02d1b572a37e9de893b7be888515c5d998de6914 /src/maker/Appconfig.py
parent46ae72336513017b3c694876c1954cbaa760bfde (diff)
downloadeSim-6fb36b7f770ecf81e2abd8b8b5d86a1b75e497c5.tar.gz
eSim-6fb36b7f770ecf81e2abd8b8b5d86a1b75e497c5.tar.bz2
eSim-6fb36b7f770ecf81e2abd8b8b5d86a1b75e497c5.zip
refactored naming conventions with kicad6
Diffstat (limited to 'src/maker/Appconfig.py')
-rwxr-xr-xsrc/maker/Appconfig.py37
1 files changed, 24 insertions, 13 deletions
diff --git a/src/maker/Appconfig.py b/src/maker/Appconfig.py
index 9d373d5e..315ecff8 100755
--- a/src/maker/Appconfig.py
+++ b/src/maker/Appconfig.py
@@ -24,18 +24,29 @@ class Appconfig:
# parser_ngveri.read(os.path.join(home,
# os.path.join('.ngveri', 'config.ini')))
- # KiCad V6 Library Template
+ # KiCad v6 Library Template
kicad_sym_template = {
- "start_def": "(symbol \"comp_name\" (pin_names (offset 1.016)) (in_bom yes) (on_board yes)",
- "U_field":"(property \"Reference\" \"U\" (id 0) (at 12 15 0)(effects (font (size 1.524 1.524))))",
- "comp_name_field":"(property \"Value\" \"comp_name\" (id 1) (at 12 18 0)(effects (font (size 1.524 1.524))))",
- "blank_field": [
- "(property \"Footprint\" blank_quotes (id 2) (at 72.39 49.53 0)(effects (font (size 1.524 1.524))))",
- "(property \"Datasheet\" blank_quotes (id 3) (at 72.39 49.53 0)(effects (font (size 1.524 1.524))))"
- ],
- "draw_pos": "(symbol \"comp_name\"(rectangle (start 0 0 ) (end 25.40 3.6 )(stroke (width 0) (type default) (color 0 0 0 0))(fill (type none))))",
- "start_draw":"(symbol",
- "input_port":"(pin input line(at -5.15 0.54 0 )(length 5.08 )(name \"in\" (effects(font(size 1.27 1.27))))(number \"1\" (effects (font (size 1.27 1.27)))))",
- "output_port": "(pin output line(at 30.52 0.54 180 )(length 5.08 )(name \"out\" (effects(font(size 1.27 1.27))))(number \"2\" (effects (font (size 1.27 1.27)))))",
- "end_draw":"))"
+ "start_def": "(symbol \"comp_name\" (pin_names (offset 1.016)) " +
+ "(in_bom yes) (on_board yes)",
+ "U_field": "(property \"Reference\" \"U\" (id 0) (at 12 15 0)" +
+ "(effects (font (size 1.524 1.524))))",
+ "comp_name_field": "(property \"Value\" \"comp_name\" (id 1) " +
+ "(at 12 18 0)(effects (font (size 1.524 1.524))))",
+ "blank_field": [
+ "(property \"Footprint\" blank_quotes (id 2) " +
+ "(at 72.39 49.53 0)(effects (font (size 1.524 1.524))))",
+ "(property \"Datasheet\" blank_quotes (id 3) " +
+ "(at 72.39 49.53 0)(effects (font (size 1.524 1.524))))"
+ ],
+ "draw_pos": "(symbol \"comp_name\"(rectangle (start 0 0 ) " +
+ "(end 25.40 3.6 )(stroke (width 0) (type default) " +
+ "(color 0 0 0 0))(fill (type none))))",
+ "start_draw": "(symbol",
+ "input_port": "(pin input line(at -5.15 0.54 0 )(length 5.08 )" +
+ "(name \"in\" (effects(font(size 1.27 1.27))))" +
+ "(number \"1\" (effects (font (size 1.27 1.27)))))",
+ "output_port": "(pin output line(at 30.52 0.54 180 )(length 5.08 )" +
+ "(name \"out\" (effects(font(size 1.27 1.27))))" +
+ "(number \"2\" (effects (font (size 1.27 1.27)))))",
+ "end_draw": "))"
}