-
Notifications
You must be signed in to change notification settings - Fork 0
/
KnifeSharpener2.scad
160 lines (140 loc) · 3.63 KB
/
KnifeSharpener2.scad
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
$fa = 1;
$fs = 0.4;
OVERLAP_FIXER_THING = 0.0008;
// Guide
GUIDE_DEPTH = 37;
GUIDE_WIDTH = 35;
GUIDE_HEIGHT = 10;
// Holder Base
BASE_WIDTH = 35;
BASE_DEPTH = 120;
BASE_HEIGHT = 10;
// Grinding Stone
//24.33
STONE_WIDTH = 24.4;
//101.6
STONE_DEPTH = 101.7;
//6.95
STONE_HEIGHT = 6.98;
module Handle(x=10, y=100, z=10, diameter=10) {
translate([0,y/2,0]){
sphere(d=diameter);
}
intersection(){
resize([x, y, z]){
sphere(d=diameter);
}
translate([0, y/4 + diameter/4, 0]) {
cube([x, y/2 + diameter/2, y], true);
}
}
}
module GuideRail(length) {
rotate([90, 0, 0])
linear_extrude(height = length, center = true, convexity = 10, twist = 0)
polygon(points=[[0 - OVERLAP_FIXER_THING,0 - OVERLAP_FIXER_THING],[BASE_HEIGHT*.67,0],[0,BASE_HEIGHT]], center=true);
}
module BaseBody() {
cube([BASE_WIDTH, BASE_DEPTH, BASE_HEIGHT], true);
translate([0, BASE_DEPTH/2, 0]){
Handle(y = BASE_DEPTH, x=18);
}
// rotate([0, 0, 180]) {
// translate([0, BASE_DEPTH/2, 0]){
// Handle(y = BASE_DEPTH*.7, x=15);
// }
// }
}
module Stone() {
cube([STONE_WIDTH, STONE_DEPTH, STONE_HEIGHT + OVERLAP_FIXER_THING], true);
}
module Base() {
difference(){
BaseBody();
translate([BASE_WIDTH/2, 0, -BASE_HEIGHT/2]){
rotate([0,0,180]){
GuideRail(BASE_DEPTH + OVERLAP_FIXER_THING);
}
}
translate([-BASE_WIDTH/2 - OVERLAP_FIXER_THING, 0, -BASE_HEIGHT/2]){
GuideRail(BASE_DEPTH + OVERLAP_FIXER_THING);
}
translate([0, 0, BASE_HEIGHT-STONE_HEIGHT]){
Stone();
}
}
}
module GuideIndent(args) {
cube([STONE_WIDTH, GUIDE_DEPTH + OVERLAP_FIXER_THING, STONE_HEIGHT + OVERLAP_FIXER_THING], true);
}
module GuideSlant() {
translate([0, -GUIDE_DEPTH/2, GUIDE_HEIGHT]) {
rotate([90, 90, 90]){
linear_extrude(height = GUIDE_WIDTH * 3, center = true, convexity = 10, twist = 0){
polygon(points=[[0 - OVERLAP_FIXER_THING,0 - OVERLAP_FIXER_THING],[GUIDE_HEIGHT,0],[0,GUIDE_DEPTH]], center=true);
}
}
}
}
module GuideBody(){
cube([GUIDE_WIDTH, GUIDE_DEPTH, GUIDE_HEIGHT], true);
}
module GuideSide() {
translate([-BASE_WIDTH/2, 0, -GUIDE_HEIGHT]) {
rotate([0, 0, 0]) {
GuideRail(GUIDE_DEPTH);
}
}
translate([-BASE_WIDTH/2, 0, 0]) {
rotate([180, 0, 180]) {
GuideRail(GUIDE_DEPTH);
}
}
rotate([0, 0, 180]) {
translate([BASE_WIDTH/2, 0, 0]) {
GuideRail(GUIDE_DEPTH);
}
}
}
module Guide() {
difference() {
union() {
GuideSide();
rotate([0, 0, 180]) {
GuideSide();
}
translate([0, 0, 5]){
GuideBody();
}
translate([-BASE_WIDTH/2, 11, -5]) {
rotate([0, 0, 90]) {
Handle(y = GUIDE_WIDTH*3, x=15);
}
}
translate([BASE_WIDTH/2, 11, -5]) {
rotate([0, 0, -90]) {
Handle(y = GUIDE_WIDTH*3, x=15);
}
}
}
GuideSlant();
GuideIndent();
}
}
// FOR DISPLAY AND WORKING
// translate([0, 0, GUIDE_HEIGHT]) {
// Guide();
// }
// translate([0, 0, BASE_HEIGHT/2]) {
// Base();
// }
// GuideSide();
// FOR PRINTING
// translate([0, 0, GUIDE_DEPTH/2]) {
// rotate([-90, 0, 0]) {
// Guide();
// }
// }
translate([0, 0, BASE_HEIGHT/2]) {
Base();
}