View Single Post
# 3 29-12-2006 , 10:03 PM
enhzflep's Avatar
Subscriber
Join Date: Oct 2006
Location: Melbourne
Posts: 313
Gday there matthing,

From the look of the icon you show, that sets all selected points to the X axis I'd be inclined to think that this was a Mel script. You can achieve the same effect by scaling them all to lie in a single plane before moving that plane to to X = 0,
Though obviously not nearly as convenient as a single click.
I guess it's just a matter of writing a script that will step throught the list of selected verts and set the TranslateX to 0 for each of them.

As for the second button, this is converting a subD object to a poly object, right?

Well, to create a custom shelf and place the converting button on it, follow these few steps.

1)Window->SettingsPrefferences->Shelves...
2)Select the Shelves tab
3)Hit the New Shelf button
4)Using the Name field at the bottom, call it Custom or something that willl be equally clear.
5)Hit Save All Shelves

You will now have a new shelf, with the name you entered in step 4.

1) Hold down ctrl and shift.
2) Select Modify->Convert->Subdiv to Polygons

This will place the new button onto your new shelf, complete with icon even.



Ah-hah! Just had a brain-flash about how to do the X=0 button! You can move something either by a relative amount(default when using the mouse), or to an absolute value. You can also specify which axis to move along (default is all 3 at once)

Sooo, try creating a cube, selecting 4 verts and then typing this into the command line at the botom left of the screen.

move -x -a 0;

This will move all selected items in the X axis (only) to an absolute value of 0.

You can open up the script editor, type this text in and then copy it to your new shelf by selecting all of the text and middle-mouse dragging it up to your shelf.

Happy New Years all.
Simon