mirror of
https://github.com/DJSundog/NopSCADlib.git
synced 2025-02-14 06:33:45 -05:00
Allow no center hole in extrusion.
This commit is contained in:
parent
9527fa1c1f
commit
675953d334
@ -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])
|
||||
|
Loading…
x
Reference in New Issue
Block a user