GithubHelp home page GithubHelp logo

inti-cmnb / pcbdraw Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yaqwsx/pcbdraw

13.0 13.0 5.0 1.95 MB

Convert your KiCAD board into a nice looking 2D drawing suitable for pinout diagrams

License: MIT License

Python 97.91% Makefile 0.61% Handlebars 0.67% Shell 0.81%

pcbdraw's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

pcbdraw's Issues

Installation fails with `AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?`.

Using this build recipe, installation fails for me with
AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?:

/var/cache/makepkg/build/pcbdraw-git/src/pcbdraw/versioneer.py:421: SyntaxWarning: invalid escape sequence '\s'
  LONG_VERSION_PY['git'] = '''
Traceback (most recent call last):
  File "/var/cache/makepkg/build/pcbdraw-git/src/pcbdraw/setup.py", line 11, in <module>
    version=versioneer.get_version(),
            ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/cache/makepkg/build/pcbdraw-git/src/pcbdraw/versioneer.py", line 1480, in get_version
    return get_versions()["version"]
           ^^^^^^^^^^^^^^
  File "/var/cache/makepkg/build/pcbdraw-git/src/pcbdraw/versioneer.py", line 1412, in get_versions
    cfg = get_config_from_root(root)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/cache/makepkg/build/pcbdraw-git/src/pcbdraw/versioneer.py", line 342, in get_config_from_root
    parser = configparser.SafeConfigParser()
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?

I am on python 3.12.3; python module configparser is at version 7.0.0.

Regards!

pcbdraw v0.9.0 causes failure in plotting advanced contours/panels

Describe the bug
When generating output images with pcbdraw the output is distorted due to bugs that are fixed in v1.0.0.
So it would be awesome if the dockers could be updated with the new version of pcbdraw.

Thanks for a great tool!

Screenshots

Before v1.0.0 (v0.9 running docker setsoft/kicad_auto:dev_k6) and with v1.0.0

image

image

Empty output

Hy there. I wanted to use PcbDraw on my mac but that does not seem possible at the moment. However, I have a Linux Server (Headless) on which I did install kicad along with imagemagick and pcbdraw.

Now when I run PcbDraw I get a set of warnings about some components that can't be found.

At the end there is an output.png created and it has 1140 x 600 pixels the image itself is empty:

I would assume that even when the components aren't found that I would still see the board and the silk screen being rendered.

Update:
I did try other options and apparently only the png and jpg option result in an empty image. The svg output works fine.
I'll update my

output.png

output

output.jpg

output

output.svg

Screenshot 2021-05-27 at 10 56 22

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.