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:
@@ -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
BIN
tests/png/ht_pipes.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 50 KiB |
Reference in New Issue
Block a user