TinyTapeout / siliwiz

Silicon Layout Wizard
https://app.siliwiz.com
Other
143 stars 11 forks source link

if I delete all polygons and download, I still seem to have a lot of polys in the json #10

Closed mattvenn closed 1 year ago

mattvenn commented 1 year ago

siliwiz-design.json.zip

urish commented 1 year ago

This seems to be related to #7 - the json file has a bunch of 0 width/height rects. Size they have no dimensions, it's impossible to see or delete them.

I think that as a heuristic, we could discard any rect with a dimension of 2 or less for now?

urish commented 1 year ago

Implemented the suggested heuristic as a workaround, so for future files, you should no longer be seeing all these empty rects in the JSON

urish commented 1 year ago

I guess it's fixed now - if not, please reopen