Hello - is there a ULP to measure the area of a polygon? I need the area to calculate the capacitance of a PCB capacitor.
Regards
Harry
Hello - is there a ULP to measure the area of a polygon? I need the area to calculate the capacitance of a PCB capacitor.
Regards
Harry
Hi,
try statistic-copper-plane.ulp.
Regards,
Richard
found this reference in the user guide, "RATSNEST calculates and displays the surface area of all polygons in the layout" but its not showing the area in my status line?
PS
I think "calculates" actually means "fill", as it does do a the solid fill but it does not calculate the area as such.
re "statistic-copper-plane.ulp"
Thanks Richard - yes I tried this - but it only seems to measures the total area of copper on a layer not each polygon on the layer.
H
PS
Temp work around is to put each Capacitor onto its own layer, and run statistic-copper-plane.ulp
rem to set the line width to "0" in polygon properties to avoid adding the line width to the calculation.
"Harry Percy" skrev i nyhetsmeldingen:
642734460.11404466101111.JavaMail.jive@flcspu-csapp-01.premierfarnell.com
...
Hello - is there a ULP to measure the area of a polygon? I need the area
to calculate the capacitance of a PCB capacitor.
It should'nt be hard to write one using this formula with the polygon's
contours() loop member.
http://www.mathsisfun.com/geometry/area-irregular-polygons.html
Remember to subtract the holes. The contours() gives you access to the
holes too.
Also be aware If the opposite pole of the fill has holes underneath. Thats a
bit harder to calculate, but not impossible.
Thank you - yes thats a clever way to look at the problem.
Harry