Home › Forums › Nazca › Minimum Bending Radius and Use Cases for Point-to-Point Interconnects › Reply To: Minimum Bending Radius and Use Cases for Point-to-Point Interconnects
Dear Iomuc,
The Interconnects take their minimum bend radius from the xsection attribute minimum_radius.
If you create an Interconnect you provide a xsection by its name with the “xs” keyword.
To set the minimum radius to the xsection and create an Interconnect:
xsname = “xsname”
xs_object = nd.get_xsection(xsname) # or create a new xs: nd.add_xsection(xsname)
xs.minimum_radius = 100
ic – nd.Interconnect(xs=xsname)
If you violate the minimum_radius, then you will get a log message.
For more convenient log message handling activating the log files, see https://nazca-design.org/logging-2/
Using Interconnects has a bit more memory overhead than not using them, but the overhead is to keep track of default widths, radius, etc., as well as the more convenient point2point connections. Hence, best practice is to always use Interconnects for mask design instead of directly using mask_elements. Using mask_elements directly can be useful, however, for quick tests or tutorials.
Ronald