Index: development/Visualisatie_3D/Parametric_3D_models/MVX.json =================================================================== diff -u -r166 -r167 --- development/Visualisatie_3D/Parametric_3D_models/MVX.json (.../MVX.json) (revision 166) +++ development/Visualisatie_3D/Parametric_3D_models/MVX.json (.../MVX.json) (revision 167) @@ -138,6 +138,7 @@ "SideStabiliser_LockingPieceTranslationMatrix = ['270', '257'; '300', '264'; '350', '291'; '400', '326.5'; '450', '331'; '500', '355.5'; '550', '381'; '600', '406.5']", "SideStabiliser_LockingPieceTranslation = lookup(SideStabiliser_LockingPieceTranslationMatrix, [['=', string(BoxSystemDepth)], ['#', 'depth']]).depth", "SideStabiliserSynchroLinkageLength = InternalWidthFor3D - 231", + "SideStabiliserSynchroLinkageOrigin = ((BaseWidth - SideStabiliserSynchroLinkageLength) / 2) - 6", "VARSECTIE = '***************************************GENERATE PRODUCTID****************************************' ", "ProductId_BoxSystemSide = concat('P-VIS-MVX.BoxSystemSide-', SideHeight, string(BoxSystemDepth))", "ProductId_BoxCap = concat('P-VIS-MVX.BoxCap-', string(BoxSystemDepth))", @@ -842,11 +843,10 @@ } }, "material": "MT_Kunststof_OG", - "mirror": "z", "translate": { "x": "55.4 - SideDistanceBetweenBaseAndCabinetWall", "y": "34 - 47", - "z": "-19 + 15" + "z": "-19 + 15 - (BoxSystemDepth + 10)" }, "uv": "@cube scale(0.01)" }, @@ -861,11 +861,11 @@ } }, "material": "MT_Kunststof_OG", - "mirror": "xz", + "mirror": "x", "translate": { "x": "BaseWidth - 55.4 + SideDistanceBetweenBaseAndCabinetWall", "y": "34 - 47", - "z": "-19 + 15" + "z": "-19 + 15 - (BoxSystemDepth + 10)" }, "uv": "@cube scale(0.01)" }, @@ -931,12 +931,12 @@ "if": "is(HasSideStabiliser, 1)", "cylinder": { "start": { - "x": "(BaseWidth - SideStabiliserSynchroLinkageLength)/2 - 6", + "x": "SideStabiliserSynchroLinkageOrigin", "y": "-3.5", "z": "-(BoxSystemDepth + 0.6)" }, "end": { - "x": "(BaseWidth + SideStabiliserSynchroLinkageLength)/2 - 6", + "x": "SideStabiliserSynchroLinkageOrigin + SideStabiliserSynchroLinkageLength", "y": "-3.5", "z": "-(BoxSystemDepth + 0.6)" },