1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-08-15 11:54:02 +02:00

Added poly_tube(), an extruded poly_ring().

Added missing hinge image.
This commit is contained in:
Chris Palmer
2019-07-19 11:03:26 +01:00
parent fbc688c81f
commit 6238f82bf0
4 changed files with 7 additions and 2 deletions

BIN
tests/png/flat_hinge.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

View File

@@ -52,8 +52,8 @@ module polyholes() {
sizes = [1.5, 2, 3, 4];
for(i = [0 : len(sizes) - 1])
translate([i * 10, -10]) {
color(pp1_colour) linear_extrude(height = 1)
poly_ring(ir = ir, or = cir + sizes[i] * extrusion_width);
color(pp1_colour)
poly_tube(ir = ir, or = cir + sizes[i] * extrusion_width, h = 1);
rod(2 * ir, 3);
}