dwg2geo 0.2.5
- Upgraded the embedded conversion core from dwg2geo 0.2.3 to 0.2.7
(which reads ‘DWG’ with ‘acadrust’ 0.5.1). What changes in the results:
- Splines are sampled at every knot and each piece is subdivided until
the chord tolerance holds, so detail between closely spaced knots is no
longer stepped over; spline coordinates differ from earlier versions and
most splines need fewer points. Hatch boundaries with spline edges
change the same way.
- With
polygonize_closed = TRUE, a closed path whose
vertices are collinear stays a line (with a warning) instead of becoming
an invalid zero-area polygon; zero-area
SOLID/3DFACE entities and hatch loops are
skipped with a reason.
text_rotation_deg of model-space TEXT with
a non-default extrusion (mirrored text) is now in the same frame as the
coordinates.
- ‘MTEXT’
\U+XXXX escapes are decoded to the
character.
- Errors reported by the ‘DWG’ reader while parsing appear in
$warnings.
- Drawings can no longer exhaust memory through block references:
expansion is capped at 10 million block-entity placements per drawing (a
‘MINSERT’ grid or deeply nested blocks could describe billions); a
reference past the cap is reported in
$failed.
- Third-party credit:
DESCRIPTION and the README now name
‘acadrust’ (by Hakan AK, MPL-2.0), the bundled library that reads the
‘DWG’ format, and record its author and the authors of the vendored
‘Rust’ crates as copyright holders (Authors@R and a new
Copyright field). New inst/AUTHORS lists every
vendored crate with its version, license and copyright holders; new
inst/COPYRIGHTS reproduces the MPL-2.0 text, says where the
‘acadrust’ source is, and carries the notices of the crates that are not
under the MIT license (both generated by
tools/make-copyrights.py). Added the ‘Autodesk’ trademark
disclaimer.
dwg2geo 0.2.4
- Fixed installation on CRAN’s macOS builders:
cargo is
invoked with ~/.cargo/bin appended to the
PATH, covering rustup installations that are not on the
default PATH (0.2.3 failed to install on all four CRAN
macOS flavors with “cargo: command not found”).
- Upgraded the embedded conversion core to dwg2geo 0.2.3, which adds
six entity semantics (curve-fit polylines, dimensions, mlines,
multileaders, polyface meshes, model-space attdefs) and geodata
reporting.
dwg2geo 0.2.3
- CRAN resubmission: the Rust build tree (
src/rust/target
and the extracted src/rust/vendor sources) is now removed
as soon as the shared library is linked. R (>= 4.5) scans leftover
objects under src/ for entry points such as
abort(), and the Rust standard library’s panic runtime in
the intermediate static library triggered a spurious “Found ‘abort’”
WARNING. No R-facing changes.
dwg2geo 0.2.2
- CRAN resubmission: excluded
cran-comments.md from the
source tarball, fixed the license and acadrust links in
README.md, and quoted the format names in the
DESCRIPTION title. No code changes.
dwg2geo 0.2.1
- Initial CRAN submission.
dwg_convert() converts AutoCAD 2013+ DWG drawings to
GeoJSON in-process (pure-Rust core, no CAD software required), returning
the feature collection plus a full audit report
(converted/skipped/failed tibbles with reasons, warnings, bbox, source
SHA-256).
dwg_as_sf() reads a result into sf, keeping the CRS
decision explicit.
dwg_core_version() reports the embedded conversion core
version.