Skip to content
Snippets Groups Projects
Commit c35d2c8d authored by fxk8y's avatar fxk8y :spider:
Browse files

curvy pipe mathematics

parent bed3a869
No related branches found
No related tags found
No related merge requests found
......@@ -277,7 +277,20 @@ module splitFunnel() {
sp_len = 10; // TODO: calculate!
translate([0, 0, 0]) rotate([0, 0, 0]) straightPipe(fu_outlet_w, hs_h, sp_len, fu_r, fu_str);
// translate([hs_l/2, y_off, hs_h/2 + d]) rotate([90, 0, -90]) straightPipe(fu_outlet_w, hs_h, sp_len, fu_r, fu_str);
// connecting a straight pipe to the end of a curve in a fully generic way
//
// step 1: move to a very specific point beneath origin
// step 2: rotate by curve pipe angle
// step 3: move to the beginning(!) of the curve pipe where we want them to meet
//
translate([0, 0, 0]) // step 3
rotate([0, 0, -alpha]) // step 2
translate([0, -fu_outlet_w/2 - d/2, 0]) rotate([90, 0, -90]) // step 1
straightPipe(fu_outlet_w, hs_h, sp_len, fu_r, fu_str);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment