It looks like you're new here. If you want to get involved, click one of these buttons!
I cant figure out the code for making a polygon in DRC? Currently creating a box I understand. If I wanted to make a cross in DRC then tile it I cant figure out the syntex. Examle code would be awesome.
Thanks
Comments
Easy:
If you have micrometer-unit polygons, use this code (EDITED):
You can add any the other shapes the same way (path, box).
Matthias
Thanks Matthias. What I would really need is to update the following code with the polygon to make a cross from the current code which is Box.
to_fill = input(205, 0)
pattern = fill_pattern("FILL_CELL").shape(207, 0, Box(0.0, 0.0, 6.0, 6.0))
to_fill.fill(pattern, hstep(10.0), vstep(10.0))
That's a different thing ...
BTW: you should use "box" instead of "Box". "Box" works too, but creates an integer-unit box object and you will be able to specify full-µm coordinates only.
For Polygons use that notation:
This gives you this:
Matthias