MoI discussion forum
MoI discussion forum

Full Version: Revolve around z at origin ?

From: TOM (SIRTOM)
18 May 2018   [#1]
Hi,

Is there a way of revolving a curve around the z axis at Origin 0/0/0 with just a shortcut?

I am doing this dozens of times and it would be a helpful timesaver to trigger
it just by hitting a shortcut.
From: Michael Gibson
18 May 2018   [#2] In reply to [#1]
Hi Tom,

re:
> Is there a way of revolving a curve around the z axis at Origin 0/0/0 with just a shortcut?

Try the CustomRevolve.js script from here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=7848.1

That one does a 60 degree revolve around the z axis. If you want it to be a full revolve, edit the line that has this:

code:
    factory.setInput( 3, 60 );


and change it to a value of 360 like this:
code:
    factory.setInput( 3, 360 );


- Michael
From: TOM (SIRTOM)
18 May 2018   [#3] In reply to [#2]
Wow, somehow that slipped through my memory :-P ...
Thanks a lot for helping out ! Tom