Upgraded shape gate for 3.0
This commit is contained in:
+3
-2
@@ -8,8 +8,9 @@ module shape_gate (shape, throw, shaft_r, sharpness = 0) {
|
|||||||
function throw_travel(throw) = gate_height * tan(throw);
|
function throw_travel(throw) = gate_height * tan(throw);
|
||||||
|
|
||||||
hull(){
|
hull(){
|
||||||
linear_extrude(0.1)
|
translate([0,0, -(shaft_r / tan(throw))])
|
||||||
round_poly(shape, shaft_r, 0, sharpness);
|
linear_extrude(0.1)
|
||||||
|
round_poly(shape, 0, 0, sharpness);
|
||||||
translate([0,0,gate_height])
|
translate([0,0,gate_height])
|
||||||
linear_extrude(0.00001)
|
linear_extrude(0.00001)
|
||||||
round_poly(shape, shaft_r, throw_travel(throw), sharpness);
|
round_poly(shape, shaft_r, throw_travel(throw), sharpness);
|
||||||
|
|||||||
Reference in New Issue
Block a user