这是我的代码,我是不是写错了,已经load了,还是提示undefined function
procedure(coordinate_O_function(Width Length Corner)
let(()
scale = 1.0e6
; Define the layers
w = evalstring(Width ) * scale
l = evalstring(Length) * scale
cor = evalstring(Corner) * scale
x = 0
y = 0
a = w/2 - cor
b = l/2
c = w/2
d = l/2 - cor
p1 = list(x+a y+b)
p2 = list(x+c y+d)
p3 = list(x+c -(y+d))
p4 = list(x+a -(y+b))
p5 = list(-(x+a) -(y+b))
p6 = list(-(x+c) -(y+d))
p7 = list(-(x+c) y+d)
p8 = list(-(x+a) y+b)
)
)
|