MoI discussion forum
MoI discussion forum

Full Version: AutoRotate script final

Show messages:  1-9  10-24

From: Michael Gibson
9 Oct 2007   [#10] In reply to [#9]
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)
9 Oct 2007   [#11] In reply to [#10]
Michael explains it better than I can! :)

Paul
From: Michael T. (MICTU_UTCIM)
9 Oct 2007   [#12]
Okay. Thanks again everyone!
From: Michael (ORION20036)
1 Feb 2013   [#13] In reply to [#1]
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)
1 Feb 2013   [#14] In reply to [#13]
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)
1 Feb 2013   [#15] In reply to [#14]
Sorry, I should have said more than one revolution without the slight pause. I am using the AutoRotate2 script.
From: Michael (ORION20036)
26 Feb 2013   [#16] In reply to [#15]
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
26 Feb 2013   [#17]
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
26 Feb 2013   [#18] In reply to [#16]
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)
26 Feb 2013   [#19] In reply to [#18]
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
26 Feb 2013   [#20] In reply to [#19]
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)
26 Feb 2013   [#21] In reply to [#20]
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
14 Apr 2013   [#22]
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
From: Michael Gibson
14 Apr 2013   [#23] In reply to [#22]
Hi shayne, see here for a script you can paste as the command part of a shortcut key for doing a hide/unhide of the grid:
http://moi3d.com/forum/index.php?webtag=MOI&msg=4954.2

> I forget but what is a good screen video capture program

I use Camtasia: http://www.techsmith.com/camtasia.html

- Michael
From: Frenchy Pilou (PILOU)
6 Jun 2016   [#24]
French version! ;)

http://moiscript.weebly.com/tournette.html

Show messages:  1-9  10-24