1
0
Fork 0
This repository has been archived on 2020-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
my-prusai3-settings/printTests/Wall_Thickness_0v1-#8859.scad
2015-09-13 22:25:49 +02:00

34 lines
1.4 KiB
OpenSCAD

//100x100 build platform for debug
translate([-50,-50,-1.01]) %cube([100,100,1]);
BaseThickness=0.5; //~2 layers
FeatureHeight=3;
//======================================================================================
BarZCenter=BaseThickness+FeatureHeight/2;
//======================================================================================
module test_bar_set(FeatureThickness)
{
translate([0,13,BarZCenter]) cube([FeatureThickness,6,FeatureHeight],center=true);
difference()
{
translate([0,3,BarZCenter]) cylinder(r=4,h=FeatureHeight,center=true,$fn=180);
translate([0,3,BarZCenter]) cylinder(r=4-FeatureThickness,h=FeatureHeight+0.1,center=true,$fn=180);
}
translate([0,-9,BarZCenter]) rotate(-45) cube([FeatureThickness,7,FeatureHeight],center=true);
translate([0,-9,BarZCenter]) rotate(+45) cube([FeatureThickness,7,FeatureHeight],center=true);
}
//======================================================================================
// 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9
for ( X = [-3:3] )
translate([X*9.5,15,0]) test_bar_set(0.3+(X+3)*0.1);
// 1.0, 1.2, 1.4, 1.6, 1.8, 2.0, 2.2
for ( X = [-3:3] )
translate([X*9.5,-20,0]) test_bar_set(1+(X+3)*0.2);
//Slide a base under it.
translate([-35,-37,0]) color([0,1,0,0.5]) cube([70,74,BaseThickness]);
//======================================================================================