DRC: get centerline of selected edges

edited December 2025 in Verification

I'm able to select Horizontal edges nicly :
TRpairs = TR.drc(width < 6.um).edges.with_angle(90)
I now need to get the centerline between these edges.
I tried a way by using ten centers of the first/second edges but not succeed yet.
Is there a smarter solution to calculate the centerline ?

Comments

  • edited December 2025

    Hi @andyL,

    what do you mean by "centerline between these edges"? Can you provide some sketch or some sample?

    Thanks,

    Matthias

  • Hello Matthias,
    it's been a while, hope your doing well.
    I add a sketch to the post:

  • One additional qustion: I read some slides about the Open Design Rule Format for DRC rules. Can you share some more information on this very intersting topic ?
    Best regards,
    Andreas

Sign In or Register to comment.