SVG format plugin for GenIce.
Project description
genice 4R -f png[shadow:rotatex=2:rotatey=88] > 4R.png
genice-svg
A GenIce plugin to illustrate the structure in SVG (and PNG) format.
Requirements
- GenIce >=0.23.
- svgwrite.
- Pillow.
Installation from PyPI
% pip install genice-svg
Manual Installation
System-wide installation
% make install
Private installation
Copy the files in genice_svg/formats/ into your local formats folder of GenIce.
Usage
% genice CS2 -r 3 3 3 -f svg[options:separated:by:colons] > CS2.svg
Options:
rotatex=30
rotatey=30
rotatez=30
polygon Draw polygons instead of a ball and stick model.
shadow Draw shadows behind balls.
Png is a quick alternative for svg. Use png if making svg is too slow.
% genice CS2 -r 3 3 3 -f png[options:separated:by:colons] > CS2.png
Options:
rotatex=30
rotatey=30
rotatez=30
shadow Draw shadows behind balls.
Test in place
% make test
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
genice_svg-0.3.tar.gz
(7.5 kB
view details)
Built Distribution
File details
Details for the file genice_svg-0.3.tar.gz
.
File metadata
- Download URL: genice_svg-0.3.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8164cbf35a7de112137846f818ff70163040475ea0e0e5eea4b6447cb4c878e8 |
|
MD5 | f4af4a5bb061c0837731a545bbc0af29 |
|
BLAKE2b-256 | 32f4d173f64a69254c66a814d0982345c923bf75e18d126dede87b48bef73ebe |
File details
Details for the file genice_svg-0.3-py2.py3-none-any.whl
.
File metadata
- Download URL: genice_svg-0.3-py2.py3-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5064121f3343f51965d21ba9f50cae25ab15d2261942232f1ac8c3665387d2d |
|
MD5 | 7a3102d1bb10c5fe207e623fa0616dda |
|
BLAKE2b-256 | ab0056506dbeb7a8938d79bf48ddfd1c21f864dac81bb1fb32df0c25ea726d66 |