mirror of
https://github.com/storytold/cadcraft.git
synced 2026-10-24 10:56:51 -06:00
DWG: leave out orphaned DGN line style components, so DGN-bloated drawings open (fixes #1482) (#1501)
* DWG: leave out orphaned DGN line style components, so DGN-bloated drawings open (fixes #1482) A DWG that has been through MicroStation can carry hundreds of thousands of DGN line style components no line style definition uses. In an 82.8 MB site plan they were 888,483 of 889,053 and made the DXF rendition 1.2 GB, over the 1 GB limit, so the file didn't open. After the failsafe read, components no LSDEFINITION reaches (through compound and point components) are left out with their dictionary entries, and a read note says how many. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * contributors: add my real name for the About window credits Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Brandon Thomas <echelon@gmail.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
Brandon Thomas
parent
13a3ebc0d1
commit
b4509d2368
@@ -1,6 +1,6 @@
|
||||
# File-format parity
|
||||
|
||||
> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-10-12 · **Change:** minor (multiline attributes read, drawn and written) · **Target:** Autodesk AutoCAD 2027
|
||||
> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-10-17 · **Change:** minor (DWG read leaves out orphaned DGN line style components) · **Target:** Autodesk AutoCAD 2027
|
||||
|
||||
Every format AutoCAD 2027 reads or writes, with CADCraft's support, fidelity and tests. Work
|
||||
items are in [gaps.md](gaps.md#file-formats); the weighted score feeds
|
||||
@@ -53,7 +53,10 @@ title/header suppression.
|
||||
Everything lost in the DXF read/write paths below is also lost through DWG, plus whatever
|
||||
`acadrust`'s own DXF output omits (proxy objects, ACIS data, custom objects: not measured). User
|
||||
report #57: a 10 MB DWG failed after about two minutes; limits now stop runaway conversions
|
||||
early (#175), but the throughput problem remains. **DWG ≈ 30% read, ≈ 15% write.**
|
||||
early (#175), but the throughput problem remains. DGN line style components that no line style
|
||||
definition uses (leftovers of DGN imports, hundreds of thousands in some drawings) are left out
|
||||
on read with a note, so such files no longer exceed the DXF limit (#1482). **DWG ≈ 30% read,
|
||||
≈ 15% write.**
|
||||
|
||||
## DXF, version by version
|
||||
|
||||
@@ -135,6 +138,7 @@ our output in AutoCAD black-box.
|
||||
|
||||
| Date | Change | Summary |
|
||||
|---|---|---|
|
||||
| 2026-10-17 | minor | DWG read: DGN line style components no line style definition reaches are left out before the DXF bridge, with a read note; an 83 MB site plan with 888,483 of them (1.2 GB of DXF, over the limit) now opens (#1482) |
|
||||
| 2026-10-12 | minor | PDF output: object transparency plotted as PDF alpha (`/ExtGState` `/ca` `/CA`) when the page setup's or the plot's "Plot transparency" is on; PNG plots blend it, SVG uses `opacity`; plots without it are unchanged byte for byte |
|
||||
| 2026-10-12 | minor | DXF/DWG save: the Model layout's plot settings are written as CADCraft plots model space, drawing extents scaled to fit (PLOTSETTINGS 74 = 1, 75 = 0), instead of plot type 5 "Layout information", which other programs' Plot dialogs can't use for model space |
|
||||
| 2026-10-12 | minor | VIEWPORT frozen layers also written and read as AutoCAD's group 341 layer handles, so third-party viewers honour per-viewport freezing in DXF (DWG converter gap noted) |
|
||||
|
||||
Reference in New Issue
Block a user