Greeble Beta (Updated Feb-06-2009)
-
Your version is always written 0.25
you don't increase number between version? -
I've been updating it, but I tihnk I forgot to on this last update because it was a small update. I tihnk it went up to .0255 I do have .027 ready. It fixes a bug that makes the script stop after you greeble the same geometry a few times. But I fixed that and found there is still another problem that does the same thing. So I'm hoping RickW can shed some light as to how to fix the problem. Then other scripts are messing with progressbar too and causing me grief. So maybe today or tonight I'll do a big update that fixes lots of these little things.
Thanks for the reminder on the version number. i'll make sure I keep it up to date from now on
Chris
-
I am confident progressbar.rb is not broken. It gets used 1000's of times a day.
I remember putting in a diagnostic one time to trap a bad call to a method with a nil value. I overrode the nil class to see who was calling it. Found the error in no time flat.
-
I agree 100% Todd. Progressbar is not broken. Its been around forever. Tomot PM'ed me and found that he does in fact have the component spray tool installed. That is the ruby causing the problem on my end. I even posted to the Spray tool thread stating that I think its causing issues with progressbar. But no response from Didier yet. I'll test it out on these school computers that have no plugins installed. I'll put in my script, progressbar, and compo_spray.rb and see if I get the same error. But in my mind, its already solid. Component spray is interfering somehow.
If it is true, how does he go about solving it? Does he maybe have some code that is not wrapped in a module or something? Would that fix it? His script is scrambled so I can't look at it its guts.
Chris
-
@chris fullmer said:
Does he maybe have some code that is not wrapped in a module or something? Would that fix it?
-
I think Didier put the progressbar script code in his script, and modified it with a timer, so that if the script was running longer than a certain time, it would interrupt the process and put a dialog in front of the user to continue or note. Great idea. Less than stellar execution. I could extend progressbar with a callback to make this type of functionality general purpose, and then he could just call the one that works! (Ouch).
The benefit of using progressbar.rb, is that when I get around to upgrading progressbar with platform specific code, user's will have a real nice, platform correct progress bar that's not buried on the status bar. I'll make it so that the user could hit CANCEL at any time to interrupt the script.
-
Todd that all sounds superb! And that makes sense what happened with the sray tools and progressbar.
Chris
-
@unknownuser said:
I'll make it so that the user could hit CANCEL at any time to interrupt the script.
Vital
-
The offset problem comes down to the offset distance being exactly half a face's dimension. This creates a line rather than a face, and things go nuts at that point. Working on a fix for both sides of the issue.
-
Ahh, that makes sense Rick. I could test that my random offset value does not equal 1/2 the width of height of the square faces - or something along those lines. Thanks for looking at this,
Chris
-
The script is now updated to v.03. I also updated the video on the front page. Updates include:
- Some tweaks that it make it more stable.
- Progressbar is implemented correctly now so it lets you know how much time the script should have left.
But most importantly, Component Spraywas just updated so it no longer conflicts with progressbar.rb, which means greeble should work for much better now. If you can't get greeble to work, and you have an old component spray installed, please go download the new version. (If you don't have component spray installed, you really should, its amazing!) HooRay for Didier!
-
good work ...........
MALAISE -
Chris... I'm so proud of you. I think I'm gonna cry.
-
Seems only amazing!
-
You can distribute it from Smustard.
-
aww shucks! I've come a long way in this learning process. But don't you worry Todd, I've still got plenty of "noob" questions to come I'm sure!
After all, my main goal is to write a script that is useful enough to make it to the big time, Smustard! So maybe after I figure out web-dialogs (SERIOUSLY CONFUSING), this greeble plugin will find a new home (am I dreaming, or what!)
Chris
EDIT: This script is outdated. Go to http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=16599 and download it there please! Thanks, Chris
Advertisement