Last active
March 3, 2019 20:45
-
-
Save kintel/fd9920c3a463da99b03b1d53065f29f7 to your computer and use it in GitHub Desktop.
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
// Box should have 50 mm sides | |
// Holes should be 5 mm in diameter | |
// | |
!color("Blue") translate([0,0,12.5]) linear_extrude(height=5) import("box-w-holes.svg", center=true, dpi=72); | |
translate([15,15, 10]) cylinder(h=20, r=4.5, center=true, $fn=32); | |
translate([15,-15, 10]) cylinder(h=20, r=4.5, center=true, $fn=32); | |
translate([-15,15, 10]) cylinder(h=20, r=4.5, center=true, $fn=32); | |
translate([-15,-15, 10]) cylinder(h=20, r=4.5, center=true, $fn=32); | |
translate([0,0,2]) cube([50, 50, 20], center=true); |
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
<?xml version="1.0" encoding="utf-8"?> | |
<!-- Generator: Adobe Illustrator 21.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> | |
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" | |
viewBox="0 0 255 266" style="enable-background:new 0 0 255 266;" xml:space="preserve"> | |
<style type="text/css"> | |
.st0{fill:none;} | |
.st1{fill:none;stroke:#020202;stroke-miterlimit:10;} | |
</style> | |
<circle class="st0" cx="58.4" cy="56.7" r="0"/> | |
<path class="st1" d="M56.7,56.7v141.7h141.7V56.7H56.7z M85,184.2c-7.8,0-14.2-6.3-14.2-14.2c0-7.8,6.3-14.2,14.2-14.2 | |
c7.8,0,14.2,6.3,14.2,14.2C99.2,177.9,92.9,184.2,85,184.2z M85,99.2c-7.8,0-14.2-6.3-14.2-14.2c0-7.8,6.3-14.2,14.2-14.2 | |
c7.8,0,14.2,6.3,14.2,14.2C99.2,92.9,92.9,99.2,85,99.2z M170.1,184.2c-7.8,0-14.2-6.3-14.2-14.2c0-7.8,6.3-14.2,14.2-14.2 | |
c7.8,0,14.2,6.3,14.2,14.2C184.2,177.9,177.9,184.2,170.1,184.2z M170.1,99.2c-7.8,0-14.2-6.3-14.2-14.2c0-7.8,6.3-14.2,14.2-14.2 | |
c7.8,0,14.2,6.3,14.2,14.2C184.2,92.9,177.9,99.2,170.1,99.2z"/> | |
</svg> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment