mirror of
https://github.com/hannobraun/Fornjot
synced 2025-01-23 00:26:08 +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 surface = services.objects.surfaces.xy_plane();
|
||||||
let path = Vector::from([0., 0., height]);
|
let path = Vector::from([0., 0., height]);
|
||||||
|
|
||||||
let sketch = Sketch::empty().add_region(
|
Sketch::empty()
|
||||||
Region::circle(Point::origin(), outer, services)
|
.add_region(
|
||||||
.add_interiors([Cycle::circle(Point::origin(), inner, services)
|
Region::circle(Point::origin(), outer, services)
|
||||||
|
.add_interiors([Cycle::circle(
|
||||||
|
Point::origin(),
|
||||||
|
inner,
|
||||||
|
services,
|
||||||
|
)
|
||||||
.reverse(services)
|
.reverse(services)
|
||||||
.insert(services)])
|
.insert(services)])
|
||||||
.insert(services),
|
.insert(services),
|
||||||
);
|
)
|
||||||
|
|
||||||
sketch
|
|
||||||
.sweep_sketch(surface, path, services)
|
.sweep_sketch(surface, path, services)
|
||||||
.insert(services)
|
.insert(services)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user