summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--volcano.scad4
1 files changed, 3 insertions, 1 deletions
diff --git a/volcano.scad b/volcano.scad
index 7f7ffce..00ff64e 100644
--- a/volcano.scad
+++ b/volcano.scad
@@ -91,18 +91,20 @@ vol_ = the_w*the_l*the_h
91 - volcano_w*volcano_l*volcano_h // heater block 91 - volcano_w*volcano_l*volcano_h // heater block
92 + volcano_w*volcano_cutoff_t*volcano_cutoff_l// cutoff 92 + volcano_w*volcano_cutoff_t*volcano_cutoff_l// cutoff
93 - PI*pow(volcano_n_d/2,2)*sv // nozzle 93 - PI*pow(volcano_n_d/2,2)*sv // nozzle
94 - PI*pow(volcano_c_d/2,2)*volcano_c_t // cartridge 94 - PI*pow(volcano_c_d/2,2)*volcano_c_t // cartridge
95 - PI*pow(volcano_ts_d/2,2)*volcano_ts_t// thermistor screw 95 - PI*pow(volcano_ts_d/2,2)*volcano_ts_t// thermistor screw
96 - PI*pow(volcano_hs_d/2,2)*volcano_hs_t *2// heater screws 96 - PI*pow(volcano_hs_d/2,2)*volcano_hs_t *2// heater screws
97; 97;
98vol = vol_*1.2; 98vol = vol_*1.2;
99echo("volume",vol); 99echo("volume",vol);
100 100
101use <view.scad>; 101use <view.scad>;
102 102
103view(view="*",volume=vol) { 103view="*";
104
105view(view=view,volume=vol) {
104 mold(size=[the_w,the_l,the_h],s=ms,v_protrude=protrude,introffset=(volcano_l-volcano_cutoff_l)*3/4); 106 mold(size=[the_w,the_l,the_h],s=ms,v_protrude=protrude,introffset=(volcano_l-volcano_cutoff_l)*3/4);
105 translate([ms+volcano_hs_t+sh,ms+sh,ms+sv]) heatershape(); 107 translate([ms+volcano_hs_t+sh,ms+sh,ms+sv]) heatershape();
106 translate([ms+epsilon,ms+epsilon,ms+epsilon]) cube(size=[the_w-2*epsilon,the_l-2*epsilon,the_h]); 108 translate([ms+epsilon,ms+epsilon,ms+epsilon]) cube(size=[the_w-2*epsilon,the_l-2*epsilon,the_h]);
107} 109}
108/* vim:set ai sw=1: */ 110/* vim:set ai sw=1: */