updated tests

master
Aaron 5 days ago
parent b791fdf841
commit 42eeda1851

Binary file not shown.

@ -0,0 +1,28 @@
use <threads1.scad>
module acmehexbolt_0p375(L)
{
Lh = 0.25;
Dh = 0.75;
Dth = 0.375;
Lth = L-Lh-0.125;
union()
{
translate([0,0,0])
{
cylinder(d=Dh,h=Lh,$fn=6);
}
translate([0,0,Lh-0.125])
{
thread_10tpi(Dth,Lth);
}
}
}
acmehexbolt_0p375(4);

@ -0,0 +1,28 @@
use <threads1.scad>
module acmehexbolt_0p375(L)
{
Lh = 0.25;
Dh = 0.75;
Dth = 0.375;
Lth = L-Lh-0.125;
union()
{
translate([0,0,0])
{
cylinder(d=Dh,h=Lh,$fn=6);
}
translate([0,0,Lh-0.125])
{
thread_10tpi(Dth,Lth);
}
}
}
acmehexbolt_0p375(4);

@ -427,8 +427,8 @@ namespace ams
amsstring q; amsstring q;
std::vector<amsstring> q2; std::vector<amsstring> q2;
fp = fopen("../ref/0p375_hexbolt.scad","r"); fp = fopen("./ref/0p375_hexbolt.scad","r");
fp2 = fopen("../ref/testrewrite.scad","w+"); fp2 = fopen("./ref/testrewrite.scad","w+");
I = 0; I = 0;
while(!feof(fp)) while(!feof(fp))

@ -18,7 +18,7 @@ int main(int argc, char* argv[])
amsstring4_test_splitlines(); amsstring4_test_splitlines();
amsstring4_test_split(); amsstring4_test_split();
amsstring4_test_strip(); amsstring4_test_strip();
//amsstring4_test_freadwrite(); amsstring4_test_freadwrite();
amsstring4_test_concatenation_operators(); amsstring4_test_concatenation_operators();

Loading…
Cancel
Save