Compare commits
No commits in common. "a407f8fc9f3b91593d2aefee4ae77c8d15e1f2d7" and "4cc3e41c0a205c773f9e697832be846a01331499" have entirely different histories.
a407f8fc9f
...
4cc3e41c0a
7 changed files with 10 additions and 10088 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +0,0 @@
|
||||||
/.idea
|
|
|
@ -1,3 +1,2 @@
|
||||||
# MattSCAD
|
# scad-lib
|
||||||
Matt's custom OpenSCAD Library.
|
My custom SCAD library, contains bits and pieces like a metric bolt generator, and an extrusion generator.
|
||||||
This is my custom SCAD library, contains bits and pieces like a metric bolt generator, and an extrusion generator.
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ module bearing(id, od, wd, mcmaster, series, labels=false){
|
||||||
color("grey")cylinder(d=od,h=wd, center=true);
|
color("grey")cylinder(d=od,h=wd, center=true);
|
||||||
color("white")cylinder(d=id,h=wd+1, center=true);
|
color("white")cylinder(d=id,h=wd+1, center=true);
|
||||||
if($preview && labels){
|
if($preview && labels){
|
||||||
bearing_lettering(id, od, wd, mcmaster, series);
|
bearing_lettering(id, od, wd, mcmaster, series);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -101,7 +101,7 @@ module bearing_16100(labels=true){ bearing(10,28,8,"5972K223","16100", labels=la
|
||||||
module bearing_16101(labels=true){ bearing(12,30,8,"5972K224","16101", labels=labels); }
|
module bearing_16101(labels=true){ bearing(12,30,8,"5972K224","16101", labels=labels); }
|
||||||
|
|
||||||
translate([0,0,0])
|
translate([0,0,0])
|
||||||
{
|
{
|
||||||
bearing_6800();
|
bearing_6800();
|
||||||
bearing_6804();
|
bearing_6804();
|
||||||
bearing_6907();
|
bearing_6907();
|
||||||
|
@ -111,7 +111,7 @@ translate([0,0,0])
|
||||||
|
|
||||||
|
|
||||||
translate([0,60,0])
|
translate([0,60,0])
|
||||||
{
|
{
|
||||||
bearing_6800(labels=false);
|
bearing_6800(labels=false);
|
||||||
bearing_6804(labels=false);
|
bearing_6804(labels=false);
|
||||||
bearing_6907(labels=false);
|
bearing_6907(labels=false);
|
||||||
|
|
10054
dollatek_motor.stl
10054
dollatek_motor.stl
File diff suppressed because it is too large
Load diff
|
@ -6,7 +6,7 @@ module doubleExtrusion(width,length, center=false){
|
||||||
translate([0,(width - extraWallWidth)/2,length/2])
|
translate([0,(width - extraWallWidth)/2,length/2])
|
||||||
cube([center?0:width/2,extraWallWidth,length], center=true);
|
cube([center?0:width/2,extraWallWidth,length], center=true);
|
||||||
}
|
}
|
||||||
|
|
||||||
translate([(width/2),0,0])
|
translate([(width/2),0,0])
|
||||||
children();
|
children();
|
||||||
translate([(width/2)*-1,0,0])
|
translate([(width/2)*-1,0,0])
|
||||||
|
@ -44,17 +44,17 @@ module extrusion_sub(length=10, outer=40, tSlot=8, gusset=4.5, bore=7, center=fa
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Crossbar
|
// Crossbar
|
||||||
mirrorCopy(){
|
mirrorCopy(){
|
||||||
rotate(45)
|
rotate(45)
|
||||||
cube([outer*1.3, gusset, length], center=true);
|
cube([outer*1.3, gusset, length], center=true);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Core
|
// Core
|
||||||
cube([bore*2,bore*2,length], center=true);
|
cube([bore*2,bore*2,length], center=true);
|
||||||
};
|
};
|
||||||
|
|
||||||
union(){
|
union(){
|
||||||
// Tappable Bore
|
// Tappable Bore
|
||||||
cylinder(d=bore, h=length+2, center=true);
|
cylinder(d=bore, h=length+2, center=true);
|
||||||
|
|
20
hexgrid.scad
20
hexgrid.scad
|
@ -1,20 +0,0 @@
|
||||||
module hexGrid(fillRatio=0.5, gridSize=10, height=1, center=false, rows=3, columns=4) {
|
|
||||||
colMulti = 0.752;
|
|
||||||
rowMulti = 0.86;
|
|
||||||
offset = [
|
|
||||||
(gridSize*colMulti)*((columns-1)/2),
|
|
||||||
(gridSize*rowMulti)*((rows-.5)/2),
|
|
||||||
0] * -1;
|
|
||||||
translate(offset){
|
|
||||||
for(row= [0:rows-1]){
|
|
||||||
translate([0,gridSize*row*rowMulti,0])
|
|
||||||
for(col=[0:columns-1]){
|
|
||||||
translate([gridSize*col*colMulti,col%2?(gridSize*rowMulti)/2:0,0])
|
|
||||||
cylinder(h=height,d=gridSize*fillRatio, $fn=6, center=center);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
hexGrid(fillRatio=0.8, gridSize=10, height=10, center=false);
|
|
|
@ -1,4 +1,3 @@
|
||||||
$fn=$preview ? 60 : 360;
|
|
||||||
include <../Lib/bearings.scad>;
|
include <../Lib/bearings.scad>;
|
||||||
include <../Lib/mirrorcopy.scad>;
|
include <../Lib/mirrorcopy.scad>;
|
||||||
include <../Lib/part_splitter.scad>;
|
include <../Lib/part_splitter.scad>;
|
||||||
|
@ -11,5 +10,4 @@ include <../Lib/corner_radiuser.scad>;
|
||||||
include <../Lib/gears.scad>;
|
include <../Lib/gears.scad>;
|
||||||
include <../Lib/prism.scad>;
|
include <../Lib/prism.scad>;
|
||||||
include <../Lib/fillet_cylinder.scad>;
|
include <../Lib/fillet_cylinder.scad>;
|
||||||
include <../Lib/o-ring.scad>;
|
include <../Lib/o-ring.scad>;
|
||||||
include <../Lib/hexgrid.scad>;
|
|
Loading…
Reference in a new issue