logo资料库

Vericut二次开发环境部署.pdf

第1页 / 共1页
资料共1页,全文预览结束
How to build a plug-in library The plug-in format used by VERICUT is a "WIN32 Dynamic Linked Library" which can be built using MSVC. The following files/libraries are needed: opapi.h, optimport.h, opapi.lib, opapi.dll opapi_template.c The easiest way to build such a plug-in dll , for example, "opapi_usr.dll", is to start with creating a C/C++ file, like "opapi_usr.c", with the skeleton code found in "opapi_template.c". Include "opapi.h" and "optimport.h" in "opapi_usr.c". Compile and link all the usr files with "opapi.lib". This will generate a ".dll" library. Set system environment variable "CGTECH_OPAPI" set to where this dll is , for example, "c:\opapi\opapi_usr.dll" and place "opapi.dll" in the same directory where "CGTech.dll" is. OptiPath API mode is now ready to go. 将 C:\Program Files\CGTech\VERICUT 7.2.1\windows\commands文件夹内的 javaw" 改 为 vericut.bat 打 开 , 将 第 140 行 java"
分享到:
收藏