revert yBar changes, also WIP on side connectors and side wall
This commit is contained in:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user