Try $.modifiers.ButtonOp #BridgeEdge catch() Local iSelMod = modPanel.getModifierIndex $ (modpanel.getCurrentObject()) - selected modifier index ) else if $.unt > 0 and not bBaseObjSel do ( ELSE IF modifier selected DO TRY bdrige edges of selected modifier IF baseobject selected and baseobject is an editable poly THEN bridge edges of baseobject Local bBaseObjSel = superclassof (modpanel.getCurrentObject()) != modifier - is baseobject selected? Local bEditPolyObj = classof $ = Editable_Poly - is baseobject an editpoly? I don't know if it's what you're searching for, hope it helps :) Maybe you want to play around with it a bit. I have tested the macro, it should work with editpoly-objects as well as with editpoly-modifiers. I've created a little macro with the help of the macrorecorder, nothing special. One thing i have notticed this script can do better than the bridge that ships with max is that it can bridge two edges that are sharing a vertex like a set of edges forming a "V" It is a little slow to execute, so i wonder if anyone could write a real script from scratch that worked faster. n "Editable Polygon Object" "EPoly_Convert_Sel_To_Vertex"ĪctionMan.executeAction 369982487 "40004" Now this new "script" is available in the customize user interface under the category drag and drop. Select two edges to bridge.Ĭonvert the edge selection to a vertex selection (see the result in the Listener)ĭrag and drop the code in MAXScriptListener to a toolbar. Then open the MAXScript Listener, and enable the macro recorder.Ĭreate a poly object and delete a face so there are some edges to bridge. This script creates a poly out of selected vertecies. Create a button or hotkey for CSPoly Tools' csMakePoly
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |