forked from 1b-agent/opencadstudio-upstream
chore: take the kernel and codec that draw the missing faces
Two faults kept faces out of a lifted solid, and both looked like a document problem rather than a reader one — the lift reported no loss at all. An edge's stored parameter pair can span the right length from the wrong place, putting a straight curve beside the face it bounds instead of along it. And a loop's coedges are not always listed in the order the ring runs, which the old chaining could not fix: it reversed the next piece in the list, where what was needed was a different piece. Either one leaves a ring that crosses itself, which ear clipping declines, so the face is dropped without a word. Handle 176 of Annotation-2D-Mesh-Solid-BIM.dwg now meshes all fourteen of its faces, where it managed ten. Across that file: 105 of 107 solids complete, 865 of 867 faces. Across VILLA_NEU_IFC3.dwg: 672 of 763 solids, 58922 of 59033 faces. The fallback sampler stays until that reaches all of them — a complete mesh is what stops it running, and 111 faces still need it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5a2aa13b74
commit
60ec29375f
2 files changed
+4
-4
No files matched your search
+1
-1
@@ -30,7 +30,7 @@ env_logger = "0.11"
|
||||
# The CAD stack is reached through acadifc, which re-exports the codec and
|
||||
# the geometry kernel. Aliased to `acadrust` so existing `use acadrust::…`
|
||||
# paths keep resolving.
|
||||
acadrust = { package = "acadifc", git = "https://github.com/OpenAEC-Foundation/acadifc.git", rev = "88e3308", features = ["serde", "offset"] }
|
||||
acadrust = { package = "acadifc", git = "https://github.com/OpenAEC-Foundation/acadifc.git", rev = "1ffe44e", features = ["serde", "offset"] }
|
||||
dwg-thumbnailer = { path = "crates/dwg-thumbnailer" }
|
||||
flate2 = "1"
|
||||
image = { version = "0.25", default-features = false, features = ["png", "jpeg", "bmp", "tiff"] }
|
||||
|
||||
Reference in new issue
Block a user