nicolasayotte / MatlabGDSPhotonicsToolbox

This is a Matlab library of functions to facilitate the design of Photonics Integrated Circuits GDS layout.
MIT License
80 stars 22 forks source link

SBend clearer error message for insufficient length #1

Closed nicolasayotte closed 10 years ago

nicolasayotte commented 10 years ago

When the length of a group SBend is not sufficient the calculations give an error. However, this should be detected and given a clearer error message. It would be useful for it to give the minimum length that would be acceptable.

nicolasayotte commented 10 years ago

This has been fixed and a new function added the argument 'minimumLength' to automatically determine the shortest length for a group of s-bends.