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

Ad corner pipes

parent 818d23ca
No related branches found
No related tags found
No related merge requests found
......@@ -283,10 +283,25 @@ module straightPipe(width, height, length, radius, strength, center=false) {
}
}
straightPipe(20, 10, 30, 1, 1);
// straightPipe(20, 10, 30, 1, 1);
module cornerPipe(width, height, diameter, angle, radius, strength /* , center=false */) {
w = width;
h = height;
d = diameter; // "size" of the corner. inner diameter of where it is virtually wound onto
a = angle;
r = radius;
_str = strength;
rotate_extrude(angle=a, convexity=8) translate([w/2 + d/2, 0, 0]) difference() {
roundRect(w, h, r);
roundRect(w - _str*2, h - _str*2, r - _str);
}
}
cornerPipe(20, 10, 5, 90, 1, 1);
......
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