Coder Social home page Coder Social logo

material-icons-for-pencil's Introduction

Material Icons for Pencil


⚠️ No longer actively developed

Other commitments and the fact I no longer use Pencil mean this repo is no longer being actively worked on. Pull-requests with new features/fixes are still welcome, as are new issues, but my responses might not be the speediest 🙂


All 1000+ icons from Material Design Icons as a Pencil stencil collection.

Based on the 24px version of the icons, however everything is in vector format, so can be scaled to any size.

Check out my other stencil collections for Pencil at nathanielw.github.io/pencil-stencils

Installation

  • Download the latest release zip file.
  • Install the collection in Pencil by going to Tools > Install new collection and selecting the zip.
  • Enjoy!

Updating

Right-click on the collection in Pencil's sidebar and choose Uninstall this collection before repeating the installation steps.

Generating the Collection

  • Clone this repo with the --recursive flag to include submodules. (or just clone it normally then git submodule init and git submodule update)
  • Run the generate-xml.py script (tested with Python 3.4).

This will generate the stencil definition XML and png thumbnails and place them in the gen/ folder.

Everything inside the gen/ folder can then be zip'd and installed in Pencil.

Windows users wanting to generate the collection: see this comment.

License

From the Material Design Icons README:

Community Icons - SIL Open Font License 1.1

Google Material Design Icons - Attribution 4.0 International

All source code/scripts used to generate the Pencil stencil are released under the MIT License.

material-icons-for-pencil's People

Contributors

nathanielw avatar

Stargazers

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

Watchers

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

material-icons-for-pencil's Issues

submodule address

Hi!
I just wrote an archlinux package for this project. I had to do a workaround to download it because of the submodule.
The reason is simple: the submodules are registered as [email protected].... This requires a registered key and a github account. It would be much better for everyone if you just change the remote address to the http version, so it's possible to download the project without forcing someone to create a github account or do dirty tricks.

Cheers

Problems with generate script

Hi,

I recently tried to execute the generate-xml.py but I got the following stack trace:

File "generate-xml.py", line 31, in
thumb = cairosvg.svg2png(file_obj=str(f), write_to=icon_out)
File "/usr/lib/python3.6/site-packages/cairosvg/init.py", line 45, in
surface_type.convert(*args, **kwargs))(_surface_type)
File "/usr/lib/python3.6/site-packages/cairosvg/surface.py", line 135, in convert
tree = Tree(**kwargs)
File "/usr/lib/python3.6/site-packages/cairosvg/parser.py", line 360, in init
bytestring = file_obj.read()
AttributeError: 'str' object has no attribute 'read'

Can somebody help me?? I don't really know anything about python :(

My specs:

OS: Linux Antergos
Python: 3.6.0

Thanks

Update to current latest?

As of this writing materialdesignicons.com has 1756 icon, 1350 of which are pulled in by your script. After I did a git submodule foreach git pull origin master I was able to pull the rest, perhaps time to update?

Receiving Error on Line 29 of generate-xml.py

First off, thank you for the work you've done. The Android 5 stencils are incredibly useful. There are issues arising from the python script saying " 'Nonetype' object has no attribute 'group' ". Unfortunately I'm not too familiar with Python script.The error is coming from line 29:

element.set('name', (match.group(1) + ' - ' + match.group(2).replace('_', ' ')).title())

The gen folder is created, but no actions are performed after that. Any suggestions would be much appreciated:

image

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.