hohlraum / gdsCAD

A simple but powerful Python package for creating photolithography masks in the GDSII format.
GNU General Public License v3.0
88 stars 52 forks source link

How to set colors for layers independently from script #54

Open avlsi opened 6 years ago

avlsi commented 6 years ago

I would like to set color independently as I am also using this package for drawing floorplan.

Floorplan will look good with different colors.

Example Code, suppose I want 20 blocks to be placed at different locations. I am increasing layer by 1 for each block. I want colors of these layer set independently.

layer=layer+1 cell = core.Boundary(points,layer=layer)

Let me know how can I do it?