diff --git a/models/star/src/lib.rs b/models/star/src/lib.rs index 936c7a3cf..1e74957aa 100644 --- a/models/star/src/lib.rs +++ b/models/star/src/lib.rs @@ -43,7 +43,7 @@ pub fn model( inner_points.push([x / 2., y / 2.]); } - let surface = services.objects.surfaces.xy_plane(); + let bottom_surface = services.objects.surfaces.xy_plane(); let path = Vector::from([0., 0., h]); Sketch::empty() @@ -54,6 +54,6 @@ pub fn model( .insert(services)]) .insert(services), ) - .sweep_sketch(surface, path, services) + .sweep_sketch(bottom_surface, path, services) .insert(services) }