Show messages:
1-2
3-22
23-24
From: Paul (AIRGLASS)
Yes, it is fun playing with MoI's scripting once in a while - this little script has turned into a good learning tool for figuring out how to customize MoI. The way you've got it all designed, the possibilities are pretty wide ranging - it wouldn't surprise me to see someone at some point in the future implement a completely different, customized, gui and function set for MoI, (not me tho :) )
Thanks for the comments, Michael, I think I'll play around a bit with your suggestions this evening.
I was kind of wondering about the effect of machine speed on the rotation loop, my current machine is an old PIII 866 and the rotation goes plenty fast on it, but like you say, a faster machine would probably spin a model like a top!
One sort of interesting side effect of auto rotating a model is that the model rotates in one direction if it's centered in the middle of the viewport, but if you pan it off to the side, the perceived rotation reverses, because the whole viewport is actually rotating - sort of a fool-the-eye effect!
Paul
From: Frenchy Pilou (PILOU)
Terrific!
The magic of this new thing is that works fine! :)
Even with the another function enable during the process like "full screen" or zoom with the wmouse wheel !
Bravo!
A new modular system of adding function script is born :)
From: Paul (AIRGLASS)
Hi Pilou,
Yea I noticed that too. It appears that while at least some scripts are running, other functions continue to work, like reset, zoom ,pan, etc. Pretty cool, eh!
Paul
From: Michael T. (MICTU_UTCIM)
Hello to all!
I have a lot of modeling time logged in alot of CAD/Modeling programs (MoI ROCKS! by the way) but zero knowledge for scripting, programming etc. Are ther tutorials or stuff "For Dummies" to get started in these areas?
Any help is appreciated.
From: Paul (AIRGLASS)
Hi Michael,
Here's what appears to be a decent beginning tutorial/reference in Javascript :
http://www.webreference.com/programming/javascript/diaries/
with more links on this page:
http://www.webreference.com/programming/javascript/
This is the first time I've used javascript and it seems fairly easy to pick up (tho I've done some programming years ago in C and bash shell, so that helps). It looks like there's no memory management stuff to deal with, variables don't need to be typed, so javascript is probably a good place to start and it applies to MoI.
Hope that helps a little ---
Paul
From: Frenchy Pilou (PILOU)
< but zero knowledge for scripting, programming
it's a hard way and very consuming time learning curve from zero ;)
You must learn syntax, mechanism, algorithmic...
Scripting is more easy than programming
In any case make that only for the pleasure ;)
Only kids who have begun precociously are like fishes in water with this area of science :)
From: Michael T. (MICTU_UTCIM)
Thanks Paul & Pilou!
How about MoI specific scripting?
From: Michael Gibson
Hi Michael - there aren't yet any tutorials about scripting in MoI.... I haven't even finished the tutorials for how to just use it regularly yet! :)
Petr and Paul have learned how to do it just by looking through the scripts that come with MoI. Every command in MoI has a script that controls it, you can find them under the \commands subfolder under MoI's main folder in \Program Files.
At some point in the future I would like to work on some documentation for doing scripting inside of MoI, but it takes quite a bit of time to do this type of documentation and if I focused on that it would mean that I would have to postpone working on some modeling features. For now I have put working on new modeling features at a higher priority.
I think it might not be until version 3.0 that I really get a chance to do some more work on stuff for customizing MoI.
- Michael
From: Paul (AIRGLASS)
Michael explains it better than I can! :)
Paul
From: Michael T. (MICTU_UTCIM)
Okay. Thanks again everyone!
From: Michael (ORION20036)
Hello Michael, is it possible to get the script to loop for more than one revolution, as it would be very handy to do a screen video capture with some of my sculptures, not really that savvy with javascript.
From: coi (MARCO)
hey michael..
that's already the case, at least on my system(win7 64). did you use the autorotate2 script?
~ marco
Image Attachments:
autor.gif
From: Michael (ORION20036)
Sorry, I should have said more than one revolution without the slight pause. I am using the AutoRotate2 script.
From: Michael (ORION20036)
I posted a few weeks ago relating to being able to modify the AutoRotate2 script to loop more than one time so I can do a screen video capture. The script does turn indefinitely, but has a slight pause with every revolution. Any information on how to modify the script so I can set the number of continuous revolutions without a pause would be appreciated.
I use animation lab with Turbocad, but like the moi rendered version for a quick visual look around of my model, as it is so simple and also fast, plus great for YouTube.
Any help appreciated.
Thank You!.
From: mcramblet
Paul-
Thanks for posting this, it works great. I'll have to find a decent Mac OS screen capture program so I can use the script and capture quick animations right out of MoI. Very useful!
From: Michael Gibson
Hi Michael (ORION20036) - you wrote:
> The script does turn indefinitely, but has a slight pause with every revolution. Any information
> on how to modify the script so I can set the number of continuous revolutions without a pause
> would be appreciated.
It looks like the script currently runs on a "busy loop" where the script is going in a really tight loop kind of continuously churning away. I'll try to modify it to use a timer instead and move more processing over into the main host process. I think that could make for some more consistent motion.
- Michael
From: Michael (ORION20036)
Many thanks Michael, It has great potential for viewing my Cad Sculptures, especially as it is so simple to capture, and your rendering settings are just perfect.
Many thanks for posting the script also Paul!.
From: Michael Gibson
Hi Michael, try the attached updated version, this one is kind of "lighter weight" since it doesn't make the script run in a continuous busy loop and that should likely help it have a more consistent motion.
This version will only run on v3 (or v2.5 on the Mac should be ok too).
Hope this helps!
- Michael
Attachments:
AutoRotate2_new.zip
From: Michael (ORION20036)
That does the trick just great Michael, I spend so much time on my sculptures that I never have the time to create animations, so this will get me moving on some YouTube promotions.
I will post some of the links later in the week when I have sorted some of my sculptures out to animate.
Many Thanks for your time and innovation!.
From: shayno
Hi Michael
Is there a command or script to hide/unhide the background grid
I forget but what is a good screen video capture program
cheers
shayne
Show messages:
1-2
3-22
23-24