mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-28 13:41:37 +00:00
Inline redundant variable
This commit is contained in:
parent
a99b99ec21
commit
19ad4456dd
@ -46,15 +46,14 @@ pub fn model(
|
|||||||
let surface = services.objects.surfaces.xy_plane();
|
let surface = services.objects.surfaces.xy_plane();
|
||||||
let path = Vector::from([0., 0., h]);
|
let path = Vector::from([0., 0., h]);
|
||||||
|
|
||||||
let sketch = Sketch::empty().add_region(
|
Sketch::empty()
|
||||||
Region::polygon(outer_points, services)
|
.add_region(
|
||||||
.add_interiors([Cycle::polygon(inner_points, services)
|
Region::polygon(outer_points, services)
|
||||||
.reverse(services)
|
.add_interiors([Cycle::polygon(inner_points, services)
|
||||||
.insert(services)])
|
.reverse(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