Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install and configure KiCad

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly introduces the relevant knowledge of how to install and configure KiCad, the content is detailed and easy to understand, the operation is simple and fast, and has a certain reference value. I believe you will gain something after reading this article on how to install and configure KiCad. Let's take a look at it.

KiCad installation KiCad documentation KiCad online documentation

KiCad online simplified Chinese documents and i18n are currently translated and maintained by kicad-cn and taotieren.

KiCad offline documents

KiCad document simplified Chinese repository, due to Gitee warehouse size restrictions, currently only provide compiled English original and simplified Chinese document download.

KiCad documents simplified Chinese PDF download distribution only provides PDF documents. If you need other format documents, please download them from the corresponding directory in the warehouse.

Because the CI/CD service of KiCad online documents uses Ubuntu 14.04 system, which is inconsistent with my local Manjaro Linux compilation system, there will be problems such as incomplete display of simplified Chinese documents after compilation, and even some table sorting errors. Currently, we are communicating with the KiCad document team about this problem, temporarily proposing to use a variety of different compilation environments to compile documents, and the final release version using which compilation environment has not been determined. There are also proposals to update the document compilation system, and there are also suggestions to update the document compilation method, because the compiled documents are carried out through latex. Latex is currently developed using Python2, and now Python officials will give up support for Python2.

If you need to use offline document reading or proofreading before reading simplified Chinese documents, if you encounter confusion or better suggestions during document reading, you can submit suggestions or questions to the warehouse.

Fixes and updates are provided for each simplified Chinese document release.

Configure git Agent configure http https Agent for git

Both Linux and Windows are applicable

# gitlab servers have a great impact on the download speed abroad. Let's configure the http https proxy for gitlab. In the same way, you can configure a http https proxy for github. Git config-- global http. https://gitlab.com.proxy socks5://127.0.0.1:1080git config-- global http. https://github.com.proxy socks5://127.0.0.1:1080# where you use the proxy service instead of socks5://127.0.0.1:1080. For example, git config-- global http. https://gitlab.com.proxy http://127.0.0.1:8080 configures the ssh agent of git

Linux system

# openbsd-netcat needs to be installed to achieve forwarding. Take Manjaro Linux installation as an example: the .ssh / create config file vim ~ / .ssh / config# of sudo pacman-S openbsd-netcat# in the user directory is configured as follows: Host github.comHost gitlab.comProxyCommand nc-X 5-x 127.0.0.1 ssh/id_rsaIdentitiesOnly yes 1080% h% pHostName% hPort 22User gitIdentityFile ~ /. Ssh/id_rsaIdentitiesOnly yes

Windows system

Windows 10 comes with a connect forwarding tool that does not require manual installation. Also create the config file in the .ssh\ in the user directory (c:\ User\ username\ .ssh\)

Host github.comHost gitlab.comProxyCommand connect-S 127.0.0.1 Host github.comHost gitlab.comProxyCommand connect 1080% h% p #-H is HTTPHostName% hPort 22User gitIdentityFile ~ / .ssh/id_rsaIdentitiesOnly yesKiCad i18n translation

KiCad i18n official warehouse. The tool used by the translator is to download and install different versions of the tools for different PoEdit operating systems.

Clone kicad source code and kicad-i18n repository # because I have configured in kicad-i18n/zh_CN/kicad.po the ability to automatically update translations from source code. # the directory name is kicad-source-mirror. Please rename the cloned source code repository to kicad-source-mirror # you need to put kicad-source-mirror and kicad-18n in the same level directory. Git clone https://gitlab.com/kicad/code/kicad.git kicad-source-mirror# Clone kicad-i18n Translation Repository git clone https://gitlab.com/kicad/code/kicad-i18n.git switching Branch

The cloned repository is under the master branch by default. If you modify another branch translation, you need to switch the branch status of the two repositories.

KiCad Source Warehouse Branch switch

# enter the kicad source directory cd kicad-source-mirror# to branch 5. 1 git checkout 5. Switch to master branch git checkout master

Kicad-i18n Warehouse Branch switching

# enter the kicad source directory cd kicad-i18n# to branch 5. 1 git checkout 5. Switch to master branch git checkout master about PoEdit settings

Add a little bit about how PoEdit updates from the source code. Follow the step-by-step steps of my git clone operation above. Click Update from Source Code in PoEdit to automatically get the latest translation file from the source code.

For the translation operation of PoEdit, you can refer to the manual "how to translate with GUI" in KiCad-doc.

Clicking the Save button after translation automatically edits and detects that the kicad.mo file is automatically generated in the zh_CN directory. Can be used for the following test operations. Just follow the prompts given. Questions from the warehouse that you don't understand.

Kicad-i18n translation file test

Test the translation file of master branch under Linux. Take Manjaro Linux (ArchLinux can also be used) as an example: configure how to use the ArchLinuxCN source: add the following two lines at the end of the / etc/pacman.conf file:

[archlinuxcn] Server = https://mirrors.tuna.tsinghua.edu.cn/archlinuxcn/$arch

Then install the archlinuxcn-keyring package and import it into GPG key.

Install the KiCad master branch version:

# merge kicad-git and kicad-i18n-git into kicad-git when packaging. Just install kicad-git to yay-S kicad-git

Replace the translation file

# back up the old translation files first. In case there is a serious problem with the new translation file that causes the KiCad to crash. Unable to test. Sudo mv / usr/share/kicad/internat/zh_CN/kicad.mo / usr/share/kicad/internat/zh_CN/kicad.mo.bak# copy zh_CN/kicad.mo to / usr/share/kicad/internat/zh_CN/kicad.mosudo cp zh_CN/kicad.mo / usr/share/kicad/internat/zh_CN

Start KiCad and you can perform the corresponding test operation. See if there are any serious problems with the translation. Display questions, typesetting questions, etc.

Windows goes to the domestic mirror station to get the nightly test version to download and install. Back up the original translation file first in KiCad\ share\ kicad\ internat\ zh_CN\ kicad.mo in the KiCad installation directory. Then replace it with a new file. You can also download the test version of Branch 5.1 for translation testing.

Submit KiCad for translation to the official warehouse

Kicad-i18n official warehouse, need to register GitLab account. Here is the way to submit the merge request (PR) through the web page: select the local translation branch you want to submit here in the kicad-i18n web repository master. If you have finished translating the 5.1Branch locally, select the 5.1Branch here in the web repository, then click zh_CN/kicad.po to go in and click the Edit button; an online edit box will appear. Use a text editor to open the kicad.po file of your local branch and copy its contents, select all the contents of the online edit box and delete it, and then paste your local translation into the online edit box. It is recommended to fill in the submission information to keep the warehouse concise: Update Simplified Chinese translation and then click Commit changes (commit changes) to complete the changes will enter the New Merger Repuest (new merge request), or just completed the change process, there is still a step to submit the process. If you need to write some description, you can write what you want to express in Description. Click the Submit merge request button when you are finished. Complete the merge request submission.

If you want to complete the merge request submission through the git command, this reference is proficient in the Git command line operations described in the second edition of the Git manual.

This is the end of the article on "how to install and configure KiCad". Thank you for reading! I believe that everyone has a certain understanding of the knowledge of "how to install and configure KiCad". If you want to learn more, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report