From 9abb52d30f3ec5b536fba8a8fb64d4279f27440e Mon Sep 17 00:00:00 2001
From: Amanda Ghassaei <amandaghassaei@gmail.com>
Date: Wed, 4 Feb 2015 02:36:22 -0500
Subject: [PATCH] parts fit together

---
 js/fea/DmaPart.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/js/fea/DmaPart.js b/js/fea/DmaPart.js
index d6b2f1af..48b138ed 100644
--- a/js/fea/DmaPart.js
+++ b/js/fea/DmaPart.js
@@ -16,9 +16,9 @@
         unitPartGeo1 = geometry
         unitPartGeo1.dynamic = true;
         unitPartGeo1.computeBoundingBox();
-        var unitScale = 1/unitPartGeo1.boundingBox.max.y;
+        var unitScale = 1.2/unitPartGeo1.boundingBox.max.y;
         unitPartGeo1.applyMatrix(new THREE.Matrix4().makeScale(unitScale, unitScale, unitScale));
-        unitPartGeo1.applyMatrix(new THREE.Matrix4().makeTranslation(0.2,-0.5, 0));
+        unitPartGeo1.applyMatrix(new THREE.Matrix4().makeTranslation(0.25,-0.6, -0.08));
         unitPartGeo1.applyMatrix(new THREE.Matrix4().makeRotationZ(-Math.PI/6));
         unitPartGeo1.dynamic = true;
         
-- 
GitLab