1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-01 12:30:33 +02:00

added test_stereographic_extrude

This commit is contained in:
Justin Lin
2017-06-26 14:16:59 +08:00
parent 649a18f284
commit 97791079bc
3 changed files with 31 additions and 0 deletions

View File

@@ -39,6 +39,7 @@ include <test_sphere_spiral.scad>;
// Extrude
include <test_ellipse_extrude.scad>;
include <test_stereographic_extrude.scad>;
// 2D Shape
include <test_shape_arc.scad>;

View File

@@ -0,0 +1,22 @@
include <unittest.scad>;
module test_stereographic_extrude() {
echo("==== test_stereographic_extrude ====");
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]);
}
dimension = 100;
stereographic_extrude(shadow_side_leng = dimension)
text(
"M", size = dimension,
valign = "center", halign = "center"
);
}
test_stereographic_extrude();