Add cylinder block
This commit is contained in:
parent
70295fa773
commit
b2ffae58db
13
Motor.scad
13
Motor.scad
@ -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
|
||||
difference() {
|
||||
@ -63,4 +72,4 @@ difference() {
|
||||
rotate([0, 90, 0])
|
||||
translate([13, 0, -2])
|
||||
cylinder(h=4, d=2, $fn=CIRCLE_ROUNDS);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user