@robust
Hi robust,
對LGPL協議的理解我也是從網上獲取相關信息,你可以直接在網上搜索下LGPL協議的授權相關注意事項。
你關注的這個問題在OPEN CASCADE的官網上也給了明確回復,可參考:
http://www.opencascade.com/content/faqs 3) Can I use Open CASCADE Technology to make commercial products and to sell them? If yes, are there any limitations?
Yes, you can use Open CASCADE Technology (OCCT) libraries in commercial applications without having to pay any development license fees or run time fees or royalties.
Your obligation is to give prominent notice that your software uses Open CASCADE Technology, which is a Trademark of OPEN CASCADE Company, supply a copy of the OCCT license with your product and follow the other requirements of the license itself. Starting from version 6.7.0, this license is the GNU LGPL version 2.1 (with some minor additional permissions).
Please, also note that Open CASCADE Technology uses third-party components which are listed on our System Requirements page. The use of third-party components is governed by their corresponding licenses.
6) Am I obliged to disclose the entire source code of my application using OCCT?
No, you are not. The decision to disclose the source code of your application is up to you.
@稻草人
能分享些有用的工具,還是很有成就感的!
:-)
@Sleepless Loki
:-)
我也是在學習中……
@ccsdu2009
這個東西我也不太理解,只是一個程序里面可能會用到。
你可以google看看voronoi看看這個東西的應用,應用還比較廣泛的。
@li yuan
嗯,最新版本的AutoCAD也沒有直接支持VB生成的宏,才用這個開發了下。
這個小程序是與AutoCAD的版本有關。
re: PDMS RvmTranslator eryar 2015-10-27 22:49
@siddharthmanek@gmail.com
Hi Siddharth,
Do you mean 3d pdf?
@bangzhuqiao
Hi,
你好!
目前這個程序還沒完成。
Best Regards,
Shing Liu
re: 2015武漢校園招聘歸來 eryar 2015-09-30 22:51
不知道來武漢了啊!
@舒米勒26號
看來AutoCAD .Net的兼容性也不是很好啊!
程序很簡單的,準備開源出來,自己編譯吧
@SEDC
程序是使用AutoCAD2012編譯的,看來不支持AutoCAD2010.
AutoCAD 32位和64位都是支持的。
@Mohamed Auswath Khan
Enjoy!
:-)
re: PDMS RvmTranslator eryar 2015-08-17 22:47
@Ahmed
Hi Ahmed,
You are welcome.
I have been to the Alexandria Shipyard of Egypt serveral years ago.
Best Regards,
Shing Liu
@LI
不客氣。
建議你還是先把triangle編譯出一個exe,仔細看看相關命令選項,
如"-a"就可以設置最大面積約束;
再把你的數據放到文件中,再用那個exe程序帶不同的選項來試試看。
@LI
你好!
那些參數是三角剖分的輸入數據。
控制剖分行為的參數設置是在結構體behavior中:
/* Data structure for command line switches and file names. This structure */
/* is used (instead of global variables) to allow reentrancy. */
struct behavior {
/* Switches for the triangulator. */
/* poly: -p switch. refine: -r switch. */
/* quality: -q switch. */
/* minangle: minimum angle bound, specified after -q switch. */
/* goodangle: cosine squared of minangle. */
/* vararea: -a switch without number. */
/* fixedarea: -a switch with number. */
/* maxarea: maximum area bound, specified after -a switch. */
/* usertest: -u switch. */
/* regionattrib: -A switch. convex: -c switch. */
/* weighted: 1 for -w switch, 2 for -W switch. jettison: -j switch */
/* firstnumber: inverse of -z switch. All items are numbered starting */
/* from `firstnumber'. */
/* edgesout: -e switch. voronoi: -v switch. */
/* neighbors: -n switch. geomview: -g switch. */
/* nobound: -B switch. nopolywritten: -P switch. */
/* nonodewritten: -N switch. noelewritten: -E switch. */
/* noiterationnum: -I switch. noholes: -O switch. */
/* noexact: -X switch. */
/* order: element order, specified after -o switch. */
/* nobisect: count of how often -Y switch is selected. */
/* steiner: maximum number of Steiner points, specified after -S switch. */
/* incremental: -i switch. sweepline: -F switch. */
/* dwyer: inverse of -l switch. */
/* splitseg: -s switch. */
/* nolenses: -L switch. docheck: -C switch. */
/* quiet: -Q switch. verbose: count of how often -V switch is selected. */
/* usesegments: -p, -r, -q, or -c switch; determines whether segments are */
/* used at all. */
/* */
/* Read the instructions to find out the meaning of these switches. */
int poly, refine, quality, vararea, fixedarea, usertest;
int regionattrib, convex, weighted, jettison;
int firstnumber;
int edgesout, voronoi, neighbors, geomview;
int nobound, nopolywritten, nonodewritten, noelewritten, noiterationnum;
int noholes, noexact, nolenses;
int incremental, sweepline, dwyer;
int splitseg;
int docheck;
int quiet, verbose;
int usesegments;
int order;
int nobisect;
int steiner;
REAL minangle, goodangle;
REAL maxarea;
/* Variables for file names. */
#ifndef TRILIBRARY
char innodefilename[FILENAMESIZE];
char inelefilename[FILENAMESIZE];
char inpolyfilename[FILENAMESIZE];
char areafilename[FILENAMESIZE];
char outnodefilename[FILENAMESIZE];
char outelefilename[FILENAMESIZE];
char outpolyfilename[FILENAMESIZE];
char edgefilename[FILENAMESIZE];
char vnodefilename[FILENAMESIZE];
char vedgefilename[FILENAMESIZE];
char neighborfilename[FILENAMESIZE];
char offfilename[FILENAMESIZE];
#endif /* not TRILIBRARY */
}; /* End of `struct behavior'. */
最小角看字面應該是:minangle
最大面積是:maxarea
Best Regards,
Shing Liu
@SDFSDFSDF
maybe...
官方文檔上面:Bottom of Pipe (BOP)
意思就是管底么。
@SDFSDFSDF
經過測試,BOP得到的的確是中心坐標,不是管底坐標。
看來這個屬性有問題,與文檔描述不符,要么是用得不對。
@谷粒OO
厲害啊!
看樣子有時感覺也很重要。^_^
@gopi
Hi gopi,
Thanks for your feedback.
RvmTranslator is used to translate the geometry model in RVM files, because the export result are STEP, IGES, STL, .etc format, such as STL only contains model mesh, do not contains assembly info, so if you want to export as a multiple entities, will be result many files per entity.
Best Regards,
Shing Liu
@fast
哦,剛google運十了解了下,可惜啊!
@佚名
Hi ,
你好!
你可以調用Camera的SetZRange()或ZFitAll()試試看。
Best Regards,
Shing Liu
@zhx
Hi zhx,
這些aPoint是邊上的點啊!
你的邊上點的原始坐標值是什么意思?
Best Regards,
Shing Liu
re: OpenCASCADE 的安裝與編譯 eryar 2015-05-18 18:42
@佚名
有效果就好!
客氣了。
re: OpenCASCADE 的安裝與編譯 eryar 2015-05-17 11:45
@佚名
Hi 佚名,
你好!
occ6.8之后引入了Camera類,你可以嘗試下在處理鼠標事件的地方自己來調整camera,而不用occ的view中的旋轉函數。
Best Regards,
Shing Liu
re: PDMS RvmTranslator eryar 2015-04-29 21:34
@Mohamed Auswath Khan
you are welcome.
Translate model to STEP format maybe a little slowly, but translate to other format will be fast.
re: OpenCASCADE 的安裝與編譯 eryar 2015-04-29 21:29
@佚名
Hi,
你好!
DRAWEXE依賴Tcl/Tk,occ的三維目前是用OpenGL顯示,沒有依賴DX3D的。
如果Tcl/Tk的庫沒有找到也可能報這種錯誤。
occ的做法是用批處理配置好環境變量后用draw.bat來啟動Draw的,可以參考下這種方式。
Best Regards,
Shing Liu
re: PDMS RvmTranslator eryar 2015-04-27 22:07
@Mohamed Auswath Khan
Hello Mohamed,
There are some notes about using the RvmTranslator:
For the Input RVM name, if the RVM file is not in the RvmTranslator folder, you should input the full file name include its path, such as d:/rvm/pipes.rvm;
For the Output file format, you should select one of the following: STEP, IGES, STL, all the type must input in uppercase letter.
I upload the RvmTranslator2.0, it supports Text and Binary RVM file, you can download to have a try.
Enjoy! :-)
Shing Liu
@MOhamed Auswath Khan
Hi Mohamed,
Thank you.
I hope the application will be useful.
I will release the first version of RvmTranslator soon,
then you can download it and have a try...
@MOhamed Auswath Khan
Hi Mohanmed,
I will develop a standalone program to export PDMS model to STEP, IGES, STL .etc. by rvm file. The standalone program will have no relation with PDMS, no matter which version of PDMS you use, only rely on the rvm file exported by PDMS.
Best Regards,
Shing Liu
re: OpenCASCADE 的安裝與編譯 eryar 2015-04-16 22:04
@孤獨劍
Hi,
你好!
那就是必須的第三方庫沒有正確配置導致的錯誤。
如果是用opencascade安裝包來編譯,安裝完成后,根據編譯器及平臺修改下custom.bat后,直接運行msvc.bat編譯即可一次成功。
Best Regards,
Shing Liu
@MOhamed Auswath Khan
Hi Mohanmed,
You are welcome.
Thanks for your attention, I will update the ModelDataExchangeAddin to 12.1 soon...
Best Regards,
Shing Liu
@MOhamed Auswath Khan
Hi Mohanmed,
Thanks for your feedback. I am very happy that the addin can do something useful.
The Addin can export the SITE or ZONE if you select it, but the
export process maybe a little slowly.
I will check the addin v1.2 for PDMS 12.1SP4.
Best Regards,
Shing Liu
@gsnake
Hi,
郵件已發,請查收。
Enjoy!
:-)
Best Regards,
Shing Liu
@pdms
Hi pdms,
you can download the Addin to check its license.
The Addin is free.
Best Regards,
Shing Liu
re: Qt with OpenCascade eryar 2015-04-01 20:44
@qwerty
可視化模塊加載失敗。
可能原因是與可視化相關的第三方庫的dll沒有找到等
@leo
AVEVA PDMS Design Mk12.1.SP2.0[3043]
***WARNING*** No schematic database present - Schematic 3D Integrator not initial
ised
Warning: Failed to load addin assembly E:\AVEVA\Plant\PDMS12.1.SP2\ModelChangesAd
din.dll
Addin assembly E:\AVEVA\Plant\PDMS12.1.SP2\ModelChangesAddin.dll could not be fou
nd
Unhandled Exception:
????????????????
看上面的報錯,應該是沒有正確配置所致。
@leo
Hi leo,
你用過ModelDataExchangeAddin V1.1么?配置成功過不?
@付振宇
Hi 付振宇,
你好!
請仔細看看這段話:
~~~~~~~~~~~~~~~~~~~~~~~~~
下載到源程序后,如果是Windows操作系統,還需要在triangle.h之前做些配置,如定義以下幾個宏:
#define REAL double
#define ANSI_DECLARATORS
#include "triangle.h"
#undef REAL
在triangle.c中定義宏:#define NO_TIMER。有了上面的宏定義,可以編譯出一個triangle.exe程序了。如果要將triangle用在自己的程序中,還需要定義#define TRILIBRARY。
~~~~~~~~~~~~~~~~~~~~~~~~~~
這些內容加在tricall.c中,再編譯試試看。
你可以看看makefile,里面有些選項的。
Best Regards,
Shing Liu
@leo
Hi leo,
你是用的哪個版本?是ModelDataExchangeAddin V1.2這個版本不?
12.1需要用這個版本的。
Best Regards,
Shing Liu
在OpenCASCADE文件夾:
dox/dev_guides/debug/occt.natvis
已經提供了一個natvis文件,不過里面的內容比較少,感興趣的可以豐富一下。
re: AutoCAD File Merger eryar 2015-02-02 18:06
@ly
一般一般