forked from 1b-agent/fieldcraft-upstream
geometry: a face split along a plane for meshing only (#508)
The face's triangles are cut along the plane, split:<name>:a on its negative side and :b on the other, both on the face's surface, with the cut as a new edge between them and the face's edges cut where the plane crosses them. Applied after the merges; the B-rep is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UhhZMBTviDQxZvwnyP89fo
This commit is contained in:
1 parent
59a02b0172
commit
e8e3fc647c
5 files changed
+438
-7
No files matched your search
@@ -129,7 +129,7 @@ pub(crate) fn rebuild(doc: &Document) -> Result<Design> {
|
||||
.map(|(i, name)| Face { name: name.clone(), exact: naming::face_name_exact(b, i), members: Vec::new() })
|
||||
.collect())
|
||||
})?;
|
||||
bodies.push(Shape { name: b.name.clone(), body: b.body.clone(), faces, face_map: Vec::new() });
|
||||
bodies.push(Shape { name: b.name.clone(), body: b.body.clone(), faces, face_map: Vec::new(), cuts: Vec::new() });
|
||||
}
|
||||
// A feature that failed leaves a different solid than SolidCraft's: each one names the bodies
|
||||
// it would have changed, so opening never hands back a silently different solid.
|
||||
|
||||
Reference in new issue
Block a user