1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-14 02:34:12 +02:00

add height param

This commit is contained in:
Justin Lin
2019-09-21 09:19:37 +08:00
parent 386e8b934e
commit cbea572747

View File

@@ -1,6 +1,5 @@
module connector_peg(radius, spacing = 0.5, void = false, heads = false) {
module connector_peg(radius, spacing = 0.5, height = radius * 2.6, void = false, heads = false) {
lip_r = radius * 1.2;
height = radius * 2.6;
r_diff = lip_r - radius;
h_unit = height / 7;
d_h_unit = h_unit * 2;