It looks like you're new here. If you want to get involved, click one of these buttons!
Hallo,
Nick van Beurden from NXP Semiconductors provided a perl script that converts Calibre color map files to KLayout layer properties files.
The script can be obtained here: (https://github.com/klayoutmatthias/calibre2klayout).
Here is how to run it:
perl calibre2klayout.pl -input calibrelayerfile.txt -verbose
Thanks for providing the script, Nick!
Best regards,
Matthias
Comments
What is the structure you assume in the file?
Ours look like this:
2.20 blue @<somePath>/calibre/v1.1.6/bitmaps/blank.xbm RX_label 1 1
Regards
Johannes
Ho Johannes,
apparently the script does not support custom dither pattern, like the one being specified with the @... notation.
I'll try to enhance the script, although I already noticed some differences between Calibre and KLayout in that respect.
Best regards,
Matthias
But there might be more interesting things. Doing just a quick search, I failed to find a description of the calibre properties file, e.g. what's the purpose of the last two numbers?
Cheers
Johannes
Hi Johannes,
Unfortunately, I am not familiar with the format of the Calibre layer file. Is there anybody who can help out?
Matthias
Maybe I can help. The last 2 columns appear to have the following function: Switch for visibility, pen width.
Feel free to add the custom dither to the perl script and share it again. Addition of this should be quite straightforward.
Regards,
Nick
Somebody can send it to atitov@sitronics.com , please?
The link is working again.
Thanks for sharing.
Does anyone have the same script to convert from Cadence tech file ?
Is there a web page to describe the layers file lines meaning :
<properties>
<frame-color>#ff80a8</frame-color>
<fill-color>#ff80a8</fill-color>
<frame-brightness>0</frame-brightness>
<fill-brightness>0</fill-brightness>
<dither-pattern>I9</dither-pattern>
<visible>true</visible>
<transparent>false</transparent>
<width/>
<marked>false</marked>
<animation>0</animation>
<name>Nwell</name>
<source>1/0@1</source>
</properties>
Hi okguy,
Providing a Cadence tech file import is on my todo list. I have received a script regarding that topic already and I'll check whether I can make that script public.
Regarding the format of the layer properties file, it's pretty straightforward in the simple (linear) case. There is no web site yet that describes the format. However, the fields are self-explaining hopefully:
If you group layers, a tree-like hierarchy appears in the layer properties file. The same is true if you add tabs to the layer panel. Custom fill pattern are stored in a separate section at the end of the file.
Hopefully that helps.
Best regards,
Matthias