Index: development/Visualisatie_3D/Parametric_3D_models/MVX.json =================================================================== diff -u -r173 -r174 --- development/Visualisatie_3D/Parametric_3D_models/MVX.json (.../MVX.json) (revision 173) +++ development/Visualisatie_3D/Parametric_3D_models/MVX.json (.../MVX.json) (revision 174) @@ -9,7 +9,7 @@ "source": "/CB_VW_ConfiguratorTAB/CB_VW_Colours/C_MVX_BaseColour" }, "InternalWidth": { - "default": 564, + "default": 564.01, "source": "/CB_VW_ViewSection3/CB_VW_NeededFor3D/C_BOX_InternalWidth" }, "BoxSystemHeight": { @@ -104,6 +104,14 @@ "default": 160, "source": "/CB_VW_ConfiguratorTAB/CB_VW_CutOut.Siphon-or-Sink/CB_VW_Section_NoTitle/CB_GRID_5/C_BOX_CutOutData.CapZ2.Width_ReadOnly" }, + "SuggestedWidthIsApplicable": { + "default": 0, + "source": "/CB_VW_ViewSection3/CB_VW_NeededFor3D/C_BOX_SugWd.IsApplicable.Bool" + }, + "HasValidDimensions": { + "default": 0, + "source": "/CB_VW_ViewSection3/CB_VW_NeededFor3D/C_BOX_Visu3D.HasValidDimensions" + }, "BomComponents": { "default": "##################################################################################################################", "source": "###################################################################################################################" @@ -143,7 +151,8 @@ }, "var": [ "VARSECTIE = '**************************************GENERAL*****************************************' ", - "InternalWidthFor3D = InternalWidth", + "IsValid_CabinetWidth = is(IsSiphonBoxSystem, 1) ? ((is(HasValidDimensions, 1) or is(SuggestedWidthIsApplicable, 1)) ? 'true' : 'false') : is(InternalWidth, 564.01) ? 'false' : 'true'", + "InternalWidthFor3D = is(IsValid_CabinetWidth) ? InternalWidth : is(IsSiphonBoxSystem, 1) ? 1200 : 564", "BaseWidth = InternalWidthFor3D - 51", "BaseDepthForWood = BoxSystemDepth - 26", "BaseDepthForSteel = BoxSystemDepth - 22",