From eb7c7621d9aba5d0d2433374c5006eb94fd7debb Mon Sep 17 00:00:00 2001 From: Gloria1210 Date: Fri, 12 Jun 2020 19:23:45 +0530 Subject: Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a865f5d..7c54502 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # PSpice to Oscad Schematic Converter #This code is written by Suryavamsi Tenetti, FOSSEE, IIT Bombay -# Modified by Sumanto Kar and Gloria Nandihal, FOSSEE, IIT Bombay +#Modified by Sumanto Kar and Gloria Nandihal, FOSSEE, IIT Bombay -# Esim_pspice_to_KiCad_parser +# Esim_pspice_to_KiCad_Python_Parser The Schematic file and Library file parser to convert pspice files to KiCad files. FOSSEE eSim project, IIT BOMBAY This program can convert PSPICE schematic files (.sch) to Kicad schematic files (.sch) @@ -17,7 +17,7 @@ USAGE: Run the following command in the terminal in order to install it. $ sudo apt install python3.7 ----------------------------------------------- -#TO DOWNLOAD THE ESIM_PSPICE_TO_KICAD_PARSER +#TO DOWNLOAD THE ESIM_PSPICE_TO_KICAD_PYTHON_PARSER Clone or Download the Esim_pspice_to_KiCad_parser from the Git in the Home folder(or any other folder) of the local computer. ----------------------------------------------- -- cgit From d52467499d3b807fd1bb714581deface7de7c068 Mon Sep 17 00:00:00 2001 From: Gloria1210 Date: Fri, 12 Jun 2020 19:25:00 +0530 Subject: Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7c54502..7e4fc44 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,10 @@ # PSpice to Oscad Schematic Converter #This code is written by Suryavamsi Tenetti, FOSSEE, IIT Bombay + #Modified by Sumanto Kar and Gloria Nandihal, FOSSEE, IIT Bombay -# Esim_pspice_to_KiCad_Python_Parser +# eSim_PSpice_to_KiCad_Python_Parser The Schematic file and Library file parser to convert pspice files to KiCad files. FOSSEE eSim project, IIT BOMBAY This program can convert PSPICE schematic files (.sch) to Kicad schematic files (.sch) -- cgit From 124255b621280f0912423bc2d606ad9f2d425a8e Mon Sep 17 00:00:00 2001 From: Gloria1210 Date: Fri, 12 Jun 2020 19:27:09 +0530 Subject: Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7e4fc44..52b812d 100644 --- a/README.md +++ b/README.md @@ -20,11 +20,11 @@ $ sudo apt install python3.7 ----------------------------------------------- #TO DOWNLOAD THE ESIM_PSPICE_TO_KICAD_PYTHON_PARSER -Clone or Download the Esim_pspice_to_KiCad_parser from the Git in the Home folder(or any other folder) of the local computer. +Clone or Download the eSim_PSpice_to_KiCad_Python_Parser from the Git in the Home folder(or any other folder) of the local computer. ----------------------------------------------- #TO CHANGE THE DIRECTORY -$ cd Pspice/Esim_Pspice_To_Kicad_Parser/Lib/Pythonlib +$ cd Pspice/eSim_PSpice_to_KiCad_Python_Parser/Lib/Pythonlib ----------------------------------------------- #TO CONVERT THE PSPICE LIBRARY(.slb) FILES TO KiCAD LIBRARY(.lib) FILES @@ -32,7 +32,7 @@ $ sudo python3 libParser.py -$ sudo python3 libParser.py Example: -$ sudo python3 libParser.py ~/Desktop/pspice_lib/rc.slb ~/Desktop/KiCAD_lib/ +$ sudo python3 libParser.py ~/Home/eSim_PSpice_to_KiCad_Python_Parser/libray/analog.slb analog + +This will create analog.lib file and save it in the path -By default the .lib files will be saved in the path:Pspice/eSim_PSpice_to_KiCad_Python_Parser/Lib/Pythonlib ----------------------------------------------- -#TO CONVERT THE PSPICE SCHEMATIC FILES TO KiCAD SCHEMATIC FILES +#To convert the PSpice schematic files to KiCad schematic files +Set the path where the parser.py file is located. $ sudo python3 parser.py + Example: $ sudo python3 parser.py ~/Desktop/pspice/rc.sch ~/Desktop/convert/rc -This will first create a directory rc at the location ~/Desktop/convert/ -and then the files rc.pro, rc.proj and rc.sch in /home/username/converted/rc/ ------------------------------------------------ -#TO OPEN THE KiCAD PROJECT AND EESCHEMA +This will create a folder rc at the location /Desktop/convert/. The directory will have rc.sch, rc.proj and rc.pro. +The directory will have read only access. You need to use chmod command to change the access. -1. Go to the directory where your files are converted. -2. Open the folder. -4. Copy the files to some other folder if permission is not granted(optional). -5. Click on .pro file to run the schematic. -6. Click on EESchema button to run the schematic. ------------------------------------------------ -#TO LOAD THE LIBRARIES - -If all the libraries in EESchema are not loaded, follow these steps: -1. Go to Preferences in the EESchema menubar. -2. Click on the Component Libraries in the drop down list. -3. A dialog box appears, click on the Add option. -4. Go to the path where your library to be added is saved. -5. Select the library to be added and click on Open button. -6. Close the dialog box. -7. Restart the EESchema to get the updated schematic. ------------------------------------------------ -#TO CHANGE THE ACCESS OF THE FILES +-------------------------------------------------------- +#To change the access of the file and folder Use this command to change access to the files: chmod Example: chmod u=rwx,g=rx,o=r myfile -Refer to the following website to know more about this command: -< https://www.computerhope.com/unix/uchmod.htm > You can also use: sudo chmod 777 filename. -Example: sudo chmod 777 ~/Desktop xyz +Example: sudo chmod 777 ~/Desktop/convert/rc + +----------------------------------------------- +#To open the KiCad schematic file in eSim + +1. Open eSim. +2. Create a new project. +3. Open the schematic using open schematic option. +4. Make sure all the libraries are loaded (9k+) using Place component option in eeschema. +5. Append the schematic using Append Schematic option from the file menu +6. Go to the directory where your files are converted. +7. Select the KiCad coverted schematic file (.sch). Click on Open. +8. To simulate, follow the instructions available on the eSim webpage + https://esim.fossee.in/pspice-to-kicad +----------------------------------------------- +#To load the libraries + +If all the libraries in eeschema are not loaded, follow these steps: +1. In eeschema, select Preferences option. +2. Click on the Component Libraries in the drop down list. +3. A dialog box appears, click on the Add option. +4. Go to the path where your library to be added is saved. +5. Select the library to be added and click on Open button. +6. Close the dialog box. ----------------------------------------------- -#TO ADD LIBRARIES IN THE PARSER.PY +#To add libraries in the parser.py Open the parser.py python file in the PythonLib folder. Type and add the libraries in the variables "descr" and "prodescr" + ----------------------------------------------- #WARNING: @@ -90,4 +94,3 @@ Type and add the libraries in the variables "descr" and "prodescr" - -- cgit From 659197b4c240c44ba2cfb22e3a84abbf71e46040 Mon Sep 17 00:00:00 2001 From: Gloria1210 Date: Sat, 13 Jun 2020 00:48:11 +0530 Subject: Update README.md --- README.md | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 897377e..d1f8ddf 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,13 @@ #PSpice to KiCad Schematic Converter -#This code is written by Suryavamsi Tenetti, FOSSEE, IIT Bombay -#Modified by Sumanto Kar and Gloria Nandihal, FOSSEE, IIT Bombay + + +#This code is written by Suryavamsi Tenetti, FOSSEE, IIT Bombay and modified by Sumanto Kar and Gloria Nandihal, FOSSEE, IIT Bombay #eSim_PSpice_to_KiCad_Python_Parser + This program converts PSpice schematic files (.sch) to KiCad schematic files (.sch) + This program converts PSpice library files (.slb) to KiCad library files (.lib) USAGE: @@ -13,6 +16,7 @@ USAGE: #Make sure the python compiler is installed in the PC. Run the following command in the terminal in order to install it. + $ sudo apt install python3.7 ----------------------------------------------- @@ -24,6 +28,7 @@ Clone or Download the eSim_PSpice_to_KiCad_Python_Parser from the Git in the Hom #To convert the PSpice library(.slb) files to KiCad library(.lib) files Set the path where the libparser.py file is located. + $ sudo python3 libParser.py Example: @@ -35,6 +40,7 @@ This will create analog.lib file and save it in the path Example: @@ -47,11 +53,15 @@ The directory will have read only access. You need to use chmod command to chang #To change the access of the file and folder Use this command to change access to the files: + chmod Example: chmod u=rwx,g=rx,o=r myfile -You can also use: sudo chmod 777 filename. +You can also use: + +sudo chmod 777 filename. + Example: sudo chmod 777 ~/Desktop/convert/rc ----------------------------------------------- -- cgit From f78ea4fa13c4c97b243e795cbcadb53d116f7cca Mon Sep 17 00:00:00 2001 From: Gloria1210 Date: Sat, 13 Jun 2020 00:50:45 +0530 Subject: Update README.md --- README.md | 29 +++++++++++------------------ 1 file changed, 11 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index d1f8ddf..0738580 100644 --- a/README.md +++ b/README.md @@ -1,31 +1,24 @@ -#PSpice to KiCad Schematic Converter - - -#This code is written by Suryavamsi Tenetti, FOSSEE, IIT Bombay and modified by Sumanto Kar and Gloria Nandihal, FOSSEE, IIT Bombay - - -#eSim_PSpice_to_KiCad_Python_Parser - +eSim_PSpice_to_KiCad_Python_Parser +This code is written by Suryavamsi Tenetti, FOSSEE, IIT Bombay and modified by Sumanto Kar and Gloria Nandihal, FOSSEE, IIT Bombay. This program converts PSpice schematic files (.sch) to KiCad schematic files (.sch) - This program converts PSpice library files (.slb) to KiCad library files (.lib) USAGE: ----------------------------------------------- -#Make sure the python compiler is installed in the PC. +Make sure the python compiler is installed in the PC. Run the following command in the terminal in order to install it. $ sudo apt install python3.7 ----------------------------------------------- -#To download the eSim_PSpice_to_KiCad_Python_Parser +To download the eSim_PSpice_to_KiCad_Python_Parser Clone or Download the eSim_PSpice_to_KiCad_Python_Parser from the Git in the Home folder(or any other folder) of the local computer. ----------------------------------------------- -#To convert the PSpice library(.slb) files to KiCad library(.lib) files +To convert the PSpice library(.slb) files to KiCad library(.lib) files Set the path where the libparser.py file is located. @@ -37,7 +30,7 @@ $ sudo python3 libParser.py ~/Home/eSim_PSpice_to_KiCad_Python_Parser/libray/ana This will create analog.lib file and save it in the path ----------------------------------------------- -#To convert the PSpice schematic files to KiCad schematic files +To convert the PSpice schematic files to KiCad schematic files Set the path where the parser.py file is located. @@ -50,7 +43,7 @@ This will create a folder rc at the location /Desktop/convert/. The directory wi The directory will have read only access. You need to use chmod command to change the access. -------------------------------------------------------- -#To change the access of the file and folder +To change the access of the file and folder Use this command to change access to the files: @@ -65,7 +58,7 @@ sudo chmod 777 filename. Example: sudo chmod 777 ~/Desktop/convert/rc ----------------------------------------------- -#To open the KiCad schematic file in eSim +To open the KiCad schematic file in eSim 1. Open eSim. 2. Create a new project. @@ -77,7 +70,7 @@ Example: sudo chmod 777 ~/Desktop/convert/rc 8. To simulate, follow the instructions available on the eSim webpage https://esim.fossee.in/pspice-to-kicad ----------------------------------------------- -#To load the libraries +To load the libraries If all the libraries in eeschema are not loaded, follow these steps: 1. In eeschema, select Preferences option. @@ -87,13 +80,13 @@ If all the libraries in eeschema are not loaded, follow these steps: 5. Select the library to be added and click on Open button. 6. Close the dialog box. ----------------------------------------------- -#To add libraries in the parser.py +To add libraries in the parser.py Open the parser.py python file in the PythonLib folder. Type and add the libraries in the variables "descr" and "prodescr" ----------------------------------------------- -#WARNING: +WARNING: 1. Filenames should NOT contain whitespaces or tabs. 2. All required libraries SHOULD be added. -- cgit From 9ec19f625a25442bc17ed1c02ea12989bbc63d87 Mon Sep 17 00:00:00 2001 From: Gloria1210 Date: Sat, 13 Jun 2020 01:01:02 +0530 Subject: Update README.md --- README.md | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 0738580..7577b96 100644 --- a/README.md +++ b/README.md @@ -1,24 +1,27 @@ -eSim_PSpice_to_KiCad_Python_Parser +# eSim_PSpice_to_KiCad_Python_Parser + This code is written by Suryavamsi Tenetti, FOSSEE, IIT Bombay and modified by Sumanto Kar and Gloria Nandihal, FOSSEE, IIT Bombay. + This program converts PSpice schematic files (.sch) to KiCad schematic files (.sch) + This program converts PSpice library files (.slb) to KiCad library files (.lib) USAGE: ----------------------------------------------- -Make sure the python compiler is installed in the PC. +**Make sure the python 3 compiler is installed in the PC** Run the following command in the terminal in order to install it. $ sudo apt install python3.7 ----------------------------------------------- -To download the eSim_PSpice_to_KiCad_Python_Parser +**To download the eSim_PSpice_to_KiCad_Python_Parser** Clone or Download the eSim_PSpice_to_KiCad_Python_Parser from the Git in the Home folder(or any other folder) of the local computer. ----------------------------------------------- -To convert the PSpice library(.slb) files to KiCad library(.lib) files +**To convert the PSpice library(.slb) files to KiCad library(.lib) files** Set the path where the libparser.py file is located. @@ -30,7 +33,7 @@ $ sudo python3 libParser.py ~/Home/eSim_PSpice_to_KiCad_Python_Parser/libray/ana This will create analog.lib file and save it in the path ----------------------------------------------- -To convert the PSpice schematic files to KiCad schematic files +**To convert the PSpice schematic files to KiCad schematic files** Set the path where the parser.py file is located. @@ -43,7 +46,7 @@ This will create a folder rc at the location /Desktop/convert/. The directory wi The directory will have read only access. You need to use chmod command to change the access. -------------------------------------------------------- -To change the access of the file and folder +**To change the access of the file and folder** Use this command to change access to the files: @@ -58,7 +61,7 @@ sudo chmod 777 filename. Example: sudo chmod 777 ~/Desktop/convert/rc ----------------------------------------------- -To open the KiCad schematic file in eSim +**To open the KiCad schematic file in eSim** 1. Open eSim. 2. Create a new project. @@ -70,7 +73,7 @@ To open the KiCad schematic file in eSim 8. To simulate, follow the instructions available on the eSim webpage https://esim.fossee.in/pspice-to-kicad ----------------------------------------------- -To load the libraries +**To load the KiCad libraries** If all the libraries in eeschema are not loaded, follow these steps: 1. In eeschema, select Preferences option. @@ -80,13 +83,13 @@ If all the libraries in eeschema are not loaded, follow these steps: 5. Select the library to be added and click on Open button. 6. Close the dialog box. ----------------------------------------------- -To add libraries in the parser.py +**To add libraries in the parser.py** Open the parser.py python file in the PythonLib folder. Type and add the libraries in the variables "descr" and "prodescr" ----------------------------------------------- -WARNING: +**WARNING: 1. Filenames should NOT contain whitespaces or tabs. 2. All required libraries SHOULD be added. -- cgit From 5505a370e37a1f75bfd89485ac8a14d9d5c6a69a Mon Sep 17 00:00:00 2001 From: Gloria1210 Date: Sat, 13 Jun 2020 01:04:31 +0530 Subject: Update README.md --- README.md | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 7577b96..760fc26 100644 --- a/README.md +++ b/README.md @@ -18,12 +18,12 @@ $ sudo apt install python3.7 ----------------------------------------------- **To download the eSim_PSpice_to_KiCad_Python_Parser** -Clone or Download the eSim_PSpice_to_KiCad_Python_Parser from the Git in the Home folder(or any other folder) of the local computer. +Clone or Download the *eSim_PSpice_to_KiCad_Python_Parser* from the Git in the Home folder(or any other folder) of the local computer. ----------------------------------------------- **To convert the PSpice library(.slb) files to KiCad library(.lib) files** -Set the path where the libparser.py file is located. +Set the path where the *libparser.py* file is located. $ sudo python3 libParser.py @@ -35,7 +35,7 @@ This will create analog.lib file and save it in the path @@ -64,10 +64,10 @@ Example: sudo chmod 777 ~/Desktop/convert/rc **To open the KiCad schematic file in eSim** 1. Open eSim. -2. Create a new project. -3. Open the schematic using open schematic option. -4. Make sure all the libraries are loaded (9k+) using Place component option in eeschema. -5. Append the schematic using Append Schematic option from the file menu +2. Create a *new project*. +3. Open the schematic using *open schematic* option. +4. Make sure all the libraries are loaded (9k+) using *Place component* option in eeschema. +5. Append the schematic using *Append Schematic* option from the file menu 6. Go to the directory where your files are converted. 7. Select the KiCad coverted schematic file (.sch). Click on Open. 8. To simulate, follow the instructions available on the eSim webpage @@ -76,20 +76,20 @@ Example: sudo chmod 777 ~/Desktop/convert/rc **To load the KiCad libraries** If all the libraries in eeschema are not loaded, follow these steps: -1. In eeschema, select Preferences option. -2. Click on the Component Libraries in the drop down list. -3. A dialog box appears, click on the Add option. +1. In eeschema, select *Preferences* option. +2. Click on the *Component Libraries* in the drop down list. +3. A dialog box appears, click on the *Add* option. 4. Go to the path where your library to be added is saved. -5. Select the library to be added and click on Open button. +5. Select the library to be added and click on *Open* button. 6. Close the dialog box. ----------------------------------------------- **To add libraries in the parser.py** -Open the parser.py python file in the PythonLib folder. -Type and add the libraries in the variables "descr" and "prodescr" +Open the *parser.py* python file. +Type and add the libraries in the variables *"descr"* and *"prodescr"* ----------------------------------------------- -**WARNING: +**WARNING** 1. Filenames should NOT contain whitespaces or tabs. 2. All required libraries SHOULD be added. -- cgit