Update venturi dimensions
This commit is contained in:
Binary file not shown.
+18
-19
@@ -1,20 +1,20 @@
|
|||||||
// ======== Global Parameters ======== //
|
// ======== Global Parameters ======== //
|
||||||
$fn = 75;
|
$fn = 75;
|
||||||
inlet_segments = 60;
|
inlet_segments = 60;
|
||||||
outlet_segments = 20;
|
outlet_segments = 20;
|
||||||
|
|
||||||
// ======== Venturi Geometry ======== //
|
// ======== Venturi Geometry ======== //
|
||||||
inlet_length = 250;
|
inlet_length = 250;
|
||||||
outlet_length = 350;
|
outlet_length = 350;
|
||||||
inlet_radius = 300;
|
inlet_radius = 200;
|
||||||
throat_radius = 80;
|
throat_radius = 80;
|
||||||
outlet_radius = 110;
|
outlet_radius = 110;
|
||||||
wall_thickness = 5;
|
wall_thickness = 5;
|
||||||
|
|
||||||
inlet_curve_factor = 2;
|
inlet_curve_factor = 2;
|
||||||
outlet_curve_factor = 1.5;
|
outlet_curve_factor = 1.5;
|
||||||
|
|
||||||
// ======== Stacking Function ======== //
|
// ======== Utility Module ======== //
|
||||||
module stacked_shell(length, r_end, thickness, segments, curve_factor, is_outer = true) {
|
module stacked_shell(length, r_end, thickness, segments, curve_factor, is_outer = true) {
|
||||||
for (i = [0:segments - 1]) {
|
for (i = [0:segments - 1]) {
|
||||||
h = length / segments;
|
h = length / segments;
|
||||||
@@ -37,23 +37,22 @@ module stacked_shell(length, r_end, thickness, segments, curve_factor, is_outer
|
|||||||
// ======== Inlet Module ======== //
|
// ======== Inlet Module ======== //
|
||||||
module inlet() {
|
module inlet() {
|
||||||
difference() {
|
difference() {
|
||||||
union()
|
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, true);
|
stacked_shell(inlet_length, inlet_radius, wall_thickness, inlet_segments, inlet_curve_factor, false);
|
||||||
union()
|
|
||||||
stacked_shell(inlet_length, inlet_radius, wall_thickness, inlet_segments, inlet_curve_factor, false);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
rotate([0, -90, 0]) inlet();
|
|
||||||
|
|
||||||
// ======== Outlet Module ======== //
|
// ======== Outlet Module ======== //
|
||||||
module outlet() {
|
module outlet() {
|
||||||
difference() {
|
difference() {
|
||||||
union()
|
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, true);
|
stacked_shell(outlet_length, outlet_radius, wall_thickness, outlet_segments, outlet_curve_factor, false);
|
||||||
union()
|
|
||||||
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();
|
||||||
Reference in New Issue
Block a user