Novolis.Cad.Primitives
2026.1.0.36
dotnet add package Novolis.Cad.Primitives --version 2026.1.0.36
NuGet\Install-Package Novolis.Cad.Primitives -Version 2026.1.0.36
<PackageReference Include="Novolis.Cad.Primitives" Version="2026.1.0.36" />
<PackageVersion Include="Novolis.Cad.Primitives" Version="2026.1.0.36" />
<PackageReference Include="Novolis.Cad.Primitives" />
paket add Novolis.Cad.Primitives --version 2026.1.0.36
#r "nuget: Novolis.Cad.Primitives, 2026.1.0.36"
#:package Novolis.Cad.Primitives@2026.1.0.36
#addin nuget:?package=Novolis.Cad.Primitives&version=2026.1.0.36
#tool nuget:?package=Novolis.Cad.Primitives&version=2026.1.0.36
Novolis.Cad.Primitives
Avalonia-free CAD interchange types for Novolis .cadjson / .cadphys documents.
- Document / entity / layer DTOs (
CadDocument,CadEntity, …) - Workspace and selection enums (
CadWorkspace,CadSelectionMode, …) - Vec / deck / bounds helpers (
CadVec,CadShipGeometry) - Opening wall-split helper (
OpeningDerivation) - Phys mesh / collider DTOs (
CadPhysDocument)
Contextual companion CadBlueprint (walls / interiors / exteriors / openings + smart sheets) lives in Novolis.Cad.Blueprint.
Schemas and docs live in novolis-governance (schemas/cad, docs/cadjson.md, docs/smart-blueprint.md). UI stays in Novolis.Avalonia.Cad.
Install
dotnet add package Novolis.Cad.Primitives
Prerequisites: .NET 10 SDK (net10.0). References Novolis.Math.Geometry (NURBS tessellation helpers).
Quick start
using System.Text.Json;
using Novolis.Cad.Primitives;
var doc = new CadDocument { Name = "Demo" };
doc.Entities.Add(new CadEntity
{
Kind = "box",
Center = [0f, 0.5f, 0f],
HalfExtents = [1f, 0.5f, 1f],
});
var json = JsonSerializer.Serialize(doc);
var workspace = CadWorkspaceMapping.Parse("modeling");
API
| API | Purpose |
|---|---|
CadDocument |
Root .cadjson: Format, Entities, Layers, Camera, UnitScaleMeters |
CadEntity |
Polymorphic entity by Kind; geometry fields (A/B, Center, Points, MeshVertices/MeshIndices) |
CadLayer, CadCamera, CadGenerator, CadTransform |
Document metadata |
CadPhysDocument |
.cadphys: Meshes, Colliders, BaseDocument |
CadWorkspace |
Cad, Modeling, Preview |
CadWorkspaceMapping |
Parse, ToStorage, ToDisplay, FromViewMode, ToViewMode |
CadVec |
Xz, Xyz, Plan, deck helpers, EnumerateWorldPoints, TranslateEntity |
CadShipGeometry.TryGetBox |
Extract box center/half-extents from entity |
OpeningDerivation.Apply |
Split walls at opening footprints |
Related / dogfood
| Package / app | Notes |
|---|---|
Novolis.Cad.SceneBridge |
Tessellate CadDocument → .nov3djson |
Novolis.Avalonia.Cad |
CAD editor UI |
| novolis-governance | schemas/cad, docs/cadjson.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
- Novolis.Math.Geometry (>= 2026.1.1.46)
NuGet packages (13)
Showing the top 5 NuGet packages that depend on Novolis.Cad.Primitives:
| Package | Downloads |
|---|---|
|
Novolis.Avalonia.Cad
Shared Avalonia CAD editor/preview surface (.cadjson), Raylib model view, exports, and localhost HTTP/TCP session for LLM control. |
|
|
Novolis.Avalonia.Cad.Ship
Ship/freighter CAD chrome (exterior silhouette, ship workspace import) for Avalonia.Cad hosts. |
|
|
Novolis.Cad.SceneBridge
Avalonia-free CadDocument → SceneDocument bridge: tessellate solids/walls/spaces into .nov3djson meshes (Novolis.ThreeD.Scene). |
|
|
Novolis.Avalonia.Ship
Ship Designer Avalonia chrome: validate ship, hatch helpers, airtight overlay, deck ladder — composes Cad + Cad.Ship + Ship.* |
|
|
Novolis.Avalonia.Ship.Design
Object-first Ship Designer Avalonia UI: PLAN/MODEL/PRESENT, ShipDesignSession, create panel, grips, object tools, scene evaluation. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2026.1.0.36 | 77 | 10/1/2026 |
| 2026.1.0.34 | 99 | 10/1/2026 |
| 2026.1.0.33 | 96 | 9/30/2026 |