summaryrefslogtreecommitdiff
authorMichael Krelin <hacker@klever.net>2016-06-29 21:38:00 (UTC)
committer Michael Krelin <hacker@klever.net>2016-06-29 21:38:00 (UTC)
commitd0448a1c697d886521da5ae90e07c5b4bb8bf0f9 (patch) (side-by-side diff)
tree38eaf3ca8a1513f82d66c801a07aabd279f2d2ef
parentfe38002ae5714d1a080fc518e03459ef91724cad (diff)
downloadhotendery-d0448a1c697d886521da5ae90e07c5b4bb8bf0f9.zip
hotendery-d0448a1c697d886521da5ae90e07c5b4bb8bf0f9.tar.gz
hotendery-d0448a1c697d886521da5ae90e07c5b4bb8bf0f9.tar.bz2
volcano modified for easier command line render
Diffstat (more/less context) (show 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
@@ -97,12 +97,14 @@ vol_ = the_w*the_l*the_h
;
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: */