Kerf.Modeling 0.4.0

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

Kerf.Modeling

A .NET 10 modelling library derived from build123d, the Python CAD library, over Kerf's kernel. To use it, start with docs/guide.md, the user guide; coming from build123d, docs/name-map.md lists the names that changed. See docs/design.md for the design and docs/one-set-of-shapes.md for how it sits on the kernel's shapes.

using Kerf.Modeling;

Part plate = new Box(80, 60, 10);
plate -= new GridLocations(60, 40, 2, 2) * new Cylinder(5, 10);
Exporters3D.ExportStep(plate, "plate.step");

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 shapes are the kernel's (Kerf.Topology.Shape, Edge, Face…), with build123d's conveniences as extension members; it adds modelling objects, Part, Sketch, Curve and Assembly, which hold a shape and carry a label, colour and history (docs/one-set-of-shapes.md).

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 (KERF_MODELING_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