1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-10 00:36:40 +02:00

modified because of connector_peg param changed

This commit is contained in:
Justin Lin
2019-09-21 09:58:35 +08:00
parent 6451029b9f
commit 76306a2a80
2 changed files with 9 additions and 9 deletions

View File

@@ -34,7 +34,7 @@ module cube_character(head_size) {
translate([0, -half_head_size, half_head_size])
rotate([-90, 0, 0])
connector_peg(peg_radius, spacing, void = true);
connector_peg(peg_radius, spacing = spacing, void = true);
}
}
@@ -45,7 +45,7 @@ module cube_character(head_size) {
module peg_void() {
translate([half_body_size + 1, head_size * 0.2, half_body_size])
rotate([0, -90, 0])
connector_peg(peg_radius, spacing, void = true);
connector_peg(peg_radius, spacing = spacing, void = true);
}
difference() {
@@ -62,7 +62,7 @@ module cube_character(head_size) {
// holes
translate([0, half_body_size + 1, half_body_size])
rotate([90, 0, 0])
connector_peg(peg_radius, spacing, void = true);
connector_peg(peg_radius, spacing = spacing, void = true);
peg_void();
mirror([1, 0, 0]) peg_void();
@@ -81,7 +81,7 @@ module cube_character(head_size) {
translate([head_size * 0.1375, head_size * 0.1375, half_body_size / 2])
rotate([0, 90, 0])
connector_peg(peg_radius, spacing);
connector_peg(peg_radius, spacing = spacing);
}
}
@@ -95,7 +95,7 @@ module cube_character(head_size) {
body();
translate([0, head_size * 0.75])
connector_peg(peg_radius, spacing, heads = true);
connector_peg(peg_radius, spacing = spacing, heads = true);
}
// refactored from https://www.thingiverse.com/thing:258542