总目录 >> PythonOCC入门进阶到实战(目前已更新入门篇、基础篇和进阶篇)
如果你有什么不懂,欢迎加入pythonocc中文社区:860536842
在线文档: https://docs.qq.com/doc/Bn4shC4LUrL94tF82G4A4mik3hICVM0QiLYO3IQmKC2Cjyb924XTsd1cMhD11MsYQr3XBTqn1
pythonocc 常见问题集锦
你在使用过程中可能面临着各种各样的问题,此部分的问题,一是来源于我自己遇到的和网友询问我的,二是从pythonocc社区上搬运过来的(因为那里是全英文,很多人可能看不懂,我会尽力去翻译),我会尽量更新最新版
- 问题1. Issue on OCC.IFSelect module(cityofstaaars commented on 11 Aug)
OCC.IFSelect 的问题(2018.8.11由cityofstaaars 提出)
hello.
你好
I’d like to know what function is available if I import IFSelect_RetDone and IFSelect_ItemsByEntity class from OCC.IFSelect module.
我想知道如果我从OCC.IFSelect模块中导入IFSelect_RetDone和IFSelect_ItemsByEntity函数 会得到什么功能?
There is no description about those classes in module index page of pythonocc.org .
在pythonocc官方主页中没有相关描述
thank you
解答:See the official opencascade documentation https://www.opencascade.com/doc/occt-6.9.0/refman/html/_i_f_select___return_status_8hxx.html and https://www.opencascade.com/doc/occt-6.9.1/refman/html/_i_f_select___print_count_8hxx.html
去看官方opencascade文档,链接如上
- 问题2.how to detect the RGB value of the face
如何获得面的RGB值?(2018.7.16)
sir,
I’ve trying to detect the RGB value in my project. I used AIS_ColoredShape class to color different faces and now i wanna detect the color of clicked face.
先生,在我的项目里,我想去测试我的RGB值,我使用了AIS_ColoredShape模块给面上了不同的色,现在我想获取 被点击的面的颜色
So if you know any method to do the same please help me out. I’m an under graduate and is beginner in OCC please respond.
因此如果你知道任何解决这个问题的方法请帮助我,我是一个毕业生,同时也是OCC的入门者,