I added some tests to fix the problems I had with my initial code and updated the version on my site. I tried to get it to work with whatever edge you had under your cursor but couldn't get it working. You just have to select an edge and then run the script and click a point on the edge. macroScript edgeSlicecategory:…
Sorry about that Slum. Ill see if I can sort it all out. The inverted values should of been fixed if you have the latest version but then again it might be based on the scale of your scene. I'm using a tolerance to test and see if its flipped or not. The only real way to fix this is to do the math cut it myself instead of…
I think the problem with my code is that the edge slide changes which way it handles positive and negative values. So sometimes it works and sometimes it doesn't. I think it depends on vert order or newer geometry or someting... Who knows. Is there a way I can test the new vert positions based on a tolerance to my original…
Maybe someone can get this to work 100% of the time. http://www.bryancavett.com/edgeSlice.ms I'm getting the length of the first edge and a point clicked on the edge. Getting a percent from it and using it on the slide option for the connect command. Then I run a edge ring and connect with the new slide settings. Sometimes…
Let me know if there are bugs(I'm sure there are) or if it doesn't work the way you want... I'll try to fix it. Its kind of a hack. Hope it helps your workflow. The code is kinda hacky to... Rob probably knows a better way of doing this. Edit: Also I can make the ctrl, alt, and shift buttons do something different when…
Pior:That part of the code is getting and setting the edge snap check box... not sure why its throwing that error. I tried to reproduce it on my machine but could not. I've tested this in 2008 and 2009, which version is throwing the error? The reason why its a .ms instead of a .mcr is so you can run it once and let max…
Ok I found a super simple way to prevent the edge flipping without messing with the scale. Atleast I hope I did... it seems to work on my end. This is probably the last time I'll update the script unless you guys find a glaring issue. Anyway d/l again for a much more reliable version.…
Ok I believe I got most of those bugs and some others I found all fixed! Found a better way of detecting if the edges got flipped by max so that should work. I also added the functionality of splitting it 50/50 if ctrl is held down. Let me know if you find more. http://www.bryancavett.com/edgeSlice.ms quick edit: found one…
OMG Rob the second coming! thanks ^_^ What version of max is this for? one thing u should know is that if u space out and use the macro without a edge selected it crashes the max viewport. :/ i dont know how scripting works but i think what you would have to tell it to do is select the edge that ur clicking on and then run…
I'm still confused as to why this is not the same thing as the slice plane tool under 'edit geometry' for the poly. And the quickslice button also allows you to change the angle on the fly. I guess the slice plane does have the drawback that it will slice through any parts of the mesh it touches, so it would be really hard…