Skip to content

Commit

Permalink
Fixed the top of narrow proximity sensor mount
Browse files Browse the repository at this point in the history
  • Loading branch information
stro committed Apr 4, 2022
1 parent e304f49 commit ce3548b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions AnnealerCase.scad
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// $Id: AnnealerCase.scad 61 2022-04-04 00:08:37Z stro $
// $Id: AnnealerCase.scad 62 2022-04-04 04:04:54Z stro $
/*
* Copyright (c) 2022 sttek.com <https://sttek.com>
*
Expand Down Expand Up @@ -2062,19 +2062,19 @@ module proximity_sensor_mount_embossed () {
module proximity_sensor_mount_engraved (hole_diameter = tube_hole_diameter) {
// Top
translate([0, 0, sensor_mount_height - mount_size / 2])
cylinder(h = mount_size, d = hole_diameter + 2 * tube_wall_thickness + 2 * drop_connector_gap, center = true);
cylinder(h = mount_size, d = tube_hole_diameter + 2 * tube_wall_thickness + 2 * drop_connector_gap, center = true);

// Middle
translate([0, 0, sensor_mount_height - mount_size - mount_size / 2])
cylinder(h = mount_size, d1 = hole_diameter + 2 * drop_connector_gap, d2 = hole_diameter + 2 * tube_wall_thickness + 2 * drop_connector_gap, center = true);
cylinder(h = mount_size, d1 = hole_diameter + 2 * drop_connector_gap, d2 = tube_hole_diameter + 2 * tube_wall_thickness + 2 * drop_connector_gap, center = true);

// Bottom
translate([0, 0, sensor_mount_height / 2 - mount_size / 2])
cylinder(h = sensor_mount_height, d = hole_diameter + 2 * drop_connector_gap, center = true);

rotate([0, 0, 90])
translate([0, 0, sensor_mount_height - mount_size / 2])
cube([hole_diameter + 4 * tube_wall_thickness + 20, tube_wall_thickness + drop_connector_gap, mount_size], center = true);
cube([tube_hole_diameter + 4 * tube_wall_thickness + 20, tube_wall_thickness + drop_connector_gap, mount_size], center = true);

zlist = sensor_low_mounts ? [mount_size / 2, sensor_mount_height - mount_size / 2] : [sensor_mount_height - mount_size / 2];

Expand Down

0 comments on commit ce3548b

Please sign in to comment.