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 directory, 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.2.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

layout2svg-0.1.2-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: layout2svg-0.1.2.tar.gz
  • Upload date:
  • Size: 11.7 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.2.tar.gz
Algorithm Hash digest
SHA256 f9ad0310c118d5d1a2f5ecee874f702e348663a4a4b1b651a87e9e0bf9750d4f
MD5 3250fc45a1160c7d1fdf6fbe3e6d2228
BLAKE2b-256 c0885990e05ba219520d359a4e763b6a74932cda6b49a1f796659d3ae4b9c149

See more details on using hashes here.

File details

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

File metadata

  • Download URL: layout2svg-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 12.2 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c448657c2ca1096725a4fec7c24e5b1fe78da7465d4c1ec0200ee498287502c9
MD5 73ce87913070c297dd24dd4583461329
BLAKE2b-256 ff3489e9a520d99954392083cd06bd2554cd17e7e49bff4366c77b80d36211ca

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