fixed centering of hindge_conveyor_standarSlideY()

This commit is contained in:
2026-04-22 15:54:37 -04:00
parent 129a4b2526
commit 77322f3005

View File

@@ -35,13 +35,15 @@ The arcCompenstate param could present the 'standard' slide recipes
No image published.
Not yet mapped for potential uses.
-------------------------------------------------------------------------- */
hindge_conveyor_standarSlideY(dimSlideY=8, drawPairs=2);
hindge_conveyor_standarSlideY(dimSlideY=8, drawPairs=3);
module hindge_conveyor_standarSlideY(dimSlideY, drawPairs) {
minSlideX = wClosedEnd-(1.25*wd); // Minium distance for a functional print
arrayMoveX = (2*wClosedEnd)-(2.5*wd); // moves the stamps in locked pairs
//centerX = ((0.5*drawPairs)*arrayMoveX)-(wClosedEnd-(1.25*wd));
centerX = 0.5*(drawPairs*arrayMoveX)+(wClosedEnd-(1.25*wd));
translate([-((0.5*drawPairs)*arrayMoveX), 0, 0]) // move back to center
translate([-centerX, 0, 0]) // move back to center
for (i = [1:drawPairs]) { translate([(i*arrayMoveX), 0, 0])
hinged_conveyor_sided(slideX=minSlideX, slideY=dimSegmentY[dimSlideY]);
}