4/28/08 update :
   SELECT THAT MESH : if you use the arguments that lets you hide objects of certain types, it won't unhide all of the objects of that type anymore

4/27/08 update :

   (NEW SCRIPTS)
   ITEM POS COPY : Just select at least two items, run script, and it'll copy the transform keys to the other selected items.
   KNIFESCREEN :
This performs a 2d poly slice across the screen using the viewport's axis and the angle defined by (2 verts) or (1 edge).  
   LAYER HIDE ALL TOGGLE : This script is darn handy!  Fire it once to hide all layers but MAIN. Fire it again to show them all again.
   LAYER NEW GROUP IT : This creates a new layer in the group you're currently in, so you don't have to spend any time dragging/dropping.
   LOOP SLICE DECIDE : If you have 1 edge selected, it turns off "slice selected".  I you have more than 1 edge selected, it does the opposite.
   PART OR SET APPLY : This makes applying polygon parts or selection sets a bit easier because it's on one hotkey and can delete illegal chars.
   PIVOT COPY TO SEL : Select multiple items and it'll copy the pivot pos from one item to another.
   PRINT HOTKEYS : This lets you do a hotkey search.  It searches both the default modo hotkeys and your custom hotkeys.
   RANDOMSEL_NEW :
This script is to randomly select or deselect VERT, EDGES, or POLYS using the percentage you enter.
   SEL_TOGGLE POLY TYPE : Hold your mouse over a poly and fire script and it'll toggle all the polys in the layer that have that same vert count.
   SELECT LINES : This expands the selected edge row until it finds two edges that touch the same poly.  Works great for tesselated quads
   SELECT PARENTS : This script is to select the parents or children of whatever items you have selected.
   SELECT POLYS BY TEXTURE : If you have multiple materials with the same IMAGE in them, you can select all their polys quickly.
   STRETCH FLIP : You just need to bind this to 3 hotkeys inside the stretch tool, so you can easily flip any axis with one hotkey.
   TUBE TO CHAIN : This script converts tubes to 2ptPoly chains and back.  It makes pipe editing easy because you can use any deform tool!

   (SCRIPT UPDATES)
   ALIGN_FIT :
fixed two pivot adjustment bugs.
   CARD TOOLS : now works with the mac.
 
 FLATTEN : fixed a symmetry bug as well as an up axis bug
   MESH CLEANUP : put in a safety check for the "senetemp" selection set to stop some bugs.
 
 QUICK BOOLEANS AND DRILLS : Now has a new boolean type which retains UVs.  :)
 
 ROTATE TO OR UNROTATE : running select.expand twice to get around a bug.
  
SELECT REST : gave it an overhaul to increase speed dramatically and fix a small bug
 
 SELECT THAT MESH : now lets you select through any items you don't want to select (such as backdrops) and also has a small bugfix.
  
