Extract holodisk frame

This commit is contained in:
Dejvino
2020-12-31 14:15:57 +01:00
parent 6908a1441e
commit 700dc62f38
4 changed files with 310 additions and 261 deletions
+4 -2
View File
@@ -1,7 +1,9 @@
// dependency: https://github.com/revarbat/BOSL
use <BOSL/transforms.scad>
module tape(start, end, height = tape_height, thickness = tape_thickness) {
use <holodisk_spec.scad>
module tape(start, end, height = get_holodisk_tape_height(), thickness = get_holodisk_tape_thickness()) {
color("RosyBrown")
up(thickness) hull() {
translate(start) sphere(thickness);
@@ -13,7 +15,7 @@ module tape(start, end, height = tape_height, thickness = tape_thickness) {
}
}
module tape_spool(r_in, r_out, height = tape_height, thickness = tape_thickness) {
module tape_spool(r_in, r_out, height = get_holodisk_tape_height(), thickness = get_holodisk_tape_thickness()) {
color("RosyBrown")
up(thickness) minkowski() {
difference() {