diff --git a/experiments/2025-03-18/src/operations/connect.rs b/experiments/2025-03-18/src/operations/connect.rs index 7e116ee1c..79b09ba4d 100644 --- a/experiments/2025-03-18/src/operations/connect.rs +++ b/experiments/2025-03-18/src/operations/connect.rs @@ -55,7 +55,10 @@ fn build_connecting_faces(bottom: &Face, top: &Face) -> Vec> { .half_edges_with_end_vertex() .zip(top.half_edges_with_end_vertex()) .map( - |((bottom_half_edge, bottom_half_edge_end), (top_a, top_b))| { + |( + (bottom_half_edge, bottom_half_edge_end), + (top_a, top_half_edge_end), + )| { let is_internal = match [ bottom_half_edge.is_internal, top_a.is_internal, @@ -72,7 +75,7 @@ fn build_connecting_faces(bottom: &Face, top: &Face) -> Vec> { let a = &bottom_half_edge.start; let b = bottom_half_edge_end; - let c = top_b; + let c = top_half_edge_end; let surface = Handle::new(Surface { geometry: Box::new(Plane::from_points(