netDxf-master

所属分类:绘图程序
开发工具:C#
文件大小:6833KB
下载次数:8
上传日期:2019-08-03 11:04:47
上 传 者吃饭1
说明:  图纸保存格式为dxf,此开发包能识别dxf文件的各种图形和尺寸
(Drawing feature recognition development kit)

文件列表:
.vs\netDxf\v16\.suo (97792, 2019-08-03)
.vs\netDxf\v16\Server\sqlite3\db.lock (0, 2019-07-25)
.vs\netDxf\v16\Server\sqlite3\storage.ide (966656, 2019-08-03)
doc\Changelog.txt (63770, 2019-07-01)
doc\netDxf Documentation.chm (3810177, 2019-07-01)
LICENSE (26461, 2019-07-01)
netDxf\AciColor.cs (33013, 2019-07-01)
netDxf\bin\Debug\netDxf.dll (750080, 2019-07-29)
netDxf\bin\Debug\netDxf.pdb (1730048, 2019-07-29)
netDxf\bin\Debug\netDxf.xml (929647, 2019-07-29)
netDxf\Blocks\Block.cs (29548, 2019-07-01)
netDxf\Blocks\BlockAttributeDefinitionChangeEventArgs.cs (2216, 2019-07-01)
netDxf\Blocks\BlockEntityChangeEventArgs.cs (2114, 2019-07-01)
netDxf\Blocks\BlockRecord.cs (6889, 2019-07-01)
netDxf\Blocks\BlockTypeFlags.cs (2711, 2019-07-01)
netDxf\Blocks\EndBlock.cs (1533, 2019-07-01)
netDxf\BoundingRectangle.cs (9186, 2019-07-01)
netDxf\ClippingBoundary.cs (4693, 2019-07-01)
netDxf\ClippingBoundaryType.cs (1421, 2019-07-01)
netDxf\Collections\ApplicationRegistries.cs (5865, 2019-07-01)
netDxf\Collections\AttributeCollection.cs (6117, 2019-07-01)
netDxf\Collections\AttributeDefinitionDictionary.cs (14176, 2019-07-01)
netDxf\Collections\AttributeDefinitionDictionaryEventArgs.cs (2728, 2019-07-01)
netDxf\Collections\BlockRecords.cs (8701, 2019-07-01)
netDxf\Collections\DimensionStyleOverrideDictionary.cs (14990, 2019-07-01)
netDxf\Collections\DimensionStyleOverrideDictionaryEventArgs.cs (2674, 2019-07-01)
netDxf\Collections\DimensionStyles.cs (9647, 2019-07-01)
netDxf\Collections\EntityCollection.cs (13295, 2019-07-01)
netDxf\Collections\EntityCollectionEventArgs.cs (2603, 2019-07-01)
netDxf\Collections\Groups.cs (7826, 2019-07-01)
netDxf\Collections\ImageDefinitions.cs (5897, 2019-07-01)
netDxf\Collections\Layers.cs (6158, 2019-07-01)
netDxf\Collections\Layouts.cs (11111, 2019-07-01)
netDxf\Collections\Linetypes.cs (13117, 2019-07-01)
netDxf\Collections\MLineStyles.cs (7484, 2019-07-01)
netDxf\Collections\ObservableCollection.cs (14531, 2019-07-01)
netDxf\Collections\ObservableCollectionEventArgs.cs (2545, 2019-07-01)
netDxf\Collections\ObservableDictionary.cs (8053, 2019-07-01)
netDxf\Collections\ObservableDictionaryEventArgs.cs (2741, 2019-07-01)
... ...

# netDxf netDxf 2.3.0 Copyright(C) 2009-2019 Daniel Carvajal, Licensed under LGPL ## Description netDxf is a .net library programmed in C# to read and write AutoCAD dxf files. It supports AutoCad2000, AutoCad2004, AutoCad2007, AutoCad2010, AutoCad2013, and AutoCad2018 dxf database versions, in both text and binary format. The library is easy to use and I tried to keep the procedures as straightforward as possible, for example you will not need to fill up the table section with layers, styles or line type definitions. The DxfDocument will take care of that every time a new item is added. If you need more information, you can find the official dxf documentation [here](https://help.autodesk.com/view/OARX/2019/ENU/?guid=GUID-235B22E0-A567-4CF6-92D3-38A2306D73F3). Code example: ```c# public static void Main() { // your dxf file name string file = "sample.dxf"; // by default it will create an AutoCad2000 DXF version DxfDocument dxf = new DxfDocument(); // an entity Line entity = new Line(new Vector2(5, 5), new Vector2(10, 5)); // add your entities here dxf.AddEntity(entity); // save to file dxf.Save(file); // this check is optional but recommended before loading a DXF file DxfVersion dxfVersion = DxfDocument.CheckDxfFileVersion(file); // netDxf is only compatible with AutoCad2000 and higher DXF version if (dxfVersion < DxfVersion.AutoCad2000) return; // load file DxfDocument loaded = DxfDocument.Load(file); } ``` ## Samples and Demos Are contained in the source code. Well, at the moment they are just tests for the work in progress. ## Dependencies and distribution * .NET Framework 4.5. netDxf only references the NET libraries System.dll and System.Drawing.dll ## Compiling To compile the source code you will need Visual Studio 2015. ## Development Status See [changelog.txt](https://github.com/haplokuon/netDxf/blob/master/doc/Changelog.txt) or the [wiki page](https://github.com/haplokuon/netDxf/wiki) for information on the latest changes. ## Supported entities * 3dFace * Arc * Circle * Dimensions (aligned, linear, radial, diametric, 3 point angular, 2 line angular, and ordinate) * Ellipse * Hatch (including Gradient patterns) * Image * Insert (block references and attributes) * Leader * Line * LwPolyline (light weight polyline) * Mesh * MLine * MText * Point * PolyfaceMesh * Polyline * Ray * Shape * Solid * Spline * Text * Tolerance * Trace * Underlay (DGN, DWF, and PDF underlays) * Wipeout * XLine (aka construction line) All entities can be grouped. All entities and table objects may contain extended data information. AutoCad Table entities will be imported as Inserts (block references). Both simple and complex line types are supported. The library will never be able to read some entities like Regions and 3dSolids, since they depend on undocumented proprietary data.

近期下载者

相关文件


收藏者