Skip to content

PHIDL 1.2.1

Choose a tag to compare

@amccaugh amccaugh released this 13 Jan 17:47
· 751 commits to master since this release
74756f5
  • Maintenance update to work with gdspy 1.5

New features

  • References, arrays and polygons can all be assigned to a Device using D['myalias'] = mypolygon, then later accessed using D['myalias']

Changes

  • Default precision changed to 1e-4 on boolean functions (for 1 unit = 1 micron, this corresponds to 0.1 nanometer precision)
  • Added join, miter and max_points arguments to pg.offset to match the arguments with gdspy
  • The Device.label() function is going to be move to Device.add_label() - both will still work for now, but when using label() a warning will pop up suggesting you switch to add_label() since it will be removed in future versions.

Bugfixes

  • Maintenance update to work with gdspy 1.5 (specifically pg.import_gds() fixes)
  • Allow DeviceReferences to be used with pg.port_to_geometry() (thanks Alex Tait @atait )