Index: development/Visualisatie_3D/Parametric_3D_models/MVX.json =================================================================== diff -u -r176 -r180 --- development/Visualisatie_3D/Parametric_3D_models/MVX.json (.../MVX.json) (revision 176) +++ development/Visualisatie_3D/Parametric_3D_models/MVX.json (.../MVX.json) (revision 180) @@ -64,6 +64,10 @@ "default": 0, "source": "/CB_VW_ViewSection3/CB_VW_NeededFor3D/C_BOX_IsSiphonBoxSystem.Bool" }, + "CrossGalleryQuantity": { + "default": 0, + "source": "/CB_VW_ConfiguratorTAB/CB_VW_Afwerking/C_BOX_CrossGalleryQuantity" + }, "HasDoubleCutOut": { "default": 0, "source": "/CB_VW_ViewSection3/CB_VW_NeededFor3D/C_BOX_CutOut.HasDoubleCutOut.Bool" @@ -195,6 +199,9 @@ "SideStabiliserSynchroLinkageOrigin = ((BaseWidth - SideStabiliserSynchroLinkageLength) / 2) - 6", "VARSECTIE = '**************************************BACK STEEL*****************************************' ", "BackSteelVisualCorrectionZ = 2", + "VARSECTIE = '**************************************CROSS GALLERY*****************************************' ", + "CrossGallerySeparationDistance = BaseDepth / (CrossGalleryQuantity + 1)", + "CrossGalleryLength = InternalWidthFor3D - 111", "VARSECTIE = '***************************************SIPHON CAP****************************************' ", "SiphonCap_Depth = 248", "CutOutData_LeftX_Width = (CutOutData_LeftX_Width_Customer > 0) ? CutOutData_LeftX_Width_Customer : CutOutData_LeftX_Width_Suggested", @@ -1123,6 +1130,70 @@ "z": "-(BaseDepth + ChipBoardThickness + 1 - SiphonCap_Depth)" }, "uv": "@cube scale(0.01)" + }, + { + "comment": "CrossGalleryConnector Left", + "for": [ + "i = 0", + "i < CrossGalleryQuantity", + "i = i + 1" + ], + "geometry": { + "pass": true, + "url": "P-VIS-MVX.CrossGalleryConnector" + }, + "material": "MaterialId_BoxSystemColour", + "translate": { + "x": "2.5", + "y": "SideHeightInMm", + "z": "-(CrossGallerySeparationDistance * (i + 1))" + }, + "uv": "@cube scale(0.01)" + }, + { + "comment": "CrossGalleryConnector Right", + "for": [ + "i = 0", + "i < CrossGalleryQuantity", + "i = i + 1" + ], + "geometry": { + "pass": true, + "url": "P-VIS-MVX.CrossGalleryConnector" + }, + "material": "MaterialId_BoxSystemColour", + "mirror": "x", + "translate": { + "x": "BaseWidth - 2.5", + "y": "SideHeightInMm", + "z": "-(CrossGallerySeparationDistance * (i + 1))" + }, + "uv": "@cube scale(0.01)" + }, + { + "comment": "Parametric CrossGallery", + "for": [ + "i = 0", + "i < CrossGalleryQuantity", + "i = i + 1" + ], + "use": { + "from": "Collection_GalleryFront_Contour", + "part": "P-VIS-MVX.GalleryFront", + "params": { + "length": "CrossGalleryLength" + } + }, + "material": "MaterialId_BoxSystemColour", + "uv": "@cube scale(0.01)", + "rotate": { + "y": 90 + }, + "translate": { + "x": 31.5, + "y": "SideHeightInMm", + "z": "-((CrossGallerySeparationDistance * (i + 1)) + 10.2)" + } } ] } \ No newline at end of file