from math import pi,sqrt #Various Constants PI2 = 2 * pi PI05 = pi * 0.5 PIR = sqrt(pi) thanThresholdx = 1e-10 # Threshold for coordinate difference; if less the coordinates are the same # This constant acommodates ThanCad too.