update some tolerances

This commit is contained in:
zhao
2023-03-19 15:02:46 -04:00
parent 65a2be0546
commit 3e2887b3f5
4 changed files with 16 additions and 4 deletions

View File

@ -1,6 +1,9 @@
include <../helper/math.scad> include <../helper/math.scad>
include <../helper/common.scad> include <../helper/common.scad>
include <../misc/magnet.scad> include <../misc/magnet.scad>
include <../helper/screws.scad>
include <./config.scad>
connectorRectWidth = 10; connectorRectWidth = 10;
connectorRectDepth = 10; connectorRectDepth = 10;
@ -15,6 +18,8 @@ connectorRectSocketSlack = 0.1;
connectorBottomToScrew = 6; connectorBottomToScrew = 6;
*stackConnectorPlug();
module stackConnectorBase(rectSlack) { module stackConnectorBase(rectSlack) {
wSlacked = connectorRectWidth + rectSlack; wSlacked = connectorRectWidth + rectSlack;

View File

@ -7,6 +7,8 @@ module xBarConnectorFromY_N() {
y2 = 27; y2 = 27;
z = 6; z = 6;
slack = 0.4;
translate(v = [-m3HeatSetInsertSlotHeightSlacked, y1, z]) translate(v = [-m3HeatSetInsertSlotHeightSlacked, y1, z])
rotate(a = [0, 90, 0]) rotate(a = [0, 90, 0])
heatSetInsertSlot_N(rackFrameScrewType); heatSetInsertSlot_N(rackFrameScrewType);
@ -15,10 +17,11 @@ module xBarConnectorFromY_N() {
rotate(a = [0, 90, 0]) rotate(a = [0, 90, 0])
heatSetInsertSlot_N(rackFrameScrewType); heatSetInsertSlot_N(rackFrameScrewType);
// TODO fix this up, no center=true // TODO fix this up
// TODO need to add slack values
translate(v = [-1, y1+(y2-y1)/2, 0]) translate(v = [-1, y1+(y2-y1)/2, 0])
rotate(a = [0, 45, 0]) rotate(a = [0, 45, 0])
cube(size = [3, 10, 6], center = true); cube(size = [3+slack, 10+slack, 6+slack], center = true);
} }
@ -26,6 +29,8 @@ module yBarConnectorFromX_N() {
y1 = 6; y1 = 6;
y2 = 27; y2 = 27;
z = 6; z = 6;
slack = 0.2;
translate(v = [-inf50/2, y1, z]) translate(v = [-inf50/2, y1, z])
rotate(a = [0, 90, 0]) rotate(a = [0, 90, 0])
cylinder(r = screwRadiusSlacked(rackFrameScrewType), h = inf50, $fn = 32); cylinder(r = screwRadiusSlacked(rackFrameScrewType), h = inf50, $fn = 32);
@ -41,12 +46,14 @@ module yBarConnectorFromXLug() {
y2 = 27; y2 = 27;
z = 6; z = 6;
slack = 0.2;
intersection() { intersection() {
// TODO fix this up, no center=true // TODO fix this up, no center=true
translate(v = [-1, y1+(y2-y1)/2, 0]) translate(v = [-1, y1+(y2-y1)/2, 0])
rotate(a = [0, 45, 0]) rotate(a = [0, 45, 0])
scale(v=[0.90,0.95,0.90]) scale(v=[0.90,0.95,0.90])
cube(size = [3, 10, 6], center = true); cube(size = [3-slack, 10-slack, 6-slack], center = true);
halfspace(vpos=[0,0,1], p=[0,0,0]); halfspace(vpos=[0,0,1], p=[0,0,0]);
halfspace(vpos=[1,0,0], p=[-2,0,0]); halfspace(vpos=[1,0,0], p=[-2,0,0]);

View File

@ -38,7 +38,7 @@ module yBar() {
cylindricalFiletEdge(yBarWidth, yBarDepth-2*joinCornerDepth, yBarHeight, yBarRoundness); cylindricalFiletEdge(yBarWidth, yBarDepth-2*joinCornerDepth, yBarHeight, yBarRoundness);
} }
halfspace(vpos=[-1, 0, 1], p=[yBarWidth-0.5, 0,0]); halfspace(vpos=[-1, 0, 1], p=[yBarWidth-1, 0,0]);
} }
} }

Binary file not shown.