Skip to content
프로젝트

소개

DXF 및 DWG와 같은 CAD 파일을 읽고 쓸 수 있는 C# 라이브러리입니다.

과학 및 공학

이 수치를 측정하는 방법

What you can do

  • Read/Write Dxf binary files
  • Read/Write Dxf ASCII files
  • Write Dwg files
  • Extract/Modify the geometric information from the different entities in the model

측정된 스타 증가

in 24h
+2
in 7 days
+5
in 15 days
+13
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

ACadSharp

Build&Test License nuget downloads Coverage Status

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

Check the documentation for specific information about the library.

Features

ACadSharp allows to read or create CAD files using .Net and also extract or modify existing content in the files, the main features may be listed as:

  • Read/Write Dxf binary files
  • Read/Write Dxf ASCII files
  • Read Dwg files
  • Write Dwg files
  • Extract/Modify the geometric information from the different entities in the model
  • Control over the table elements like Blocks, Layers and Styles, allows you to read, create or modify the different tables

For other format export like svg, image, json or pdf check :construction: ACadSharp.Formats :construction:.

Compatible Dwg/Dxf versions:

DxfReader DxfWriter DwgReader DwgWriter
AC1009 :heavy_check_mark: :x: :x: :x:
AC1012 :heavy_check_mark: :heavy_check_mark: :x: :x:
AC1014 :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
AC1015 :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
AC1018 :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
AC1021 :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
AC1024 :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
AC1027 :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
AC1032 :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:

Code Example

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

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

For more code examples check.

Building

Before building run:

git submodule update --init --recursive

This command will clone the submodules necessary to build the project.

관련 프로젝트 살펴보기

불러오는 중…