Fix 'rotating that triangle' algorithm

This commit is contained in:
maride 2018-01-04 13:03:50 +01:00
parent 7165694b31
commit 14a9246db5

View File

@ -2,7 +2,7 @@ PIN_DIAMETER=1.75;
PIN_HEIGHT=4;
PIN_SPACING_X=12;
PIN_SPACING_Y=21;
CAMERA_ROTATION=45;
CAMERA_ROTATION=45; // keep it in [0, 90] to avoid eye damage
THICKNESS=5;
@ -44,4 +44,4 @@ translate([resulting_y/2, 0, resulting_x/2]) {
}
translate([-21-THICKNESS*2, -21/2 - THICKNESS, 0])
__2020(resulting_y, THICKNESS);
__2020(resulting_x, THICKNESS);