mirror of
https://github.com/bherbruck/solidcraft.git
synced 2026-11-06 20:02:16 +00:00
kernel: sweep histories attach with no edge origins given
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017itGh5fpMEousnZ91cYcVt
This commit is contained in:
@@ -284,7 +284,7 @@ mod imp {
|
||||
let brep = Brep::make_sphere(p(center), radius).map_err(|e| failed("sphere", e))?;
|
||||
let body = body_of(&brep, "sphere")?;
|
||||
let faces = body.face_count();
|
||||
record::attach(body, &[], Some(vec![record::profile(&[0usize]); faces]), Default::default())
|
||||
Ok(record::attach(body, &[], Some(vec![record::profile(&[0usize]); faces]), &[]))
|
||||
}
|
||||
|
||||
/// A point a wall is known by: on its edge in the start plane, or inside it; and the piece
|
||||
@@ -407,7 +407,7 @@ mod imp {
|
||||
}
|
||||
|
||||
fn with_history(body: Body, roles: &[Role], pieces: &[Piece]) -> Result<Body> {
|
||||
record::attach(body, &[], Some(history(roles, pieces)), Default::default())
|
||||
Ok(record::attach(body, &[], Some(history(roles, pieces)), &[]))
|
||||
}
|
||||
|
||||
/// The profile `pieces` on `plane`, moved `from` along its normal, extruded `distance`
|
||||
|
||||
Reference in New Issue
Block a user