Skip to main content

A package to convert IC layouts (GDS2 and OASIS) to SVG.

Project description

layout2svg

This is a simple tool to convert an integrated circuit layout saved in OASIS / GDSII file format to a .SVG image file. The tool supports direct export of the SVG file into the Inkscape desktop app. This tool was written with the goal of rendering any layout in a desktop or web application.

Installation

MacOS, Linux, Windows

pip install layout2svg

Usage - Command Line Interface

layout2svg -i <input_file_path [.gds/.oas]> -o <output_file_path [.svg]> -t <layerstack_file_path [.ymls]>

Examples

Running the example with the mock layerstack file and layout provided in the examples, by running the following command:

layout2svg -i ./tests/data/crossed_metal.gds -t ./tests/data/mock_layers.ymls -o ./tests/data/crossed_metal.svg

can generate the following SVG image:

Project details


Download files

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

Source Distribution

layout2svg-0.1.6.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

layout2svg-0.1.6-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file layout2svg-0.1.6.tar.gz.

File metadata

  • Download URL: layout2svg-0.1.6.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.9.7 Darwin/22.5.0

File hashes

Hashes for layout2svg-0.1.6.tar.gz
Algorithm Hash digest
SHA256 c428f6feae55aa7559b6e1c43831036baea42049b2b4231641370cd3e262eb5d
MD5 eb6dd4acc18834c9196b586aaf42acf1
BLAKE2b-256 5bc8669f1c2b68e79bf154b8006e6e505255c205d44e2e7dfca34df974d08369

See more details on using hashes here.

File details

Details for the file layout2svg-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: layout2svg-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.9.7 Darwin/22.5.0

File hashes

Hashes for layout2svg-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 8b233a0fdf01076c0709ae26d631fd240749114ccff203048e39c3a95f1dec29
MD5 3722afe5bcd1e5060aa8dd321d6edd74
BLAKE2b-256 bccba137106c09d25d245df6c39c4a46d824b62fc5a3937d2ddef7d1efdfbabd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page