Show messages:
1-6
7-26
27-35
From: Zooen
Thanks Michael, but I'm using the version you modified at Michael's (ORION20036) request . In this version there's no line of code: var start_stop = true;
And I'd rather use this one.
I'm also using version: MoI 5.0 beta February 8, 2025 and it's only AutoRotate_New that works with V5.0 beta.
Attachments:
AutoRotate2_new.zip
From: Michael Gibson
Hi Zooen, for that version the thing that makes it rotate on startup is in the file AutoRotate2.js, line number 5:
code:
moi.ui.commandUI.Start();
Either delete that line of code or put a // at the start of it to comment it out and then it should be stopped when initially launched.
- Michael
From: Zooen
Thanks Michael,
Well, when I put a // at the beginning of the line, I got an error message (maybe I didn't understand the instruction properly!). Then I thought of a problem with the left brace.
So here's what I did below: move left brace.
// config: norepeat
function DoAutoRotate()
// moi.ui.commandUI.Start();
{ var dlg = moi.ui.commandDialog;
while ( 1 )
{
if ( !dlg.waitForEvent() )
return false;
if ( dlg.event == 'quit' )
break;
}
}
DoAutoRotate();
It works!
This allows me, when recording an animation, to start at a specific (chosen) position.
Thanks again
From: Zooen
Well, to illustrate my request, a short video.
It's very short, because in mp4 or Gif format, a longer video can't be sent to the forum.
In fact, I'm wondering what the maximum size is.
Please, I have no Copyright, but out of respect for the modest little creator that I am, do not use this animation video in any AI software or other to ask him to realize anything. Thank you
Oups! j'ai oublié de traduit en anglais.
Oops! I forgot to translate it into English.
In fact, as my memory fails me more and more, I was wondering how I had created the basic shape or if I had created it myself. I've just found the original August 16, 2021 file on an external disk. 4 years, well, I'm allowed to have forgotten!!!
Attachments:
MoI_Chorégraphonia.mp4
From: Michael Gibson
Hi Zooen, I'm glad you got it working! I've attached the file with the edit in it that I was trying to describe.
- Michael
Attachments:
AutoRotate2.js
From: Phiro
Hi,
My 2 cents.
If you want something like autoRotate to have a simple render, look at Koru software.
MoI is wonderfull and perhaps the best CAD for artistic model but it's not a render tool.
I think if you want an easy and good render with a rotation effect, Koru is a very good choice.
It can export your work in a html page with Webgl and easy add a script to rotate the camera.
If you let it work, the webpage will rotate the cam.
If you use your mouse to rotate and stop touch it, after seconds, it will re-rotate the cam.
And as a webpage, you can open it with any device, Computer, smartphone, tablet...
A quick sample here...
Click_it
From: Zooen
Hi Phiro,
Merci pour l'information.
Thanks for the information, I'll look into it. Well, it's not free.
I use ShareX 18.0.1.
ShareX is a free, open-source screen capture and screencast program for recording everything that happens on screen.
From: Zooen
Thanks Michael,
Even though my tweaked AutoRotate2.js works, I've gone back to yours, certainly more in line with the code writing!
From: Frenchy Pilou (PILOU)
Koru shown example has not a complete rotation! ;)
Spline 3D yes! ;) Don't use it for a while! :(
https://moiscript.weebly.com/spline.html
Show messages:
1-6
7-26
27-35