{"id":5266,"date":"2026-09-07T09:08:00","date_gmt":"2026-09-07T14:08:00","guid":{"rendered":"https:\/\/lab.rapternet.us\/?p=5266"},"modified":"2026-08-17T21:13:44","modified_gmt":"2026-08-18T02:13:44","slug":"circuit-diagram-cli","status":"publish","type":"post","link":"https:\/\/lab.rapternet.us\/?p=5266","title":{"rendered":"Circuit-Diagram-CLI"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I use the <a href=\"https:\/\/www.circuit-diagram.org\/editor\" target=\"_blank\" rel=\"noreferrer noopener\">circuit diagram editor from this site<\/a> for all of my circuit diagrams for my projects. It generally has all the elements I want to use easily available, at least until now. I wanted to add an 8 pin din connector to my diagram so that I could include the pinout for the connection, however it wasn&#8217;t available in the default package, you needed to use the <a href=\"https:\/\/github.com\/circuitdiagram\/ext-components\/tree\/master\" target=\"_blank\" rel=\"noreferrer noopener\">extended symbols<\/a>, which are not available on the Web version. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In order to use the symbol, I had to install the desktop version (which is fairly old). The desktop version however doesn&#8217;t support the newer XML format provided in the repo, so we need <a href=\"https:\/\/www.circuit-diagram.org\/docs\/components\/finishing\" target=\"_blank\" rel=\"noreferrer noopener\">another tool to do the conversion<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We download circuit-diagram-cli, and use the arguments below to do the conversion, drop that into the desktop tools folder, and restart it for everything to finally work.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">C:\\Users\\steve\\Downloads&gt;circuit-diagram-cli.exe component mini-din-8.xml -o mini-din-8.cdcom --verbose<br \/>Mapping resources as key-file pairs.<br \/>Input is a file.<br \/>Starting 'mini-din-8.xml'<br \/>mini-din-8.xml<br \/>Starting binary generation.<br \/>Compiling C:\\Users\\thest\\Downloads\\mini-din-8.xml<br \/>Icon minidin8_32.png not found.<br \/>Icon minidin8_64.png not found.<br \/>Compiled to C:\\Users\\thest\\Downloads\\mini-din-8.cdcom<br \/>binary -&gt; mini-din-8.cdcom<br \/>Finshed 'mini-din-8.xml'<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I use the circuit diagram editor from this site for all of my circuit diagrams for my projects. It generally has all the elements I want to use easily available, at least until now. I wanted to add an 8 pin din connector to my diagram so that I could include the pinout for the &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/lab.rapternet.us\/?p=5266\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Circuit-Diagram-CLI&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[56],"tags":[14],"class_list":["post-5266","post","type-post","status-publish","format-standard","hentry","category-making","tag-quick-bites"],"_links":{"self":[{"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/posts\/5266","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5266"}],"version-history":[{"count":7,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/posts\/5266\/revisions"}],"predecessor-version":[{"id":5278,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=\/wp\/v2\/posts\/5266\/revisions\/5278"}],"wp:attachment":[{"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5266"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5266"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab.rapternet.us\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}