added small partes
This commit is contained in:
parent
2fb7ced78f
commit
76d198a166
68
openscad/own/sparkcube_accessories/endstop_clamp_x.scad
Normal file
68
openscad/own/sparkcube_accessories/endstop_clamp_x.scad
Normal file
@ -0,0 +1,68 @@
|
||||
sw_w=10.5;
|
||||
sw_t=6;
|
||||
sw_l=20;
|
||||
sw_clearance=1;
|
||||
sw_hole_dist=10;
|
||||
sw_hole_dia=2;
|
||||
mt=2;
|
||||
tab_w=20;
|
||||
tab_h=4;
|
||||
tab_d=10;
|
||||
$fn=20;
|
||||
offset=0.4;
|
||||
|
||||
module switch(){
|
||||
difference(){
|
||||
cube([sw_w,sw_t,sw_l]);
|
||||
rotate([90,0,0]){
|
||||
translate([sw_w/4,sw_l/2-sw_hole_dist/2,-sw_t])cylinder(d=sw_hole_dia,h=sw_t);
|
||||
translate([sw_w/4,sw_l/2+sw_hole_dist/2,-sw_t])cylinder(d=sw_hole_dia,h=sw_t);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
module tab(){
|
||||
union(){
|
||||
cube([tab_d,tab_w,tab_h]);
|
||||
translate([-tab_d,-tab_w/2,0])cube([tab_d,tab_w*2,tab_h]);
|
||||
}
|
||||
}
|
||||
|
||||
module bracket(){
|
||||
//switch baseplate
|
||||
difference(){
|
||||
cube([sw_w/2,mt,sw_l]);
|
||||
rotate([90,0,0]){
|
||||
translate([sw_w/4,sw_l/2-sw_hole_dist/2,-sw_t])cylinder(d=sw_hole_dia,h=sw_t);
|
||||
translate([sw_w/4,sw_l/2+sw_hole_dist/2,-sw_t])cylinder(d=sw_hole_dia,h=sw_t);
|
||||
}
|
||||
}
|
||||
// tab_clamp
|
||||
translate([tab_d/2,-tab_h,-mt]){
|
||||
difference(){
|
||||
translate([0,-offset,0])cube([mt,tab_h+mt+offset,tab_w+2*mt]);
|
||||
translate([0,tab_h,mt])rotate([90,0,0])tab();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
module extender(){
|
||||
difference(){
|
||||
cube([sw_l,sw_w*3,mt]);
|
||||
rotate([0,0,-90]){
|
||||
hull(){
|
||||
translate([-(sw_w*3/2)*0.25,sw_l/2-sw_hole_dist/2,0])#cylinder(d=sw_hole_dia,h=mt);
|
||||
translate([-(sw_w*3/2)*1.75,sw_l/2-sw_hole_dist/2,0])#cylinder(d=sw_hole_dia,h=mt);
|
||||
}
|
||||
hull(){
|
||||
translate([-(sw_w*3/2)*0.25,sw_l/2+sw_hole_dist/2,0])#cylinder(d=sw_hole_dia,h=mt);
|
||||
translate([-(sw_w*3/2)*1.75,sw_l/2+sw_hole_dist/2,0])#cylinder(d=sw_hole_dia,h=mt);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
translate([-tab_d/2,0,tab_h+mt])rotate([90,0,0])%switch();
|
||||
translate([0,-tab_w,0])%tab();
|
||||
translate([-tab_d/2,0,tab_h])rotate([90,0,0])bracket();
|
||||
//rotate([0,0,90])translate([-2*sw_w+mt/2,-sw_w*3/2,tab_h])extender();
|
32
openscad/own/stl-mixer/clamp-wireholder.scad
Normal file
32
openscad/own/stl-mixer/clamp-wireholder.scad
Normal file
@ -0,0 +1,32 @@
|
||||
// some basic 2d-to-3d-extrusion of Vectorfiles
|
||||
// by zeus - zeus@ctdo.de - CC-BY-NC-4.0
|
||||
// -> https://www.thingiverse.com/zeus
|
||||
// -> https://git.kostianix.de/zeus/3d-stuff
|
||||
// 2021-02-18
|
||||
// ###############
|
||||
|
||||
$fn=100; //resolution
|
||||
// ###############
|
||||
module mount(){
|
||||
difference(){
|
||||
translate([0,0,-10])import("mount.stl",center=true);
|
||||
translate([-17.6,-35,-1])cube([60,60,50]);
|
||||
translate([-40,6.5,-1])cube([30,20,10]);
|
||||
translate([-29,-19.7,-1])cylinder(r=7,h=50);
|
||||
translate([-40,-30,43.5])#cube([30,20,10]);
|
||||
}
|
||||
hull(){
|
||||
translate([-17.6,-16.5,0])cube([3,23,5]);
|
||||
translate([-17.6,-16.5,33.5])cube([3,5,10]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
mount();
|
||||
translate([-15,0,0]){
|
||||
difference(){
|
||||
mount();
|
||||
translate([-40,-30,4.5])cube([50,50,50]);
|
||||
translate([-40,-30,-1])cube([30.25,20,10]);
|
||||
}
|
||||
}
|
BIN
openscad/own/stl-mixer/mount.stl
Normal file
BIN
openscad/own/stl-mixer/mount.stl
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user