MakerOnline
Tools
Vai al Modello
SKS BOX full size no separators
175
Download
67
Likes
0
Makes
// License: CC-Attribution /* [Box Variables] */ itemsShown="both"; // [both,box,lid] boxLength=80; boxWidth=150; boxHeight=50; text="Tool Box"; textSize=15; rotateText = true; // true;//[true:false] // Notch in the lid withNotch=true;//true;//[true:false] cornerRadius=5; wallThickness=2; bottomThickness=2; lidThickness=2; textThickness=1; /* [Others] */ lidEdgeThickness=0.5; topClearance=0.2; /* [Global] */ if (itemsShown=="box") showBox(); if (itemsShown=="lid") showLid(); if (itemsShown=="both"){showBox();showLid();} module showLid(){ translateX = (boxLength>boxWidth)?-boxLength/2:(-2*wallThickness); translateY = (boxLength>boxWidth)?(-2*wallThickness):wallThickness-boxWidth/2; translate ([translateX, translateY, 0]) roundBoxLid(l=boxLength-wallThickness-topClearance, w=boxWidth-2*wallThickness-2*topClearance, h=lidThickness, et=lidEdgeThickness, r=cornerRadius-wallThickness, dynamicPos=true); } module showBox(){ translateX = (boxLength>boxWidth)?-boxLength/2:0; translateY = (boxLength>boxWidth)?0:-boxWidth/2; translate([translateX , translateY, 0]) round_box(l=boxLength, w=boxWidth, h=boxHeight, bt=bottomThickness, wt=wallThickness, lt=lidThickness, r=cornerRadius); } module round_box(l=40,w=30,h=30,bt=2,wt=2,tc=0.2,lt=2,r=5){ difference() { round_cube(l=l,w=w,h=h-lt,r=r); translate ([wt, wt, bt]) round_cube(l=l-wt*2,w=w-wt*2,h=h,r=r-wt); } //use a second box rim to support the lid roundBoxRim(); translate ([0, 0, -wt]) roundBoxRim(); } module roundBoxRim(l=boxLength, w=boxWidth, h=boxHeight, et=lidEdgeThickness, r=cornerRadius, wt=wallThickness, lt=lidThickness) { difference() { translate ([0, 0, h
TOSHIRTcom pubblica anche su
80 modelli aggiuntivi su altre 1 piattaforme
Hai stampato questo modello? Accedi e condividi il tuo make!
Accedi per lasciare un commento
AccediAncora nessun commento – sii il primo!