Kerf.Modeling 0.2.0-preview.2

This is a prerelease version of Kerf.Modeling.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Kerf.Modeling --version 0.2.0-preview.2
                    
NuGet\Install-Package Kerf.Modeling -Version 0.2.0-preview.2
                    
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="Kerf.Modeling" Version="0.2.0-preview.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Kerf.Modeling" Version="0.2.0-preview.2" />
                    
Directory.Packages.props
<PackageReference Include="Kerf.Modeling" />
                    
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 Kerf.Modeling --version 0.2.0-preview.2
                    
#r "nuget: Kerf.Modeling, 0.2.0-preview.2"
                    
#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 Kerf.Modeling@0.2.0-preview.2
                    
#: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=Kerf.Modeling&version=0.2.0-preview.2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Kerf.Modeling&version=0.2.0-preview.2&prerelease
                    
Install as a Cake Tool

Kerf.Modeling

A .NET 10 modelling library derived from build123d, the Python CAD library, over Kerf's kernel. Work in progress: see docs/design.md for the design and the phase plan.

Building and testing

Kerf.Modeling (namespace Kerf.Modeling) runs on Kerf.Kernel, managed C# with no native libraries, through the kernel's public API alone (unit 10M1). It builds against the kernel's projects in the repository's kernel folder (KerfKernelRoot), so a fresh clone needs only the .NET 10 SDK:

dotnet test

Its own shape classes (Shape, Edge, Face…) still sit beside the kernel's (Kerf.Topology.Shape, Edge, Face…), which it names in full where both are meant; unit 10M2 decides how they merge onto the kernel's (decision 1349). The native backend and the forwarding layer to OCCT.NET went in unit 10B.

Packages

Kerf.Modeling is packed with the kernel's packages by the kernel's tools/pack-nuget.ps1. Changes are listed in CHANGELOG.md.

tests/Kerf.Modeling.Packaging.Tests loads Kerf.Modeling and the kernel's assemblies from a folder of their own through a collectible AssemblyLoadContext, as Bento loads its extensions, makes and tessellates a box, checks no native library loads and the context unloads. It needs a build output (B3D_OCCTNET_LIB, Kerf.Modeling's bin folder), so it isn't part of the solution's dotnet test, and skips without it.

Licence

Apache License 2.0, as build123d's (see LICENSE). Kerf.Modeling is a modified version of build123d and isn't endorsed by its authors. Third-party notices: 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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.5.0 56 11/10/2026
0.4.0 100 11/9/2026
0.3.0 85 11/8/2026
0.2.0-preview.2 63 11/4/2026