Home Forums KLayout How to draw "Raised Sine S-bend " in nazca ?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #5330

    Raised Sine S-bend can be determined by formula of x and y.  General problem is: How to draw waveguide based on the relationship between x and y especially curved waveguide in Nazca?


    Dear willie_woud,

    The straight forward way / concept to create a parametric curve is to define a polyline with a width. Express your x and y of the sine S-bend as a function of t, i.e. x(t) and y(t). Create a polyline out of the points it traces and convert it into a polygon by adding a width. There is a polyline2polygon function for that. Make sure you discretize your polyline in t not too little (optically bad) and not too much (gds file gets bigger). If you search for ‘pcurve’ in the Nazca code or on the Forum you will find some more background information on parametric curves. A tutorial on pcurves has been made. It will be posted with the Nazca 0.4.4 release.



    Update: The (raised) sinebend is part of Nazca since version 0.5, as a standard interconnect.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.