diff --git a/crates/fj-kernel/src/algorithms/sweep/face.rs b/crates/fj-kernel/src/algorithms/sweep/face.rs index 743661428..5b59cc6d5 100644 --- a/crates/fj-kernel/src/algorithms/sweep/face.rs +++ b/crates/fj-kernel/src/algorithms/sweep/face.rs @@ -5,10 +5,9 @@ use itertools::Itertools; use crate::{ algorithms::{reverse::Reverse, transform::TransformObject}, - builder::CycleBuilder, geometry::curve::GlobalPath, - objects::{Face, Shell}, - operations::Insert, + objects::{Cycle, Face, Shell}, + operations::{BuildCycle, Insert, JoinCycle}, services::Services, storage::Handle, }; @@ -82,8 +81,8 @@ impl Sweep for Handle { )); } - let top_cycle = CycleBuilder::connect_to_edges(top_edges, services) - .build(services) + let top_cycle = Cycle::empty() + .add_joined_edges(top_edges, services) .insert(services); if i == 0 {