Index: development/Visualisatie_3D/Parametric_3D_models/MVX.json =================================================================== diff -u -r157 -r159 --- development/Visualisatie_3D/Parametric_3D_models/MVX.json (.../MVX.json) (revision 157) +++ development/Visualisatie_3D/Parametric_3D_models/MVX.json (.../MVX.json) (revision 159) @@ -56,6 +56,10 @@ "default": "Gallery", "source": "/CB_VW_ViewSection3/CB_VW_NeededFor3D/C_BOX_FrontType" }, + "HasSideStabiliser": { + "default": 0, + "source": "/CB_VW_ConfiguratorTAB/CB_VW_Afwerking/C_BOX_HasSideStabiliser.Bool" + }, "BomComponents": { "default": "##################################################################################################################", "source": "###################################################################################################################" @@ -125,6 +129,10 @@ "ShowCoverCapBackFixingGallery = (is(BackHeightFor3D, 'E') and is(SideType, 'Gallery')) ? 'true' : 'false'", "ShowCoverCapBackFixingBoxcap = (is(BoxSystemHeight, 'E') and is(BackHeightFor3D, 'M') and oneOf(SideType, 'Pure', 'BoxCap', 'BoxCover')) ? 'true' : 'false'", "ShowCoverCapBackFixing = (is(ShowCoverCapBackFixingGallery, 'true') or is(ShowCoverCapBackFixingBoxcap, 'true')) ? 'true' : 'false'", + "VARSECTIE = '**************************************SIDE STABILISER*****************************************' ", + "ShowSideStabiliser = is(HasSideStabiliser, 1) ? 'true' : 'false'", + "SideStabiliser_LockingPieceTranslationMatrix = ['270', '275'; '300', '280'; '350', '309'; '400', '344.5'; '450', '349'; '500', '373.5'; '550', '399'; '600', '424.5']", + "SideStabiliser_LockingPieceTranslation = lookup(SideStabiliser_LockingPieceTranslationMatrix, [['=', string(BoxSystemDepth)], ['#', 'depth']]).depth", "VARSECTIE = '***************************************GENERATE PRODUCTID****************************************' ", "ProductId_BoxSystemSide = concat('P-VIS-MVX.BoxSystemSide-', SideHeight, string(BoxSystemDepth))", "ProductId_BoxCap = concat('P-VIS-MVX.BoxCap-', string(BoxSystemDepth))", @@ -726,6 +734,93 @@ "z": "-BoxSystemDepth + 26 - ChipBoardThickness" }, "uv": "@cube scale(0.01)" + }, + { + "comment": "SideStabiliser Latch Left", + "if": "is(ShowSideStabiliser, 'true')", + "geometry": { + "pass": true, + "url": "P-VIS-MVX.SideStabiliserLatch" + }, + "translate": { + "x": "-SideDistanceBetweenBaseAndCabinetWall", + "y": "34", + "z": "-19" + }, + "uv": "@cube scale(0.01)" + }, + { + "comment": "SideStabiliser Latch Right", + "if": "is(ShowSideStabiliser, 'true')", + "geometry": { + "pass": true, + "url": "P-VIS-MVX.SideStabiliserLatch" + }, + "mirror": "x", + "translate": { + "x": "BaseWidth + SideDistanceBetweenBaseAndCabinetWall", + "y": "34", + "z": "-19" + }, + "uv": "@cube scale(0.01)" + }, + { + "comment": "SideStabiliser LockingPieceFront Left", + "if": "is(ShowSideStabiliser, 'true')", + "geometry": { + "pass": true, + "url": "P-VIS-MVX.SideStabiliserLockingPieceFront" + }, + "translate": { + "x": "-SideDistanceBetweenBaseAndCabinetWall", + "y": "34", + "z": "-19" + }, + "uv": "@cube scale(0.01)" + }, + { + "comment": "SideStabiliser LockingPieceFront Right", + "if": "is(ShowSideStabiliser, 'true')", + "geometry": { + "pass": true, + "url": "P-VIS-MVX.SideStabiliserLockingPieceFront" + }, + "mirror": "x", + "translate": { + "x": "BaseWidth + SideDistanceBetweenBaseAndCabinetWall", + "y": "34", + "z": "-19" + }, + "uv": "@cube scale(0.01)" + }, + { + "comment": "SideStabiliser LockingPieceBack Left", + "if": "is(ShowSideStabiliser, 'true')", + "geometry": { + "pass": true, + "url": "P-VIS-MVX.SideStabiliserLockingPieceBack" + }, + "translate": { + "x": "-SideDistanceBetweenBaseAndCabinetWall", + "y": "34", + "z": "-(SideStabiliser_LockingPieceTranslation + 19)" + }, + "uv": "@cube scale(0.01)" + }, + { + "comment": "SideStabiliser LockingPieceBack Right", + "if": "is(ShowSideStabiliser, 'true')", + "geometry": { + "pass": true, + "url": "P-VIS-MVX.SideStabiliserLockingPieceBack" + }, + "mirror": "x", + "translate": { + "x": "BaseWidth + SideDistanceBetweenBaseAndCabinetWall", + "y": "34", + "z": "-(SideStabiliser_LockingPieceTranslation + 19)" + }, + "uv": "@cube scale(0.01)" } ] } \ No newline at end of file