Inline redundant variable

This commit is contained in:
Hanno Braun 2023-12-14 13:00:36 +01:00
parent d3c7924f6b
commit faf5fbb882

View File

@ -23,15 +23,18 @@ pub fn model(
let surface = services.objects.surfaces.xy_plane();
let path = Vector::from([0., 0., height]);
let sketch = Sketch::empty().add_region(
Region::circle(Point::origin(), outer, services)
.add_interiors([Cycle::circle(Point::origin(), inner, services)
Sketch::empty()
.add_region(
Region::circle(Point::origin(), outer, services)
.add_interiors([Cycle::circle(
Point::origin(),
inner,
services,
)
.reverse(services)
.insert(services)])
.insert(services),
);
sketch
.insert(services),
)
.sweep_sketch(surface, path, services)
.insert(services)
}