Scene Clean

35 votes
Version: 
1.2
Date Updated: 
11/17/2010
Author Name: 
Mark D

Formerly Mat Clean, which was formerly Mat Kill.

*Indicates its newer-ish

*Collapse Stack(s): Collapses the selected objects, or if nothing is selected it will prompt to collapse all objects (even hidden).

*Pivot to World Zero (left click):
Sets the pivot to the lowest point in a mesh, then center, then moves the object to the center of the world zero point.

*Pivot to World Zero (Right click): same as above but also resets transforms, applies rest xform then collapses the stack leaving an edit poly object behind.

Clean Mats: Assigns undefined as the material just like when the object was created.

*Clean Editor (left click): Resets the Material Editor

*Clean Editor (right click)
: Resets like above and applies Matt/Shadow material to the 1st material slot (does not apply the material to any objects)

Wire Color (left click): Sets selected objects to the same custom wire color or all objects if nothing is selected (materials do not change)

Wire Color (right click): Applies random wire colors to selected objects, or to all objects if nothing is selected. (materials do not change)

Color Swatch: Launches the color picker, all custom wire colors come from this picker (defaults to black).

Mat1 + Wire Color: Applies Mat Slot 1 to selected objects or for all objects if nothing is selected (Sets the wire color to the current custom color)

Additional Info: 

To install:
Run the script once from anywhere, or drag it into the 3dsmax viewport. It will now be available in Customize > Customize User Interface > Category: VigTools

*Fixed the broken download link.

Version Requirement: 
3dsMax 8 or higher
AttachmentSize
vigtools-sceneclean.mcr6.88 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Cabbage's picture

Does this script work with

Does this script work with 2011? im getting error replorts when i try :(

MarkD's picture

Anbuis, You misunderstood

Anbuis, You misunderstood what I was saying. Vigtools.ms is separate from matclean. Vigtools.ms has a few extra scripts bundled into one .ms file, I use it to install a few scripts at one time, scripts I haven't released. When I moved matclean.ms it broke the link. An adventurous user found matclean inside of vigtools.ms and posted a link. Technically you should never of had it as vigtools.ms was never released. Its perfectly fine if you have the other vigtools but I never intended for people to install the extra scripts just to get mat clean.

The extra functions you talked about are needed for the script to work correctly.

theos's picture

Thank you! Working fine on

Thank you! Working fine on max 9 and 2010.

Anubis's picture

I'm not sure what you mean

I'm not sure what you mean with "you shouldn't be using vigtools". Yes, I can write my own tools, or something else you cover? Never mind. Most people is glad to see bug reports and new ideas about their scripts because this help them. If you not one of them, ok, I'll have in mind. Peace!

Regards, Anubis

my recent MAXScripts RSS (archive here)

MarkD's picture

Fixed the download link.

Fixed the download link. Sorry about the confusion, you shouldn't be using vigtools, but if you have it, its no big deal, probably just some extra tools you won't use, or maybe you will.

Anubis's picture

Yep, we should know so this

Yep, we should know so this script install 4 Macroscript and 1 geometry plugin.

Maybe there are other bugs to report, I just read the code of "MatClean" and I see so the buttons run more actions than described, for example - "Mat1 + Wire Color" button also call dull_materials() function which call clear_all_meditSlots() and kill_materials() functions.

As a discomfort (for me) is to do something then nothing selected, 'cause people should remember what happens in this case.

Good luck! :)

my recent MAXScripts RSS (archive here)

Admin's picture

Looks like the author merged

Looks like the author merged several tools together into "VigTools_1.5.ms" which can now be downloaded here: http://www.vigville.com/forum_images/3dsmax/Scripts/VigTools_v1.5.ms

Christopher Grant
ScriptSpot.com

Christopher Grant
Admin, ScriptSpot.com

bisenberger's picture

download link is dead

download link is dead

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.