OpenCAD2D.Core 2.1.0

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

OpenCAD2D

A free 2D CAD app for Windows that works like AutoCAD 2021.

  • Files: DXF R12 to R2018 and DWG R2000 to R2018, read and written; drawings it saves open in AutoCAD 2021 with AUDIT reporting nothing.
  • Drawing and editing: the 2D draw and modify commands of AutoCAD with their prompts and options; grips, object snaps and tracking, UCS, blocks and attributes, hatches, groups, arrays.
  • Annotation: text and MTEXT, tables, fields, dimensions and multileaders.
  • Layouts: viewports, page setups, plot styles, PLOT and PUBLISH, PDF and image export.
  • The app: ribbon, command line, Properties, palettes and dialogs; AutoCAD's shortcuts and acad.pgp aliases.
  • Scripting:
    • AutoLISP (.lsp files loaded with APPLOAD or from the Lisps folder);
    • Python tools (a folder in Pythons with a requirements.txt; each runs in a process and a venv of its own), and the opencad2d package for scripts outside the app;
    • C# plugins (a .dll, or a folder of source with a .csproj that may name NuGet packages, in the Plugins folder);
    • Remote: other programs drive a running app through a named pipe.

Packages

pip install opencad2d               # Python: the library, and a client for a running app
dotnet add package OpenCAD2D.Core   # .NET: the engine with no UI, and OpenCAD2D.Remote

Windows x64 only. The wheel needs CPython 3.11 to 3.15, 64-bit (the range of pythonnet 3.2.1); the setup of the app carries .NET 8 and a Python 3.12 of its own, which the Python tools (folders in Pythons) and PYRUN use where the machine has none.

Guides and the API reference: https://nguyenthanguth.github.io/opencad2d/

Build

Windows, the .NET 8 SDK, and .NET Framework 4.8 for the tests.

dotnet build OpenCAD2D.slnx -c Release
dotnet run --project src/OpenCAD2D.App -c Release

Geometry, DXF and DWG come from the GeometryHelper library (nguyenthanguth/GeometryHelper), used as Lib\GeometryHelper.dll; tools\update-lib.ps1 builds a new copy from a clone of it.

Guides

Licence

MIT. See LICENSE; the notices of the code and fonts it carries are in src/OpenCAD2D.Core/THIRD-PARTY-NOTICES.md.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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
2.1.1 0 11/29/2026
2.1.0 45 11/28/2026
2.0.0 58 11/26/2026
1.0.0 76 11/23/2026