SUBPATCH_KEEPSEL : M3 broke my optimization, so I had to revert to the slower method again. :(
   SUPER UV TOOLS : medium update
        - I *FINALLY* got around to fixing that uv island determination bug!  It didn't occur all that often, but it sure was annoying when it did.  :P
        - This script now works with modo 302.
        - This script now works on the mac.
        - There's a new feature to select material groups in the shader tree by search terms.
        - There's a new feature to select clips in the clip list through search terms
  
VIEWPORT_DISPLAYTOGGLES :
"toggleFGBG" added. This flips both FG and BG to be opposites.
   WORKPLANE_OFFSET TO CURSOR :
if the mainlayer was active and invisible, it used to cause a problem.  Not now.
 

(...click here for the complete list...)
   
         
     
     
     2D WORKPLANE ALIGNMENT   ver 2.0 updated 2/11/07    
This script was made because MODO's workplane alignments are in 3D, so most of the time,
it would get the Z and X dimension right, but your model would be twisted on the Y... So
this script will 2D-align the workplane so if you're building along any axis as I always am,
you'll finally be able to align the rotation of the workplane exactly as it should be aligned. 
Very handy!

-Select two verts or an edge and run the script thru the included popup form.
-(2-11-07) : The script now rounds the angle properly so it won't jump much anymore. :)
NOTE : the form has a button that requires the separate workplane_restore script.
                                        
         
     
     
     ALIGN - FIT   ver 2.9 updated 4/27/08    
This tool is for ALIGNING and/or STRETCHING whatever's currently
selected to whatever OTHER elements are also selected.  There's also point to point
aligning and scaling, as well as pivot alignment.

-(
2-11-07) : I added anchor to pivot and also put in a small layer ref fix.
-(
9-16-07) : M3 update
-(
4-27-08) : fixed two pivot adjustment bugs.
TUTORIAL VIDEO (3MB H264 MOV)  
 ANCHOR TO PIVOT VIDEO (189K H264 MOV)
                                        
         
     
     
     BEVELITTLE    ver 1.8 updated 9/16/07    
This script does two things: BEVEL or EXTEND, depending on what selection mode you're
in, and then puts you back to whatever  tool you were using beforehand. 

-If no tool is selected beforehand, it'll load up the MOVE tool for you.
-If nothing's selected, it'll do nothing so you don't accidentally duplicate all your geometry.
-With VERTS and EDGES, it will deselect the nonborder elements for you.
-(
10-29-06) : It now works properly with modo2's new transform tools.
-(
9-16-07) : M3 update + works in multiple layers now + supports all new transforms
                                        
         
     
     
     CARD VIEW CREATION TOOLS ver 1.2f updated 4/27/08    
Modo2's got a new type of gui, called the CARD VIEW..  It's similar to HTML in that you
can place buttons or links anywhere on each card, so it's really handy if you want to make a
non-standard gui.  It's all text based though and thus takes a lot of work to create, and so
that's why I created this card view creation script that works with polygons to make them very
easy to edit.

-(
9-16-07) : fixed image path + new user.val safety + new safety for card name.
-(
4-27-08) : now ported to the mac
-
INSTRUCTIONS VIDEO (25MB H264 MOV)
                                                                       
         
     
     
     COLLAPSE LAYERS ver 1.0 updated 10/29/06    
This script is to collapse all the layers in your scene into one single layer.  It's really just
for the models that have tons of junk layers that were created when you imported it.
                                                                       
         
     
     
     COLLAPSE SCENES ver 1.0 updated 10/29/06    
This script will copy all the polygons in all the currently open scenes and paste them in a
single layer in a new scene.  It's really just to combine all the separate models that came
from a bad exporter that couldn't export them as one single file.
                                                                       
         
     
     
     DELETE HALF    ver 1.2 updated 9/16/07    
This script will look at all the polygons you have selected and delete whichever are below
zero in whatever axis you picked (in the included popup form)

-(
9-16-07) : the warning window was broke and is now fixed.
 
                                        
         
     
     
     DESELECT MESH or EDGE LOOP ver 1.5 updated 2/11/07    
There's been SOOO many times where I have to deselect a mesh or an edge loop and
there's never been an easy way to do it, so I'd have to either deselect all and start from
scratch again or I have to spend a while deselecting EVERY element.  Now it's easy! 

-VERT MODE : Hold your mouse over a mesh, run script and it'll deselect all the verts on it.
-EDGE MODE : Hold your mouse over an edge, run script and it'll deselect that edge row.
-POLY MODE : Hold your mouse over a poly, run script and it'll deselect all those polys.
-(
2-11-07) : It's been sped up quite a bit.
                                                                       
         
     
     
     EDGE LOOP expand and contract   ver 0.9 updated 5/27/06    
This script is to expand or contract the edge rows selected. To expand, just run the script. To
contract, run the script with "contract" appended.

note: For expanding selections, it's using modo's select.loop, and it starts selecting all kinds
of weird stuff if you have edges like in the right pic selected.   So basically, this script is only
for EXPANDING cases like the left pic, and CONTRACTING for cases like the left or right
pic.
 
                                        
         
     
     
     EDGE SELECT BY NORMAL   ver 1.0f updated 2/11/07    
This script is for selecting or deselecting edges based off of the angle between the two polys
connected to it.


This pic describes what all of the buttons do.
DESCRIPTION PNG
                                                                       
         
     
     
     EDGE SLICE or ADD VERT  ver 1.6 updated 9/16/07    
I found that there was a great number of times where I'd want to add a point to an edge and
do a poly fan triple from that new vert and it'd take a little while to do it manually and so I
decided to put in a special case function with the edge slice tool so now it's easy.

-If you have multiple edges selected, it'll do the regular edge slice.
-If you have one edge slice selected, it'll add the vert and do the poly fan triple.
-(
2-11-07) : It now has a safety if zero edges were selected.
-(
9-16-07) : now has a "noSplit" feature + won't split hidden polys anymore
                                                                       
         
     
     
     EDGE-WEIGHT TOOLS    ver 1.0 updated 5/13/05    
These are 3 simple macros to simplify edge weighting.  Holy cow I love 'em.  I set edge
weighting every 3 seconds when I model, so I love having shortcuts when using them.

-EDGEWEIGHT:  same as usual only it auto-selects the subD weight first.  :)
-EDGEWEIGHT_95: this sets the edge weight to 95%.  GREAT for mech models!
-EDGEWEIGHT_reset: this resets the edge weighting.   ALWAYS GREAT!!!

 

                                                                       
         
     
     
     EXTRUDE ALONG EDGE PATH ver 1.1 updated 9/16/07    
