diff --git a/models/cuboid/src/lib.rs b/models/cuboid/src/lib.rs index 758f76e18..d7b9aaf5e 100644 --- a/models/cuboid/src/lib.rs +++ b/models/cuboid/src/lib.rs @@ -19,7 +19,7 @@ pub fn model( ) -> Handle { let [x, y, z] = size.into().components; - let surface = services.objects.surfaces.xy_plane(); + let bottom_surface = services.objects.surfaces.xy_plane(); let sweep_path = Vector::from([Scalar::ZERO, Scalar::ZERO, z]); Sketch::empty() @@ -35,6 +35,6 @@ pub fn model( ) .insert(services), ) - .sweep_sketch(surface, sweep_path, services) + .sweep_sketch(bottom_surface, sweep_path, services) .insert(services) }