Skip to content

GeometryHelper 13.11.0

Latest

Choose a tag to compare

@nguyenthanguth nguyenthanguth released this 07 Nov 03:49
· 911 commits to main since this release

GeometryHelper 13.11.0, with GeometryHelper.CadConvert, GeometryHelper.IfcConvert and GeometryHelper.TeklaConvert.{2020,2025,2026} at 13.11.0.

NEW IN 13.11.0

A minor release: public types and members added, none removed or renamed. A drawing only read and saved is
written as it was, to the byte.

NEW, DXF: OLE objects
- OLE2FRAME entities, read until now as DxfUnknownEntity, are DxfOle2Frame, after AutoCAD's Ole2Frame, with
  DxfRectangle3d, DxfOle2FrameItemType and DxfOlePictureFormat. The frame is read from the four corners in the head
  of its binary, as AutoCAD 2021 reads it, not from groups 10 and 11: Location (the lower left corner), Position3d,
  WcsWidth, WcsHeight, ScaleWidth, ScaleHeight, Rotation, LockAspect, OutputQuality, AutoOutputQuality.
- What the object is comes from its compound file, read by the library's own MS-CFB reader: Type (static, embedded,
  linked), UserType, IsLinked, LinkName, LinkPath; GetCompoundDocument() and GetPictureData(out format) give the
  compound file and the .bmp, .wmf or .emf of a static picture.
- TransformBy moves, scales by one factor and mirrors a frame about a line along x or y, as AutoCAD 2021 keeps it
  upright, writing the corners into the head AutoCAD reads; a turn, shear or stretch is refused. Position3d,
  WcsWidth, WcsHeight, ScaleWidth, ScaleHeight, LockAspect and OutputQuality are set as AutoCAD sets them; a frame
  copied into model or paper space gets that space's marks.
- new DxfOle2Frame(bytes) makes a static picture of a .bmp or a .png (every kind of PNG, alpha laid over white),
  which AutoCAD's .NET API cannot, at its natural size in millimetres: 610 by 224 pixels of 96 dots an inch are
  161.38 by 59.26.
- Checked in AutoCAD 2021: its console read back every frame read, moved or made, AUDIT finding no error; Windows'
  OLE loaded every compound file made; AutoCAD's GUI drew the pictures made and moved.

CHANGED, DXF: results callers will see change
- An OLE2FRAME read from a file is a DxfOle2Frame, not a DxfUnknownEntity; its GetGeometry, GeometricExtents and
  Explode give its frame, and UpdateExt takes it into the extents.

Details in CHANGELOG.md.

Earlier releases: https://github.com/nguyenthanguth/GeometryHelper/blob/main/CHANGELOG.md