Remove legacy code for inlet/outlet walls
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// Inlet variables
|
||||
inlet_length = 10;
|
||||
inlet_radius = 10;
|
||||
inlet_throat_radius = 3;
|
||||
inlet_length = 250; // 100.5 raggio grande, 200mm lunghezza
|
||||
inlet_radius = 200;
|
||||
inlet_throat_radius = 100;
|
||||
inlet_thickness = 0.25;
|
||||
inlet_segments = 30; // Number of stacked layers (higher = smoother)
|
||||
inlet_curve_factor = 2; // Controls how aggressively the walls curve
|
||||
@@ -35,10 +35,6 @@ module inlet() {
|
||||
cylinder(h = h, r1 = r1, r2 = r2, $fn = 75);
|
||||
}
|
||||
}
|
||||
|
||||
// Plate at the start of the inlet (sealed)
|
||||
translate([0, 0, -inlet_thickness]) // Align the plate to the front of the inlet
|
||||
cylinder(h = inlet_thickness, r = inlet_radius, $fn = 75); // Plate at the inlet (front)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -49,9 +45,9 @@ rotate([0, -90, 0]) inlet();
|
||||
|
||||
|
||||
// Outlet variables
|
||||
outlet_length = 50;
|
||||
outlet_radius = 10;
|
||||
outlet_throat_radius = 3;
|
||||
outlet_length = 350;
|
||||
outlet_radius = 165;
|
||||
outlet_throat_radius = 100;
|
||||
outlet_thickness = 0.25;
|
||||
outlet_segments = 20; // Number of stacked layers (higher = smoother)
|
||||
outlet_curve_factor = 1.5; // Controls how aggressively the walls curve
|
||||
@@ -85,10 +81,6 @@ module outlet() {
|
||||
cylinder(h = h, r1 = r1, r2 = r2, $fn = 75);
|
||||
}
|
||||
}
|
||||
|
||||
// Plate at the end of the outlet (sealed)
|
||||
translate([0, 0, outlet_length]) // Align the plate to the end of the outlet
|
||||
cylinder(h = outlet_thickness, r = outlet_radius, $fn = 75); // Plate at the outlet (end)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user