Last active
August 12, 2024 02:49
-
-
Save mkatychev/80cef6baf68e3208532ae308da5ee037 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
include <relativity.scad/relativity.scad> | |
$fn = 20; | |
module base() { | |
minkowski() { | |
box([30, 80, 4]); | |
cylinder(0.5, r = 4); | |
} | |
} | |
module inside() { | |
box([32.5, 80, 2.4]) { | |
align([0, 1, 1]) | |
box([$parent_size.x * 0.75, $parent_size.y * 0.95, $parent_size.z * 1], anchor = [0, 1, 0]); | |
translated([0, -20, 0]) | |
translated(5 * x, [1, -1]) | |
rod(r = 0.95, h = 10) | |
rod(r = 2.5, h = 3.4); | |
translated(20 * y) | |
rod(r = 0.95, h = 10) | |
rod(r = 2.5, h = 3.4); | |
} | |
} | |
difference() { | |
base(); | |
translate([0, 4.01, 0.4]) | |
inside(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment