Hi Zooen,
re:
> Unless I am mistaken, I noticed that if you enter the distance first, the extrusion is directly
> validated with the default angle (the default angle or the last one entered).
Yes that's correct, the Extrude command is designed to finish when you pick a point defining the extrusion distance.
If you want to alter the angle that will be used you need to modify that before setting the distance.
> Wouldn't it make more sense to put in the dialog the angle above and below the distance.
That seems like it would be kind of weird since the option that is interactive and gets updated with the mouse moving is the Distance option. Usually in MoI commands the parameter that is tied to interactive mouse input is listed first.
> Or at the very least the text at the top of the "Tapered" dialog box should be something like: "Enter the angle then the distance".
That would also be a little strange because the angle is optional, you don't have to modify it to complete the command.
To make the prompt change, you would need to add in a new line in Extrude.htm next to the current prompt which is the one with <div id="ExtrusionPrompt">... and then in Extrude.js inside where it handles the tapered button being clicked ( pointpicker.event == 'tapered' ) you would add:
moi.ui.hideUI( 'ExtrusionPrompt' );
moi.ui.showUI( 'YourExtrudeTaperedPrompt' );
Or also you can change the text content of the prompt like this:
moi.ui.commandUI.ExtrusionPrompt.innerText = 'Tapered prompt text';
- Michael
|