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.
|
|
||||||
|
|
10054
dollatek_motor.stl
10054
dollatek_motor.stl
File diff suppressed because it is too large
Load diff
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>;
|
||||||
|
@ -12,4 +11,3 @@ 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