Tested merging
This commit is contained in:
commit
ebf9c54f9c
|
@ -104,5 +104,4 @@ module alignds420(position, rotation, screws = 0, axle_lenght = 0)
|
|||
}
|
||||
}
|
||||
|
||||
// Tests:
|
||||
module test_alignds420(){alignds420(screws=1);}
|
||||
|
|
|
@ -8,33 +8,6 @@
|
|||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Standard right-angled triangle
|
||||
*
|
||||
* @param number o_len Lenght of the opposite side
|
||||
* @param number a_len Lenght of the adjacent side
|
||||
* @param number depth How wide/deep the triangle is in the 3rd dimension
|
||||
*/
|
||||
/*
|
||||
module triangle_old(o_len, a_len, depth)
|
||||
{
|
||||
difference()
|
||||
{
|
||||
cube([depth, a_len, o_len], center=false);
|
||||
rotate([atan(o_len/a_len),0,0])
|
||||
{
|
||||
translate([-2.5,0,0])
|
||||
{
|
||||
cube([depth+5,sqrt(pow(a_len, 2) + pow(o_len,2))+2, o_len+2], center=false);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# triangle(5,10,7);
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Standard right-angled triangle
|
||||
*
|
||||
|
@ -51,5 +24,7 @@ module triangle(o_len, a_len, depth)
|
|||
}
|
||||
}
|
||||
|
||||
//triangle(5,10,7);
|
||||
|
||||
// Tests:
|
||||
module test_triangle(){triangle(5,10,7);}
|
||||
|
||||
|
|
Loading…
Reference in a new issue