kill typos

master
kreativmonkey 6 years ago
parent ce0f85e10c
commit 89079b5726

@ -2,7 +2,7 @@
This is a 3d model of the Linux mascot Tux. It is designed as a moneybox, but can also rendered as a simple figure. The size can be adjusted. This model is written with OpenSCAD and is based on the [runeman](runeman.org/3d/tux) model. This is a 3d model of the Linux mascot Tux. It is designed as a moneybox, but can be also rendered as a simple figure. The size can be adjusted. This model is written with OpenSCAD and is based on the [runeman](runeman.org/3d/tux) model.
<img align="right" width="200" alt="Tux money box Openscad image" src="images/tux_openscad.png"> <img align="right" width="200" alt="Tux money box Openscad image" src="images/tux_openscad.png">
@ -10,14 +10,14 @@ This is a 3d model of the Linux mascot Tux. It is designed as a moneybox, but ca
## Parameters ## Parameters
With the following parameter ``renderer`` you can choos which object you want render. With the following parameter ``renderer`` you can choose which object you want to render.
| renderer | Options | Description | | renderer | Options | Description |
| ----- | ------ | ----------- | | ----- | ------ | ----------- |
| Tux | hight | Print the Tux as a figure with the given hight | | Tux | height | Print the Tux as a figure with the given height |
| moneybox | hight, currency | Print the Tux as a moneybox for given currency. Actually supportet (Euro, Sterling, Dollar) | | moneybox | height, currency | Print the Tux as a moneybox for given currency. Actually supported (Euro, Sterling, Dollar) |
| lock | hight | This is vor printing the moneybox lock. | | lock | height | This is for printing the moneybox lock. |
## ToDo ## ToDo
@ -29,13 +29,13 @@ Dieses 3D Tux Modell ist mit Openscad erstellt und modular aufgebaut. Der Tux l
## Parameter ## Parameter
You can print difference modells of the Tux. Über den Parameter Renderer bestimmst du welches Objekt gerendert wird:
| Modell | Options | Description | | Modell | Options | Description |
| ----- | ------ | ----------- | | ----- | ------ | ----------- |
| Tux | hight | Der Tux als Figur in gegebener Höhe. | | Tux | height | Der Tux als Figur in gegebener Höhe. |
| moneybox | hight, currency | Render den Tux in gegebener Größe. Aktuell können die Währungen Euro, Sterling und Dollar gewählt werden. | | moneybox | height, currency | Render den Tux in gegebener Größe. Aktuell können die Währungen Euro, Sterling und Dollar gewählt werden. |
| lock | hight | Der Verschluss der Spardose. | | lock | height | Der Verschluss der Spardose. |
## ToDo ## ToDo

@ -13,16 +13,16 @@
///// Render ///// Render
// lock // lock
// tux // tux
// moneybox minimum hight 200mm // moneybox minimum height 200mm
// dev // dev
renderer = "moneybox"; renderer = "moneybox";
// Dimention in mm // Dimention in mm
// For moneybox the minimal hight is: // For moneybox the minimal height is:
// euro = 150mm // euro = 150mm
// dollar = 170mm // dollar = 170mm
// sterling = 190mm // sterling = 190mm
hight=150; height=150;
wall=5; wall=5;
// currency for the coinhole // currency for the coinhole
@ -41,33 +41,33 @@ $fn=50;
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
if (renderer == "lock") { if (renderer == "lock") {
translate([0,0, hight*0.06]) rotate([180,0,0]) lock(hight); translate([0,0, height*0.06]) rotate([180,0,0]) lock(height);
} }
if (renderer == "tux") { if (renderer == "tux") {
difference(){ difference(){
tux(hight); tux(height);
} }
} }
if ( renderer == "moneybox") { if ( renderer == "moneybox") {
difference(){ difference(){
tux(hight, true); tux(height, true);
cutLock(hight); cutLock(height);
coinhole(hight, currency); coinhole(height, currency);
} }
} }
if (renderer == "dev"){ if (renderer == "dev"){
difference(){ difference(){
tux(hight, true); tux(height, true);
cutLock(hight); cutLock(height);
coinhole(hight, currency); coinhole(height, currency);
translate([-hight/2, 0, 0]) cube(hight); translate([-height/2, 0, 0]) cube(height);
} }
@ -97,19 +97,19 @@ module coinhole(size, currency = "euro") {
// Dimension Sterling "Ten pounds": r=65mm h=2.5mm // Dimension Sterling "Ten pounds": r=65mm h=2.5mm
if( currency == "euro" ) { if( currency == "euro" ) {
if(size < 170) echo("The minimal hight is 150mm"); if(size < 170) echo("The minimal height is 150mm");
translate([0,size*0.05,size*0.95]) rotate([0,0,90]) cube([3, 30, size*0.3], center=true); translate([0,size*0.05,size*0.95]) rotate([0,0,90]) cube([3, 30, size*0.3], center=true);
translate([0, 0, size*0.60]) cylinder(d=35, h=size*0.18); translate([0, 0, size*0.60]) cylinder(d=35, h=size*0.18);
} }
if( currency == "dollar" ) { if( currency == "dollar" ) {
if(size < 170) echo("The minimal hight is 170mm"); if(size < 170) echo("The minimal height is 170mm");
translate([0,size*0.05,size*0.95]) rotate([0,0,90]) cube([3, 35, size*0.3], center=true); translate([0,size*0.05,size*0.95]) rotate([0,0,90]) cube([3, 35, size*0.3], center=true);
translate([0, 0, size*0.60]) cylinder(d=40, h=size*0.18); translate([0, 0, size*0.60]) cylinder(d=40, h=size*0.18);
} }
if( currency == "sterling" ) { if( currency == "sterling" ) {
if(size < 190) echo("The minimal hight is 190mm"); if(size < 190) echo("The minimal height is 190mm");
translate([0,size*0.05,size*0.95]) rotate([0,0,90]) cube([4, 43, size*0.3], center=true); translate([0,size*0.05,size*0.95]) rotate([0,0,90]) cube([4, 43, size*0.3], center=true);
translate([0, 0, size*0.60]) cylinder(d=45, h=size*0.18); translate([0, 0, size*0.60]) cylinder(d=45, h=size*0.18);
} }

Loading…
Cancel
Save