1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-08-16 12:24:09 +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

View File

@@ -62,6 +62,10 @@ module poly_ring(or, ir) { //! Make a 2D ring adjusted to have the correct inter
}
}
module poly_tube(or, ir, h, center = false) //! Make a tube adjusted to have the correct internal radius
extrude_if(h, center)
poly_ring(or, ir);
module drill(r, h = 100) //! Make a cylinder for drilling holes suitable for CNC routing, set h = 0 for circle
extrude_if(h)
circle(r = corrected_radius(r, r2sides(r)));