CAD CAM CAE - CADinfo.net - home  
CAD, CAM, CAE, design, technical drawing, drafting, delineation, visualization, manufacturing ISSN 1442-2255
 

Archived news announcement

Archived news announcement

Wout Ware releases CadLib 2.0.16


advertisement

 

12 June 2006 -- Wout Ware has released CadLib 2.0.16, a .NET DXF 3D library for importing, exporting and rendering DXF files. CadLib can be used in .NET, with programming languages like C# and VB (C# and VB examples are included).

Features

  • Import and export DXF files
  • View DXF files (3D wire frames drawn with GDI+).
  • Pick engine for mouse selection.
  • Utility class for export to .bmp/.jpeg/.png/.tiff/.gif
  • Both 2D and 3D are supported
  • Export to PDF, PostScript, SVG
  • DXF versions 12, 13, 14, 2000 supported
  • Both ascii and binary dxf supported
  • Unpacks compressed DXF files (zip, tar, bz2, gz)
  • 100% .NET code. All DXF objects exposed as .NET classes. Convenient enums are provided for all flags in DXF.

Supported entities

Entity Read Write View
3DFACE yes yes yes
3DSOLID no no no
ACAD_PROXY_ENTITY no no no
ARC yes yes yes
ATTDEF yes yes yes
ATTRIB yes yes yes
BODY no no no
CIRCLE yes yes yes
DIMENSION yes yes yes
ELLIPSE yes yes yes
HATCH (*) yes yes yes
IMAGE no no no
INSERT yes yes yes
LEADER yes yes yes
LINE yes yes yes
LWPOLYLINE yes yes yes
MLINE yes yes yes
MTEXT yes yes yes
OLEFRAME no no no
OLE2FRAME no no no
POINT yes yes yes
POLYLINE yes yes yes
RAY yes yes yes
REGION no no no
SHAPE no no no
SOLID yes yes yes
SPLINE yes yes yes
TABLE no no no
TEXT yes yes yes
TOLERANCE yes yes yes
TRACE yes yes yes
VERTEX yes yes yes
VIEWPORT yes yes yes
WIPEOUT no no no
XLINE yes yes yes

(*) CadLib can read and write hatch pattern (.pat) files.

SHX fonts are supported but the fonts themselves currently come not with the library. Big fonts are not yet supported. Windows true type fonts are supported. Shx files can be downloaded from somewhere else and put in the library folder.

CadLib supports code pages and unicode characters.

Extrusion is supported for all supported entities.

Supported tables

The following tables are supported (tables not mentioned are not supported):

Table Supported
LAYER yes
STYLE (text) yes
LINETYPE yes
UCS yes
VIEW yes
VPORT yes
DIMSTYLE yes

Documentation

CadLib is well documented in the form of a .chm file. C# and VB sample solutions are provided. A basic viewer example is included so you can test view the DXF files you have created with the library. Also a DXF to image converter example is included and an example dxf writing program.

www.woutware.com

 

  Get a free CADinfo news feed here...