mirror of
https://github.com/hannobraun/Fornjot
synced 2025-01-22 16:16:12 +00:00
Inline redundant variable
This commit is contained in:
parent
d3c7924f6b
commit
faf5fbb882
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user