Index: development/Visualisatie_3D/Parametric_3D_models/MVX.json =================================================================== diff -u -r149 -r150 --- development/Visualisatie_3D/Parametric_3D_models/MVX.json (.../MVX.json) (revision 149) +++ development/Visualisatie_3D/Parametric_3D_models/MVX.json (.../MVX.json) (revision 150) @@ -97,7 +97,7 @@ "GlassLengthDesignElementSide = BoxSystemDepth - 90", "BoxSystemCenterWidth = BaseWidth / 2", "Side_HeightMatrix = ['N', '60.5'; 'M', '83'; 'K', '121'; 'E', '184']", - "SideHeightInMm = lookup(Side_HeightMatrix, [['=', string(BoxSystemHeight)], ['#', 'height']])", + "SideHeightInMm = lookup(Side_HeightMatrix, [['=', string(SideHeight)], ['#', 'height']]).height", "BackWidth = InternalWidthFor3D - 51", "BackHeightFor3D = is(BackHeight, 'None') ? BoxSystemHeight : BackHeight", "SideDistanceBetweenBaseAndCabinetWall = 25.5", @@ -237,7 +237,7 @@ "material": "MaterialId_BoxSystemColour", "translate": { "x": "-5", - "y": "83" + "y": "SideHeightInMm" }, "uv": "@cube scale(0.01)" }, @@ -252,7 +252,7 @@ "mirror": "x", "translate": { "x": "BaseWidth + 5", - "y": "83" + "y": "SideHeightInMm" }, "uv": "@cube scale(0.01)" }, @@ -266,7 +266,7 @@ "material": "MaterialId_BoxSystemColour", "translate": { "x": "-5", - "y": "83" + "y": "SideHeightInMm" }, "uv": "@cube scale(0.01)" }, @@ -280,7 +280,7 @@ "material": "MaterialId_BoxSystemColour", "translate": { "x": "-5", - "y": "83", + "y": "SideHeightInMm", "z": "-BoxSystemDepth" }, "uv": "@cube scale(0.01)" @@ -296,7 +296,7 @@ "mirror": "x", "translate": { "x": "BaseWidth + 5", - "y": "83" + "y": "SideHeightInMm" }, "uv": "@cube scale(0.01)" }, @@ -311,7 +311,7 @@ "mirror": "x", "translate": { "x": "BaseWidth + 5", - "y": "83", + "y": "SideHeightInMm", "z": "-BoxSystemDepth" }, "uv": "@cube scale(0.01)" @@ -674,7 +674,7 @@ }, "translate": { "x": 31.5, - "y": 183, + "y": "SideHeightInMm - 1", "z": 1.8 } },