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.3.tar.gz
(11.7 kB
view details)
Built Distribution
File details
Details for the file layout2svg-0.1.3.tar.gz
.
File metadata
- Download URL: layout2svg-0.1.3.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11486b23c65a057147721b958c35a31813423e7312748c04deb3736beb38f3be |
|
MD5 | 820fcbcdcc418da5ad51939b5b5bb402 |
|
BLAKE2b-256 | 7ca537b855b32d27f851ba85c795e09d8c9469fc71df80b7bbcc15ac1a3925df |
File details
Details for the file layout2svg-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: layout2svg-0.1.3-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a46427b8293bd066a68d7d3f6e18ee242f380b28668ecfbfe2341ab91fd381f |
|
MD5 | e8700e16686113804aeade7f5824e011 |
|
BLAKE2b-256 | 9ce87b271cfa817a079e1bbbd9b65ef00f9b1880cb5afdf2f88f795f6ba60ea9 |