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