mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-05 22:37:35 +02:00
added test hook
This commit is contained in:
@@ -66,7 +66,16 @@ module ellipse_extrude(semi_minor_axis, height, center = false, convexity = 10,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
translate([0, 0, center == true ? -h / 2 : 0])
|
center_offset = [0, 0, center == true ? -h / 2 : 0];
|
||||||
|
translate(center_offset)
|
||||||
extrude()
|
extrude()
|
||||||
children();
|
children();
|
||||||
|
|
||||||
|
// hook for testing
|
||||||
|
test_ellipse_extrude_fzc(child_fs, pre_zs, center_offset);
|
||||||
|
}
|
||||||
|
|
||||||
|
// override for testing
|
||||||
|
module test_ellipse_extrude_fzc(child_fs, pre_zs, center_offset) {
|
||||||
|
|
||||||
}
|
}
|
Reference in New Issue
Block a user