diff --git a/experiments/2025-03-18/src/operations/connect.rs b/experiments/2025-03-18/src/operations/connect.rs index 27e567b73..f2497b4b2 100644 --- a/experiments/2025-03-18/src/operations/connect.rs +++ b/experiments/2025-03-18/src/operations/connect.rs @@ -55,9 +55,6 @@ 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_b), (top_a, top_b))| { - let a = &bottom_half_edge.start; - let b = bottom_b; - let is_internal = match [bottom_half_edge.is_internal, top_a.is_internal] { [true, true] => true, @@ -70,6 +67,9 @@ fn build_connecting_faces(bottom: &Face, top: &Face) -> Vec> { } }; + let a = &bottom_half_edge.start; + let b = bottom_b; + let surface = Handle::new(Surface { geometry: Box::new(Plane::from_points( [a, b, &top_a.start].map(|vertex| vertex.point),