This script is to extrude a polygon set along a edge path.  It's really great for baseboards or
trim or pipes or whatnot.  The tutorial video will explain best how to use it.

-(
9-16-07) : fixed a serious selection set bug

TUTORIAL VIDEO
(8MB H264 MOV)
                                                                       
         
     
     
     FLATTEN (not taut)    ver 1.7 updated 4/27/08    
This script flattens the selected geometry by it's averaged normal.

(
8-9-06) : It actually works in modo2 now.
(
10-29-06) : It got a hack to try to avoid the modo2 symmetry slowdown bug.
(
4-27-08) : fixed a symmetry bug as well as an up axis bug
                                        
         
     
     
     ITEM POSITION COPY   ver 1.0 updated 4/27/08    
Just select multiple items and it'll paste the item position values into all the other selected
items.  Oh, and don't forget to put this script command into the item list's right mouse click
menu form..  It wouldn't be as easy to use without that.  :)
 
                                                                       
         
     
     
     KNIFE SCREEN    ver 1.0 updated 4/27/08    
This script is to perform a 2d poly slice across the screen using the viewport's axis, and the
angle you defined by selecting (2 verts) or (1 edge).   It can also do 1d cuts as well.  Very
handy when you've got a precise cut that you need to perform on architecture.


DEMO VIDEO (1.4MB H264 MOV)
                                                                       
         
     
     
     LAYER HIDE ALL TOGGLE    ver 1.5 updated 4/27/08    
This script will look at all the currently visible layers (and instances) and hide all but the
main. When you run the script again, it'll unhide 'em again.  Uber handy.  :)
                                                                       
         
     
     
     LAYER NEW GROUP IT    ver 1.5 updated 4/27/08    
This script will create a new layer and parent it to the group you have selected or the parent
of the item you currently have selected.  It just saves a bit of time if you've got a big scene
open because normally you have to go all the way to the bottom of the item list and drag
it all the way back up to the group you were currently working in.
                                                                       
         
     
     
     LAZY SELECT    ver 1.1 updated 9/16/07    
This script is to select similar polygons. There's four different uses and one slider:

-Similar Touching(fast)= This is to select all (similar facing) touching polygons.
-Similar Touching(accurate) = Different algorigthm.  The one above is better, actually. 
-Similar On Object= This is to select all (similar facing) polygons on an object.
-Similar In Layer = This is to select all (similar facing) polygons in the entire layer.
-facingRatio = This is to tell the script exactly how similar the polygons you want it to select
should be.
-(
9-19-07) : doesn't select hidden polys anymore.
                                                                       
         
     
     
     LAZY SELECT MATERIAL    ver 1.1 updated 9/16/07    
This script is to select all the touching polygons that have the same material assigned.  It's
really darn handy.  Especially for level design because that's when you tend to have tons
of polygons touching each other that don't have the same material and you want to
selectively select material "groups" for UV applications.

-(
9-19-07) : doesn't select hidden polys anymore.
                                                                       
         
     
     
     LOOP SLICE DECIDE    ver 1.0 updated 4/27/08    
This script is just a small modification of loop slicing.

If you have only one edge selected, SLICE SELECTED turns OFF.
If you have multiple edges selected, SLICE SELECTED turns ON.
If you are not in edge mode, it doesn't bother with that option.
 
                                                                       
         
     
     
     MAKE POLYGON    ver 1.6 updated 2/11/07    
This script is so you can quickly make polygons from edges.  If you run the script with verts
selected, it will just run modo's make poly command...

-You can have any number of edges selected and it'll make a poly for each edgerow.
-You can't run it on touching edgeloops yet, because it'll make an illegal polygon right now.
-(
10-29-06) : When in edge mode, I ignore all edge loops that only have one edge.
-(
2-11-07) : It now ignores edges that aren't in the main layer
                                        
         
     
     
     MERGE ROWS    ver 1.0 updated 5/13/05    
This is a "BandGlue" or "Plane Belt Optimizer" tool that works whether you have verts,
edges, or polys selected. It's also smart enough to delete the "bad" verts that edge remove
forgets to remove.

-If you select polygons, it'll merge the row(s) of edges in-between the 2 or more polygons
-If you select edges, it'll remove those row(s) of edges
-If you select verts, it'll remove those row(s) of edges the verts would make.
 
                                                                       
         
     
     
     MESH CLEANUP    ver 1.89 updated 4/27/08    
This script goes through your model and cleans it up for you.  :)

-It removes 0 poly points
-It removes 1pt polygons
-It removes 2pt polygons
-It removes those mysterious 3pt/4edge polygons that look like 2pt polygons
-It does a fixed 1 um vert merge, poly unify, and poly align to kill duped geometry.
-It unifies subDs as well! (like if you accidentally hit TAB on a half hidden model)
-It merges colinear edges. You can overwrite the angle check if you want.
-It removes those illegal 3+ edge polygons.
-It removes 1 edge verts.
-(
5-27-06) : If you don't want it to run some of those, you can now turn them off with cvars.
-(
9-16-07) : M3 update
-(
4-27-08) : put in a safety check for the "senetemp" selection set to stop some bugs.
                                        
         
     
     
     PART OR SET APPLY     ver 2.2 updated 4/27/08    
This script is to apply a POLYGON PART if you're in POLY mode and a SELECTION SET
if you're in EDGE or VERTEX mode.

script arguments :
"
swapNullChars" : If you type in random text like me, this argument's handy because it'll
swap illegal characters with random legal characters so you won't cause any problems.  :)
                                                                       
         
     
     
     PASTE and SELECT    ver 1.1 updated 5/28/06    
This tool is exactly the same as a regular paste only when you paste it'll select what you just
pasted.  VERY handy!  :)

 

 
                                                                       
         
     
     
     PERFECT CIRCLE   ver 1.6 updated 9/16/07    
This script is for taking POLY(s) or EDGELOOP(s) and moving the vertices so they form a
(flat) perfect circle.  This script was made because I often STENCIL or KNIFE a CIRCLE onto
a mesh, and waste a lot of time tweaking the verts to try to get it perfectly round...

-If you have MULTIPLE POLYGONS selected, it will only use the BORDER VERTS.
-If you have VERTS selected it will convert the selection to EDGES first. (so you have to use
verts connected by edges like in the pic.)
-(
10-29-06) : It got a hack to try to avoid the modo2 symmetry slowdown bug.
-(
9-16-07) : fixed a workplane restoration bug
                                        
         
     
     
     PIVOT_COPY TO SEL    ver 1.1 updated 4/27/08    
This script is to copy the pivot position from one mesh to the other(s) that are selected.
note : it doesn't take item positions into account. It assumes all items are at 0,0,0 (for now)
 
                                                                       
         
     
     
     PRINT HOTKEYS    ver 2.2 updated 4/27/08    
This script is so you can do a search through your cfg to find which hotkey(s) a specific
command is bound to.  If you're like me and you have 2 million hotkeys, you'll tend to forget
the rarely used ones every once in a while and this script makes it simple to find them.  :)

arguments :
"
noPopup" : if you don't want the event log window to spawn, type this in.
**
your custom cfg file path** : if you use a custom cfg file, just type in the path.
                                                                       
         
     
     
     QUICK BOOLEANS and DRILLS   ver 1.81 updated 4/27/08    
This script is to let you do BOOLEANS and DRILLS without ever having to make geometry in
background layers.  All you have to do is select at least one point or edge or polygon of what
you want to cut with and run the script from the popup form.

It's also got two extra options:
1) UNWELD : It's for 2D DRILLS.  It'll unweld first so you can drill all edges, not just borders.
2) DELETE MESH : it automatically deletes your cutting geometry for you. :)
-(
8-9-06) : Fixed the stencil option.
-(
9-16-07) : Rewrote user value code to fix M3 bug. 
-(
4-27-08) : Now has a new boolean type which retains UVs.  :)
                                        
         
     
     
     QUICK BRIDGE    ver 1.1 updated 8/9/06    
When bridging edges:
     -it deselects non border edges for you
     -it does the bridge then drops the tool, so it's only one click.
     -it also converts verts to edges for you so you can bridge in vert mode

When bridging polygons:
     -it is the regular bridge tool.

-(
8-9-06) : It now has the needed tool reset.
                                                                       
         
     
     
     QUICK MIRROR   Ver 2.1 updated 9/16/07    
This script is to let you quickly mirror your geometry over a world axis or an element
axis.

-POLY MODE : Select polys you wanna mirror and run script with
mirror axis appended.
-VERT or EDGE MODE : Select polys you wanna mirror, then the two verts or one edge
that defines the angle you want, then run the script with the
viewport axis appended.
Script arguments are
X,Y,Z         example : @quickMirror.pl X

