Skip to content
kernalix7Public

About

OpenSource CAD Software written by rust.

Resources

Code of conduct

Contributing

Security policy

Stars

3 stars

Watchers

0 watching

Forks

CADKernel

Open-Source CAD Software Built with Rust

License Rust CI

Stable, fast, compatible, and extensible — the next-generation open-source CAD software

English | 한국어


Table of Contents


About

CADKernel is an open-source CAD software written in Rust. It was created to address the high cost, platform lock-in, and limited extensibility of existing commercial CAD software.

By leveraging Rust's memory safety and zero-cost abstractions, CADKernel aims to deliver a crash-free, stable CAD environment with near-native performance. Combined with broad CAD file format compatibility, a plugin-based extension system, and generative AI integration, CADKernel builds an open CAD ecosystem that anyone can freely use and extend.

Why CADKernel?

  • No Cost Barrier — Free and open-source for everyone
  • Platform Freedom — Runs on Windows, macOS, and Linux
  • Community-Driven — Built together by users and developers
  • Future-Ready — Design tools for the AI era

Core Values

Stability

Stability is the non-negotiable top priority for CAD software.

CAD workflows involve hours of precise design work, and unexpected crashes can lead to significant data loss. CADKernel leverages Rust's language-level guarantees to ensure rock-solid stability.

  • Memory Safety — Rust's Ownership system and Borrow Checker eliminate memory-related bugs at compile time
  • Thread Safety — A concurrency model that makes data races impossible, ensuring reliable multi-threaded operation
  • Robust Error Handling — Explicit error handling via Result/Option types ensures no exception goes unhandled
  • Auto-Save & Recovery — Built-in periodic auto-save and crash recovery mechanisms minimize data loss
  • Comprehensive Testing — Continuous quality assurance through unit tests, integration tests, and fuzz testing
  • Geometric Robustness — A robust geometry engine that accounts for floating-point arithmetic limitations

Performance

Delivering best-in-class performance to handle complex 3D models in real time.

CAD software must process hundreds of thousands of geometric elements in real time. CADKernel achieves C/C++-level performance through Rust's zero-cost abstractions and optimized algorithms.

  • Zero-Cost Abstractions — High-level abstractions with no runtime overhead
  • Parallel Computation — Rayon-based data parallelism to maximize multi-core CPU utilization
  • GPU Acceleration — Cross-platform GPU compute and rendering pipeline via wgpu
  • Lazy Evaluation — Computations are deferred until needed, eliminating unnecessary calculations
  • Efficient Memory Management — Deterministic memory management without a garbage collector for predictable performance
  • Caching Strategy — Intelligent caching of repeated geometric computations to reduce recalculation costs
  • Spatial Indexing — Efficient spatial queries using BVH, R-Tree, and other spatial data structures

Compatibility

Broad compatibility with the existing CAD ecosystem and true cross-platform support.

CAD work doesn't happen in isolation. Data exchange with team members, partners, and tools is essential. CADKernel minimizes platform dependency and supports a wide range of major CAD file formats.

  • Cross-Platform — Consistent experience on Windows, macOS, and Linux with automatic rendering backend selection (Vulkan / Metal / DX12 / OpenGL)
  • 60+ File Formats — Comprehensive support across 8 categories: industry standard (STEP, IGES, Parasolid, ACIS, JT, IFC), commercial CAD (SolidWorks, CATIA, Creo, Inventor, Fusion 360, Rhino, SketchUp, AutoCAD), mesh/visualization (glTF, FBX, USD, COLLADA), 3D printing (3MF, AMF, G-code), 2D drawing (SVG, PDF, DXF/DWG), point cloud (PCD, LAS, E57), and more
  • Commercial CAD Import — Read-only support for proprietary formats like SolidWorks, CATIA V5, PTC Creo, Autodesk Inventor, and Fusion 360
  • Point Cloud & Scan Data — Import/export LiDAR (LAS/LAZ), structured 3D scan (E57), and raw point cloud (PCD, XYZ) data
  • Full Unicode Support — Complete multilingual support across file paths, layer names, annotations, and all text elements
  • Native Format — Lossless storage of all features and metadata in the proprietary .cadk format

Extensibility

An open ecosystem where users can build, share, and integrate the features they need.

