Gonna post some scripts I use regularly.
Super Smart Create.
Based on a script by Perna, and with help from Miauu.
I use it assigned to letter C (because create
) and depending on the subobject I am in it does diferent thing. Plus it works in both Editable Poly and the Edit Poly modifier.
Divides the selected edge in 2, putting a vert in the middle of the edge.
Connects the selected edges if there is faces inbetween the edges.
Caps selected borders
Bridges selected edges.
When you select 2 adjacent edges it creates a face.
Bridges selected polies.Super Smart Create
And all this while just pressing the letter C.
I will post some more stuff in the mean time.
It reminds me of the experts at CGSociety compiling C# programs with MaxScript to access the Windows API: http://forums.cgsociety.org/showpost.php?p=7280793&postcount=15
Dude I know right?
I have no clue what his code does. Only that it works hehe, so I'm fine with that.
That could be possible but actually it should be another script. This one is called smart create because you are creating geometry.
When you weld you are reducing geometry so it falls outside the scope of this script.
I use another stuff for that.
I use the letter X for deleting geometry.
And then, ctrl+X for detaching geo.
Alt+X for collapsing geometry.
And shift+X for deleting edges and verts but keeping faces.
So C for creating and X for deleting/reducing.
Another thing I also use that sometimes is useful is a script from Miauu assigned to J. It welds all the verts selected to the last vert you selected.
But you know, I'll update this thread this week with other stuff when I have time.
This inspired me to try and make a Maya version of this script.
It works great so far on Maya 2014.
Can't do bridges for adjacent edges though. Probably could force it to but that's more than I want to mess with right now.
Selecting 2 verts and connecting them with an edge doesn't work either. I find this really weird that Maya has no command for that having come from Max (As do many others from my searching haha). Could also probably get that working but more than I want to mess with.
I'm going to try it on Maya 2010 at work tomorrow.
I'll post it up if that works out alright.
...and thanks a lot for posting and sharing :thumbup:
Apparently there was no command that did that till Maya 2011 O_o
I'll post the Maya 2013 script later tonight
Is the global delete like this:
and your break script like Robert Fletchers?
Mainly because on the code you posted, when you are on vert mode, it just removes the verts. And sometimes i don't want to remove just the verts, but actually delete them.
UniRemover needs some work though. Only shift+x is using a custom script. All the other shortcuts are default max commands.
X Delete objects.
CTRL+X Deatch (poly)
ALT+X Colapse (poly)
yeah, this code needs some tweaks to work in edit poly.
customize \ customize user interface.
In the category choose Pedro Scripts and then assign smart create to letter C and save.
Very cool -- ty again!
It works great but if you undo a lot it has a chance of causing a fatal crash in Maya and I can't figure out a workaround.
in my own "smart create" script I ripped a piece of code from shortcutter http://www.scriptspot.com/3ds-max/scripts/shortcutter to detect open edges for bridging.
also I put connect autolooped if you select one edge, distance connect if you have two edges and regular connect if you have more than two. add vert in middle is on a modifier of this key.
you guys should all should check out the universal scripts nik has been making as well, makes a lot of stuff much easier http://www.scriptspot.com/users/nik
I think after 2012 they started saving the color files as .clrx so I'm not sure it will work.
You can still use them. Gotta put * first into the field hit enter then go find it as max filters out anything not clrx. Awesome stuff Pedro. Passed it around at work.
Just tested the color scheme It's really comfy to work with this
Hey cheers for the tip!
Also thanks Pedro for sharing! Love this community.
It's just dark colors on the windows classic theme.
Looks like this
Let's say on edge selection mode;
- select 2 non-border edges and hit C it'll connect them
- select 2 border edges and hit C it'll bridge them
But what about when you select 2 border edges on a same poly opposite of each other (basically on a single floating poly; the left edge and right edge are selected), does it connect them? or bridge? The desired result should be connect, but on my script it'll do bridge, and still have no idea on how to fix that. What about on yours?
PS; I guess what tynew mention on his post above me as "If you have a single 1x1 plane and use supersmartcreate on 2 edges it creates a duplicate polygon rather than connecting the 2 edges" is the same behavior like what I mention, but it's not really duplicating the poly, it bridge the 2 selected edges.
Let me know if it's not working with you. Or any other neat way of doing it!
PS; it's not working on a non plane object, damn..back to mxs editor!
I know of this limitation but it's like, I usually do more stuff to the place before start connecting and bridging stuff
You can attempt to connect first, and if that fails then bridge.
But ultimately your right. I'd probably have more than a quad when I start modeling. Usually a low poly cylinder or box.
Now, what i really wanted would be to make the script work when the Show End Result is toggled in with a, let's say, a shell modifier on top.
When you put a shell mod, and go to the base editable poly and have the show end result turned on. if you try to you the tool, it spits out an error.
PS: it's not working if any modifier stacked ontop of it like what Pedro mentioned.