-(
2-11-07) : if you want to turn off vert merging, append "noMerge". 
 : If you want the script to select the newly mirrored geometry for you, append "
selectNew". 
 : The script now works in symmetry mode as well.
-(
9-16-07) : M3 update
                                                                       
         
     
     
     QUICK PIPE   Ver 1.0 updated 2/11/07    
This script is to create a pipe using your selected points. It uses the thickness and number of
segments of the last created
TUBE PRIMITIVE..  I made this script so I could create accurate
pipes very quickly.  You just can't do that with the tube primitive, the curve extrude,
bevelittle, or any other tools, so it was needed. 

-(
2-11-07) : The script now works with edges, so you can create multiple pipes in one click
and don't have to pay attention to selection orders anymore.  The vid will describe it best:
-
DEMONSTRATION VIDEO (1MB H264 .MOV)
                                                                       
         
     
     
     RANDOM SELECT (NEW) ver 1.0 updated 4/27/08    
This script is to randomly select or deselect VERT, EDGES, or POLYS using the percentage
you enter.

To select : "@randomSelNew.pl"
To deselect : "@randomSelNew.pl deselect"
                                        
         
     
     
     REST ON GROUND    ver 1.25 updated 10/29/06    
This script rests your geometry on the ground.

- There is also a "center" option if you want to center your geometry as well. To use "center",
just append it. - example:@restOnGround.pl center
-(
10-29-06) : It got a hack to try to avoid the modo2 symmetry slowdown bug.
                                        
         
     
     
     ROTATE TO GROUND    ver 1.31 updated 8/9/06    
This tool is to rotate an object to the ground.

-Select object, then hold mouse over polygon you want to rest on the ground and run script.
-Also works for models that don't have a flat polygon to rest on the floor.  What you do is
select the object's polygons, and then you select the verts or edges that you want to rest flat
on the and then run the script. 
-(
8-9-06) : (removed tool preset complaint)
                                        
         
     
     
     ROTATE TO OR UNROTATE    ver 1.021 updated 4/27/08    
This script does three different things:
  - Unrotate an object
  - Place an object anywhere onto another object.
  - Paste an object anywhere onto another object.
  - (All without any background layers or separate items or anything.)
-(
9-16-07) : symmetry fix + fixed a bug if the last used viewport was the uv view.
-(
4-27-08) : running select.expand twice to get around a bug.

It's got a number of features, so it's best just to explain the script through video:
TUTORIAL VIDEO (27MB H264 MOV)
                                        
         
     
     
     SEL_TOGGLE POLY TYPE    ver 1.0 updated 4/27/08    
This script is to toggle the selection of all polys with the same number of vertices as the one
under the mouse so you don't have to open the INFO+STATS window in order to do that
anymore. Now you just point at a poly and fire the script
                                                                       
         
     
     
     SELECT HARD EDGES Ver 1.6 updated 10/29/06    
This script is just to select the edges that have edge weighting over 0.9.  Every once in a
while, I need to select the hard edges, but I couldn't do it through the INFO+STATISTICS
window, so I created a quick script for it.

-If you have edges selected, it deselects the edges that have weighting below 0.9.
-If you have no edges selected, it selects the edges that have weighting above 0.9.
                                                                       
         
     
     
     SELECT_FLOOD TOGGLE ver 1.2 updated 9/16/07    
This script is to floodfill the the selection area underneath the mouse. If your mouse is over
unselected geometry, it will select it. If it's over selected geometry, it will deselect it.  The
script works with verts, edges, polys and symmetry.
-(
9-16-07) : doesn't toggle hidden elements anymore + added a progress bar

It has one argument, and that's "
noDiagonal".  It's only if you wanna deselect orthogonal
polys.  Here's an image to illustrate how the script works : instructions image
                                                                       
         
     
     
     SELECT LINES Ver 1.0 updated 4/27/08    
This tool is for selecting outer edge lines. It's exactly the same as what you'd normally get
with the select.loop command, only it stops the edge expansion when it finds that the
current edge selected the same poly as the one before it.  So what you basically get is that it
selects only that one side of the mesh, and doesn't do a full loop like select.loop normally
does.. Very handy when you want to quickly select only one side for a quick extrude....
 
                                                                       
         
     
     
     SELECT PARENTS ver 1.01 updated 4/27/08    
This script will select the PARENTS, CHILDREN, or SIBLINGS of the selected items. By
default, it selects PARENTS. To select either the SIBLINGS or CHILDREN, you must type in
the specific script argument.

