Author Topic: Rule to check if track is terminated on center of Via  (Read 2533 times)

0 Members and 1 Guest are viewing this topic.

Offline TsiligirisTopic starter

  • Newbie
  • Posts: 4
  • Country: gr
Rule to check if track is terminated on center of Via
« on: April 23, 2018, 05:30:42 am »
Hello everyone,

there are times that track is not on the center of Via and we need to final check all the Vias on all layers. On the attached pic, the DRC is not giving me error and it's normal since +3.3V is connected (even not correctly) to the Via.

Is there a way (like a Rule?or something) to detect this?

 

Offline voltsandjolts

  • Supporter
  • ****
  • Posts: 2281
  • Country: gb
Re: Rule to check if track is terminated on center of Via
« Reply #1 on: April 23, 2018, 07:31:44 am »
Well, I guess DRC checked your minimum copper width rule for that net and it passed, so technically there is no problem but I agree it doesn't look right.

I have never used this script but it might help you:
https://github.com/Altium-Designer-addons/scripts-libraries/tree/master/IsPadCenterConnected

 

Offline TsiligirisTopic starter

  • Newbie
  • Posts: 4
  • Country: gr
Re: Rule to check if track is terminated on center of Via
« Reply #2 on: April 23, 2018, 07:54:49 am »
Cannot Run the script on Altium09 or Altium18. Displays various errors like the attached picture.
 

Offline voltsandjolts

  • Supporter
  • ****
  • Posts: 2281
  • Country: gb
Re: Rule to check if track is terminated on center of Via
« Reply #3 on: April 23, 2018, 10:33:24 am »
The attached script has some minor API call changes from the above script which enable it to run on AD15 (quick test OK but YMMV).

It highlights pads which do not have a track connected at their centre.
Unfortunately it can't be easily modified for vias because IPCB_VIA does not have the method BoundingRectangleOnLayer()

So, I have been no help at all.  :-\
 

Offline TsiligirisTopic starter

  • Newbie
  • Posts: 4
  • Country: gr
Re: Rule to check if track is terminated on center of Via
« Reply #4 on: April 23, 2018, 11:29:43 am »
Anyway thank you :)

Let's hope someone has a solution to share
 

Offline Rerouter

  • Super Contributor
  • ***
  • Posts: 4694
  • Country: au
  • Question Everything... Except This Statement
Re: Rule to check if track is terminated on center of Via
« Reply #5 on: April 23, 2018, 12:00:18 pm »
never used altium, but seeing as its passing with the neck down due to being wider than the minimum, why not reduce your minimum to the trace width, and investigate what comes up?

Or if there is a way to bulk change via size, why not save a copy, change all vias to a size smaller than there connection radius, then re-run DRC to see what now has a gap.
« Last Edit: April 23, 2018, 12:02:06 pm by Rerouter »
 

Offline Hast

  • Newbie
  • Posts: 6
  • Country: se
Re: Rule to check if track is terminated on center of Via
« Reply #6 on: April 24, 2018, 06:07:45 am »
In Altium 18 there is a rule that you can check, see pic, also I remember an old design secret that might help you: https://altiumvideos.live.altium.com/#Detail/1225

BR
 
The following users thanked this post: voltsandjolts

Offline voltsandjolts

  • Supporter
  • ****
  • Posts: 2281
  • Country: gb
Re: Rule to check if track is terminated on center of Via
« Reply #7 on: April 24, 2018, 07:30:52 am »
That's a nice feature, maybe new in AD18 and is the best answer since OP has AD18.
Its not in AD15.

https://www.altium.com/documentation/18.0/display/ADES/PCB_Dlg-BrokenNetRule_Frame((Un-Routed+Net))_AD

Quote
Check for incomplete connections - with this option enabled, the following additional checks on connectivity between applicable design objects are made:

    Track/Arc to Track/Arc - checking that the centerlines, or centers of the ends of the connecting track/arc segments, coincide.
    Track/Arc to Via - checking that the centerline, or center of the end of a track/arc segment, is placed on the center of the via.
    Track/Arc to Pad - checking that the centerline, or center of the end of the track/arc segment, is placed on the shape of the pad.
    Via to Pad - checking that the center of the via is placed on the shape of the pad.
    Via to Via - checking that the centers of the two vias coincide.
    Polygon to Track/Arc - checking that the center of the end of a track/arc segment is overlapped by the polygon.
    Polygon to Pad/Via - checking that the center of the Pad/Via is overlapped by the polygon.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf