Git Product home page Git Product logo

logo's Introduction

Common Ground Electronics Logo

cgnd_logo_square_1200x1200

Manufacturing Design Rules

The logo has been designed with the goal of being easily manufacturable with a traditional PCB silkscreen process. All silkscreen line widths are at least 0.15mm minimum width. Although the logo was designed in Inkscape, the design only uses line primitives so that it can be easily replicated within a PCB layout tool like KiCad if necessary.

Inkscape Export Settings

The images in this repository are exported as PNG at 1200px width x 1200px height with a DPI of 10160.

image-20221119141936582

KiCad Logo Footprint

The KiCad logo footprint is generated using svg2mod. It expects images saved in the uncompressed Inkscape SVG (i.e., not "plain SVG") format. Layers or items must be named to match the target layer in KiCad (e.g. the Inkscape layer name must be F.SilkS to create top silkscreen drawings in the KiCad footprint).

Recreate the KiCad silkscreen layer

The F.SilkS layer is manually created from paths in the other layers. If the logo is changed in the future, this layer needs to be recreated and the KiCad footprint needs to be regenerated.

Create a new layer named F.SilkS in Inkscape and copy the paths to this layer:

image-20221119114149235

Select each layer and choose PathStroke to Path:

image-20221119114237700

Select all background paths and choose PathUnion:

image-20221119114526467

Move the background paths into the F.SilkS layer:

image-20221119114657715

Delete the empty subpath folder and move the graphics paths to the top:

image-20221119114830629

Select both paths and choose PathExclusion:

image-20221119115119328

This will result in a single path that's ready for svg2mod conversion:

image-20221119115153127

Generate footprint

Install svg2mod in an isolated python virtual environment using pipx:

pipx install svg2mod

Generate the KiCad logo footprint:

svg2mod --center --precision=0.01 --format=pretty --units=mm --name=REF** --value=LOGO_CGND_3X3MM_SILKSCREEN --input-file=cgnd_logo_3x3mm.svg --output-file=CGND_LOGO.pretty/LOGO_CGND_3X3MM_SILKSCREEN.kicad_mod

Note: the default precision (-p 1) will result in poor output quality:

image-20221119112814794

Specifying a higher precision -p 0.01 gives better results:

image-20221119113304502

logo's People

Contributors

cdwilson avatar

Watchers

 avatar

logo's Issues

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.