diff --git a/js/parts/DNAStraightPart.js b/js/parts/DNAStraightPart.js index 80a8fbffc36c92132a5bc75679bad8603e543bc0..4fd898efce39f136e94245701eeb95cb604f96eb 100644 --- a/js/parts/DNAStraightPart.js +++ b/js/parts/DNAStraightPart.js @@ -5,7 +5,7 @@ define(['underscore', 'stlLoader', 'gikPart'], function(_, THREE, GIKPart){ - var zScale = 1/8; + var zScale = 1.08/8; var unitGeo = new THREE.BoxGeometry(0.2, 0.2, zScale); var bridgeGeo = new THREE.BoxGeometry(0.3, 0.4, zScale); diff --git a/js/plists/PList.js b/js/plists/PList.js index 56f4b6793d522d0953471b07586452ed4e2f58cb..58ff02f724b48c40820f5c27a6dd6cd2d6a595e0 100644 --- a/js/plists/PList.js +++ b/js/plists/PList.js @@ -261,10 +261,12 @@ define(['three'], function(THREE){ name: "Lego Blocks" } }, - aspectRatio: new THREE.Vector3(1,1,1), + aspectRatio: new THREE.Vector3(1,1,1.08), materialClasses: ['mechanical'], options: { - gikLength: 2 + gikLength: 2, + scale: 2.5, + units: 'nm' } }, default: {