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 hashes)
Built Distribution
layout2svg-0.1.3-py3-none-any.whl
(12.2 kB
view hashes)
Close
Hashes for layout2svg-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a46427b8293bd066a68d7d3f6e18ee242f380b28668ecfbfe2341ab91fd381f |
|
MD5 | e8700e16686113804aeade7f5824e011 |
|
BLAKE2b-256 | 9ce87b271cfa817a079e1bbbd9b65ef00f9b1880cb5afdf2f88f795f6ba60ea9 |