Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
5aae83fafThis file is pinned to the selected release. Download the original to open it in your design tool.
use opencascade::primitives::Shape;
pub fn shape() -> Shape {
let my_box = Shape::box_with_dimensions(10.0, 10.0, 1.0);
let another_box = Shape::box_with_dimensions(1.0, 1.0, 0.8);
my_box.subtract(&another_box).chamfer(0.07)
}