首页 > 其他 > 详细

翻转错误法线

时间:2014-12-12 18:47:45      阅读:282      评论:0      收藏:0      [点我收藏+]
bubuko.com,布布扣
 1 try
 2 (
 3     fn ApplyOperation ctype oper =
 4     (
 5         If (Modpanel.getcurrentObject() == $.baseobject) then oper $
 6         If Classof (Modpanel.getcurrentObject ()) == ctype then (oper $.modifiers[modPanel.getModifierIndex $ (Modpanel.getcurrentObject ())])    
 7     )
 8     for i in objects do
 9     (
10         select i
11         macros.run "Modifier Stack" "Convert_to_Mesh";
12         max modify mode;
13         subobjectLevel = 4;
14         actionMan.executeAction 0 "40021";
15         ApplyOperation Edit_Mesh meshops.Unifynormal;
16         subobjectLevel = 0;
17         macros.run "Modifier Stack" "Convert_to_Poly";
18         clearSelection();
19     )
20 )
21 catch()
View Code

 

翻转错误法线

原文:http://www.cnblogs.com/CtrlZ/p/4159921.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!