it selects parents by default, but you can select children or siblings with these arguments :
"
selectChildren" : select all the CHILDREN items of the current item(s) you have selected.
"
selectSiblings" : select all the SIBLING items (ie, their brothers/sisters)
                                                                       
         
     
     
     SELECT POLYS BY TEXTURE Ver 1.0 updated 4/27/08    
This script is to select all the polys in the scene that use any of the same [[file textures]] as
those on the materials of the currently selected polys.

I guess this is really just for cleanup if you're importing a bunch of geometry with random
material names but duplicate images.
                                                                       
         
     
     
     SELECT REST    ver 1.35 updated 4/27/08    
This tool is so you can select the rest of the polygons or verts that that have the same
material or part or vertex selection set as the item[s] you currently have selected.

-If you want to select rest of material(s) just run script.
-If you want to select rest of the part(s), run script with "part" amended to the script: 
ex. @selectRest.pl part
-If you want to select rest of vertex selection set(s) just run script.
-(
5-27-06) : If you want to select rest of edge selection set(s) just run script.
-(
4-27-08) : gave it an overhaul to increase speed dramatically and fix a small bug
                                        
         
     
     
     SELECT THAT MESH    ver 2.1 updated 4/28/08    
This script is so you can select the geometry under the mouse in ONE click, no matter what
layer it is in.  The reason why I wrote this little script was because I do a lot of copying and
pasting and didn't like the little slowdown I ran into when trying to find WHICH layer the
mesh I wanted to select was in.  So I wrote this little script and bound it to CTRL-SHIFT-LMB
and can now select it in one click.  Nice. :)

(
9-16-07) : works much better with verts and edges now + silenced popups + clarified docs
(
4-27-08) : now lets you select through any items you don't want to select (such as backdrops)
(
4-27-08) : fixed a bug about it putting you into edge mode when you were in poly mode.
(
4-28-08) : it won't unhide all of the "select through" objects anymore.
                                                                       
         
     
     
     SELECTION FALLOFF MOVE   ver 1.1 updated 5/27/06    
This script just looks at your current selection and applies a gradient VERTEX MAP falloff to
it so you can move either "mountains" or "plateaus".

-by default, you get an angled gradation.  If you want the plateau, just run the script with
"plateau" appended. 
ex. @selectionFalloffMove.pl plateau

NOTE: don't forget I'm turning on VERTEX MAP FALLOFF!
                                        
         
     
     
     SMART QUAD and STRIP    ver 3.32 updated 10/29/06    
This tool is kinda like "3pt2quad", only it can do a lot more:
1) single polygons  2) strips of polygons  3)meshes of polygons.

-(
8-9-06) : Now works on translated layers
-(
10-29-06) : I put in a vert safety check. I put in a hack for M2's reference bug.  I fixed an
edge selection bug.
DEMONSTRATION animated GIF 
The instructions are in the script file.
                                        
         
     
     
     STRETCH FLIP    ver 1.0 updated 4/27/08    
This script is to flip your selection along the axis you choose. Just turn on the stretch tool
(tool.set xfrm.stretch on), and fire the script with an axis argument appended.  It's much
quicker than moving your mouse over to the menu and typing -1..  (also, make sure you set
these hotkeys up as tool specific so you're not wasting any keys!)

script arguments :
"
X" : flip over the X axis
"
Y" : flip over the Y axis
"
Z" : flip over the Z axis
                                                                       
         
     
     
     STRETCH : SNAP TO ZERO    ver 1.1 updated 10/29/06    
This script will look at the stretch tool and snap any values that are not 100% to 0%.  It's just
nice, because you can now easily perfectly stretch stuff to 0 in any axes without having to
type in 0 in the Tool Properties window.   It's great for modo2's new ability to bind keys to
specific tools.  :)  I went and bound it to "S", and it's cool because that key is only used for
this script when I'm using the stretch tool.  :)
-(
10-29-06) : Removed a feature that never worked.  Now it works with M2's transform tools.
                                                                       
         
     
     
     SUBPATCH KEEP SELECTION    ver 1.7 updated 4/27/08    
This script will convert the model you have partially selected to subDs while retaining your
selection

-If nothing's selected, it's just like the regular TAB key

