Coder Social home page Coder Social logo

dusjagr / svg2shenzhen Goto Github PK

View Code? Open in Web Editor NEW

This project forked from badgeek/svg2shenzhen

0.0 2.0 0.0 16.29 MB

Convert Inkscape SVG drawings to KiCad PCB and footprint modules

License: GNU General Public License v3.0

Shell 0.03% CMake 0.60% C++ 96.19% GLSL 0.09% C 1.76% Makefile 0.57% Python 0.76%

svg2shenzhen's Introduction

Svg2Shenzhen

Inkscape extension for exporting drawing into Kicad PCB

screenshot_125

Features

  • Draw Any kind of shapes without restriction (unlike svg2mod)
  • Support Drill Pad, and custom drill size
  • Support Edge Cut (PCB Shape)
  • Tested on OSX, and Windows and Linux

Install

Download latest version (0.2.16) of svg2shenzhen-extension.zip

Extract and copy the files into the directory indicated in Edit -> Preferences -> System: User extensions

How to

1.Extension > Svg2Shenzhen > Prepare Document
2.Choose layer (F.Cu.. etc)
3.Draw PCB
4.Extension > Svg2Shenzhen > Export Kicad

Download and open Example PCB

Tutorials

Layername definitions

screenshots_inkscape-3d-view

  1. After the Prepare Document only the 2 fabrication layers are used, Edge.Cuts and Drill, and for the different PCB-layers only the F.Cu layer is active. The others have in the layer name "-disabled", change this by removing the ending to enable more layers.
  2. Special use of Soldermaks layers: F.Mask and B.Mask. Due to the fabrication standard of PCB manufacturing, when enabled this will lead to the soldemask NOT present, where there are black areas in your design. This is kinda PCB / KiCAD standard, but can be confusing. If you want to Get-What-You-See from inkscape, meaning that you really draw the color, where you want the soldermaks to be change the layer name to "F.Mask-invert"
  3. Super easy simple PCB with exposed copper, surrounded by soldermask can be generated automatically by leaving the F.Mask layer empty and renaming it to "F.Mask-auto".
  4. Feel free to add your own layers, for testing graphics and designing stuff. All these other layernames will be ignored.

Tips

  1. For Edge.Cut layers, you need to convert any polygons or objects to paths with only an outline, no fill. Don't use any groups on Edge.Cut layers and if you have paths with inner cut outs break them apart into separate paths.
  2. For Drill layers, place circle objects and they will be converted into drill pads in KiCad with the same diameter. These drills will not have annular rings unless you also add copper to the F.Cu and B.Cu layers. Don't use any groups on Drill layers either.

References

Support this project

This project is developed independently and without any connection to funding or big collective or organization, Donation is highly appreciated, go to https://www.patreon.com/badgeek become a patron and support this project

Contributors

Credits

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.