This commit is contained in:
Hanno Braun 2022-06-28 15:54:03 +02:00
parent 07000b911f
commit 1d141c68e7
6 changed files with 6 additions and 18 deletions

View File

@ -39,9 +39,7 @@ impl ToShape for fj::Circle {
))
.get();
let shape = validate(vec![face], config)?;
Ok(shape)
validate(vec![face], config)
}
fn bounding_volume(&self) -> Aabb<3> {

View File

@ -80,9 +80,7 @@ impl ToShape for fj::Difference2d {
));
}
let difference = validate(difference, config)?;
Ok(difference)
validate(difference, config)
}
fn bounding_volume(&self) -> Aabb<3> {

View File

@ -23,9 +23,7 @@ impl ToShape for fj::Group {
shape.extend(a.into_inner());
shape.extend(b.into_inner());
let shape = validate(shape, config)?;
Ok(shape)
validate(shape, config)
}
fn bounding_volume(&self) -> Aabb<3> {

View File

@ -27,9 +27,7 @@ impl ToShape for fj::Sketch {
.build()
.get();
let shape = validate(vec![sketch], config)?;
Ok(shape)
validate(vec![sketch], config)
}
fn bounding_volume(&self) -> Aabb<3> {

View File

@ -21,9 +21,7 @@ impl ToShape for fj::Sweep {
let swept = sweep(shape.into_inner(), path, tolerance, color);
let swept = validate(swept, config)?;
Ok(swept)
validate(swept, config)
}
fn bounding_volume(&self) -> Aabb<3> {

View File

@ -20,9 +20,7 @@ impl ToShape for fj::Transform {
let faces = transform(&shape, &make_transform(self));
let shape = validate(faces, config)?;
Ok(shape)
validate(faces, config)
}
fn bounding_volume(&self) -> Aabb<3> {