i tried to use the mathutil intersection

but i get error

can someone point me out in the right direction!

the error is on the last line for the interceotion itself

# values for the First lines 2 vertices

vec1=[2.25-4,1.571,0]

vec2=[50,-31,0]

# values for the second lines 2 vertices

vec3=[4,0,0]

vec4=[10,-12,0]

print ‘vec1=’,vec1

print ‘vec2=’,vec2

print ‘vec3=’,vec3

print ‘vec4=’,vec4

print

############# error on this line

print ’ intersect = ',LineIntersect(vec1, vec2, vec3, vec4)

it does not see the 4 vectors ?

may be this is anotther way to write this line to get the interception

and then how to extract the 2 values X and Y?

Thanks