CAD requirements vary across domains — architecture, mechanical engineering, electronics, industrial design, and more. No single core can cover every specialized need. CADKernel solves this with a powerful extension system.

  • Add-on System — Develop and distribute custom features through a public Plugin API
  • Official Merge Path — Community-vetted, high-quality Add-ons can be merged into official releases
  • Scripting Support — Lua/Python scripting interface for automating repetitive tasks
  • MCP (Model Context Protocol) Support — Standardized integration interface for generative AI (LLM) integration
  • Parametric Design — Parameter-driven modeling with a constraint system for flexible design changes
  • Custom Renderers — User-defined visualization through rendering pipeline extensions

Tech Stack

CADKernel is built on a carefully selected set of Rust crates and technologies:

Category Technology Purpose
Language Rust 1.85+ Memory safety, performance, fearless concurrency
GPU / Rendering wgpu Cross-platform GPU API (Vulkan / Metal / DX12 / OpenGL)
Parallelism Rayon Data-parallel computation for multi-core CPUs
Math nalgebra, glam Linear algebra, vectors, matrices, transforms
Geometry Custom B-Rep / NURBS engine Boundary representation and freeform surface modeling
Spatial Index bvh, rstar BVH and R-Tree for efficient spatial queries
GUI egui 0.31 + winit 0.30 Cross-platform immediate mode GUI (native desktop)
Scripting mlua, PyO3 Lua and Python scripting bindings
Serialization serde, bincode High-performance data serialization
File I/O iso-10303 (planned) STEP file parsing and writing
AI / MCP JSON-RPC, tower MCP server for generative AI integration
Testing cargo-fuzz, proptest Fuzz testing and property-based testing

Comparison with Other CAD Software

Feature CADKernel FreeCAD OpenSCAD BRL-CAD LibreCAD
Language Rust C++ / Python C++ C / Tcl C++
3D Modeling ✅ ✅ ✅ ✅ ❌ (2D only)
Parametric Design ✅ ✅ ✅ (code) ✅ ❌
B-Rep + NURBS ✅ ✅ (OCCT) ❌ (CSG) ✅ ❌
GUI ✅ ✅ Minimal ✅ ✅
Plugin System ✅ ✅ (Python) ❌ ❌ ❌
STEP Support ✅ ✅ ❌ ✅ ❌
File Formats ✅ (17+) Partial ❌ Partial ❌
GPU Rendering ✅ (wgpu) Partial OpenGL OpenGL ❌
Memory Safety ✅ (Rust) ❌ ❌ ❌ ❌
AI / MCP ✅ ❌ ❌ ❌ ❌
Lua Scripting ✅ ❌ ❌ ❌ ❌
Cross-Platform ✅ (Linux, macOS, Windows) Win/Mac/Linux Win/Mac/Linux Win/Mac/Linux Win/Mac/Linux
Python Bindings ✅ (PyO3) ✅ (native) ❌ ❌ ❌
Test Coverage 1,450+ tests N/A N/A N/A N/A
License Apache 2.0 LGPL 2.1 GPL 2 LGPL 2.1 GPL 2

Current Status: CADKernel has achieved 100% FreeCAD feature parity (576/576 features) across all 10 workbenches. See the feature parity tracker for details.


Architecture Overview

CADKernel adopts a layered modular architecture that ensures independence and replaceability of each layer.

┌───────────────────────────────────────────────────────────┐
│                     Application Layer                     │
│         (GUI · CLI · Scripting · AI/MCP Interface)        │
├───────────────────────────────────────────────────────────┤
│                      Extension Layer                      │
│          (Add-on Manager · Plugin API · Registry)         │
├───────────────────────────────────────────────────────────┤
│                       Service Layer                       │
│      (Modeling · Rendering · I/O · Constraint · Undo)     │
├───────────────────────────────────────────────────────────┤
│                     Core Kernel Layer                     │
│  (Geometry Engine · Topology · Spatial Index · Math Lib)  │
├───────────────────────────────────────────────────────────┤
│                    Platform Abstraction                   │
│          (Window · GPU · FileSystem · Threading)          │
└───────────────────────────────────────────────────────────┘
Layer Role Key Crates
Core Kernel Geometry operations, Topology, Math library cadkernel-core, cadkernel-math
Service Modeling operations, Rendering, File I/O cadkernel-modeling, cadkernel-viewer, cadkernel-io
Extension Plugin loading/management, API exposure cadkernel-extension (planned)
Application GUI, CLI, Scripting, AI integration cadkernel-viewer, cadkernel-python
Platform OS and hardware abstraction cadkernel-platform (planned)

Supported File Formats

Native

Format Extension Read Write Notes
CADKernel .cadk ✅ ✅ Human-readable JSON native format

Industry Standard (Neutral Exchange)

Format Extension Read Write Notes
STEP AP203 .step, .stp ✅ ✅ Geometry exchange standard (ISO 10303-21)
STEP AP214 .step, .stp ✅ ✅ Automotive industry standard
STEP AP242 .step, .stp 🔲 🔲 Includes PMI/GD&T
IGES .iges, .igs ✅ ✅ Legacy exchange format (IGES 5.3)
Parasolid .x_t, .x_b 🔲 🔲 Siemens Parasolid kernel
ACIS SAT/SAB .sat, .sab 🔲 🔲 Spatial ACIS kernel
JT .jt 🔲 🔲 Siemens lightweight visualization
IFC .ifc 🔲 🔲 BIM / Architecture (ISO 16739)
BREP .brep, .brp ✅ ✅ Boundary representation format

Commercial CAD (3D)

Format Extension Read Write Notes
DWG .dwg ✅ ✅ AutoCAD native (DXF fallback)
DXF .dxf ✅ ✅ AutoCAD exchange format
3DM .3dm 🔲 🔲 Rhino / OpenNURBS
FCStd .fcstd 🔲 🔲 FreeCAD
SLDPRT / SLDASM .sldprt, .sldasm 🔲 — SolidWorks Part / Assembly
IPT / IAM .ipt, .iam 🔲 — Autodesk Inventor
CATPART / CATPRODUCT .catpart, .catproduct 🔲 — Dassault CATIA V5
PRT / ASM .prt, .asm 🔲 — PTC Creo (Pro/E)
F3D .f3d 🔲 — Autodesk Fusion 360
DGN .dgn 🔲 🔲 Bentley MicroStation
SKP .skp 🔲 🔲 Trimble SketchUp
3DS .3ds 🔲 🔲 Autodesk 3ds Max (legacy)
BLEND .blend 🔲 — Blender (import only)

2D Drawing & Vector

Format Extension Read Write Notes
SVG .svg ✅ ✅ Scalable Vector Graphics (7 element types)
PDF .pdf ✅ ✅ SVG→PDF 1.4 for TechDraw export
EPS .eps 🔲 🔲 Encapsulated PostScript
HPGL .plt, .hpgl 🔲 🔲 Plotter output format

Mesh & Visualization

Format Extension Read Write Notes
STL .stl ✅ ✅ 3D printing standard (ASCII/Binary)
OBJ .obj ✅ ✅ Wavefront mesh format
JSON .json ✅ ✅ BRepModel serialization (serde)
glTF / GLB .gltf, .glb ✅ ✅ Web 3D standard (Khronos)
FBX .fbx 🔲 🔲 Autodesk exchange format
COLLADA .dae ✅ ✅ COLLADA 1.4.1 XML
PLY .ply ✅ ✅ Polygon / Stanford format
OFF .off 🔲 🔲 Object File Format
VRML .wrl ✅ ✅ Virtual Reality Modeling Language
X3D .x3d 🔲 🔲 VRML successor (ISO/IEC 19775)
USD / USDA / USDC .usd, .usda, .usdc 🔲 🔲 Pixar Universal Scene Description

3D Printing & Manufacturing

Format Extension Read Write Notes
3MF .3mf ✅ ✅ Next-gen 3D printing (3MF Consortium)
AMF .amf ✅ ✅ Additive Manufacturing File (ISO/ASTM 52915)
G-code .gcode, .nc — 🔲 CNC / 3D printer toolpath
SLC .slc 🔲 🔲 Stereolithography contour

Point Cloud & Scan Data

Format Extension Read Write Notes
PCD .pcd 🔲 🔲 Point Cloud Library format
LAS / LAZ .las, .laz 🔲 🔲 LiDAR data (ASPRS)
E57 .e57 🔲 🔲 3D scan data (ASTM E2807)
XYZ / PTS .xyz, .pts 🔲 🔲 ASCII point cloud
PLY .ply 🔲 🔲 Point cloud variant

Image & Texture

Format Extension Read Write Notes
PNG .png 🔲 🔲 Render / texture export
JPEG .jpg, .jpeg 🔲 🔲 Texture import
HDR / EXR .hdr, .exr 🔲 🔲 HDR environment maps
BMP .bmp 🔲 🔲 Bitmap image
TIFF .tif, .tiff 🔲 🔲 High-quality image export

🔲 = Planned · ✅ = Supported · 🚧 = In Progress · — = Not Applicable


Extension System

CADKernel's extension system creates a virtuous cycle of Develop → Share → Validate → Integrate. The Plugin API, Lua scripting engine, and MCP server are fully implemented as of V27–V28.

User Add-on Development
        │
        ▼
  Community Sharing & Usage
        │
        ▼
  Quality Validation & Review
        │
        ▼
  Official Release Merge ◀── Core Team Approval

Plugin API (implemented)

  • Plugin trait — init / shutdown / commands / execute_command lifecycle with Send + Sync
  • PluginRegistry — register, unregister, list, and dispatch commands to named plugins
  • Built-in plugins — ValidationPlugin, AutoNamingPlugin, StatisticsPlugin
  • Plugin Manager UI — enable/disable plugins from the Tools menu without restarting

Lua Scripting (implemented)

  • Interactive Lua Console tab in the Report panel — run code against the live model
  • cad.* API: primitives, booleans, transforms, features, I/O, query
  • Script files runnable from GUI (file picker) or CLI (--script)
  • 5 ready-to-use example scripts in examples/lua/

MCP Server (implemented)

  • Start/Stop from the Tools menu — no command line required
  • JSON-RPC 2.0 transport (stdin/stdout), 8 AI-integration tools
  • See AI Integration (MCP) for the full tool list

Official Feature Merge

Community-developed Add-ons that meet the following criteria can be merged as official features:

  1. Sufficient user base and positive feedback
  2. Code quality standards met (test coverage, documentation, code review)
  3. Architectural alignment with the core system
  4. License compatibility (Apache 2.0)

AI Integration (MCP)

CADKernel supports MCP (Model Context Protocol) for seamless integration with generative AI.

┌──────────────┐     MCP      ┌──────────────────┐
│  AI / LLM    │◄────────────►│  CADKernel       │
│  (Client)    │  (JSON-RPC)  │  (MCP Server)    │
└──────────────┘              └──────────────────┘

What's Possible with MCP

  • Natural Language → 3D Models — Convert natural language commands like "Create a cylinder with 50mm diameter and 100mm height" into 3D models
  • Design Assistant — AI understands design intent and suggests optimal modeling approaches
  • Automated Design Validation — AI automatically reviews design rule violations, manufacturability, and more
  • Parametric Optimization — AI explores optimal parameter combinations under given constraints
  • Automated Documentation — Auto-generate drawings, BOMs, and reports from design data

MCP Tools

Tool Description
create_geometry Create geometric elements (points, lines, surfaces, solids)
transform Translation, rotation, scale, and other transformations
boolean_operation Union, subtract, and intersect boolean operations
query_model Query model properties (volume, area, mass, etc.)
export_model Export model in a specified format
apply_constraint Apply dimensional and geometric constraints
undo / redo Operation history management

Scripting

CADKernel supports Lua scripting for automating modeling tasks without writing Rust code.

Lua Console

Open the Lua Console tab in the Report panel (bottom dock) and type commands directly:

-- Create and export a box
local s = cad.make_box(50, 30, 20)
cad.export(s, "/tmp/my_part.stl")

-- Boolean workflow
local a = cad.make_cylinder(15, 40)
local b = cad.make_sphere(18)
local result = cad.union(a, b)

-- Measure
print("Volume:", cad.volume(result))
print("Area:  ", cad.surface_area(result))

Running Script Files

# CLI
cadkernel --script examples/lua/parametric_part.lua

# With output directory
cadkernel --script examples/lua/batch_export.lua --output /tmp/

Python Bindings

import cadkernel as cad

s = cad.make_box(10, 10, 10)
c = cad.make_cylinder(5, 20)
result = cad.boolean_union(s, c)
cad.export(result, "output.step")

See examples/ in the repository for five Lua examples, two Python examples, and an annotated MCP session transcript.


Roadmap

Kernel Phase 1 — Foundation ✅

  • Cargo workspace (7-crate monorepo)
  • Core math library (Vec2/3/4, Point2/3, Mat3/4, Transform, Quaternion, BoundingBox)
  • Geometry engine (B-Rep, NURBS curves/surfaces, intersections)
  • Topology structures (Half-edge, EntityStore, Handle, Wire)
  • CLI version banner
  • GitHub Actions CI

Kernel Phase 2 — Persistent Naming + Boolean ✅

  • Persistent Naming (Tag, NameMap, ShapeHistory, OperationId)
  • Geometry-Topology binding (feature flag)
  • Boolean operations (Union, Subtract, Intersect)
  • SSI (Surface-Surface Intersection) ×4 + LSI (Line-Surface) ×3

Kernel Phase 3 — Parametric + Sketch + I/O ✅

  • 2D parametric sketch (14 constraints + Newton-Raphson solver)
  • Feature Ops: Extrude, Revolve (auto-tagging)
  • Primitive builders: Box, Cylinder, Sphere
  • Tessellation → STL (ASCII/Binary) + OBJ export

Kernel Phase 4 — Core Hardening ✅

  • cadkernel-core standalone error crate
  • All public API panic paths removed → KernelResult
  • Send + Sync (Curve/Surface thread safety)
  • Math type standard traits (Default, Display, From, operators)
  • EntityStore O(1) len + safety guards

Kernel Phase 5 — Mass Properties + Sweep ✅

  • MassProperties (volume, area, centroid — divergence theorem)
  • Sweep operation (profile × path → solid, RMF-based)

Kernel Phase 6 — Loft + Pattern ✅

  • Loft operation (N cross-section interpolation → solid)
  • Linear Pattern (directional repeated copies)
  • Circular Pattern (rotational repeated copies)

Kernel Phase 7 — Chamfer + I/O Import ✅

  • Chamfer operation (edge bevel)
  • STL Import (ASCII + Binary auto-detection)
  • OBJ Import (v/vt/vn, N-gon triangulation)

Kernel Phase 8 — Modeling Enhancements ✅

  • Mirror operation (plane reflection copy)
  • Shell operation (thin-wall / hollow solid)
  • Non-uniform Scale operation
  • Shared copy_solid_with_transform utility

Kernel Phase 9 — Math & Geometry Enhancements ✅

  • 11 math utility functions (distance, angle, projection, interpolation, area)
  • Plane enhancements (from_three_points, signed_distance, project_point, etc.)
  • BoundingBox enhancements (overlaps, expand, volume, surface_area, longest_axis, size)

Kernel Phase 10 — Quality & Testing ✅

  • 10 E2E integration tests (full pipeline roundtrips)
  • B-Rep validation: dangling reference detection, orientation consistency
  • New validation API: validate_manifold(), validate_detailed()

Kernel Phase 11 — I/O Format Expansion ✅

  • SVG 2D Export (SvgDocument, 5 element types, auto-fit viewBox)
  • JSON serialization (BRepModel ↔ JSON roundtrip, file I/O)
  • serde Serialize/Deserialize on all topology and math types

