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.
 

43 lines
1.4 KiB

/*
* Astro Parts -- Generic Eyepiece Plug
*
* 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.
*/
top_diameter_125 = 42;
inner_d_125 = 31;
inner_depth_125 = 16;
wall_thickness = 2;
module make_1_25_eyepiece_plug() {
make_eyepiece_plug(top_diameter_125, inner_d_125, inner_depth_125);
}
module make_eyepiece_plug(top_diameter, inner_d, inner_depth, thickness=wall_thickness) {
difference() {
union() {
translate([0, 0, thickness])
cylinder(h=inner_depth, d=inner_d);
cylinder(h=thickness, d=top_diameter);
};
translate([0, 0, thickness])
cylinder(h=inner_depth+3, d=inner_d-(thickness*2));
};
}
$fn=360;