{ "mapping": { "Characteristics": { "default": "##################################################################################################################", "source": "###################################################################################################################" }, "BaseColour": { "default": "DG", "source": "/CB_VW_ConfiguratorTAB/CB_VW_Colours/C_MVX_BaseColour" }, "InternalWidth": { "default": 564, "source": "/CB_VW_ConfiguratorTAB/CB_VW_Dimensies/C_BOX_InternalWidth" }, "BoxSystemHeight": { "default": "M", "source": "/CB_VW_ConfiguratorTAB/CB_VW_Merivobox/C_MVX_BoxSystemHeight" }, "BoxSystemDepth": { "default": 500, "source": "/CB_VW_ConfiguratorTAB/CB_VW_Dimensies/C_MVX_BoxSystemDepth" }, "BoxSystemColour": { "default": "OG-M", "source": "/CB_VW_ConfiguratorTAB/CB_VW_Colours/C_MVX_BoxSystemColour" }, "IsInnerBoxSystem": { "default": "0", "source": "/CB_VW_ConfiguratorTAB/CB_VW_Merivobox/C_BOX_IsInnerBoxSystem.View" }, "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" }, "BackSideMaterial": { "default": "Wood", "source": "/CB_VW_ConfiguratorTAB/CB_VW_Afwerking/C_BOX_BackSideMaterial" }, "BackHeight": { "default": "None", "source": "/CB_VW_ConfiguratorTAB/CB_VW_Afwerking/C_MVX_BackHeight" }, "BackHeightInMM": { "default": "83", "source": "/CB_VW_ViewSection3/CB_VW_NeededFor3D/C_BOX_BackHeightInMm" }, "FrontAttachment": { "default": "ET", "source": "/CB_VW_ConfiguratorTAB/CB_VW_Afwerking/C_BOX_FrontAttachment" }, "FrontType": { "default": "Gallery", "source": "/CB_VW_ViewSection3/CB_VW_NeededFor3D/C_BOX_FrontType" }, "BomComponents": { "default": "##################################################################################################################", "source": "###################################################################################################################" }, "HF_FrontPanel": { "default": "P-VIS-MVX.FrontPanel-Contour", "source": "dummy" }, "HF_GalleryFront": { "default": "P-VIS-MVX.GalleryFront-Contour", "source": "dummy" } }, "import": { "Collection_FrontPanel_Contour": "HF_FrontPanel", "Collection_GalleryFront_Contour": "HF_GalleryFront" }, "parts": [ { "comment": "Variabelen", "cube": { "center": { "x": 0, "y": 0, "z": 0 }, "size": { "x": 0, "y": 0, "z": 0 } }, "var": [ "VARSECTIE = '**************************************GENERAL*****************************************' ", "InternalWidthFor3D = InternalWidth", "BaseWidth = InternalWidthFor3D - 51", "BaseDepth = BoxSystemDepth - 26", "ChipBoardThickness = 16", "GlassLengthDesignElementSide = BoxSystemDepth - 90", "BoxSystemCenterWidth = BaseWidth / 2", "Side_HeightMatrix = ['N', '60.5'; 'M', '83'; 'K', '121'; 'E', '184']", "SideHeightInMm = lookup(Side_HeightMatrix, [['=', string(SideHeight)], ['#', 'height']]).height", "BoxSystemHeightInMm = lookup(Side_HeightMatrix, [['=', string(BoxSystemHeight)], ['#', 'height']]).height", "BackWidth = InternalWidthFor3D - 51", "BackHeightFor3D = is(BackHeight, 'None') ? BoxSystemHeight : BackHeight", "SideDistanceBetweenBaseAndCabinetWall = 25.5", "VARSECTIE = '**************************************MATERIALID*****************************************' ", "MaterialId_ChipBoard = concat('MT_ChipBoard_', BaseColour)", "MaterialId_BoxSystemColour = concat('MT_BLUM_', BoxSystemColour)", "MaterialId_DesignElement = 'MT_Transparant_Glas'", "MaterialId_Runner = 'MT_BLUM_INGL'", "VARSECTIE = '**************************************FRONT ATTACHMENT*****************************************' ", "ShowFrontAttachmentBottom = is(IsInnerBoxSystem, '1') ? 'false' : 'true' ", "ShowFrontAttachmentTop = is(IsInnerBoxSystem, '1') ? 'false' : is(BoxSystemHeight, 'E') ? 'true' : 'false' ", "VARSECTIE = '**************************************FRONT FIXING*****************************************' ", "FrontFixing_Suffix_For_ProductId = is(BoxSystemHeight, 'E') ? ((is(FrontType, 'GlassLow') or is(FrontType, 'GlassHigh')) ? 'DesignElement' : 'Gallery') : ''", "ShowFrontFixingAdapter = (is(IsInnerBoxSystem, '1') and is(BoxSystemHeight, 'E') and is(FrontType, 'GlassLow')) ? 'true' : 'false'", "VARSECTIE = '**************************************FRONT*****************************************' ", "ShowFrontDesignElementLow = (is(IsInnerBoxSystem, '1') and is(FrontType, 'GlassLow')) ? 'true' : 'false'", "ShowFrontDesignElementHigh = (is(IsInnerBoxSystem, '1') and is(FrontType, 'GlassHigh')) ? 'true' : 'false'", "ShowFrontPanel = is(IsInnerBoxSystem, '1') ? 'true' : 'false'", "ShowGalleryFront = (is(IsInnerBoxSystem, '1') and is(FrontType, 'Gallery')) ? 'true' : 'false'", "FrontPanelLength = InternalWidthFor3D - 126", "GalleryFrontLength = InternalWidthFor3D - 111", "PartIdFrontPanel = concat('P-VIS-MVX.FrontPanel-', BoxSystemHeight, FrontType)", "VARSECTIE = '**************************************COVERCAP BACKFIXING*****************************************' ", "ShowCoverCapBackFixingGallery = (is(BackHeightFor3D, 'E') and is(SideType, 'Gallery')) ? 'true' : 'false'", "ShowCoverCapBackFixingBoxcap = (is(BackHeightFor3D, 'M') and oneOf(SideType, 'Pure', 'BoxCap', 'BoxCover')) ? 'true' : 'false'", "ShowCoverCapBackFixing = (is(ShowCoverCapBackFixingGallery, 'true') or is(ShowCoverCapBackFixingBoxcap, 'true')) ? 'true' : 'false'", "VARSECTIE = '***************************************GENERATE PRODUCTID****************************************' ", "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-', BackHeightFor3D)", "ProductId_CoverCapBackFixing = concat('P-VIS-MVX.CoverCapBackFixing-', SideType)", "ProductId_FrontAttachmentBottom = concat('P-VIS-MVX.FrontAttachmentBottom-', FrontAttachment)", "ProductId_FrontAttachmentTop = concat('P-VIS-MVX.FrontAttachmentTop-', FrontAttachment)", "ProductId_FrontFixing = concat('P-VIS-MVX.FrontFixing-', BoxSystemHeight, FrontFixing_Suffix_For_ProductId)", "ProductId_CoverCapFrontFixingInner = concat('P-VIS-MVX.CoverCapFrontFixingInner-', BoxSystemHeight, FrontFixing_Suffix_For_ProductId)", "ProductId_CoverCapFrontFixingOuter = concat('P-VIS-MVX.CoverCapFrontFixingOuter-', BoxSystemHeight)", "ProductId_Frontpanel = P-VIS-MVX.FrontPanel-Contour", "ProductId_Runner = concat('P-VIS-MVX.Runner-', string(BoxSystemDepth))", "VARSECTIE = '***************************************EINDE****************************************' " ] }, { "comment": "Base", "material": "MaterialId_ChipBoard", "subtract": [ { "cube": { "center": { "x": "BaseWidth/2", "y": "ChipBoardThickness/2", "z": "-BaseDepth/2" }, "size": { "x": "BaseWidth", "y": "ChipBoardThickness", "z": "BaseDepth" } } } ] }, { "comment": "BoxSystemSide Left", "geometry": { "pass": true, "url": "ProductId_BoxSystemSide" }, "material": "MaterialId_BoxSystemColour", "translate": { "y": "ChipBoardThickness" }, "uv": "@cube scale(0.01)" }, { "comment": "BoxSystemSide Right", "geometry": { "pass": true, "url": "ProductId_BoxSystemSide" }, "material": "MaterialId_BoxSystemColour", "mirror": "x", "translate": { "x": "BaseWidth", "y": "ChipBoardThickness" }, "uv": "@cube scale(0.01)" }, { "comment": "CoverCapInner Left", "geometry": { "pass": true, "url": "P-VIS-MVX.CoverCapInner" }, "material": "MaterialId_BoxSystemColour", "uv": "@cube scale(0.01)" }, { "comment": "CoverCapInner Right", "geometry": { "pass": true, "url": "P-VIS-MVX.CoverCapInner" }, "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.CoverCapOuter" }, "material": "MaterialId_BoxSystemColour", "uv": "@cube scale(0.01)" }, { "comment": "CoverCapOuter Right", "geometry": { "pass": true, "url": "P-VIS-MVX.CoverCapOuter" }, "material": "MaterialId_BoxSystemColour", "mirror": "xz", "translate": { "x": "BaseWidth", "z": "-75" }, "uv": "@cube scale(0.01)" }, { "comment": "BoxCap Left", "if": "is(SideType, 'BoxCap')", "geometry": { "pass": true, "url": "ProductId_BoxCap" }, "material": "MaterialId_BoxSystemColour", "translate": { "x": "-5", "y": "SideHeightInMm" }, "uv": "@cube scale(0.01)" }, { "comment": "BoxCap Right", "if": "is(SideType, 'BoxCap')", "geometry": { "pass": true, "url": "ProductId_BoxCap" }, "material": "MaterialId_BoxSystemColour", "mirror": "x", "translate": { "x": "BaseWidth + 5", "y": "SideHeightInMm" }, "uv": "@cube scale(0.01)" }, { "comment": "BoxCoverFront Left", "if": "is(SideType, 'BoxCover')", "geometry": { "pass": true, "url": "P-VIS-MVX.BoxCoverFront" }, "material": "MaterialId_BoxSystemColour", "translate": { "x": "-5", "y": "SideHeightInMm" }, "uv": "@cube scale(0.01)" }, { "comment": "BoxCoverBack Left", "if": "is(SideType, 'BoxCover')", "geometry": { "pass": true, "url": "P-VIS-MVX.BoxCoverBack" }, "material": "MaterialId_BoxSystemColour", "translate": { "x": "-5", "y": "SideHeightInMm", "z": "-BoxSystemDepth" }, "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 + 5", "y": "SideHeightInMm" }, "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 + 5", "y": "SideHeightInMm", "z": "-BoxSystemDepth" }, "uv": "@cube scale(0.01)" }, { "comment": "DesignElementSide Left", "if": "is(SideType, 'BoxCover')", "material": "MaterialId_DesignElement", "cube": { "center": { "x": "-4.6", "y": "134", "z": "-(GlassLengthDesignElementSide / 2) - 40" }, "size": { "x": 8, "y": 95, "z": "GlassLengthDesignElementSide" } } }, { "comment": "DesignElementSide Right", "if": "is(SideType, 'BoxCover')", "material": "MaterialId_DesignElement", "cube": { "center": { "x": "-4.6", "y": "134", "z": "-(GlassLengthDesignElementSide / 2) - 40" }, "size": { "x": 8, "y": 95, "z": "GlassLengthDesignElementSide" } }, "translate": { "x": "BaseWidth + 9", "y": "0" } }, { "comment": "GallerySide Left", "if": "is(SideType, 'Gallery')", "geometry": { "pass": true, "url": "ProductId_GallerySide" }, "material": "MaterialId_BoxSystemColour", "translate": { "x": "-5", "y": "173.5" }, "uv": "@cube scale(0.01)" }, { "comment": "GallerySide Right", "if": "is(SideType, 'Gallery')", "geometry": { "pass": true, "url": "ProductId_GallerySide" }, "material": "MaterialId_BoxSystemColour", "mirror": "x", "translate": { "x": "BaseWidth + 5", "y": "173.5" }, "uv": "@cube scale(0.01)" }, { "comment": "Wooden Back", "if": "is(BackSideMaterial, 'Wood')", "material": "MaterialId_ChipBoard", "subtract": [ { "cube": { "center": { "x": "BoxSystemCenterWidth", "y": "BackHeightInMM / 2", "z": "-BaseDepth - (ChipBoardThickness / 2)" }, "size": { "x": "BackWidth", "y": "BackHeightInMM", "z": "ChipBoardThickness" } } } ] }, { "comment": "BackFixing Left", "if": "is(BackSideMaterial, 'Wood')", "geometry": { "pass": true, "url": "ProductId_BackFixing" }, "material": "MaterialId_BoxSystemColour", "translate": { "x": "11", "y": "BackHeightInMM - 10", "z": "-BoxSystemDepth + 26 - ChipBoardThickness" }, "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 - 11", "y": "BackHeightInMM - 10", "z": "-BoxSystemDepth + 26 - ChipBoardThickness" }, "uv": "@cube scale(0.01)" }, { "comment": "FrontAttachmentBottom Left", "if": "is(ShowFrontAttachmentBottom, 'true')", "geometry": { "pass": true, "url": "ProductId_FrontAttachmentBottom" }, "translate": { "x": "-5", "y": "13.5" }, "uv": "@cube scale(0.01)" }, { "comment": "FrontAttachmentTop Left", "if": "is(ShowFrontAttachmentTop, 'true')", "geometry": { "pass": true, "url": "ProductId_FrontAttachmentTop" }, "translate": { "x": "-5", "y": "174.5" }, "uv": "@cube scale(0.01)" }, { "comment": "FrontAttachmentBottom Right", "if": "is(ShowFrontAttachmentBottom, 'true')", "geometry": { "pass": true, "url": "ProductId_FrontAttachmentBottom" }, "translate": { "x": "BaseWidth + 5", "y": "13.5" }, "uv": "@cube scale(0.01)" }, { "comment": "FrontAttachmentTop Right", "if": "is(ShowFrontAttachmentTop, 'true')", "geometry": { "pass": true, "url": "ProductId_FrontAttachmentTop" }, "translate": { "x": "BaseWidth + 5", "y": "174.5" }, "uv": "@cube scale(0.01)" }, { "comment": "FrontFixing Left", "if": "is(IsInnerBoxSystem, '1')", "geometry": { "pass": true, "url": "ProductId_FrontFixing" }, "material": "MaterialId_BoxSystemColour", "translate": { "x": "-5", "y": "13.5" }, "uv": "@cube scale(0.01)" }, { "comment": "FrontFixing Right", "if": "is(IsInnerBoxSystem, '1')", "geometry": { "pass": true, "url": "ProductId_FrontFixing" }, "material": "MaterialId_BoxSystemColour", "mirror": "x", "translate": { "x": "BaseWidth + 5", "y": "13.5" }, "uv": "@cube scale(0.01)" }, { "comment": "CoverCapFrontFixingOuter Left", "if": "is(IsInnerBoxSystem, '1')", "geometry": { "pass": true, "url": "ProductId_CoverCapFrontFixingOuter" }, "material": "MaterialId_BoxSystemColour", "translate": { "x": "-5", "y": "13.5" }, "uv": "@cube scale(0.01)" }, { "comment": "CoverCapFrontFixingOuter Right", "if": "is(IsInnerBoxSystem, '1')", "geometry": { "pass": true, "url": "ProductId_CoverCapFrontFixingOuter" }, "material": "MaterialId_BoxSystemColour", "mirror": "x", "translate": { "x": "BaseWidth + 5", "y": "13.5" }, "uv": "@cube scale(0.01)" }, { "comment": "CoverCapFrontFixingInner Left", "if": "is(IsInnerBoxSystem, '1')", "geometry": { "pass": true, "url": "ProductId_CoverCapFrontFixingInner" }, "material": "MaterialId_BoxSystemColour", "translate": { "x": "-5", "y": "13.5" }, "uv": "@cube scale(0.01)" }, { "comment": "CoverCapFrontFixingInner Right", "if": "is(IsInnerBoxSystem, '1')", "geometry": { "pass": true, "url": "ProductId_CoverCapFrontFixingInner" }, "material": "MaterialId_BoxSystemColour", "mirror": "x", "translate": { "x": "BaseWidth + 5", "y": "13.5" }, "uv": "@cube scale(0.01)" }, { "comment": "FrontFixingAdapter Left", "if": "is(ShowFrontFixingAdapter, 'true')", "geometry": { "pass": true, "url": "P-VIS-MVX.FrontFixingAdapter" }, "material": "MaterialId_BoxSystemColour", "translate": { "x": "-5", "y": "13.5" }, "uv": "@cube scale(0.01)" }, { "comment": "FrontFixingAdapter Right", "if": "is(ShowFrontFixingAdapter, 'true')", "geometry": { "pass": true, "url": "P-VIS-MVX.FrontFixingAdapter" }, "material": "MaterialId_BoxSystemColour", "mirror": "x", "translate": { "x": "BaseWidth + 5", "y": "13.5" }, "uv": "@cube scale(0.01)" }, { "comment": "DesignElementFront Low", "if": "is(ShowFrontDesignElementLow, 'true')", "material": "MaterialId_DesignElement", "cube": { "center": { "x": "BaseWidth/2", "y": "75/2 + ChipBoardThickness + 21.5", "z": "-ChipBoardThickness/2 + 3.4" }, "size": { "x": "InternalWidth - 104", "y": "75", "z": "8" } } }, { "comment": "DesignElementFront High", "if": "is(ShowFrontDesignElementHigh, 'true')", "material": "MaterialId_DesignElement", "cube": { "center": { "x": "BaseWidth/2", "y": "142.5/2 + ChipBoardThickness + 21.5", "z": "-ChipBoardThickness/2 + 3.4" }, "size": { "x": "InternalWidth - 104", "y": "142.5", "z": "8" } } }, { "comment": "Parametric FrontPanel", "if": "is(ShowFrontPanel, 'true')", "use": { "from": "Collection_FrontPanel_Contour", "part": "PartIdFrontPanel", "params": { "length": "FrontPanelLength" } }, "material": "MaterialId_BoxSystemColour", "uv": "@cube scale(0.01)", "rotate": { "y": 90 }, "translate": { "x": 38, "y": -14.5 } }, { "comment": "Parametric GalleryFront", "if": "is(ShowGalleryFront, 'true')", "use": { "from": "Collection_GalleryFront_Contour", "part": "P-VIS-MVX.GalleryFront", "params": { "length": "GalleryFrontLength" } }, "material": "MaterialId_BoxSystemColour", "uv": "@cube scale(0.01)", "rotate": { "y": 90 }, "translate": { "x": 31.5, "y": "BoxSystemHeightInMm - 1", "z": 1.8 } }, { "comment": "Runner Left", "geometry": { "pass": true, "url": "ProductId_Runner" }, "material": "MaterialId_Runner", "translate": { "x": "-SideDistanceBetweenBaseAndCabinetWall", "y": "34", "z": "-19" }, "uv": "@cube scale(0.01)" }, { "comment": "Runner Right", "geometry": { "pass": true, "url": "ProductId_Runner" }, "material": "MaterialId_Runner", "mirror": "x", "translate": { "x": "BaseWidth + SideDistanceBetweenBaseAndCabinetWall", "y": "34", "z": "-19" }, "uv": "@cube scale(0.01)" }, { "comment": "CoverCap BackFixing Left", "if": "is(ShowCoverCapBackFixing, 'true')", "geometry": { "pass": true, "url": "ProductId_CoverCapBackFixing" }, "material": "MaterialId_BoxSystemColour", "translate": { "x": "11", "y": "BoxSystemHeightInMm - 10", "z": "-BoxSystemDepth + 26 - ChipBoardThickness" }, "uv": "@cube scale(0.01)" }, { "comment": "CoverCap BackFixing Right", "if": "is(ShowCoverCapBackFixing, 'true')", "geometry": { "pass": true, "url": "ProductId_CoverCapBackFixing" }, "material": "MaterialId_BoxSystemColour", "mirror": "x", "translate": { "x": "BaseWidth - 11", "y": "BoxSystemHeightInMm - 10", "z": "-BoxSystemDepth + 26 - ChipBoardThickness" }, "uv": "@cube scale(0.01)" } ] }