Skip to content

Commit

Permalink
Comment out the case splitting code
Browse files Browse the repository at this point in the history
  • Loading branch information
bschwind committed Sep 12, 2024
1 parent e93558b commit 2115df7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions examples/src/keyboard_case.rs
Original file line number Diff line number Diff line change
Expand Up @@ -344,17 +344,17 @@ pub fn shape() -> Shape {
}

// For exporting to smaller 3D printers
let corner_1 = DVec3::new(CASE_LEFT, CASE_BOTTOM, CASE_BOTTOM_Z);
let corner_2 = DVec3::new(CASE_RIGHT / 2.0, CASE_TOP, CASE_TOP_Z);
let left_half = Shape::box_from_corners(corner_1, corner_2);
// let corner_1 = DVec3::new(CASE_LEFT, CASE_BOTTOM, CASE_BOTTOM_Z);
// let corner_2 = DVec3::new(CASE_RIGHT / 2.0, CASE_TOP, CASE_TOP_Z);
// let left_half = Shape::box_from_corners(corner_1, corner_2);

// let corner_1 = DVec3::new(CASE_RIGHT / 2.0, CASE_BOTTOM, CASE_BOTTOM_Z);
// let corner_2 = DVec3::new(CASE_RIGHT, CASE_TOP, CASE_TOP_Z);
// let right_half = Shape::box_from_corners(corner_1, corner_2);

let shape = shape.intersect(&left_half);
// let shape = shape.intersect(&left_half);

shape.write_stl("lol.stl").unwrap();
// shape.write_stl("keyboard_half.stl").unwrap();

shape.into()
shape
}

0 comments on commit 2115df7

Please sign in to comment.