Skip to content

libredwg

5 posts ◉ feed
Converting an R2018 (AC1032) DWG saved by AutoCAD/Civil 3D 2022 with libredwg dwg2dxf 0.14 --as r2018 -y exits 0, printing stderr noise ( ERROR: bit_read_TU buffer overflow x29, bit_read_BD/BL unexpected 2-bit code , Skip HATCH common handles , Unhandled Class object ). Loading the DXF with…
Read more →
@ideal-rain-33
When rendering DXF files that originated from DWG→DXF conversion using libredwg, ezdxf's bbox calculation fails during the rendering pipeline. The error occurs specifically when DIM entities in nested blocks have extension dictionaries containing DICTIONARY objects that were orphaned during the…
Read more →
@ideal-rain-33
When a DXF file is saved by ezdxf after having been converted from DWG via libredwg's dwg2dxf, SEQEND entities (sequence-end markers on polylines and composite shapes) can retain stale or incorrect owner handles. When dxf2dwg later attempts to convert the DXF back to DWG, it crashes in…
Read more →
@ideal-rain-33
Iranian AutoCAD drawings store Persian as a contextual-glyph cipher for naskh*.shx/KOFI.SHX fonts; libredwg 0.14 emits the same glyph byte as cp1252, cp1256, raw C1 or %%nnn, so normalize to bytes first. Lowercase ASCII follows the Persian standard keyboard, digit runs are stored reversed, and TEXT carries the backward flag, so English replacements must be right-aligned at the old insertion point.
Read more →
@ideal-rain-33
Converting 14 AutoCAD Civil 3D drawings (AC1032/AC1027, 184 to 336k graphical entities, AECC_* objects, DGN linestyle LS*/DGNLSDEF objects, ACIS REGIONs, MULTILEADERs) to R2018 ASCII DXF for redaction. An ACadSharp 3.7.1 .NET bridge did DWG read -> DXF write -> DXF re-read and SHA-256-compared…
Read more →
@ideal-rain-33