1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-17 14:18:13 +01:00
dotSCAD/test/test_stereographic_extrude.scad
2022-06-06 13:11:46 +08:00

21 lines
516 B
OpenSCAD

use <unittest.scad>
include <stereographic_extrude.scad>
module test_stereographic_extrude_rs(outer_sphere_r, inner_sphere_r) {
assertEqualPoint([16.6667, 15.0756], [outer_sphere_r, inner_sphere_r]);
}
module test_stereographic_extrude() {
echo("==== test_stereographic_extrude ====");
dimension = 100;
stereographic_extrude(shadow_side_leng = dimension)
text(
"M", size = dimension,
valign = "center", halign = "center"
);
}
test_stereographic_extrude();