forked from jcrocholl/kossel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Printed frame surrounding round glass, to be attached with clear tape…
…. This should prevent sideways wobble of the print surface but allow precise FSR autolevel.
- Loading branch information
Showing
3 changed files
with
52 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
include <configuration.scad>; | ||
|
||
fsr_height = 1.0; | ||
height = 25.4 / 4 + fsr_height; | ||
glass_radius = 172 / 2; | ||
outside_radius = glass_radius * 1.15; | ||
triangle_radius = glass_radius * 2.13; | ||
|
||
module curve_slot(r, h) { | ||
linear_extrude(h) minkowski() { | ||
union() { | ||
circle(r=r, h=2*height, center=true, $fn=12); | ||
} | ||
intersection() { | ||
square([16, 3*glass_radius], center=true); | ||
difference() { | ||
circle(r=glass_radius+6.1, $fn=120); | ||
circle(r=glass_radius+6, $fn=120); | ||
} | ||
} | ||
} | ||
} | ||
|
||
module glass_frame() { | ||
difference() { | ||
linear_extrude(height=height) { | ||
difference() { | ||
intersection() { | ||
rotate([0, 0, 30]) circle(r=triangle_radius, $fn=3); | ||
circle(r=outside_radius, $fn=120); | ||
} | ||
circle(r=glass_radius, $fn=120); | ||
for (a = [0:120:359]) { | ||
rotate([0, 0, a]) translate([0, glass_radius]) | ||
square([glass_radius*0.6, glass_radius], center=true); | ||
} | ||
translate([0, glass_radius / 2]) | ||
square([2*triangle_radius, triangle_radius], center=true); | ||
} | ||
} | ||
for (a = [-35, 35]) rotate([0, 0, a]) { | ||
translate([0, 0, -height/2]) # | ||
curve_slot(r=m3_wide_radius, h=2*height); | ||
translate([0, 0, thickness]) # | ||
curve_slot(r=3, h=2*height); | ||
} | ||
} | ||
} | ||
|
||
translate([0, 0, height/2]) | ||
glass_frame(); |
Binary file not shown.