Index: development/Visualisatie_3D/Parametric_3D_models/MVX.json =================================================================== diff -u -r121 -r122 --- development/Visualisatie_3D/Parametric_3D_models/MVX.json (.../MVX.json) (revision 121) +++ development/Visualisatie_3D/Parametric_3D_models/MVX.json (.../MVX.json) (revision 122) @@ -4,26 +4,34 @@ "default": "##################################################################################################################", "source": "###################################################################################################################" }, - "BodemKleur": { - "default": "color(#CD1719)", - "source": "/CB_VW_ConfiguratorTAB/CB_VW_ViewSection1/C_LBX_BodemKleur" + "BaseColour": { + "default": "DG", + "source": "/CB_VW_ConfiguratorTAB/CB_VW_Colours/C_MVX_BaseColour" }, - "DiktePlaatmateriaal": { - "default": 16, - "source": "plaatmateriaal dikte" - }, - "InterneBreedte": { + "InternalWidth": { "default": 564, - "source": "/CB_VW_ConfiguratorTAB/CB_VW_ViewSection2/C_BOX_InterneBreedte" + "source": "/CB_VW_ConfiguratorTAB/CB_VW_Dimensies/C_BOX_InternalWidth" }, - "LadeDiepte": { + "BoxSystemHeight": { + "default": "M", + "source": "/CB_VW_ConfiguratorTAB/CB_VW_Merivobox/C_MVX_BoxSystemHeight" + }, + "BoxSystemDepth": { "default": 500, - "source": "/CB_VW_ConfiguratorTAB/CB_VW_ViewSection3/C_LBX_LadeDiepte" + "source": "/CB_VW_ConfiguratorTAB/CB_VW_Dimensies/C_MVX_BoxSystemDepth" }, - "LadeKleur": { - "default": "obsidian", - "source": "/CB_VW_ConfiguratorTAB/CB_VW_ViewSection1/C_LBX_LadeKleur" + "BoxSystemColour": { + "default": "OG-M", + "source": "/CB_VW_ConfiguratorTAB/CB_VW_Colours/C_MVX_BoxSystemColour" }, + "SideHeight": { + "default": "M", + "source": "/CB_VW_ViewSection3/CB_VW_Invisibles/C_MVX_SideHeight" + }, + "SideType": { + "default": "Pure", + "source": "/CB_VW_ConfiguratorTAB/CB_VW_Merivobox/C_MVX_SideType" + }, "BomComponents": { "default": "##################################################################################################################", "source": "###################################################################################################################" @@ -45,25 +53,33 @@ } }, "var": [ - "BodemBreedte = InterneBreedte - 51", - "BodemDiepte = LadeDiepte - 26" + "VARSECTIE = '**************************************GENERAL*****************************************' ", + "BaseWidth = InternalWidth - 51", + "BaseDepth = BoxSystemDepth - 26", + "ChipBoardThickness = 16", + "MaterialId_ChipBoard = concat('MT_ChipBoard_', BaseColour)", + "MaterialId_BoxSystemColour = concat('MT_BLUM_', BoxSystemColour)", + "VARSECTIE = '***************************************GENERATE PRODUCTID****************************************' ", + "ProductId_BoxSystemSide = concat('P-VIS-MVX.BoxSystemSide-', SideHeight, string(BoxSystemDepth))", + "ProductId_BoxCap = concat('P-VIS-MVX.BoxCap-', string(BoxSystemDepth))", + "VARSECTIE = '***************************************EINDE****************************************' " ] }, { "comment": "Base", - "material": "BodemKleur", + "material": "MaterialId_ChipBoard", "subtract": [ { "cube": { "center": { - "x": "BodemBreedte/2", - "y": "DiktePlaatmateriaal/2", - "z": "-BodemDiepte/2" + "x": "BaseWidth/2", + "y": "ChipBoardThickness/2", + "z": "-BaseDepth/2" }, "size": { - "x": "BodemBreedte", - "y": "DiktePlaatmateriaal", - "z": "BodemDiepte" + "x": "BaseWidth", + "y": "ChipBoardThickness", + "z": "BaseDepth" } } } @@ -73,10 +89,69 @@ "comment": "BoxSystemSide Left", "geometry": { "pass": true, - "url": "P-VIS-MVX.BoxSystemSide-M500" + "url": "ProductId_BoxSystemSide" }, - "material": "MT_Blum_CS-M", + "material": "MaterialId_BoxSystemColour", "uv": "@cube scale(0.01)" + }, + { + "comment": "BoxSystemSide Right", + "geometry": { + "pass": true, + "url": "ProductId_BoxSystemSide" + }, + "material": "MaterialId_BoxSystemColour", + "mirror": "x", + "translate": { + "x": "BaseWidth" + }, + "uv": "@cube scale(0.01)" + }, + { + "comment": "CoverCapInner Left", + "geometry": { + "pass": true, + "url": "P-VIS-MVX.CoverCapsInner" + }, + "material": "MaterialId_BoxSystemColour", + "uv": "@cube scale(0.01)" + }, + { + "comment": "CoverCapInner Right", + "geometry": { + "pass": true, + "url": "P-VIS-MVX.CoverCapsInner" + }, + "material": "MaterialId_BoxSystemColour", + "mirror": "xz", + "translate": { + "x": "BaseWidth", + "z": "-66" + }, + "uv": "@cube scale(0.01)" + }, + { + "comment": "CoverCapOuter Left", + "geometry": { + "pass": true, + "url": "P-VIS-MVX.CoverCapsOuter" + }, + "material": "MaterialId_BoxSystemColour", + "uv": "@cube scale(0.01)" + }, + { + "comment": "CoverCapOuter Right", + "geometry": { + "pass": true, + "url": "P-VIS-MVX.CoverCapsOuter" + }, + "material": "MaterialId_BoxSystemColour", + "mirror": "xz", + "translate": { + "x": "BaseWidth", + "z": "-75" + }, + "uv": "@cube scale(0.01)" } ] } \ No newline at end of file