上一页 1 2 3 4 5 6 7 8 9 10 ··· 16 下一页
摘要: Maya cmds polyOptions() 获取和设置 mesh 的属性 举例: cmds.polyOptions(dt = True) # 显示所有选择的 mesh 的三角化线(四边形的对角虚线) cmds.polyOptions(dt = True, q = True) # 获取所有选择的 阅读全文
posted @ 2019-08-27 17:08 ibingshan 阅读(590) 评论(0) 推荐(0) 编辑
摘要: pyside pyqt QPushbuttion 无边框 stylesheet border:none 在 stylesheet 中添加 border:none 即可 效果是字体到边缘之间的间隙为0,适合只显示字体的 pushbutton 阅读全文
posted @ 2019-08-13 15:33 ibingshan 阅读(598) 评论(0) 推荐(0) 编辑
摘要: Maya mel maya档出现未知插件解决方法 以下 mel 代码,拷贝到 maya 的脚本编辑器的 mel 中,最好运行两次 string $unknownNodes[] = `ls -type "unknown"`; for($node in $unknownNodes) { print( " 阅读全文
posted @ 2019-08-12 11:57 ibingshan 阅读(3722) 评论(0) 推荐(0) 编辑
摘要: bat 判断 bat 是否是以管理员权限运行,和自动以管理员权限运行 判断 @echo off net.exe session 1>NUL 2>NUL && ( goto as_admin ) || ( goto not_admin ) :as_admin echo as_admin goto en 阅读全文
posted @ 2019-08-08 18:42 ibingshan 阅读(4116) 评论(0) 推荐(1) 编辑
摘要: Python window console 控制台 实现最后一行输出 print 重写 在 python 2 ,3 中都可以 附加一个更多功能的链接:https://www.cnblogs.com/zzliu/p/10156658.html 阅读全文
posted @ 2019-07-31 17:10 ibingshan 阅读(1434) 评论(0) 推荐(0) 编辑
摘要: git ls-files 列出被修改或者被删除的文件 git ls-files -m -d 阅读全文
posted @ 2019-07-29 14:35 ibingshan 阅读(584) 评论(0) 推荐(0) 编辑
摘要: python cmd 窗口 中文乱码 解决方法 (附:打印不同颜色) 前言 在 python 开发中,有时候想通过cmd窗口来和用户交互,比如显示信息之类的,会比自己创建 GUI 来的方便,但是随之而来的就是编码乱码问题 下面例子在 python2 和 python3 中都可以运行,也可以在其它 . 阅读全文
posted @ 2019-07-19 16:41 ibingshan 阅读(3064) 评论(0) 推荐(0) 编辑
摘要: python 打印 str 字符串的实际内容 repr(str) s = 'aa' print(repr(s)) 阅读全文
posted @ 2019-07-15 19:16 ibingshan 阅读(621) 评论(0) 推荐(0) 编辑
摘要: python 前置程序窗口,还原最小化的窗口 在网上找了比较久,大多是: win32gui.FindWindow(class_name, window_name) win32gui.SetForegroundWindow(self._handle) 这样只会高亮那个窗口,并不会还原大小,下面是根据参 阅读全文
posted @ 2019-07-12 14:52 ibingshan 阅读(5749) 评论(1) 推荐(0) 编辑
摘要: git 获得当前分支名及其对应的远程分支 获得某个分支所对应的远程分支: 注意:@{u} 是 @{upstream} 的简写 阅读全文
posted @ 2019-07-10 10:48 ibingshan 阅读(3650) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 16 下一页