Index: development/Visualisatie_3D/Parametric_3D_models/MVX.json =================================================================== diff -u -r123 -r124 --- development/Visualisatie_3D/Parametric_3D_models/MVX.json (.../MVX.json) (revision 123) +++ development/Visualisatie_3D/Parametric_3D_models/MVX.json (.../MVX.json) (revision 124) @@ -57,8 +57,11 @@ "BaseWidth = InternalWidth - 51", "BaseDepth = BoxSystemDepth - 26", "ChipBoardThickness = 16", + "GlassLengthDesignElementSide = BoxSystemDepth - 96", + "VARSECTIE = '**************************************MATERIALID*****************************************' ", "MaterialId_ChipBoard = concat('MT_ChipBoard_', BaseColour)", "MaterialId_BoxSystemColour = concat('MT_BLUM_', BoxSystemColour)", + "MaterialId_DesignElement = 'MT_Transparant_Glas'", "VARSECTIE = '***************************************GENERATE PRODUCTID****************************************' ", "ProductId_BoxSystemSide = concat('P-VIS-MVX.BoxSystemSide-', SideHeight, string(BoxSystemDepth))", "ProductId_BoxCap = concat('P-VIS-MVX.BoxCap-', string(BoxSystemDepth))", @@ -176,6 +179,96 @@ "x": "BaseWidth" }, "uv": "@cube scale(0.01)" + }, + { + "comment": "BoxCoverFront Left", + "if": "is(SideType, 'BoxCover')", + "geometry": { + "pass": true, + "url": "P-VIS-MVX.BoxCoverFront" + }, + "material": "MaterialId_BoxSystemColour", + "uv": "@cube scale(0.01)" + }, + { + "comment": "BoxCoverBack Left", + "if": "is(SideType, 'BoxCover')", + "geometry": { + "pass": true, + "url": "P-VIS-MVX.BoxCoverBack" + }, + "translate": { + "z": "-BoxSystemDepth" + }, + "material": "MaterialId_BoxSystemColour", + "uv": "@cube scale(0.01)" + }, + { + "comment": "BoxCoverFront Right", + "if": "is(SideType, 'BoxCover')", + "geometry": { + "pass": true, + "url": "P-VIS-MVX.BoxCoverFront" + }, + "material": "MaterialId_BoxSystemColour", + "mirror": "x", + "translate": { + "x": "BaseWidth" + }, + "uv": "@cube scale(0.01)" + }, + { + "comment": "BoxCoverBack Right", + "if": "is(SideType, 'BoxCover')", + "geometry": { + "pass": true, + "url": "P-VIS-MVX.BoxCoverBack" + }, + "material": "MaterialId_BoxSystemColour", + "mirror": "x", + "translate": { + "x": "BaseWidth", + "z": "-BoxSystemDepth" + }, + "uv": "@cube scale(0.01)" + }, + { + "comment": "DesignElementSide Left", + "if": "is(SideType, 'BoxCover')", + "material": "MaterialId_DesignElement", + "cube": { + "center": { + "x": "-4", + "y": "113", + "z": "-GlassLengthDesignElementSide / 2 - 40" + }, + "size": { + "x": 9, + "y": 138, + "z": "GlassLengthDesignElementSide" + } + } + }, + { + "comment": "DesignElementSide Right", + "if": "is(SideType, 'BoxCover')", + "material": "MaterialId_DesignElement", + "cube": { + "center": { + "x": "-4", + "y": "113", + "z": "-GlassLengthDesignElementSide / 2 - 40" + }, + "size": { + "x": 9, + "y": 138, + "z": "GlassLengthDesignElementSide" + } + }, + "translate": { + "x": "BaseWidth + 9", + "y": "0" + } } ] } \ No newline at end of file