OcctNet.DataExchange 0.1.0-preview.3

This is a prerelease version of OcctNet.DataExchange.
dotnet add package OcctNet.DataExchange --version 0.1.0-preview.3
                    
NuGet\Install-Package OcctNet.DataExchange -Version 0.1.0-preview.3
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="OcctNet.DataExchange" Version="0.1.0-preview.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OcctNet.DataExchange" Version="0.1.0-preview.3" />
                    
Directory.Packages.props
<PackageReference Include="OcctNet.DataExchange" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add OcctNet.DataExchange --version 0.1.0-preview.3
                    
#r "nuget: OcctNet.DataExchange, 0.1.0-preview.3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package OcctNet.DataExchange@0.1.0-preview.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=OcctNet.DataExchange&version=0.1.0-preview.3&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=OcctNet.DataExchange&version=0.1.0-preview.3&prerelease
                    
Install as a Cake Tool

OCCT.NET

A managed .NET port of Open CASCADE Technology (OCCT), the open-source CAD kernel. Work in progress: see docs/design.md for the design and the phase plan, and docs/port-status.md for what has been ported.

  • Pure managed code: no native libraries, no P/Invoke.
  • Faithful: ported class for class from OCCT V8_0_1, keeping OCCT's names, so OCCT's documentation applies.
  • Immutable to callers: every value you get back is immutable; collections are Schematiq.Collections lists.
using Occt;

gp_Trsf aRotation = gp_Trsf.Rotation(gp.OZ(), Math.PI / 2);
gp_Pnt aPoint = new gp_Pnt(1, 0, 0).Transformed(aRotation);   // (0, 1, 0); the original is unchanged

Building

Requirements: the .NET 10 SDK and git.

./tools/get-occt.ps1          # OCCT V8_0_1 source into .deps/occt-src (for the corpus test and port status)
./tools/get-occt-testdata.ps1 # OCCT's test data (99 MB) into .deps/occt-testdata, for the Draw corpus
dotnet test

tests/OcctNet.Oracle.Tests compares the port with native OCCT and needs a sibling build123d.NET checkout with its native build: see docs/oracle-testing.md.

Contributing a port

docs/translation-rules.md says how C++ becomes C#, and docs/porting-playbook.md the steps for a package.

Licence

GNU Lesser General Public License 2.1 with the Open CASCADE exception, as OCCT: see LICENSE, OCCT_LGPL_EXCEPTION.txt and NOTICE. Delabella's port (BRepMesh/delabella.cs) keeps its MIT licence: see THIRD-PARTY-NOTICES.md.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on OcctNet.DataExchange:

Package Downloads
Build123d.OcctNet

Build123d.Occt's API over OCCT.NET, the managed port of OpenCascade: no native libraries.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-preview.3 64 11/2/2026
0.1.0-preview.2 65 11/2/2026