20 lines
590 B
OpenSCAD
20 lines
590 B
OpenSCAD
// Inverted Wargaming base
|
|
// by zeus - 2021-11-11 - CC-BY-NC-SA-4.0
|
|
// ###
|
|
// Variables
|
|
base_lower_dia=32; //diameter in mm
|
|
base_upper_dia=30; //upper diameter
|
|
cutout_dia=base_upper_dia-1.6; //adjusted for 2 walls on 0.4 nozzle (0.4*2*2)
|
|
base_h=4; //overall height
|
|
mt=1.5; //bottom thickness, suitable for 0.3 and 0.5 layers
|
|
scale_factor=2; // scaling in y-dimension
|
|
$fn=150;
|
|
//
|
|
// ###
|
|
// Model
|
|
scale([1,scale_factor,1]){
|
|
difference(){
|
|
cylinder(r1=base_lower_dia/2, r2=base_upper_dia/2, h=base_h);
|
|
translate([0,0,mt]) #cylinder(r=cutout_dia/2, h=base_h-mt+0.1);
|
|
}
|
|
} |