revert yBar changes, also WIP on side connectors and side wall

This commit is contained in:
zhao
2023-01-21 23:03:49 -05:00
parent 75dbf032ef
commit 8e39e45514
8 changed files with 128 additions and 29 deletions

View File

@ -18,11 +18,11 @@ module align(a,b) {
echo("b", b);
rot_axis = cross(a,b);
if (rot_axis == 0) {
if (rot_axis == [0,0,0]) {
error("Can't align - provided vectors are parallel");
}
echo("rot_axis", rot_axis);
//echo("rot_axis", rot_axis);
angle = acos(a*b/(norm(a)*norm(b)));
echo("angle", angle)