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:…
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…
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…
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…
Darn, stupid error. Should be fixed. Max 6 and up, I think... definitely max 8 and up though. Just a note, if you have multiple edges selected when you do this, it doesn't really work right... this is just a problem with the way the 'slide' tool is implemented in csPolyTools, and not something I'm going to rewrite right…
Hi Bryan, don't know if this is of any help but I got that when running your script: Also is there any reason to do it as a MS as opposed to a mcr? It looks like executing the ms actually created the corresponding mcr in my UI/Macroscript folder. I don't know if this is common practice anyways (just found it a bit…
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…
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…