OcctNet.ModelingData
0.1.0-preview.3
dotnet add package OcctNet.ModelingData --version 0.1.0-preview.3
NuGet\Install-Package OcctNet.ModelingData -Version 0.1.0-preview.3
<PackageReference Include="OcctNet.ModelingData" Version="0.1.0-preview.3" />
<PackageVersion Include="OcctNet.ModelingData" Version="0.1.0-preview.3" />
<PackageReference Include="OcctNet.ModelingData" />
paket add OcctNet.ModelingData --version 0.1.0-preview.3
#r "nuget: OcctNet.ModelingData, 0.1.0-preview.3"
#:package OcctNet.ModelingData@0.1.0-preview.3
#addin nuget:?package=OcctNet.ModelingData&version=0.1.0-preview.3&prerelease
#tool nuget:?package=OcctNet.ModelingData&version=0.1.0-preview.3&prerelease
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 | Versions 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. |
-
net10.0
- OcctNet.Foundation (>= 0.1.0-preview.3)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on OcctNet.ModelingData:
| Package | Downloads |
|---|---|
|
OcctNet.ModelingAlgorithms
OCCT.NET modelling algorithms: a managed port of OCCT's TKGeomAlgo, TKTopAlgo and TKPrim (intersections, classification, topological algorithms, primitives). |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-preview.3 | 81 | 11/2/2026 |
| 0.1.0-preview.2 | 76 | 11/2/2026 |