Skip to content

A package for converting IC layout (OASIS/GDS2) into SVG, to load to the web.

License

Notifications You must be signed in to change notification settings

das-dias/layout2svg

Repository files navigation

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]> -t <layerstack_file_path [.ymls]>

Examples

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

layout2svg -i ./tests/data/crossed_metal.gds -t ./tests/data/mock_layers.ymls -o ./tests/data/crossed_metal.svg

can generate the following SVG image:

About

A package for converting IC layout (OASIS/GDS2) into SVG, to load to the web.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages