Hi I am trying to find good way how to check the distance between two different class/subclass.Expecially soldermask and goldmask distance of film artwork is major concern because the minimun distance is required by 0.3mm so manual check is very tedious for small pcb design. Please address how to make skill program for this distance check. Thanks in advanceBK Park
Hi BK,You may be able to use the axlAirGap command.axlAirGap(obj1 obj2)This will work for shapes on different classes.Cheers, Dave
I tried to run like this as axlAirGap(Solder_mask Gold_mask ), but return fail.I am not Skill expert, so please write some code more detailly.
Hmmm, you really are jumping in at the deep end!First you need to get the dbid of each of the objects that you want to measure between.Typically you might want to find the minimum distance between all shapes on a single subclass.shapes = axlDBGetShapes("manufacturing/solder_mask")minGap = nilwhile(cdr(shapes) shp1 = car(shapes), shps = cdr(shapes) foreach(shp2, shps gap = caddr(axlAirGap(shp1, shp2)) minGap = if(minGap then min(minGap, gap) else gap) ))minGap; Rturn the minimum gap between shapes on this subclass.This code will be slightly more complex if you are measuring between two subclasses - but you should be able to figure it out.Cheers, Dave