mirror of
https://github.com/nophead/NopSCADlib.git
synced 2025-08-11 18:04:02 +02:00
Fixed drill center parameter in poly_drill().
This commit is contained in:
@@ -103,7 +103,7 @@ module drill(r, h = 100, center = true) //! Make a cylinder for drilling holes s
|
|||||||
|
|
||||||
module poly_drill(r, h = 100, center = true) //! Make a cylinder for drilling holes suitable for CNC routing if cnc_bit_r is non zero, otherwise a poly_cylinder.
|
module poly_drill(r, h = 100, center = true) //! Make a cylinder for drilling holes suitable for CNC routing if cnc_bit_r is non zero, otherwise a poly_cylinder.
|
||||||
if(cnc_bit_r)
|
if(cnc_bit_r)
|
||||||
drill(r, h, center = true);
|
drill(r, h, center = center);
|
||||||
else
|
else
|
||||||
poly_cylinder(r, h, center);
|
poly_cylinder(r, h, center);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user