Fix scad include/import paths broken by lowercase rename

This commit is contained in:
Ian Gulliver
2026-07-13 15:23:15 -04:00
parent 2e035fc763
commit a11395e88b
2 changed files with 33 additions and 33 deletions
+32 -32
View File
@@ -1,33 +1,33 @@
use <Write.scad>;
$fn = 20;
part = 1;
letter = "M";
font = "orbitron.dxf";
height = 3;
module letter() {
color("red")
write(letter, t=height, h=16, font=font, center=true);
}
module block() {
color("blue")
difference() {
cube([20, 20, height], center=true);
translate([7.5, 7.5, 0])
cylinder(h=height, d=3, center=true);
}
}
if (part == 1) {
difference() {
block();
letter();
}
} else if (part == 2) {
letter();
use <write.scad>;
$fn = 20;
part = 1;
letter = "M";
font = "orbitron.dxf";
height = 3;
module letter() {
color("red")
write(letter, t=height, h=16, font=font, center=true);
}
module block() {
color("blue")
difference() {
cube([20, 20, height], center=true);
translate([7.5, 7.5, 0])
cylinder(h=height, d=3, center=true);
}
}
if (part == 1) {
difference() {
block();
letter();
}
} else if (part == 2) {
letter();
}
+1 -1
View File
@@ -31,7 +31,7 @@
t = 1; //mm letter thickness
space =1; //extra space between characters in (character widths)
rotate=0; // text rotation (clockwise)
font = "Letters.dxf"; //default for aditional fonts
font = "letters.dxf"; //default for aditional fonts
// write cube defaults