1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-08-17 04:43:59 +02:00

Updated images and readme.

Pipes are now made with tube instead of differencing cylinders.
HTpipeFitting() now uses rotate_extrude and corrected internal shape.
The seal ring is now tube diameter + 13.
This commit is contained in:
Chris Palmer
2024-10-06 22:59:03 +01:00
parent 78e3360900
commit 932c68a2c0
4 changed files with 166 additions and 58 deletions

View File

@@ -21,18 +21,17 @@ include <../vitamins/ht_pipes.scad>
module ht_pipes()
color("grey")
layout([for(p = ht_pipes) 40 + p[2]])
translate([0, 0, 0]) {
// rotate(0) {
if (ht_pipes[$i][4] <= 34)
translate([0, 0, ht_pipes[$i][4]])
ht_cap(ht_pipes[$i]);
if (ht_pipes[$i][4] >= 101)
ht_pipe(ht_pipes[$i]);
if (ht_pipes[$i][4] == 100)
ht_tpipe(ht_pipes[$i]);
// }
}
layout([for(p = ht_pipes) 40 + pipe_od(p)]) let(p = ht_pipes[$i], len = pipe_length(p)) {
if(len <= 34)
translate_z(len)
ht_cap(p);
if(len >= 101)
ht_pipe(p);
if(len == 100)
ht_tpipe(p);
}
if($preview)
ht_pipes();

BIN
tests/png/ht_pipes.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB