CadSDK

CadSDK is a modern, open, and extensible library for programmatic CAD drawing generation.
Currently available for .NET via NuGet package, with Python and JavaScript SDKs in development.
Easily create, manipulate, and export CAD drawings using a simple platform-agnostic API.

View Documentation View Examples

Featured Blog Posts

No featured blog posts available at the moment. Check back later for updates.

Quick Start Examples

using CadSDK; // Install-Package CadSDK

// Sign up and get a free apiKey
string apiKey = "Your_API_Key";

// Create a new Drawing Session
var session = new DrawingSession
{
  ExportFormat = ExportFormat.DWG,
  CadVersion = CadVersion.Cad2018
};

// Add a line to the drawing session
var line = new Line()
{
  StartPoint = new Vector3(0, 0, 0),
  EndPoint = new Vector3(100, 100, 50)
};
session.AddElement(line);

// Export
string outputPath = "./cadsdk_export.dwg";
await session.ExportAndSaveAsync(apiKey, outputPath);