I thaught I am clever and change this:
#### Calculate distance between two points def pts_distance(self, p1_co, p2_co): p_difs = [p1_co - p2_co, p1_co - p2_co, p1_co - p2_co] distance = abs(sqrt(p_difs * p_difs + p_difs * p_difs + p_difs * p_difs)) return distance
(abs is not neaded I think???)
#### Calculate distance between two points #pkhg 20-7-2010 change to def pts_distance(self, p1_co, p2_co): p_difs = p1_co - p2_c0 return p_difs.length
But now the addon behaves totally different!
Created mesh now consists out of more than one part and not anymore ONE???
(at least in my Blender version, Vista, svn 30499)
See pictures from the changed script :
Who can confirm this? But even better who can explain this STRANGE BEHAVIOR?
:edit: sorry, found myself
In ‘my’ code there is an typing error p2_c0 and p2_co … (bah!)