Savonius rotor ( remis R3)  with 20mm magnet base

Savonius rotor ( remis R3) with 20mm magnet base

thingiverse

This is a complex OpenSCAD code that appears to be designed for generating a 3D model of a Savonius wind turbine rotor. I'll break down the code and provide a concise explanation of each section. **Overall Structure** The code consists of several modules, which are functions that can be used to generate different parts of the turbine: * `savonius()`: The main module that calls all other modules. * `base2()`: Generates the base plate of the turbine. * `rotor2()`: Generates the rotating blades of the turbine. * `rotor3()`: Similar to `rotor2()`, but with additional details. **Modules** 1. **`savonius()`**: The main module that calls all other modules: ```scad module savonius(){ base2(); rotor3(); } ``` This module simply calls the `base2()` and `rotor3()` functions to generate the entire turbine. 2. **`base2()`**: ```scad module base2(){ difference(){ color("CadetBlue"){ union(){ cylinder(r=Diametre_base/2, h=epaisseur); } } translate([0,0,-epaisseur]) cylinder(r=1, h=3*10); // change r as your preference for (i=[1:8]){ rotate([0,0,i*(360/8)]) translate([(Diametre_base/2)-14,0,-1]) cylinder(r=10.5,h=epaisseur); } } } ``` This module generates the base plate of the turbine using a `difference()` function: * It first creates an inner cylindrical hole using `cylinder(r=Diametre_base/2, h=epaisseur)`. * Then it creates eight holes around the center using a `for` loop and a `rotate()` function to position each hole correctly. 3. **`rotor2()`**: ```scad module rotor2(){ for (i=[1:n_pale]){ color([0.5+sin(10*i)/2,0,1/i]){ rotate([0,0,i*(360/n_pale)]) { translate([-diametre_pale/2+ecart/2,0,epaisseur+gorge]) { linear_extrude(height=hauteur+epaisseur, convexity=100,twist=Twist){ difference(){ circle(r=diametre_pale/2); circle(r=(diametre_pale/2)-epaisseur/2); translate([-Diametre_base,0,0]) square(Diametre_base*2); } } } } } } } ``` This module generates the rotating blades of the turbine using a `for` loop to create multiple blades. 4. **`rotor3()`**: ```scad module rotor3(){ for (j=[1:0.3:hauteur]){ for (i=[1:n_pale]){ color([0.5+sin(10*i)/2,0,1/i]){ rotate([0,0,i*(360/n_pale)+j]){ translate([-diametre_pale/2+ecart/2,0,epaisseur+gorge+j-0.7]){ linear_extrude(height=0.3, convexity=100,twist=Twist){ difference(){ circle(r=diametre_pale/2); circle(r=(diametre_pale/2)-epaisseur/2); translate([-Diametre_base,0,0]) square(Diametre_base*2); } } } } } } } } ``` This module generates additional details on the rotating blades, similar to `rotor2()` but with a more complex geometry. **Parameters** The code uses several parameters that can be adjusted: * `Diametre_base`: The base diameter of the turbine. * `ecart`: The central gap between the blades. * `epaisseur`: The thickness of the turbine. * `gorge`: The depth of the holes in the base plate. * `hauteur`: The height of the turbine. * `n_pale`: The number of blades. To use this code, you can simply open it in OpenSCAD and adjust the parameters to suit your needs. You can then render the model using OpenSCAD's built-in rendering engine or export it as an STL file for 3D printing.

Download Model from thingiverse

With this file you will be able to print Savonius rotor ( remis R3) with 20mm magnet base 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 Savonius rotor ( remis R3) with 20mm magnet base.