CadLib 3.5 Version history

3.5.29.0   Aug 9, 2010:
  • Implemented new table entity structures that were added in AutoCAD 2008. The table entity can now be read from/written to DWG. Parts of the API have changed. A cell can have multiple contents now. Previously a cell value had to be set, now new cell content has to be added to a cell.
  • Color changes: CadLib has changed from using System.Drawing.Color to two new color structs: WW.Cad.Model.Color and WW.Cad.Model.Entities.EntityColor. DxfEntity.Color uses the new EntityColor struct, the rest uses the new Color struct. There are two helper classes containing common colors (red, blue, green etc): WW.Cad.Model.Colors and WW.Cad.Model.Entities.EntityColors.
  • The block internal design changed. It moved to namespace WW.Cad.Tables (actually the previous DxfBlockRecord is now DxfBlock). The impact on existing code is probably very minor.
  • Added support for the IDBUFFER object.
  • Added support for unloaded xref's.
  • Bug fix and performance improvement in the WPF rendering (fixed memory leak due to non-frozen pens/brushes).
  • Several other bug fixes.
3.5.6.0   March 4, 2010:
  • Added support for writing DWG 2007 files.
3.5.5.21   January 28, 2010:
  • Bug fix: APPID objects were not cloned properly as part of an object's extended data.
  • Bug fix: HATCH clone didn't clone property HatchPatternType (pattern type).
  • Bug fix: DXF reader didn't read all dimensions correctly (resulting amongst other in wrong layer information).
  • Bug fix: DWG second header CRC was broken in version 3.5.5.17.
  • Bug fix: nested insert/block BYBLOCK color/linetype/lineweight was not correctly handled.
  • Bug fix: Fixed problem where complex text was not broken into lines correctly.
  • Bug fix: Fixed problem with incorrect letterWidth \W0 in MTEXT.
3.5.5.19   January 13, 2010:
  • Fixed bug with text containing just "%%" appearing.
3.5.5.18   January 9, 2010:
  • Performance improvements on DWG reading.
  • Fixed exception when reading BIGFONT.SHX.
3.5.5.17   January 7, 2010:
  • Added support for big fonts.
3.5.5.14   December 18, 2009:
  • Improved clone support (can now clone an entire drawing).
  • Bug fix: reading MTEXT with newlines from DWG and writing to DXF needed processing of newlines.
  • Bug fix: bug writing extended data null string value to DXF.
3.5.5.12   December 11, 2009:
  • Improved dimension rendering/creation (now supports stacked fractions and improved many details).
3.5.5.7   November 30, 2009:
  • MTEXT rendering redesign (amongst others added support for diagonal/stacked fractions).
  • Bug fix: VIEWPORT writing to DWG.
3.5.5.6   November 20, 2009:
  • Bug fix: XRECORD objects were not cloned.
  • Bug fix: entity extension dictionary clone caused crash.
3.5.5.5   November 19, 2009:
  • Bug fix: not all values TDUSRTIMER and TDINDWG fit within TimeSpan.MinValue/MaxValue. Cap the read values.
3.5.5.4   November 9, 2009:
  • Bug fix: EntitySelector didn't correctly select model space entities in a viewport (used the wrong transform).
3.5.5.3   November 4, 2009:
  • Bug fix: read/write handled object extended data from/to DXF files (before this was only done for entities).
3.5.5.2   November 2, 2009:
  • Bug fix: WpfWireframeGraphics3D had one overload in which always all layout's paper space entities were drawn, while the user should be able to specify which entities to draw.
3.5.5.1   November 1, 2009:
  • Bug fix: SPLINE entity rendering shouldn't be affected by z-axis.
3.5.5.0   October 29, 2009:
  • Added support for DXF version 24 (2010).
  • Added support for extension dictionaries.
  • Added new header variables.
3.5.4.1   September 25, 2009:
  • Bug fix: fixed problem with writing IMAGE and IMAGEDEF to DWG.
3.5.4.0   September 17, 2009:
  • Added support for writing DWG 2004 files.
  • DxfViewport (VIEWPORT) properties Id and Status are now readonly. Id and Status are determined automatically depending on the order in the layout.
  • Bug fix: ImageExporter didn't scale the drawing correctly for paperspace layouts.
