fix stack connector slack application

This commit is contained in:
zhao
2023-03-18 17:36:20 -04:00
parent 4fc9786639
commit fad35c5203

View File

@ -8,6 +8,8 @@ connectorTotalHeight = 10;
connectorSocketMagnetExtrudeHeight = 1; connectorSocketMagnetExtrudeHeight = 1;
connectorTaperStartHeight = 3; connectorTaperStartHeight = 3;
connectorTopR = 3;
connectorRectPlugSlack = -0.1; connectorRectPlugSlack = -0.1;
connectorRectSocketSlack = 0.1; connectorRectSocketSlack = 0.1;
@ -17,6 +19,7 @@ module stackConnectorBase(rectSlack) {
wSlacked = connectorRectWidth + rectSlack; wSlacked = connectorRectWidth + rectSlack;
dSlacked = connectorRectDepth + rectSlack; dSlacked = connectorRectDepth + rectSlack;
topRSlacked = connectorTopR + rectSlack/2;
module connRect() { module connRect() {
linear_extrude(height=eps) linear_extrude(height=eps)
@ -25,7 +28,7 @@ module stackConnectorBase(rectSlack) {
module connTop() { module connTop() {
linear_extrude(height=eps) linear_extrude(height=eps)
circle(r=3); circle(r=topRSlacked);
} }
hull() { hull() {