1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-17 22:28:16 +01:00
dotSCAD/test/test_stereographic_extrude.scad

21 lines
518 B
OpenSCAD
Raw Normal View History

2020-01-27 16:27:51 +08:00
use <unittest.scad>;
2020-01-28 09:44:36 +08:00
include <stereographic_extrude.scad>;
2020-01-27 16:27:51 +08:00
module test_stereographic_extrude_rs(outer_sphere_r, inner_sphere_r) {
assertEqualPoint([16.6667, 15.0756], [outer_sphere_r, inner_sphere_r]);
}
2017-06-26 14:16:59 +08:00
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();