Method for producing an element (40, 81, 82, 128', 128", 131, 164, 164') with both pervious and non-pervious parts, wherein the pervious part is integrally formed with the impervious part, wherein the method comprises a three-dimensional printing process comprising the steps of: providing a layer of granular material, directing a laser beam at printing positions on or in said layer of granular material using first or second set of printer settings of said three-dimensional printer, wherein the set of printer settings of the printing process are changed from the first set of printer settings to the second set of printer settings, or vice versa, during the printing of said layer, wherein the first set of printer settings are configured such that during said printing process, particles of said granular material are partially fused together to form a material wherein a space between the particles is at least partially maintained to form the pervious part (8, 13, 23, 33, 43, 51", 61'', 85, 86, 125', 125", 167', 172, 182), wherein the second set of printer settings are configured such that during said printing process, particles of said granular material are fused together to form a material wherein a space between the particles of the granular material is substantially removed to form the impervious part (9, 12, 22, 32, 44, 44', 51, 51', 61', 87, 88, 104, 124', 124'', 133, 135, 166', 174, 184), wherein the first set of printer settings is configured to obtain a pervious part (8, 13, 23, 33, 43, 51", 61", 85, 86, 125', 125'', 167', 172, 182) in which the space between the particles in the pervious part (8, 13, 23, 33, 43, 51", 61", 85, 86, 125', 125'', 167', 172, 182) is at least partially interconnected to allow a fluid (123', 127", 129') to flow through the pervious part (8, 13, 23, 33, 43, 51", 61'', 85, 86, 125', 125'', 167', 172, 182), and such that the outer surface (8, 25, 39, 47, 122', 122", 173, 183) of the pervious part (8, 13, 23, 33, 43, 51", 61", 85, 86, 125', 125", 167', 172, 182) provides a non-stick surface, and characterized in that the first printer settings are configured such that the pervious part (8, 13, 23, 33, 43, 51", 61", 85, 86, 125', 125", 167', 172, 182) comprises material between pores with a thickness smaller than a spot diameter of the laser beam at the printing position. providing a layer of granular material, directing a laser beam at printing positions on or in said layer of granular material using first or second set of printer settings of said three-dimensional printer, wherein the set of printer settings of the printing process are changed from the first set of printer settings to the second set of printer settings, or vice versa, during the printing of said layer, wherein the first set of printer settings are configured such that during said printing process, particles of said granular material are partially fused together to form a material wherein a space between the particles is at least partially maintained to form the pervious part (8, 13, 23, 33, 43, 51", 61'', 85, 86, 125', 125", 167', 172, 182), wherein the second set of printer settings are configured such that during said printing process, particles of said granular material are fused together to form a material wherein a space between the particles of the granular material is substantially removed to form the impervious part (9, 12, 22, 32, 44, 44', 51, 51', 61', 87, 88, 104, 124', 124'', 133, 135, 166', 174, 184), wherein the first set of printer settings is configured to obtain a pervious part (8, 13, 23, 33, 43, 51", 61", 85, 86, 125', 125'', 167', 172, 182) in which the space between the particles in the pervious part (8, 13, 23, 33, 43, 51", 61", 85, 86, 125', 125'', 167', 172, 182) is at least partially interconnected to allow a fluid (123', 127", 129') to flow through the pervious part (8, 13, 23, 33, 43, 51", 61'', 85, 86, 125', 125'', 167', 172, 182), and such that the outer surface (8, 25, 39, 47, 122', 122", 173, 183) of the pervious part (8, 13, 23, 33, 43, 51", 61", 85, 86, 125', 125", 167', 172, 182) provides a non-stick surface, and characterized in that the first printer settings are configured such that the pervious part (8, 13, 23, 33, 43, 51", 61", 85, 86, 125', 125", 167', 172, 182) comprises material between pores with a thickness smaller than a spot diameter of the laser beam at the printing position.