Index: development/Visualisatie_3D/Parametric_3D_models/MVX.json =================================================================== diff -u -r127 -r128 --- development/Visualisatie_3D/Parametric_3D_models/MVX.json (.../MVX.json) (revision 127) +++ development/Visualisatie_3D/Parametric_3D_models/MVX.json (.../MVX.json) (revision 128) @@ -68,7 +68,7 @@ "ChipBoardThickness = 16", "GlassLengthDesignElementSide = BoxSystemDepth - 96", "BoxSystemCenterWidth = BaseWidth / 2", - "BackWidth = InternalWidthFor3D - 38", + "BackWidth = InternalWidthFor3D - 51", "VARSECTIE = '**************************************MATERIALID*****************************************' ", "MaterialId_ChipBoard = concat('MT_ChipBoard_', BaseColour)", "MaterialId_BoxSystemColour = concat('MT_BLUM_', BoxSystemColour)", @@ -77,6 +77,7 @@ "ProductId_BoxSystemSide = concat('P-VIS-MVX.BoxSystemSide-', SideHeight, string(BoxSystemDepth))", "ProductId_BoxCap = concat('P-VIS-MVX.BoxCap-', string(BoxSystemDepth))", "ProductId_GallerySide = concat('P-VIS-MVX.GallerySide-', string(BoxSystemDepth))", + "ProductId_BackFixing = concat('P-VIS-MVX.BackFixing-', SideHeight)", "VARSECTIE = '***************************************EINDE****************************************' " ] }, @@ -326,6 +327,34 @@ } } ] + }, + { + "comment": "BackFixing Left", + "if": "is(BackSideMaterial, 'Wood')", + "geometry": { + "pass": true, + "url": "ProductId_BackFixing" + }, + "translate": { + "z": "-BoxSystemDepth" + }, + "material": "MaterialId_BoxSystemColour", + "uv": "@cube scale(0.01)" + }, + { + "comment": "BackFixing Right", + "if": "is(BackSideMaterial, 'Wood')", + "geometry": { + "pass": true, + "url": "ProductId_BackFixing" + }, + "material": "MaterialId_BoxSystemColour", + "mirror": "x", + "translate": { + "x": "BaseWidth", + "z": "-BoxSystemDepth" + }, + "uv": "@cube scale(0.01)" } ] } \ No newline at end of file