Rotate curves around endpoints | Inline scripts

Monday, 23 Feb 2015. Posted by: Smirnov
script:/* Rotate curves v1.1 */ var obj=moi.geometryDatabase.getSelectedObjects().getCurves; for ( var i=0; i<obj.length; i++) { var clist = moi.geometryDatabase.createObjectList(); clist.addObject(obj.item(i)); var f=moi.command.createFactory( 'rotateaxis' ); f.setInput( 0, clist ); f.setInput( 1, obj.item(i).getStartPt()); f.setInput( 2, obj.item(i).getEndPt()); f.setInput( 3, 90 ); f.commit()}

Subdiv Classic | Scripts

Sunday, 22 Feb 2015. Posted by: Smirnov