3.5.3.8   March 13, 2009:
  • Bug fix: fixed writing a LEADER to DWG.
  • Don't write inserts with just 1 row/column as MINSERT to DXF.
  • Bug fix: fixed writing a HATCH to DWG.
  • Bug fix: fixed reading DWG file with extremely large timespan values in the header (cap at TimeSpan.MaxValue).
  • Bug fix when reading/writing a DXF file containing a dimension style override with an arrow block pointing to a non-existent block.
  • Bug fix: fixed multiple layout/viewport writing to DWG.
  • Bug fix: fixed adding viewports to a layout (a null referenced upon writing to file was thrown because the viewport wasn't properly registered).
  • Redesigned linetype element. Removed property DxfLineType.Lengths, replaced by property DxfLineType.Element.Length.
  • Implemented complex line types (read/write, DXF/DWG).
3.5.2.22   March 2, 2009:
  • Fixed bug in extended data reading (crash on reading handle groups).
  • Accept hatch ellipse edge minor to major ration > 1 (in some cases the number contains rounding errors).
  • Record unsupported objects when reading a DXF/DWG file and store them in DxfModel.UnsupportedObjects.
  • Reimplemented line type rendering to be more accurate.
  • Bug fix: dots in line types were not rendered by the PdfExporter.
  • Bug fix: correctly associate entity with line type when reading a DWG file.
  • Bug fix: fixed OverflowException when reading a polyface mesh with many vertices (vertex index reached short.MinValue).
  • Bug fix: leader arrow size was read incorrectly for DWG 13/14.
  • Bug fix: dimension style overrides parsing crashed when the extended data had an odd number of groups (trailing zero group).
  • Optionally report missing external references when loading all external references.
  • Bug fix: positioning of drawing external (DWG) reference.
  • Bug fix: only draw external reference if IsExternalReference flag is set. Some blocks still have the ExternalReference filename defined, but it should not be used if the IsExternalReference flag is not set.
  • Bug fix: also draw insert if column/row count is zero.
  • Bug fix in DWG R 13/14 reading: viewport association with paper space (layout).
3.5.2.14   January 18, 2009:
  • Bug fix: add null check when resolving entity references in block record builder.
  • Bug fix: there were some issues with anonymous blocks. Improved separation between normal and anonymous blocks.
  • Bug fix: corrected associating a layout with its viewport after reading a DWG file.
  • Bug fix in DWG reading of layers, the Enabled property wasn't read properly for DWG versions 13/14 (color wasn't set to negative value).
  • Fixed issues with dictionary object soft owner references after reading a DWG file.
  • Bug fix: text style/dim style/line types were duplicated in some cases in read/write scenarios.
  • Bug fix: set table cell style text style to STANDARD when not present in DXF.
  • Bug fix: calculate correct text alignment point 1 when text is empty.
  • Bug fix: error reading table (cell) style with missing group 7 (name).
  • Bug fix: be able to write a black layer color to DXF.
  • Bug fix: writing some handle groups resulted in a InvalidCastException (converted from string to ulong types, but hadn't fixed all occurrences apparently.)
  • Bug fix: bug in TABLESTYLE.
  • Moved EntitySelector class from Pro to Standard edition.
  • Bugfix: allow duplicate app id's in DXF.
3.5.2.1   November 28, 2008:
  • Bug fix: multi threading issues when drawing in multiple threads.
3.5.2.0   November 27, 2008:
  • Added support for writing DWG files (versions 13, 14, 2000).
  • Bug fix: viewports of release 13 and 14 were not read correctly.
  • Bug fix: no longer write header variables that give warnings.
  • Minor fixes in DWG reading.
  • Added ASP.NET example solution demonstrating dynamically generating a bitmap from a CAD drawing.
3.5.1.6   September 24, 2008:
  • Bug fix: DWG reader bug in reading IMAGE entity.
  • Bug fix: DWG reader bug in reading unknown entities.
  • Bug fix: crash when displaying IMAGE entity without image file.
3.5.1.5   September 19, 2008:
  • Bug fix: in R14 DWG reader didn't read LWPOLYLINE entity.
  • Bug fix: DWG reader didn't add the read layers to the model's Layers collection.
  • Bug fix: DXF reader didn't assign the dimension style to the read dimension (bug introduced in previous release).
  • Bug fix: dimension style arrow block references weren't correctly read by DXF reader (bug introduced in previous release).
  • Bug fix: don't render attribute definitions when they are part of a BLOCK.
3.5.1.0   September 15, 2008:
  • Implemented reading DWG files (versions 13, 14, 2000, 2004, 2007).
  • Added properties for most header variables to DxfHeader class.
  • Added support for color book colors (named colors).
  • Redesigned the way dimension style overrides are handled (breaking change).
  • Bug fix: corrected writing of inserts for R13 and later where there were more than 1 rows or columns.
3.5.0.5   June 9, 2008:
  • Added IMAGE entity support to GDI+ rendering, BoundsCalculator and EntitySelector.
  • Bug fix: fixed line weight problem in rendering (caused PDF's to be empty).
  • Fixed bug in Polygon2D union algorithm (overlapping opposite directed segments caused a problem).
  • Small stability improvement in 2D polygon boolean operations.
3.5.0.2   May 17, 2008:
  • Bug fix: default layer line weight is STANDARD.
  • Bug fix: whether a LAYER is on or off shouldn't affect an INSERT's visibility.
  • Bug fix: Show attribute definition (ATTDEF) TagString instead of the Text.
3.5.0.1   May 13, 2008:
  • Added support for the WPF wireframe rendering.
  • Added export to XAML feature.
2.0.21.0   April 4, 2008:
  • Added support for the TABLE entity. Cell formats, border styles, double borders are supported.
  • Added support for the TABLESTYLE object.
  • Added support for the XRECORD object.
  • Added support for line weight to the PDF exporter.
  • Bug fix: binary data groups were incorrectly written to binary DXF files.
  • Bug fix: writing a DXF file with a VPORT without UCS crashed.
2.0.20.1   January 17, 2008:
  • Improved protection against dodgy DXF files written by other DXF libraries.
2.0.20.0   January 6, 2008:
  • Added support for entity extended data.
2.0.19.0   November 24, 2007:
  • Integrated help 2 documentation into CadLib.
  • Added support for fixed foreground color to PdfExporter, SvgExporter and PsExporter. Also improved support for foreground color inversion if equal to background color.
  • Added IEntityVisitor interface.
  • Bug fix: reading DXF with zero scale factor.
  • Bug fix: in font lookup.
2.0.18.10   August 23, 2007:
  • Bug fix: display of some true type fonts was incorrect, some fonts were not found (like e.g. like georgiab.ttf, georgiaz.ttf, georgiai.ttf).
2.0.18.7   June 19, 2007:
  • Exposed IClippingTransformer interface to be able to access transformation matrix in drawing calls.
  • Bug fix: dimension style (overrides) arrow block were not written correctly.
  • Bug fix: text with zero height caused a crash in some calls.
  • Bug fix: DxfDimension.Aligned: text was not vertical when dimension was vertical and TextInsideHorizontal = false.
  • Bug fix: leader drawing should respect dimension style's leader arrow block in stead of arrow block.
2.0.18.4   April 29, 2007:
  • Added helper methods to DxfVertex2D to calculate the bulge from the arc segment's center and end points or the arc segment's included angle.
2.0.18.3   April 27, 2007:
  • Added GraphicsConfig.FixedForegroundColor property for single color drawings (e.g. black and white).
  • Bug fix: writing a DXF file with multiple app id's threw an exception.
  • Bug fix: writing a pre-version 14 DXF file with $HANDLING set should not write 330 groups.
2.0.18   January 11, 2007:
  • OpenGL surface rendering.
  • New computational geometry algorithms in WW.Math (pro edition): Constrained Delaunay triangulation and 2D polygon boolean operations.
  • Support for layouts.
  • Support for engineering/architectural dimensions (feet and decimal/fractional inches).
  • Ability to create multiple pages in a PDF document.
  • 24-bit color support (DXF version 18).
  • Use .NET 2.0 version of SharpZipLib.
  • Merged assembly FormUtils into assembly WW.
  • The licensing structure changed to allow for WW.Math, WW.GL and CadLib to be licensed separately.
2.0.17   July 13, 2006:
  • Support for DXF version 18 (AutoCad 2004-2007).
  • Added zoom/pan example and demo of EntitySelector.
  • Minor bug fixes.
2.0.16   June 6, 2006:
  • Added EntitySelector class for selecting entities with the mouse.
  • BaseGraphicsFactory class and example of how to use it for getting coordinates of entity line segments.
  • Fixed hatch scaling bug.
  • Fixed code page recognition bug and added many code pages to DrawingCodePage enum.
2.0.15   May 14, 2006:
  • Added support for reading/writing DXF 15 (AutoCad 2000). Also reading a DXF file, modifying and writing it now works properly (no more handle clashes).
  • Added cloning of entities and other objects in the context of another model. This means parts of a model can be imported into another model.
  • Fixed bug in reading dimension style overrides for dimension entity.
2.0.14   April 17, 2006:
  • Included some VB examples and added VS 2005 solutions for the examples.
  • Minor bug fixes in reading/writing (2D) splines.
  • fixed bug in writing Dimension with UseTextMiddlePoint = true
  • Some refactoring: using .NET 2.0 KeyedCollection where appropriate
2.0.13   March 23, 2006:
  • Migrated to .NET 2.0. WW.Base.dll replaces the Sharp3D.Math.dll that was used in the 1.1 version. See the readme.html in the download for more details about changes from version 1.1 to 2.0.