Index: development/Visualisatie_3D/Parametric_3D_models/MVX.json =================================================================== diff -u -r159 -r160 --- development/Visualisatie_3D/Parametric_3D_models/MVX.json (.../MVX.json) (revision 159) +++ development/Visualisatie_3D/Parametric_3D_models/MVX.json (.../MVX.json) (revision 160) @@ -71,11 +71,16 @@ "HF_GalleryFront": { "default": "P-VIS-MVX.GalleryFront-Contour", "source": "dummy" + }, + "HF_SideStabiliser": { + "default": "P-VIS-MVX.SideStabiliser-Contour", + "source": "dummy" } }, "import": { "Collection_FrontPanel_Contour": "HF_FrontPanel", - "Collection_GalleryFront_Contour": "HF_GalleryFront" + "Collection_GalleryFront_Contour": "HF_GalleryFront", + "Collection_SideStabiliser_Contour": "HF_SideStabiliser" }, "parts": [ { @@ -131,8 +136,9 @@ "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_LockingPieceTranslationMatrix = ['270', '257'; '300', '264'; '350', '291'; '400', '326.5'; '450', '331'; '500', '355.5'; '550', '381'; '600', '406.5']", "SideStabiliser_LockingPieceTranslation = lookup(SideStabiliser_LockingPieceTranslationMatrix, [['=', string(BoxSystemDepth)], ['#', 'depth']]).depth", + "SideStabiliserSynchroLinkageLength = InternalWidthFor3D - 231", "VARSECTIE = '***************************************GENERATE PRODUCTID****************************************' ", "ProductId_BoxSystemSide = concat('P-VIS-MVX.BoxSystemSide-', SideHeight, string(BoxSystemDepth))", "ProductId_BoxCap = concat('P-VIS-MVX.BoxCap-', string(BoxSystemDepth))", @@ -771,6 +777,7 @@ "pass": true, "url": "P-VIS-MVX.SideStabiliserLockingPieceFront" }, + "material": "MT_Kunststof_OG", "translate": { "x": "-SideDistanceBetweenBaseAndCabinetWall", "y": "34", @@ -785,6 +792,7 @@ "pass": true, "url": "P-VIS-MVX.SideStabiliserLockingPieceFront" }, + "material": "MT_Kunststof_OG", "mirror": "x", "translate": { "x": "BaseWidth + SideDistanceBetweenBaseAndCabinetWall", @@ -800,6 +808,7 @@ "pass": true, "url": "P-VIS-MVX.SideStabiliserLockingPieceBack" }, + "material": "MT_Kunststof_OG", "translate": { "x": "-SideDistanceBetweenBaseAndCabinetWall", "y": "34", @@ -814,13 +823,128 @@ "pass": true, "url": "P-VIS-MVX.SideStabiliserLockingPieceBack" }, + "material": "MT_Kunststof_OG", "mirror": "x", "translate": { "x": "BaseWidth + SideDistanceBetweenBaseAndCabinetWall", "y": "34", "z": "-(SideStabiliser_LockingPieceTranslation + 19)" }, "uv": "@cube scale(0.01)" + }, + { + "comment": "Parametric SideStabiliser GearRack Left", + "if": "is(ShowSideStabiliser, 'true')", + "use": { + "from": "Collection_SideStabiliser_Contour", + "part": "P-VIS-MVX.SideStabiliserGearRack", + "params": { + "length": "BoxSystemDepth + 10" + } + }, + "material": "MT_Kunststof_OG", + "mirror": "z", + "translate": { + "x": "55.4 - SideDistanceBetweenBaseAndCabinetWall", + "y": "34 - 47", + "z": "-19 + 15" + }, + "uv": "@cube scale(0.01)" + }, + { + "comment": "Parametric SideStabiliser GearRack Right", + "if": "is(ShowSideStabiliser, 'true')", + "use": { + "from": "Collection_SideStabiliser_Contour", + "part": "P-VIS-MVX.SideStabiliserGearRack", + "params": { + "length": "BoxSystemDepth + 10" + } + }, + "material": "MT_Kunststof_OG", + "mirror": "xz", + "translate": { + "x": "BaseWidth - 55.4 + SideDistanceBetweenBaseAndCabinetWall", + "y": "34 - 47", + "z": "-19 + 15" + }, + "uv": "@cube scale(0.01)" + }, + { + "comment": "SideStabiliser BridgeBlock Left", + "if": "is(ShowSideStabiliser, 'true')", + "geometry": { + "pass": true, + "url": "P-VIS-MVX.SideStabiliserBridgeBlock" + }, + "translate": { + "x": "-SideDistanceBetweenBaseAndCabinetWall", + "y": "34", + "z": "-(BoxSystemDepth + 19)" + }, + "uv": "@cube scale(0.01)" + }, + { + "comment": "SideStabiliser BridgeBlock Right", + "if": "is(ShowSideStabiliser, 'true')", + "geometry": { + "pass": true, + "url": "P-VIS-MVX.SideStabiliserBridgeBlock" + }, + "mirror": "x", + "translate": { + "x": "BaseWidth + SideDistanceBetweenBaseAndCabinetWall", + "y": "34", + "z": "-(BoxSystemDepth + 19)" + }, + "uv": "@cube scale(0.01)" + }, + { + "comment": "SideStabiliser Pinion Left", + "if": "is(ShowSideStabiliser, 'true')", + "geometry": { + "pass": true, + "url": "P-VIS-MVX.SideStabiliserPinionLeft" + }, + "translate": { + "x": "-SideDistanceBetweenBaseAndCabinetWall", + "y": "34", + "z": "-(BoxSystemDepth + 19)" + }, + "uv": "@cube scale(0.01)" + }, + { + "comment": "SideStabiliser Pinion Right", + "if": "is(ShowSideStabiliser, 'true')", + "geometry": { + "pass": true, + "url": "P-VIS-MVX.SideStabiliserPinionRight" + }, + "translate": { + "x": "BaseWidth + SideDistanceBetweenBaseAndCabinetWall", + "y": "34", + "z": "-(BoxSystemDepth + 19)" + }, + "uv": "@cube scale(0.01)" + }, + { + "comment": "SideStabiliser SynchroLinkage", + "if": "is(ShowSideStabiliser, 'true')", + "cylinder": { + "start": { + "x": "(BaseWidth - SideStabiliserSynchroLinkageLength)/2 - 6", + "y": "-3.5", + "z": "-(BoxSystemDepth + 0.6)" + }, + "end": { + "x": "(BaseWidth + SideStabiliserSynchroLinkageLength)/2 - 6", + "y": "-3.5", + "z": "-(BoxSystemDepth + 0.6)" + }, + "radius": 5, + "slices": 16 + }, + "material": "MT_Blum_Kunststof_Wit" } ] } \ No newline at end of file