mirror of
https://github.com/bherbruck/solidcraft.git
synced 2026-11-05 03:25:58 +00:00
Mesh convert: a reconstructed bore is one wall, so the bracket has 9 faces
The L's six sides, its two caps and the bore: since tangency-labs/smlib#67 the full circle the conversion fits extrudes to one full-turn wall, not two halves. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -141,7 +141,8 @@ fn exported_binary_stl_with_a_bore_reconstructs_analytic_faces() {
|
||||
assert!(!body.is_mesh());
|
||||
assert!(body.validity().is_empty());
|
||||
assert_eq!(solidcraft_kernel::measure(body).unwrap().merged.face_types.get("cylinder"), Some(&1));
|
||||
assert_eq!(body.faces(0.01).unwrap().len(), 10);
|
||||
// The L's six sides, the two caps and the bore, one full-turn wall.
|
||||
assert_eq!(body.faces(0.01).unwrap().len(), 9);
|
||||
std::fs::remove_file(path).unwrap();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user