Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for genice-svg, version 0.3
Filename, size File type Python version Upload date Hashes
Filename, size genice_svg-0.3-py2.py3-none-any.whl (9.8 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size genice_svg-0.3.tar.gz (7.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page