Revolve

Next
 From:  TOM (SIRTOM)
7848.1 
To revolve a curve, MOI asks for the axis and an angle.
During a larger project I always use revolve around the origin, the z-axis and 60 degrees.
Is it possible to create a customized command for this action - does a script exist ?
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
7848.2 In reply to 7848.1 
Hi Tom, yes it's possible to create a customized version of the Revolve command that works like you are asking about.

The regular revolve command is controlled by the file Revolve.js in the commands folder. If you make a copy of that file and edit it to just make it set your desired values rather than the way it regularly works by getting the values from UI controls then that would do what you want.

I have attached a version where I've done that - see this FAQ answer for how to install it:
http://moi3d.com/FAQ#Q:_How_do_I_install_a_plug-in_script.3F

This version expects for you to preselect the curve before you run the command, and so the command has no UI of its own and so only has a .js file and no .htm file in it.

- Michael
Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  TOM (SIRTOM)
7848.3 In reply to 7848.2 
Very good and a further step to finetune MOI to achieve the perfect workflow,
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All