1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-17 22:28:16 +01:00

rename param

This commit is contained in:
Justin Lin 2019-09-21 10:17:31 +08:00
parent 927d551620
commit 45ccf8aed3

View File

@ -1,4 +1,4 @@
module cone(radius, length = 0, spacing = 0.5, angle = 50, void = false, heads = false) {
module cone(radius, length = 0, spacing = 0.5, angle = 50, void = false, ends = false) {
module base(r) {
rotate_extrude() {
if(length != 0) {
@ -20,7 +20,7 @@ module cone(radius, length = 0, spacing = 0.5, angle = 50, void = false, heads =
}
}
if(heads) {
if(ends) {
head();
mirror([0, 0, 1]) head();
}