-(
2-11-07) : Script is much faster now.
-(
4-27-08) : M3 broke my optimization, so I had to revert to the slower method again. :(
                                                                       
         
     
     
     SUPER COPY   ver 1.4 updated 10/29/06    
This script is for copying, just like the regular COPY tool is, only when you paste your
"copied edges", it will output 2pt polygons.

-note, the script had a problem if you were copying subD edges, and so I fixed that, but it
now makes it so you can't copy both subD edges and normal edges at the same time.  :|
-(
8-11-05)-This script now has a popup when you're copying edges or verts, so you don't
accidentally do it anymore.   :)
-(
10-29-06) : It had a M2 subD edge query bug that I fixed.
                                        
         
     
     
     SUPER REMOVE    ver 1.8 updated 9/16/07    
This tool is just like the regular remove, only it's smart enough to know which verts it should
delete and which it shouldn't.  You can type in a number that controls which verts would
get deleted.  I basically have this script bound to two hotkeys that cover each end of the
spectrum and that's made it perfect.  I can always do EXACTLY what I want with the script.
-(9-16-07) :  finally fixed the damn infinite loop! + added progress bar + M3 update 

DIAGRAM : This diagram shows you what numbers you should use.
                                        
         
     
     
     SUPER TAUT   ver 3.1 updated 9/16/07    
(2-11-07) : This script is for:
 - 3d taut
 - 2d taut and 2d axis constrained taut
 - planar taut and planar ray taut and planar 2d taut
 - Also, I put in the element ACTR bugfix and now have it retain selections afterwards.
-(
9-16-07) : fixed planar taut bug + symm syntax fix + added selection mode guesses
 
There's too many options to describe here, so I made a video to go over how to use it:
DEMONSTRATION MOV (8MB H264 MOV)
                                        
         
     
     
     SUPER UV TOOLS Ver 2.66f updated 4/27/08    
This script has a bunch of different UV tools. I mainly wrote it because I wanted level design
to be a little easier in modo, and so I wrote a script to do the architectural uv-applications
that we need.  I'm still going to add more features, but right now it's got a LOT.

-Batch UV Applications: So you can perform UV projections to lots of geometry at once.
-UV Edits: Flip, rotate, scale, texture spaced UV movement, etc.
-UV Fits, 2D fits, 1D fits, 2d-constrained 1D fits, etc.
-UV alignments: align uvs to each other, align to uv borders, etc.
                                                                                                                   Version 1.0 video
-(
10-29-06) : Version 2.0 changelist                                                            Version 2.0 video
-(
10-29-06) : Version 2.3 changelist                                                            Version 2.3 video
-(4-27-08) : Version 2.66 changelist
                                                                       
         
     
     
     SUPER VERT & EDGE SPLIT   ver 1.01 updated 9/16/07    
This tool is to replace the default VERT.SPLIT tool. It's just like the regular VERT.SPLIT,
only that it's main feature is for splitting EDGE ROWS!

-(
9-16-07) : added a progress bar

 

                                                                       
         
     
     
     SUPER WELD   ver 1.91 updated 9/16/07    
This tool is for welding verts and EDGE ROWS!

-It welds (n) edge row(s) to the last selected edge row.
-If you want to weld edge loops, just deselect one edge from each row.
-When you're welding verts, it will remove all illegal polygons for you. If you don't want it to
do that, just append "keep2pts" to the script.
-(
8-9-06) : It only merges the welded verts and now properly deletes the illegal polys again
-(
9-16-07) : new "leaveUVs" option so uvs won't be welded + "keep2pts" works with edges
demo animated gif
                                        
         
     
     
     TRIPLE or SPLIT or SPIN    ver 1.61 updated 9/16/07    
This tool merges POLYGON TRIPLING, POLYGON SPLITTING, and EDGE SPINNING
into one tool.

-If you have VERTS selected, it will split the polygons(s)
-If you have EDGES selected, it will spin those edge(s)
-If you have only 3pt POLYGONS selected, it will spin those tris.
-If nothing's selected, it will triple.
-(
5-25-06) : If you have only 1 vert selected, it will triple all the connected polys to it.
-(
10-29-06) : "poly fan triple" is now done properly so it'll won't create bad polys on borders.
-(
9-16-07) : won't split verts on hidden polys anymore
                                        
         
     
     
     TUBE TO CHAIN    ver 1.0 updated 4/27/08    
This is a hack script to convert a tube into a poly chain so that you can run the smooth tool
(or any other tool) on it and then convert it back into a tube.  The way you use it is to select
a single edge loop on your tube and then fire the script. To convert it back, just select a
single poly on the chain and fire it again.

This script's darn handy because if you edit a tube with a skew, sculpt, twist, etc, you're going
to get distortions..  But now, you can do that and not worry about it..  Just deform it all
you want and then convert it to a chain and back and it'll be perfect again. :)
                                                                       
         
     
     
     UNBEVEL Ver 1.21 updated 9/16/07    
