This is a collection of assorted astronomy related parts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

71 lines
1.9 KiB

/*
* Astro Parts -- Camera Shim
*
* Copyright (c) 2021 Steve Cross <flip@foxhollow.cc>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
// [unit: mm]
width = 35;
// [unit: mm]
height = 31;
// height = 5;
// [unit: mm]
length = 40;
// [unit: mm]
bolt_shaft_d = 6.75;
// [unit: mm]
alignment_pin_d = 6.5;
// [unit: mm]
alignment_pin_h = 5;
// [unit: mm]
// distance from the outside of the bolt hole to the alignment pins
alignment_pin_offset = 2;
$fn = 360;
difference() {
cube([width, length, height]);
translate([width/2, length/2, -1])
cylinder(h=height+2, d=bolt_shaft_d);
}
// pin 1
translate([width/2, length/2+(alignment_pin_offset+bolt_shaft_d/2), 0]) {
difference() {
cylinder(h=height+alignment_pin_h, d=alignment_pin_d);
translate([-alignment_pin_d/2, -alignment_pin_d/2, -1])
cube([alignment_pin_d, alignment_pin_d/2, height+alignment_pin_h+2]);
}
}
// pin 2
translate([width/2, length/2-(alignment_pin_offset+bolt_shaft_d/2), 0]) {
difference() {
cylinder(h=height+alignment_pin_h, d=alignment_pin_d);
translate([-alignment_pin_d/2, 0, -1])
cube([alignment_pin_d, alignment_pin_d/2, height+alignment_pin_h+2]);
}
}