box in one line of code

box in one line of code

thingiverse

<pre>include <"box.scad">; boxM(A, srez, h){ /*here is the code of the figure from which to make the box*/ };</pre> let's say so <pre> boxM(50, 20, 10){ cube(100, true); };</pre> or so <pre> boxM(50, 20, 10){ minkowski(){ cube(100, true); sphere(5, $fn=30); }; };</pre> or so <pre>include<"box.scad">; color("green") boxM(80, 20, 4, 0.97, 0.98, 0.97) minkowski(){ linear_extrude(height = 100, center = true) polygon( for(a=[0:3:359]) [(5*sin(6*a)+55)*sin(a), (5*sin(6*a)+55)*cos(a)] ] ); sphere(5,$fn=30); };</pre> <pre> module boxM(A, srez, h, nak=1, zak=0.98, k=0.98, x=0.9, y=0.9, z=0.9) The first three parameters are required the rest are set by default. A - the position in the XY-plane lid {X=A, Y=A} and box {X=A, Y=-A}; srez - offset of the cut line between the lid and the box relative to the middle; h - the height of the rim; nak - the slope of the rim; zak - the adjustable parameter is the tightness of the closure; k - adjusts the ratio of the thickness of the sides on the lid and box; x,y,z - the volume of the cut cavity axis X, Y, Z (0.9 --> 90%), wall thickness 5%; </pre> <strong><a href="http://www.nashkolxoz.ru">www.nashkolxoz.ru</a></strong> made by Predsedatel.

Download Model from thingiverse

With this file you will be able to print box in one line of code with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on box in one line of code.