This script is so you can unbevel edges.  To unbevel an edge, you select an edgerow. The
border edges on the edgerow will point to where all the other edges will be merged to.

-(
8-9-06) : It now works on layers that have been translated.
-(
10-29-06) : It got a hack to try to avoid the modo2 symmetry slowdown bug.
-(
2-11-07) : Small hack to get around a modo2 layer reference bug.
-(
9-16-07) : added a progress bar
more detailed instructions     demo animated gif
                                                                       
         
     
     
     UV DESTROY Ver 1.2 updated 9/16/07    
This script is to delete all the vmaps in the scene.  The reason why I use it so often is
because every time I build a model, by the time I'm done with the model and am ready
to create uvs, modo has created at least 10 junk UV sets.  :(    But now it's easy to nuke all of
those in one click!  ;)

By default, it nukes
ALL the UV sets in the entire scene.  If you want to nuke only the ones in
the current layers, append "
not_all_layers"
-(
9-16-07) : M3 update
                                                                       
         
     
     
     UV WINDOW Ver 1.1 updated 9/16/07    
This script is to either popup a new UV window or convert the window your mouse is over to
a UV window. Oh, and it tries to select the UVmap for you as well.

-NEW WINDOW : Run script without any CVARs.  Run script again to kill the window.
-CONVERT CURRENT WINDOW : Run the script with "convert" appended.
-(
8-9-06) : If you run the new window script again, it'll close the new window for you.
-(
9-16-07) : Rewrote automatic uv map selection code for better guesses
                                                                       
         
     
     
     VIEWPORT DISPLAY TOGGLES Ver 1.2 updated 4/27/08    
This script merges together all the different viewport toggle/fade scripts from Modo1 and is
improved a bit. 
(These names below are NOT the cvars.  The real cvars are in the script)
-toggle Verts (on/off)
-toggle WireFrame (
on/off)
-fade Wireframe opacity (
in/out)
-toggle WireFrame Color (
wire/color wire)
-shrink/expand Vert Size (
up/down)
-toggle All (
verts, wireframe, selection)
-toggle Grid (
on/off)
-toggle Viewport Shading (
whatever you were in to wireframe and back)
-toggle Weightmap Display (
whatever you were in to Vmap and back)
-toggle Background Shading (
solid/wire)
-toggle Tool Handles (
on/off, and also per-tool but must use cvar for that)
-toggle BackFace Selection (
on/off)

-(
8-9-06) : In modo202, they changed the syntax, so I had to update the script.
-(
10-29-06) : "toggleAll" now only puts the wireframe display back on if it was supposed to.
-(
4-27-08) : "toggleFGBG" added. This flips both FG and BG to be opposites.
                                                                       
         
     
     
     WINDOW Ver 1.1 updated 9/16/07    
This script is to open/close regular windows or custom layouts.  It's basically the same thing
as modo's layout.createOrClose.  The problem with that modo command is that you can
only really use it with custom layouts.  So if all you wanna do is popup a uv window or clip
list or tool menu, you'd have to create a custom layout for each.  Welp, not anymore.  :)  

To use the script, you'll have to read the
instructions written in the script.
-(
9-16-07) : fixed the layout overwrite bug
                                                                       
         
     
     
     WORKPLANE OFFSET TO CURSOR Ver 1.3 updated 4/27/08    
This script is to offset the workplane to the 3d spot under the mouse cursor.  This script is
different than workplane.fitGeometry and workplane.fitSelect because it doesn't change the
workplane angle at all.  Plus it uses a 3d workplane and not a 2d workplane, so you can
work in all three dimensions at that spot!  All in one click!  :)  The tutorial video will better
explain how to use it.
-(
9-16-07) : "justGoTo" feature like modo's viewport.goto, only it works on background items.
-(
4-27-08) : if the mainlayer was active and invisible, it used to cause a problem.  Not now.

TUTORIAL VIDEO (6MB H24 MOV)
                                                                       
         
     
     
     WORKPLANE RESET-RESTORE   ver 1.1 updated 5/27/06    
This script is to replace the END key. (workplane.reset). What it does is first save the current
workplane to your modo.cfg and *THEN* resets the workplane.
This is so you can then use this script to restore the workplane to the last used workplane
whenever you want!!!

-It doesn't save the workplane values if it's already "reset"  :)
-To reset the workplane, just run the script.
-To bring the last "custom" workplane back, run the script with "restore" appended.
-example:@workplane_reset_restore.pl restore
                                        
         
     
  site and scripts made by seneca menard  
     

modo scripts updated 4-28-08