mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2024-12-29 16:29:40 +00:00
15 lines
389 B
OpenSCAD
15 lines
389 B
OpenSCAD
|
include <BOSL2/std.scad>
|
||
|
include <BOSL2/cubetruss.scad>
|
||
|
|
||
|
|
||
|
module test_cubetruss_dist() {
|
||
|
assert(cubetruss_dist(5,1,size=30,strut=3) == 138);
|
||
|
assert(cubetruss_dist(3,2,size=30,strut=3) == 87);
|
||
|
assert(cubetruss_dist(5,1,size=20,strut=2) == 92);
|
||
|
assert(cubetruss_dist(3,2,size=20,strut=2) == 58);
|
||
|
}
|
||
|
test_cubetruss_dist();
|
||
|
|
||
|
|
||
|
// vim: noexpandtab tabstop=4 shiftwidth=4 softtabstop=4 nowrap
|