Kerf.Modeling
0.4.0
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
<PackageReference Include="Kerf.Modeling" Version="0.4.0" />
<PackageVersion Include="Kerf.Modeling" Version="0.4.0" />
<PackageReference Include="Kerf.Modeling" />
paket add Kerf.Modeling --version 0.4.0
#r "nuget: Kerf.Modeling, 0.4.0"
#:package Kerf.Modeling@0.4.0
#addin nuget:?package=Kerf.Modeling&version=0.4.0
#tool nuget:?package=Kerf.Modeling&version=0.4.0
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 | 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
- Kerf.Kernel.DataExchange (>= 0.4.0)
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 |