summaryrefslogtreecommitdiff
path: root/volcano.scad
Side-by-side diff
Diffstat (limited to 'volcano.scad') (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
- volcano_w*volcano_l*volcano_h // heater block
+ volcano_w*volcano_cutoff_t*volcano_cutoff_l // cutoff
- PI*pow(volcano_n_d/2,2)*sv // nozzle
- PI*pow(volcano_c_d/2,2)*volcano_c_t // cartridge
- PI*pow(volcano_ts_d/2,2)*volcano_ts_t // thermistor screw
- PI*pow(volcano_hs_d/2,2)*volcano_hs_t *2 // heater screws
;
vol = vol_*1.2;
echo("volume",vol);
use <view.scad>;
-view(view="*",volume=vol) {
+view="*";
+
+view(view=view,volume=vol) {
mold(size=[the_w,the_l,the_h],s=ms,v_protrude=protrude,introffset=(volcano_l-volcano_cutoff_l)*3/4);
translate([ms+volcano_hs_t+sh,ms+sh,ms+sv]) heatershape();
translate([ms+epsilon,ms+epsilon,ms+epsilon]) cube(size=[the_w-2*epsilon,the_l-2*epsilon,the_h]);
}
/* vim:set ai sw=1: */