author | Michael Krelin <hacker@klever.net> | 2016-06-29 21:38:00 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2016-06-29 21:38:00 (UTC) |
commit | d0448a1c697d886521da5ae90e07c5b4bb8bf0f9 (patch) (unidiff) | |
tree | 38eaf3ca8a1513f82d66c801a07aabd279f2d2ef | |
parent | fe38002ae5714d1a080fc518e03459ef91724cad (diff) | |
download | hotendery-d0448a1c697d886521da5ae90e07c5b4bb8bf0f9.zip hotendery-d0448a1c697d886521da5ae90e07c5b4bb8bf0f9.tar.gz hotendery-d0448a1c697d886521da5ae90e07c5b4bb8bf0f9.tar.bz2 |
volcano modified for easier command line render
-rw-r--r-- | volcano.scad | 4 |
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 | |||
97 | ; | 97 | ; |
98 | vol = vol_*1.2; | 98 | vol = vol_*1.2; |
99 | echo("volume",vol); | 99 | echo("volume",vol); |
100 | 100 | ||
101 | use <view.scad>; | 101 | use <view.scad>; |
102 | 102 | ||
103 | view(view="*",volume=vol) { | 103 | view="*"; |
104 | |||
105 | view(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: */ |