klayoutmatthias / tf_import

Reads a Cadence techfile into KLayout and produces layer properties from it
MIT License
23 stars 5 forks source link

[FillStyle] in drDefinePacket is optional #1

Open EugeneZelenko opened 5 years ago

EugeneZelenko commented 5 years ago

I re-wrote import_tf on Python and tried it on real-world files. It turned out that [FillStyle] was not presented in drDefinePacket. My workaround was:

packets[defs[1]] = [ defs[2], defs[3], defs[4], defs[5], defs[6] if len(defs) > 6 else None ]