Fix Offset and Add Makefile

Added Makefile and json

Fixed Offset to 18. Test prints show alingment.
This commit is contained in:
sjc
2026-05-15 22:38:23 -04:00
parent 0a8137dac0
commit 898c5384fb
3 changed files with 66 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ footcrossyz = 38.08;
headcross_yz = 25.00;
footboard_y=19;
footboard_z=130;
LegOff = 19;
LegOff = 18;
LegGap=4;
headcrossgasket=13;
cornergasket=5;
@@ -210,6 +210,7 @@ if (part == "head_cross_front") {
foot_cross_front();
if (mate) { %foot_cross_rear(); }
}
} else if (part == "foot_cross_rear") {
rot = (plate) ? -90 : 0;
zt = plate ? platfoot_y+10 : 0;
@@ -264,10 +265,14 @@ if (part == "head_cross_front") {
}
}
if (model == "corner_leg") {
module leg_corner() {
%footboard();
%headpost();
%left(LegOff)fwd(headpost_y+LegGap)platfoot();
}
if (model == "corner_leg") {
%leg_corner();
} else if (model == "center_leg") {
%head_cross_bar();
%head_plat_mid();