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]>

Examples

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

layout2svg -i examples/crossed_metal.gds -t examples/mock_layers.lys.yml -o examples/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.5.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: layout2svg-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 e84ba7388e7be97f6eeaeb197cdd0664882d36dbeeb73c617929aca37a620f70
MD5 a274253bf9e9bf169a014577c27f8b6f
BLAKE2b-256 0d8f830a2aa142d22981ea3b0952b54059b04d2795b0d9d60d9624a811d23109

See more details on using hashes here.

File details

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

File metadata

  • Download URL: layout2svg-0.1.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b5a08a7bea164cdec38155aef73db0a8f8bd7606b53729c21211c45ce1ea5509
MD5 22e8fa78b15d66e83032bf8c9495116c
BLAKE2b-256 882cfe635911f2fec4bc44fc769c8ccf170ee5223f0ddc17bc78c237472ed03b

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