Wait a moment, I was printing each iteration for debugging purposes. The process without print is ten time faster. May still be a little slow but it’s…
Timestamp gives me a little less than one second per row(without storing my personal array). Means more or less ten minutes for a 512px texture.
While detecting a black pixel and stopping can be an option, it would be useless when the black pixel appears at the bottom of the image (I had to for…
Thanks Miauu. That did the trick. But…it’s the slowest script in history. I don’t know why but getpixels is so slow. So at the end it does the job but…
Sowiedu I second every word you’ve said. It would be incredibly useful. I’ll try to share informations on that, after some research.
Sure, it’s very easy (editable poly) $.weldThreshold = 0.001 polyop.weldVertsByThreshold $ #all For all objects for ob in selection do( ob.weldT…
Thanks! Let me ask for some clarification 1- can you explain how abs and dot relate, in the Getvertical edge function? 2- why do you multiply the e…
Ok, I’ve solved it. I was missing an argument to the function. So fn fix ob = ( ob.weldThreshold = 0.001 polyop.weldVertsByThreshold…
See edit above. I think calling a function breaks the loop (I don’t know why). I suspect it loses the variable ob when it goes into the function.
Trying to summarize the script for the forum, I did not write everything and testing the script, I think that the error lies just there. Sorry. Calli…