Kernel Phase 12 — Rustdoc Documentation ✅

  • Public API doc comments on all pub items
  • Crate-level documentation (//!)
  • Example code blocks in doc comments
  • Doc test compilation verification

Kernel Phase 13 — High Priority Features ✅

  • Fillet operation (arc-approximated edge rounding)
  • Split Body (plane-based solid bisection)
  • Point-in-Solid query (ray-casting containment test)

Kernel Phase 14 — Geometry & Manufacturing ✅

  • 2D Curve Offset (polyline & polygon parallel offset)
  • Draft Angle (mold taper with neutral plane)
  • Adaptive Tessellation (chord-error & angle-based subdivision)

Kernel Phase 15 — Infrastructure ✅

  • Undo/Redo system (ModelHistory, snapshot-based)
  • Property System (Color, Material presets, PropertyStore)
  • Closest Point Query (Voronoi-region triangle projection)

Kernel Phase 16 — Industry Formats ✅

  • STEP I/O (ISO 10303-21 AP214 subset — StepWriter, read/parse/export)
  • IGES I/O (IGES 5.3 — IgesWriter, point/line entity exchange)

Kernel Phase 17 — Quality & Advanced ✅

  • Benchmark Suite (14 criterion benchmarks)
  • NURBS Advanced (Boehm knot insertion, degree elevation)
  • Thread-Safety (compile-time Send+Sync assertions across all crates)

Application Phase 1 — Native GUI Application ✅

  • wgpu rendering pipeline (Solid, Wireframe, Transparent, Flat Lines display modes)
  • egui-based native desktop GUI (menu bar, model tree, properties, status bar)
  • Camera system (orbit, pan, zoom, perspective/orthographic, standard view presets)
  • Configurable mouse navigation (FreeCAD Gesture, Blender, SolidWorks, Inventor, OpenCascade)
  • Dynamic grid overlay with auto-scaling + XYZ origin axes
  • glTF 2.0 export
  • Multi-threaded I/O (rayon parallelization)
  • Python bindings (PyO3)

Application Phase 2 — ViewCube & Camera ✅

  • ViewCube: truncated cube with face/edge/corner click-to-snap (26 view directions)
  • ViewCube: directional lighting, drop shadow, orbit ring with compass labels
  • ViewCube: CW/CCW in-plane roll buttons, screen-space arrow buttons
  • Camera roll system (in-plane rotation around view axis, auto-reset on view snap)
  • Camera animation system (smooth-step easing, shortest-path yaw interpolation)
  • View animation settings (enable/disable toggle, duration slider)
  • 45° orbit step, mini axis indicator with negative-direction faded lines

Application Phase 3 — FreeCAD Feature Parity ✅

  • 100% feature parity with FreeCAD (576/576 features across 10 workbenches)
  • DXF/DWG import/export, STEP/IGES/BREP/PLY/3MF/COLLADA/VRML/AMF/PDF/SVG/OCA
  • 9 workbenches: Part, PartDesign, Sketcher, TechDraw, Assembly, Mesh, Draft, Surface, FEM
  • Python bindings (PyO3) — 70+ functions, primitives, features, booleans, analysis, I/O

Application Phase 4 — Performance & Quality ✅

  • 1,450+ automated tests (unit, integration, stress, edge cases)
  • 33 criterion benchmarks
  • BVH spatial indexing (nearest-neighbor, ray queries, SAH build)
  • Parallel tessellation and boolean operations (rayon)
  • NURBS basis function caching

Application Phase 5 — Extension Ecosystem ✅

  • Plugin API + Plugin Manager UI (enable/disable in Tools menu)
  • Lua scripting — interactive console + CLI + 5 example scripts
  • MCP (AI integration) server — start/stop from Tools menu, 8 JSON-RPC tools
  • Project templates (5 templates: empty, box, assembly, mechanical, gear)
  • Convenience API (quick_* primitives, booleans, mass-property helpers)
  • Community marketplace

Build & Install

Requirements

  • Rust 1.85 or later (install via rustup)
  • GPU Drivers — Vulkan, Metal, or DX12 support
  • CMake 3.16+ (for some native dependencies)
  • Python 3.10+ (optional, for scripting support)

Platform-Specific Prerequisites

Linux (Ubuntu / Debian)
# Install system dependencies
sudo apt update
sudo apt install -y build-essential cmake pkg-config \
  libx11-dev libxkbcommon-dev libwayland-dev \
  libvulkan-dev mesa-vulkan-drivers

# Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
macOS
# Install Xcode command line tools
xcode-select --install

# Install dependencies via Homebrew
brew install cmake

# Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

macOS uses Metal as the rendering backend automatically.

Windows
  1. Install Visual Studio Build Tools (C++ workload)
  2. Install CMake
  3. Install Rust via rustup
  4. Ensure up-to-date GPU drivers are installed (Vulkan or DX12)

Build from Source

# Clone the repository
git clone https://github.com/kernalix7/CADKernel.git
cd CADKernel

# Build
cargo build --release

# Run
cargo run --release

Testing

# Run all tests
cargo test

# Run benchmarks
cargo bench

# Run fuzz tests (requires nightly)
cargo +nightly fuzz run geometry_fuzz

Demo

Running the GUI Application

cargo run --release

Features available:

  • File I/O: Open/Save/Import/Export in 17+ formats (STL, OBJ, STEP, IGES, glTF, DXF, PLY, 3MF, BREP, SVG, PDF, and more)
  • 13 Primitives: Box, Cylinder, Sphere, Cone, Torus, Tube, Prism, Wedge, Ellipsoid, Helix, Spiral, Polygon, Plane Face
  • Feature Operations: Extrude, Revolve, Fillet, Chamfer, Draft, Sweep, Loft, Shell, Mirror, Scale, Linear/Circular Pattern
  • Boolean Operations: Union, Subtract, Intersect, XOR with dialog UI
  • 2D Sketcher: Line, Rectangle, Circle, Arc, Ellipse, Polygon, B-Spline — 24 constraint types with Newton-Raphson solver
  • Assembly: Component tree, 13 joint types, DOF analysis, interference check, BOM
  • TechDraw: Orthographic views, section views, detail views, dimensions, SVG/PDF export
  • FEM: Tet/Hex mesh, static/modal/thermal/nonlinear analysis, post-processing
  • Mesh Tools: Decimate, Subdivide, Fill Holes, Smooth, Boolean, Repair, Remesh
  • 9 Workbenches: Part, PartDesign, Sketcher, TechDraw, Assembly, Mesh, Draft, Surface, FEM
  • Lua Console: Interactive Lua tab in the Report panel — run scripts against the live model
  • Plugin Manager: Enable/disable plugins from the Tools menu at runtime
  • MCP Server: Start/stop the AI integration server from the Tools menu
  • Project Templates: 5 ready-made .cadk templates (File → New from Template)
  • Selection: Vertex/Edge/Face/Solid modes, auto-pick, multi-select, edge/face loop, box selection, 3D gizmo
  • Navigation: 12 styles (FreeCAD, Blender, SolidWorks, etc.), ViewCube, camera animation
  • Display: 8 modes, 4x MSAA, Blinn-Phong shading, smooth normals, GPU clip plane
  • Keyboard Shortcuts: Full shortcut system — D (display), G (grid), V (fit), 1/3/7 (views), and more

FAQ

Is CADKernel already production-ready?

CADKernel has achieved 100% FreeCAD feature parity (576/576 features) and passes 1,450+ automated tests. It is suitable for evaluation and testing, but should still be considered beta for production workflows.

Which platforms are supported?

Windows, macOS, and Linux are target platforms.

Is commercial CAD file import supported?

Planned. Proprietary format support is listed in the roadmap and compatibility matrix as implementation targets.

Can I automate workflows?

Yes. Lua scripting is available via the interactive Lua Console in the Report panel and via the --script CLI flag. Python bindings (PyO3) are also available. MCP-based AI integration is fully operational — start the MCP server from the Tools menu.


Versioning

CADKernel follows Semantic Versioning (MAJOR.MINOR.PATCH).

  • MAJOR — Breaking API/format changes
  • MINOR — Backward-compatible features
  • PATCH — Backward-compatible fixes

Changelog

Project change history is maintained in CHANGELOG.md.


Acknowledgments

CADKernel stands on the shoulders of the open-source ecosystem. We especially appreciate communities around:

  • Rust and Cargo ecosystem
  • wgpu and graphics infrastructure projects
  • geometric computing and CAD interoperability standards

Contributing

We welcome contributions from the community.

For the full contribution process and checklist, see CONTRIBUTING.md.

Quick start:

  1. Fork this repository
  2. Create a new branch: git checkout -b feature/amazing-feature
  3. Commit your changes: git commit -m 'feat: add amazing feature'
  4. Push to the branch: git push origin feature/amazing-feature
  5. Open a Pull Request

Contribution Guidelines

  • Use Conventional Commits style commit messages
  • Include test code for every new feature
  • Verify code style with cargo fmt and cargo clippy
  • Document all public APIs with doc comments (///)

Security

If you discover a security vulnerability, please report it responsibly via GitHub Security Advisories instead of opening a public issue. See SECURITY.md for details.

Code of Conduct

This project follows the Contributor Covenant Code of Conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior via the project maintainers.


License

This project is licensed under Apache License 2.0.

Copyright 2026 Kim DaeHyun (kernalix7@kodenet.io)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

CADKernel — Open-Source CAD for Everyone

Report Issue · Request Feature · Discussions

About

OpenSource CAD Software written by rust.

Resources

Code of conduct

Contributing

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages