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.4.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: layout2svg-0.1.4.tar.gz
  • Upload date:
  • Size: 11.8 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.4.tar.gz
Algorithm Hash digest
SHA256 83c1a378c2712ffa33e4414eabe4f643c31bb797e59ce2b7af355080b01f0c01
MD5 3c9fc06276a38784cc34ad261c2563f5
BLAKE2b-256 240203c362f9f29056dd3d0910fe5f7c93a2e02b5659dd0bc3fd3403a002f7fa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: layout2svg-0.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 be50a09b8be969b0b0000ca0e52d640412af8bb942f15728324049b032724ad4
MD5 6d2a523ba03c2fb227bed7d32c71b819
BLAKE2b-256 ddc1d6afef81462fffc7f8ad53c09152a637d8e3f873c65f5075d95cac89d401

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