SplitPoly(i)
(LScript version 2.0) BRIEF This is a modified version of LightWave's native Split Polygons command. In Split Polygon the user has to select the polygon first and then select the points of the polygon that signifies where the split will take place. In SplitPoly(i), the LScript does the polygon selecting for you. USAGE Create a mesh that looks like the one below. Select any number of points where you want to splits to appear. Naturally, each succeeding point must belong to same polygon that the previous point was in. Connect-the-dots, as it were. Run the script.
LIMITATIONS This only works with quad polygons by the way. Four points a polygon, no more, no less. I designed this script mainly for SubPatch work. I might introduce an "n-gon" capability but I have no need for it at the moment. If you use Split Polygon a lot and want to be able to easily split n-gons, just give me a call.
APPENDANT (04.28.02) Hookay. I've gotten rid of the above limitation of working only with quads. Like all scripts, I cant guarantee it will work with all geometry. If you have a complex split, try doing it one at a time (e.g. do not connect-the-dots). Your chances of making a successful split improves. Another improvement is getting rid of the switch to Command Sequence that, consequently, needed two undoes to put the history back to where the script started. Now, it's all Mesh Edit so just pressing one undo will get you back all right. |