mirror of
https://github.com/nophead/NopSCADlib.git
synced 2025-08-12 18:33:58 +02:00
Allow no center hole in extrusion.
This commit is contained in:
@@ -101,7 +101,8 @@ module extrusion_cross_section(type, cornerHole) {
|
||||
translate([0,i*width+(width-height)/2])
|
||||
difference() {
|
||||
square([centerSquare,centerSquare],center=true);
|
||||
circle(d=extrusion_center_hole(type));
|
||||
if(extrusion_center_hole(type)>0)
|
||||
circle(d=extrusion_center_hole(type));
|
||||
}
|
||||
translate([0,(width-height)/2])
|
||||
for(angle=[0,90])
|
||||
|
Reference in New Issue
Block a user