gdsfactory / kfactory

gdsfactory with a klayout backend
https://gdsfactory.github.io/kfactory/
MIT License
29 stars 10 forks source link

limit the max number of characters in the naming of kfactory, #227

Closed joamatab closed 8 months ago

joamatab commented 8 months ago

How can we limit the max number of characters in the naming of kfactory cells?

im getting some components with more than 200 characters

sebastian-goeldi commented 8 months ago

c.write(filename, options=kf.save_layout_options(gds2_max_cellname_length=n_chars) From here: