ofnuts wrote:
Suit yourself
Attachment:
path-interpolate.zip
NB: my script doesn't use the PDB but the Python classes/methods built over it... but this is a matter of style and doesn't change the result...
?? Oh ?? Glad to see you could make it.
THANK YOU!
However, there goes another perfectly good daydream: shot to hell...
I'm about to cross into the city limits with my script of many colors--now in a second-hand donkey cart, pulled by a bow-legged ox, and a large dog, when a well-known conqueror passes by in his well-known chariot, to the adulation of all the citizenry--and under the worshipful glances of self, and of dog.
A story was told about John von Neumann, the prodigious mathematician, who died too-soon, shortly after his arrival at Sandia National Labs, that goes something like this, from an uncertain memory. Famous as he was, people flocked around him at lunch time to hear him declaim, to the ire of one fellow who had formerly held that level of regard. He determined to show von Neumann up, and cast about for an obscure math problem which the latter likely had not yet discovered. He researched and studied and worked out the final answer, with the intent of casually introducing the subject during one of the lunchtime gatherings, and then proceeding to show up the great math "wizard."
Months later, he was ready, and during a lull he announced, "That reminds me of the problem posed by So-and-so..." to which von Neumann, replied, "Oh, yes, very interesting." indicating he was indeed familiar with it. The antagonist, a little rattled, went on, revealing a little of his results, "Well, it occurs to me that such-and-such..." and von Neumann engaged, and was off to the races. Working on a napkin, in the first 2 minutes he replicated what had taken the first fellow two months to work out. Now fearful, the fellow struggled to stay ahead of the wizard, and kept tossing out other results, which only accelerated v.N.'s progress to the answer. Finally, when it became clear that von Neumann was only moments away from the answer, the exasperated foe blurted it out, "...and the result is 'X!'" and stormed away.
A split-second later ofnuts, I mean, Neumann came to the same conclusion and looked up, stunned.
Finally, he asked, "Who was that fellow?"
And when response was made, he looked around, "He didn't even use a NAPKIN!!"
It's kinda like that...
My script--over a month in the making--is probably not so general-purpose as those typically presented. Mine leaves behind for me files of triplets, (x,y,pixelvalue), for individual strokes along a set of paths. My end goal is a CNC program. However, another was to earn that scar known as "first script." My production is very fragile because it's based on magic: mimicking others' approaches without understanding. In another month, I'll be wondering where it came from...
"Edison! Sah-Lute!"
[BTW, got the pixel-setting part to work now too.]