From 30b8974b7331bd10ff18cecd110816edab21c89e Mon Sep 17 00:00:00 2001 From: Hakan Seven Date: Thu, 6 Aug 2026 23:27:18 +0300 Subject: [PATCH] fix(solid3d): pick up the SAT record-splitting fix A drawing whose bodies are built only of planes opened without error but drew nothing, while the solids still selected. Pre-7.0 SAT writes strings as a length and the characters, so one may contain the record terminator; ODA's builder emits `8 STEP Id#` inside a dxid-attrib. The parser split there, every later record answered to the wrong index, and faces resolved their surface pointer to a coedge or a vertex, so nothing meshed. Fixed upstream in acadrust 41149d7. All 22 solids in the reported drawing now parse to exactly the record count their header declares, and all 22 mesh. Closes #670 Co-Authored-By: Claude Opus 5 --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 31465f183..ad401f063 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -85,7 +85,7 @@ checksum = "366ffbaa4442f4684d91e2cd7c5ea7c4ed8add41959a31447066e279e432b618" [[package]] name = "acadrust" version = "0.4.0" -source = "git+https://github.com/OpenAEC-Foundation/acadifc.git?rev=ab388a7#ab388a7de9b38f7b06e963c35b45fb35d9fee97a" +source = "git+https://github.com/OpenAEC-Foundation/acadifc.git?rev=41149d7#41149d7ee06c56fd7472bf3c234b1fbba2ba5cde" dependencies = [ "ahash 0.8.12", "anyhow", diff --git a/Cargo.toml b/Cargo.toml index d6c7f6645..b2758037b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -62,7 +62,7 @@ windows-sys = { version = "0.61", features = ["Win32_UI_Shell", "Win32_UI_Window ashpd = { version = "0.13.13", default-features = false, features = ["async-io", "wayland"] } [patch.crates-io] -acadrust = { git = "https://github.com/OpenAEC-Foundation/acadifc.git", rev = "ab388a7" } +acadrust = { git = "https://github.com/OpenAEC-Foundation/acadifc.git", rev = "41149d7" } iced_core = { git = "https://github.com/iced-rs/iced.git", rev = "23604ff22ab0aad9e00b9327cb7b8546ed84db39" } iced_widget = { git = "https://github.com/iced-rs/iced.git", rev = "23604ff22ab0aad9e00b9327cb7b8546ed84db39" }