Add cylinder block

This commit is contained in:
maride 2017-11-24 12:37:51 +01:00
parent 70295fa773
commit b2ffae58db

View File

@ -1,4 +1,13 @@
CIRCLE_ROUNDS=180; CIRCLE_ROUNDS=18;
// Block
difference() {
translate([-8, -8, 0])
cube([16, 16, 11]);
translate([0, 0, 0])
cylinder(h=11, d=10, $fn=CIRCLE_ROUNDS);
}
// Piston // Piston
difference() { difference() {
@ -63,4 +72,4 @@ difference() {
rotate([0, 90, 0]) rotate([0, 90, 0])
translate([13, 0, -2]) translate([13, 0, -2])
cylinder(h=4, d=2, $fn=CIRCLE_ROUNDS); cylinder(h=4, d=2, $fn=CIRCLE_ROUNDS);
} }