(Image source: OCCT official website)The OpenCascade C# Wrapper is a tool that wraps OpenCascade technology C++ classes for use in C# applications, allowing them to be utilized within .NET applications. The C# interface reuses the C++ DLL, enabling C# to call C++ methods. Currently, the OCC C# Wrapper is a commercial paid module.Advantages of the OpenCascade C# Wrapper:True cross-platform development: Enables the use of the powerful OCCT C++ CAD kernel in both Windows and Linux/Unix environments through .NET, ensuring consistent application behavior across all platforms.Seamless integration: Easily integrate powerful 3D CAD functionalities into existing .NET applications.Performance: Maintains high performance of native C++ code while working within the .NET ecosystem.Type safety: Enjoy full IntelliSense support and compile-time type checking provided by OCCT.Simplified deployment: Distribute applications using a single wrapped DLL instead of dealing with complex native library dependencies.Modern development experience: Utilize the latest .NET features and tools while leveraging the industrial-grade OCCT kernel.Plugin architecture support: Ideal for creating plugins that require CAD functionalities for major applications on Windows and Linux/Unix systems.
(Image source: OCCT official website)Recently, OpenCascade announced a major update regarding its C# Wrapper:1. Seamless integration with NuGet, which facilitates .NET developers to directly use the OCC C# Wrapper for development efficiently.2. Enhanced geometric modeling stability and expanded .NET API coverage, with visualization and data exchange modules supporting .NET development.3. Source-level openness, providing source code to developers who purchase the C# Wrapper, applicable for both Windows and Linux.4. Based on the provided source code, code modifications can be made according to business needs, facilitating custom extensions.
(Image source: OCCT official website)Currently, OpenCascade’s .NET support includes:Windows platform: .NET Framework v3.5 to v4.7.2, .NET 6.0 to .NET 9.0Linux platform: supports .NET 6.0 to .NET 9.0.
Author: Liang YuqingEmployed at Glodon Technology Co., Ltd. Design PlatformGlodon Design Modeling Platform