re: PipeCAD Import IDF eryar 2020-08-10 20:45
re: OpenCASCADE 參數曲面面積 eryar 2020-05-15 11:09
@七星重劍
這些算法最后都是數學理論的應用,能理論聯系實踐挺有收獲的
@七星重劍
OpenCASCADE感覺是目前世界上開源的唯一一款造型功能相對完善的內核庫。
感謝。
re: PipeCAD 簡介 eryar 2020-05-15 11:05
@七星重劍
是啊,而且主流設計軟件都是國外的。
re: 武漢歐凱德信息科技有限公司 eryar 2019-04-11 20:00
@ccsdu2009
謝謝
re: 武漢歐凱德信息科技有限公司 eryar 2019-04-10 17:39
@ccsdu2009
是的
re: OpenCASCADE 的安裝與編譯 eryar 2019-03-26 10:42
@birds
可以按OCC文檔上的說明,先更新顯卡驅動試試。
re: OpenCASCADE 的安裝與編譯 eryar 2019-03-25 12:01
@birds
Hello,
有可能是顯卡支持的不好。
在Draw Test Harness中輸入命令:
vglinfo
看看你的顯卡信息。
On desktop, 3D viewer for optimal performance requires graphics processing unit (GPU) supporting OpenGL 3.3 or above. Ray tracing requires OpenGL 4.0+ or OpenGL 3.3+ with GL_ARB_texture_buffer_object_rgb32 extension. Textures within ray tracing will be available only when GL_ARB_bindless_texture extension is provided by driver.
On mobile platforms, OpenGL ES 2.0+ is required for 3D viewer (OpenGL ES 3.1+ is recommended). The ray tracing is not yet available on mobile platforms. Some old hardware might be unable to execute complex GLSL programs (e.g. with high number of light sources, clipping planes).
OCCT 3D Viewer, in general, supports wide range of graphics hardware - from very old to new. Therefore, if you observe some unexpected visual issues - first check for OpenGL driver update (or firmware update in case of mobile platforms); but beware that driver update might also come with new bugs. Don't forget to report these bugs to vendors.
@ccsdu2009
謝謝。
先做一版看看有沒有效果。
有效果后面可以用Python之類的,方便擴展和分工。
@birds
opencascade開源部分沒有這個功能,要么使用他收費的模塊,,要么使用其他SDK。
@birds
顯示STL不需要用這個類。
看你用的occ哪個版本,最新版本中可以直接顯示STL網格。
@birds
Hello,
你是想在occ中顯示stl文件?
re: AVEVA RVM to 3D PDF eryar 2018-07-23 20:39
@molasses
是的。PDF的三維功能只有Adobe Reader支持,其他的PDF閱讀器不一定支持。
@birds
可以用擬合算法根據這些面擬合出一個面。
re: OpenCASCADE 招聘信息 eryar 2018-07-03 14:23
@ccsdu2009
不是啊,這個是國企。
@birds
這個要看你的曲面是什么類型。
occ中的曲面有平面、圓柱面等解析曲面,這類曲面的參數范圍不一定是0~1;
如果是B樣條曲面,參數范圍一般是0~1.
建議你可以看看occ的數據結構ModelingData模塊。
@birds
你好!
如果理解了活動標架的概念,就沒有問題了。
re: Qt with OpenCascade eryar 2018-05-30 09:46
@birds
可能是shader文件路徑設置問題。
需要在環境變量中設置shader文件路徑。
re: Qt with OpenCascade eryar 2018-05-29 10:13
@birds
你用的occt哪個版本?
re: Qt with OpenCascade eryar 2018-05-27 20:18
@birds
都是鏈接錯誤,配置好lib庫就可以了。
@IceDream
GeomLib::NormEstim()是直接根據Geometry Surface的參數方程來計算的,有些degenerated退化情況算不出法向量。
re: 非完美的stl eryar 2017-07-08 09:50
mark!
持續關注中……
re: GLUT Trackball Demo eryar 2017-06-16 19:37
@ccsdu2009
這個是學習用的。
好用的庫有很多,像OpenSceneGraph, OpenCASCADE.
哈哈~~
re: Open Cascade中的布爾操作 eryar 2017-05-10 22:16
@eryar
我看到three.js有個插件ThreeBSP,可以提供boolean operation,不知道支不支持網格的?
@Sirius
根據TopoDS_Shape的數據結構定義可知,遍歷的順序可能是構造TopoDS_Shape的順序。
@Sirius
這兩個參數越小,離散曲線得到的點越多,即越逼近真實曲線。
具體說明看這個類的頭文件。
@Sirius
建議你先看看Iterator模式,再看看TopExp_Explorer的頭文件,應該會理解了。
這篇文章最后有部分Iterator的介紹,可以看看:
https://wenku.baidu.com/view/92524de981c758f5f61f678f.html
@Sirius
Hi Sirius,
你好!
缺少了TkFillet.lib.
你可以用Reference文檔去搜索。
Best Regards,
Shing Liu
re: Open Cascade中的布爾操作 eryar 2017-03-30 21:40
@Sirius
因為三角網沒有朝向orientation信息,所以bool后不知道哪些要保留,哪些要去除,最多可以得到面與面相交的多段線,得不到bool后的實體模型。
個人觀點。
re: Open Cascade中的布爾操作 eryar 2017-03-17 09:15
@Sirius
你好!
occ支持compsolid的bool 運算,前提是brep體中包含幾何曲線和曲面。
當你的brep是從stl之類的文件中導入的話,其中只包含三角網格數據,是不能用bool運算的。
Best Regards,
Shing Liu
re: 冬瓜和eryar的專博 eryar 2017-02-28 08:55
既然點名了,我要回復下。
有的大神太忙了……
新版本可以使用函數:
GeomLib::NormEstim()
計算曲面的法向。
re: OpenCASCADE 的安裝與編譯 eryar 2016-08-22 19:15
@OCC_Study
Hi,
你好!
1.custom.bat就是用來配置inc和lib的,如果你已經可以編譯成功了, 就沒什么影響;
2. 這是DRAW 的Tcl路徑沒找到報錯,這個路徑也是通過環境變量來配置的。
建議還是用批處理來啟動DRAWEXE。
Best Regards,
Shing Liu
@Roman
Hi Roman,
I have checked the binary rvm export, it works.
Yes, I agree with you. The 3D PDF is useful for small model with notes by email or internet to discuss their design.
Yes, Acrobat support JavaScript to define some 3D effect for the model.
Best Regards,
Shing Liu
@Roman
Hi Roman,
Yes, RvmTranslator can translate binary RVM.
Yes, it is possible to translate color of 3d model into PDF.
I will check this. I found there are not many person use
the 3D PDF.
Best Regards,
Shing Liu
@Roman
Hi Roman,
A good suggestion!
I have add a option to select the export RVM file format, you can have a try. Download RvmTranslator4.2 from here:
http://yun.baidu.com/pcloud/album/file?album_id=3634993082542187183&uk=3808749571&fsid=632872733265048PS: what is RVMConverter?
Best Regards,
Shing Liu
@啦啦啦
static std::map<std::string,std::string> &Config(void){return mConfig;}
這個用的是std::string,涉及到編碼問題了。
re: C++ 應用程序性能優化 eryar 2016-08-02 13:57
@趙先生
Hi 趙先生,
您好!
感謝關注,郵件已經回復,請查收。
Best Regards,
Shing Liu
re: C++ 應用程序性能優化 eryar 2016-08-01 20:57
@ViCross
是的,debug和release還是有些區別
@何大雙
那就沒什么問題啊?
可以把RVM文件發給我測試下不?
@何大雙
導出其他格式(如STEP, IGES)可以看到模型不?
@何大雙
Hi,
你好,
3D PDF要用Adobe Reader打開才有用。
@lcj
Hi,
你好!
有圖來說明么?
最好有occ的brep模型。
@Mohamed Auswath Khan
Hello,
I will check this problem.