Index: development/Visualisatie_3D/Parametric_3D_models/MVX.json =================================================================== diff -u -r169 -r170 --- development/Visualisatie_3D/Parametric_3D_models/MVX.json (.../MVX.json) (revision 169) +++ development/Visualisatie_3D/Parametric_3D_models/MVX.json (.../MVX.json) (revision 170) @@ -60,6 +60,34 @@ "default": 0, "source": "/CB_VW_ConfiguratorTAB/CB_VW_Afwerking/C_BOX_HasSideStabiliser.Bool" }, + "CutOutCode_Z1": { + "default": "SY_Recht_M_D240_B160", + "source": "/CB_VW_ViewSection3/CB_VW_NeededFor3D/C_MVX_CutOutCode.Z1" + }, + "HasDoubleCutOut": { + "default": 0, + "source": "/CB_VW_ViewSection3/CB_VW_NeededFor3D/C_BOX_CutOut_HasDoubleCutOut.Bool" + }, + "HasSiphonCapCutOut": { + "default": 1, + "source": "/CB_VW_ViewSection3/CB_VW_NeededFor3D/C_BOX_Visu3D.HasSiphonCapCutOut" + }, + "CutOutData_LeftX_Width": { + "default": 250, + "source": "/CB_VW_ViewSection3/CB_VW_NeededFor3D/C_BOX_CutOutData.LeftX.Width" + }, + "CutOutData_CenterM_Width": { + "default": 100, + "source": "/CB_VW_ViewSection3/CB_VW_NeededFor3D/C_BOX_CutOutData.CenterM.Width" + }, + "CutOutData_CapZ1_Width": { + "default": 160, + "source": "/CB_VW_ViewSection3/CB_VW_NeededFor3D/C_BOX_CutOutData.CapZ1.Width" + }, + "CutOutData_CapZ2_Width": { + "default": 160, + "source": "/CB_VW_ViewSection3/CB_VW_NeededFor3D/C_BOX_CutOutData.CapZ2.Width" + }, "BomComponents": { "default": "##################################################################################################################", "source": "###################################################################################################################" @@ -146,6 +174,9 @@ "SideStabiliserSynchroLinkageOrigin = ((BaseWidth - SideStabiliserSynchroLinkageLength) / 2) - 6", "VARSECTIE = '**************************************BACK STEEL*****************************************' ", "BackSteelVisualCorrectionZ = 2", + "VARSECTIE = '***************************************SIPHON CAP****************************************' ", + "SiphonCap_Depth = 248", + "SiphonCap_CenterPositionX_Z1 = CutOutData_LeftX_Width + (CutOutData_CapZ1_Width / 2)", "VARSECTIE = '***************************************GENERATE PRODUCTID****************************************' ", "ProductId_BoxSystemSide = concat('P-VIS-MVX.BoxSystemSide-', SideHeight, string(BoxSystemDepth))", "ProductId_BoxCap = concat('P-VIS-MVX.BoxCap-', string(BoxSystemDepth))", @@ -160,6 +191,7 @@ "ProductId_Frontpanel = P-VIS-MVX.FrontPanel-Contour", "ProductId_Runner = concat('P-VIS-MVX.Runner-', string(BoxSystemDepth))", "ProductId_BackSteel = concat('P-VIS-MVX.BackSteel-', BackHeightFor3D, string(InternalWidthFor3D))", + "ProductId_SiphonCap = concat('P-VIS-MVX.SiphonCap-', CutOutCode_Z1)", "VARSECTIE = '***************************************EINDE****************************************' " ] }, @@ -180,6 +212,22 @@ "z": "BaseDepth" } } + }, + { + "comment": "Cutout SiphonCap Left", + "if": "is(HasSiphonCapCutOut, 1)", + "cube": { + "center": { + "x": "SiphonCap_CenterPositionX_Z1", + "y": "ChipBoardThickness/2", + "z": "-(BaseDepth - ((SiphonCap_Depth - 6)/2))" + }, + "size": { + "x": "CutOutData_CapZ1_Width + 4", + "y": "ChipBoardThickness", + "z": "SiphonCap_Depth - 6" + } + } } ] }, @@ -434,6 +482,22 @@ "z": "ChipBoardThickness" } } + }, + { + "comment": "Cutout SiphonCap Left", + "if": "is(HasSiphonCapCutOut, 1)", + "cube": { + "center": { + "x": "SiphonCap_CenterPositionX_Z1", + "y": "BackHeightInMM / 2", + "z": "-(BaseDepth + (ChipBoardThickness / 2))" + }, + "size": { + "x": "CutOutData_CapZ1_Width + 4", + "y": "BackHeightInMM", + "z": "ChipBoardThickness" + } + } } ] }, @@ -972,6 +1036,21 @@ "z": "-(BaseDepth + BackSteelVisualCorrectionZ)" }, "uv": "@cube scale(0.01)" + }, + { + "comment": "SiphonCap Left", + "if": "is(HasSiphonCapCutOut, 1)", + "geometry": { + "pass": true, + "url": "ProductId_SiphonCap" + }, + "material": "MaterialId_BoxSystemColour", + "translate": { + "x": "CutOutData_LeftX_Width + (CutOutData_CapZ1_Width / 2)", + "y": "ChipBoardThickness", + "z": "-(BaseDepth - SiphonCap_Depth)" + }, + "uv": "@cube scale(0.01)" } ] } \ No newline at end of file