All Projects → DomCR → ACadSharp

DomCR / ACadSharp

Licence: MIT license
C# library to read/write cad files like dxf/dwg.

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to ACadSharp

CadZinho
Minimalist computer aided design (CAD) software
Stars: ✭ 75 (-37.5%)
Mutual labels:  cad, dxf
xcsg
XML based Constructive Solid Geometry based on carve
Stars: ✭ 24 (-80%)
Mutual labels:  cad, dxf
Librecad
LibreCAD is a cross-platform 2D CAD program written in C++11 using the Qt framework. It can read DXF and DWG files and can write DXF, PDF and SVG files. The user interface is highly customizable, and has dozens of translations.
Stars: ✭ 2,602 (+2068.33%)
Mutual labels:  cad, dxf
vectorexpress-api
Vector Express is a free service and API for converting, analyzing and processing vector files.
Stars: ✭ 66 (-45%)
Mutual labels:  dwg, dxf
AutoLispExt
Visual Studio Code Extension for AutoCAD® AutoLISP
Stars: ✭ 51 (-57.5%)
Mutual labels:  autocad
Scan2cad
[CVPR'19] Dataset and code used in the research project Scan2CAD: Learning CAD Model Alignment in RGB-D Scans
Stars: ✭ 249 (+107.5%)
Mutual labels:  cad
Sdfx
A simple CAD package using signed distance functions
Stars: ✭ 213 (+77.5%)
Mutual labels:  cad
elmyra
An experimental blender-based rapid iterative visualization system
Stars: ✭ 31 (-74.17%)
Mutual labels:  cad
SimpleCad
A basic CAD-like control surface for winforms.
Stars: ✭ 81 (-32.5%)
Mutual labels:  cad
Node Occ
build BREP Solids with OpenCascade and NodeJS - 3D Modeling
Stars: ✭ 202 (+68.33%)
Mutual labels:  cad
paramak
Create parametric 3D fusion reactor CAD models
Stars: ✭ 36 (-70%)
Mutual labels:  cad
partdesigner
Create custom LEGO® Technic compatible construction parts for 3D printing
Stars: ✭ 104 (-13.33%)
Mutual labels:  cad
MonkeyCAM
CAD/CAM software for ski and snowboard design and G-code program generation.
Stars: ✭ 34 (-71.67%)
Mutual labels:  cad
Opentimer
A High-performance Timing Analysis Tool for VLSI Systems
Stars: ✭ 213 (+77.5%)
Mutual labels:  cad
OpenSCAD connectors
Simple, parametric APIs for connectors such as corner brackets and t-joints. Specializing on connectors for aluminum extrusion connectors.
Stars: ✭ 29 (-75.83%)
Mutual labels:  cad
Autocadcodepack
AutoCAD Code Pack: A powerful library that helps you to develop AutoCAD plugins using the AutoCAD .NET API
Stars: ✭ 207 (+72.5%)
Mutual labels:  cad
pentaho-gis-plugins
🗺 GIS plugins for Pentaho Data Integration
Stars: ✭ 42 (-65%)
Mutual labels:  dxf
GERBER X3
Program for preparing G-code for milling of printed circuit boards on CNC. You can use it as a converter to a PDF file.
Stars: ✭ 150 (+25%)
Mutual labels:  dxf
BowlerStudio
A Full-Stack Robotics Development Environment
Stars: ✭ 95 (-20.83%)
Mutual labels:  cad
creopyson
Python library for Creoson (http://www.creoson.com)
Stars: ✭ 37 (-69.17%)
Mutual labels:  cad

ACadSharp Build&Test License nuget

C# library to read/write cad files like dxf/dwg.

Compatible Dwg/Dxf versions:

  • Release 1.1
  • Release 1.2
  • Release 1.4
  • Release 2.0
  • Release 2.10
  • AC1002 - Release 2.5
  • AC1003 - Release 2.6
  • AC1004 - Release 9
  • AC1006 - Release 10
  • AC1009 - Release 11/12 (LT R1/R2)
  • AC1012 - Release 14, 14.01 (LT97/LT98)
  • AC1014 - Release 14, 14.01 (LT97/LT98)
  • AC1015 - AutoCAD 2000/2000i/2002
  • AC1018 - AutoCAD 2004/2005/2006
  • AC1021 - AutoCAD 2007/2008/2009
  • AC1024 - AutoCAD 2010/2011/2012
  • AC1027 - AutoCAD 2013/2014/2015/2016/2017
  • AC1032 - AutoCAD 2018/2019/2020

Code Example

public static void Main()
{
	string path = "sample.dwg";
	CadDocument doc = DwgReader.Read(path, onNotification);
}

// Process a notification form the reader
private static void onNotification(object sender, NotificationEventArgs e)
{
	Console.WriteLine(e.Message);
}

WIP

The dwg/dxf readers are not yet fully implemented, the NotificationHandler will send a message to inform about the objects that could not be readed or any other error in the process.

Dwg reader entities not implemented

  • ACDBPLACEHOLDER
  • VP_ENT_HDR
  • POLYLINE_PFACE
  • ACAD_PROXY_OBJECT
  • MESH

Dxf reader entities not implemented

  • POLYLINE_PFACE
  • ACAD_TABLE
  • WIPEOUT
  • LEADER
  • 3DFACE
  • MESH

Dwg Writer

ACadSharp has the first DwgWriter in an early alpha.

Compatible versions:

  • AC1014 - Release 14, 14.01 (LT97/LT98) - (WIP)
    • Produces a valid file but the entities are not in the model.
  • AC1015 - AutoCAD 2000/2000i/2002
    • This version depens on the implementation of VP_ENT_HDR to work properly with the different Viewports
  • AC1018 - AutoCAD 2004/2005/2006 (MOST STABLE - RECOMENDED)

Not implemented versions - Status

  • AC1021 - AutoCAD 2007/2008/2009
    • This is a particular and isolated version for DWG, it uses a different compression system and file distribution, due this difficulties, this version will not be implemented any time soon.
  • AC1024 - AutoCAD 2010/2011/2012
  • AC1027 - AutoCAD 2013/2014/2015/2016/2017
  • AC1032 - AutoCAD 2018/2019/2020
    • This versions have a similar structure than AC1018 but the file that is generated by the current writer seems to be missing something, they need further investigation.

IMPORTANT NOTE when you open a file writen by ACadSharp with Autocad the following message will appear: The drawing file requires recovery press on Recover and it will open the file normally. This process this may cause a loss of information on the file.

Contributing

Please feel free to fork this repo and send a pull request if you want to contribute to this project.

Notice that this project is in an alpha version, not all the features are implemented and there can be bugs due to this so any PR with a bug fix will not have a priority.

If you want to contribute you can check the Dxf documentation here.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].