mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-13 10:14:41 +02:00
rename param
This commit is contained in:
@@ -95,7 +95,7 @@ module cube_character(head_size) {
|
|||||||
body();
|
body();
|
||||||
|
|
||||||
translate([0, head_size * 0.75])
|
translate([0, head_size * 0.75])
|
||||||
connector_peg(peg_radius, spacing = spacing, heads = true);
|
connector_peg(peg_radius, spacing = spacing, ends = true);
|
||||||
}
|
}
|
||||||
|
|
||||||
// refactored from https://www.thingiverse.com/thing:258542
|
// refactored from https://www.thingiverse.com/thing:258542
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
module connector_peg(radius, height, spacing = 0.5, void = false, heads = false) {
|
module connector_peg(radius, height, spacing = 0.5, void = false, ends = false) {
|
||||||
lip_r = radius * 1.2;
|
lip_r = radius * 1.2;
|
||||||
r_diff = lip_r - radius;
|
r_diff = lip_r - radius;
|
||||||
|
|
||||||
@@ -46,7 +46,7 @@ module connector_peg(radius, height, spacing = 0.5, void = false, heads = false)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(heads) {
|
if(ends) {
|
||||||
translate([0, 0, h]) {
|
translate([0, 0, h]) {
|
||||||
head();
|
head();
|
||||||
mirror([0, 0, 1]) head();
|
mirror([0, 0, 1]) head();
|
||||||
|
Reference in New Issue
Block a user