build(deps): bump acadrust to 486c0a9; handle the Helix entity

Pull in this session's acadrust work — the HELIX / ACAD_TABLE read+write,
underlay reader/writer/definition, spline tolerances & tangents, etc. The new
EntityType::Helix variant breaks three exhaustive matches; add its arm to
entity_type_name, the UI-name / DXF-name maps and entity_type_key.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
This commit is contained in:
Hakan SevenandClaude Opus 4.8 committed 2026-07-02 23:28:37 +03:00
1 parent 41f4a062dc
commit 147255aa40
4 files changed
+5 -1

No files matched your search

Generated
+1 -1
View File
@@ -71,7 +71,7 @@ checksum = "366ffbaa4442f4684d91e2cd7c5ea7c4ed8add41959a31447066e279e432b618"
[[package]]
name = "acadrust"
version = "0.4.0"
source = "git+https://github.com/HakanSeven12/acadrust?branch=main#e88a9a6afdcf20db4c1f3140088b2f4b8b851e2b"
source = "git+https://github.com/HakanSeven12/acadrust?branch=main#486c0a9447774e3997d4ff3c7645263b8bad72b7"
dependencies = [
"ahash 0.8.12",
"anyhow",
+1
View File
@@ -313,6 +313,7 @@ pub(super) fn entity_type_key(entity: &acadrust::EntityType) -> String {
Arc(_) => "arc",
Ellipse(_) => "ellipse",
Spline(_) => "spline",
Helix(_) => "helix",
LwPolyline(_) | Polyline(_) => "pline",
Polyline2D(_) => "pline2d",
Polyline3D(_) => "pline3d",
+2
View File
@@ -18,6 +18,7 @@ pub fn ui_name(e: &EntityType) -> &'static str {
EntityType::Arc(_) => "Arc",
EntityType::Ellipse(_) => "Ellipse",
EntityType::Spline(_) => "Spline",
EntityType::Helix(_) => "Helix",
EntityType::LwPolyline(_) => "Polyline",
EntityType::Polyline(_) => "Polyline",
EntityType::Polyline2D(_) => "Polyline2D",
@@ -77,6 +78,7 @@ pub fn dxf_name(e: &EntityType) -> &'static str {
EntityType::Dimension(_) => "DIMENSION",
EntityType::Viewport(_) => "VIEWPORT",
EntityType::Spline(_) => "SPLINE",
EntityType::Helix(_) => "HELIX",
EntityType::Ellipse(_) => "ELLIPSE",
EntityType::Point(_) => "POINT",
EntityType::Ray(_) => "RAY",
+1
View File
@@ -111,6 +111,7 @@ pub fn entity_type_name(et: &EntityType) -> &'static str {
EntityType::Text(_) => "Text",
EntityType::MText(_) => "MText",
EntityType::Spline(_) => "Spline",
EntityType::Helix(_) => "Helix",
EntityType::Dimension(_) => "Dimension",
EntityType::Hatch(_) => "Hatch",
EntityType::Solid(_) => "Solid",