1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-17 14:18:13 +01:00
This commit is contained in:
Justin Lin 2019-09-27 08:52:06 +08:00
parent 103f848a80
commit a6131f8da3

View File

@ -7,7 +7,7 @@ fn = 24;
shadow = "YES"; // [YES, NO]
base_height = 2;
module stereographic_projection_chars(txt, square_size, font_name, font_size) {
module four_chars(txt, square_size, font_name, font_size) {
frame_width = 0.225 * square_size;
for(i = [0:3]) {
@ -33,10 +33,10 @@ module stereographic_projection_chars(txt, square_size, font_name, font_size) {
}
stereographic_extrude(square_size * 2.975)
stereographic_projection_chars(txt, square_size, font_name, font_size);
four_chars(txt, square_size, font_name, font_size);
if(shadow == "YES") {
color("red")
linear_extrude(base_height)
stereographic_projection_chars(txt, square_size, font_name, font_size);
four_chars(txt, square_size, font_name, font_size);
}