Update venturi dimensions

This commit is contained in:
2025-04-30 22:23:48 +02:00
parent 511cf3cd53
commit fcff274519
2 changed files with 18 additions and 19 deletions
Binary file not shown.
+18 -19
View File
@@ -1,20 +1,20 @@
// ======== Global Parameters ======== //
$fn = 75;
inlet_segments = 60;
inlet_segments = 60;
outlet_segments = 20;
// ======== Venturi Geometry ======== //
inlet_length = 250;
outlet_length = 350;
inlet_radius = 300;
throat_radius = 80;
outlet_radius = 110;
wall_thickness = 5;
inlet_length = 250;
outlet_length = 350;
inlet_radius = 200;
throat_radius = 80;
outlet_radius = 110;
wall_thickness = 5;
inlet_curve_factor = 2;
outlet_curve_factor = 1.5;
// ======== Stacking Function ======== //
// ======== Utility Module ======== //
module stacked_shell(length, r_end, thickness, segments, curve_factor, is_outer = true) {
for (i = [0:segments - 1]) {
h = length / segments;
@@ -37,23 +37,22 @@ module stacked_shell(length, r_end, thickness, segments, curve_factor, is_outer
// ======== Inlet Module ======== //
module inlet() {
difference() {
union()
stacked_shell(inlet_length, inlet_radius, wall_thickness, inlet_segments, inlet_curve_factor, true);
union()
stacked_shell(inlet_length, inlet_radius, wall_thickness, inlet_segments, inlet_curve_factor, false);
stacked_shell(inlet_length, inlet_radius, wall_thickness, inlet_segments, inlet_curve_factor, true);
stacked_shell(inlet_length, inlet_radius, wall_thickness, inlet_segments, inlet_curve_factor, false);
}
}
rotate([0, -90, 0]) inlet();
// ======== Outlet Module ======== //
module outlet() {
difference() {
union()
stacked_shell(outlet_length, outlet_radius, wall_thickness, outlet_segments, outlet_curve_factor, true);
union()
stacked_shell(outlet_length, outlet_radius, wall_thickness, outlet_segments, outlet_curve_factor, false);
stacked_shell(outlet_length, outlet_radius, wall_thickness, outlet_segments, outlet_curve_factor, true);
stacked_shell(outlet_length, outlet_radius, wall_thickness, outlet_segments, outlet_curve_factor, false);
}
}
rotate([0, 90, 0]) outlet();
// ======== Top-Level Geometry ======== //
translate([0, 0, 0])
rotate([0, -90, 0]) inlet();
translate([0, 0, 0])
rotate([0, 90, 0]) outlet();