Combustible materials shall not be placed within 50 millimeters of fireplace, smoke chamber, or chimney walls when built entirely within a structure, or within 25 millimeters when the chimney is built entirely outside the structure. Combustible materials shall not be placed within 150 millimeters of the fireplace opening. No such combustible material within 300 millimeters of the fireplace opening shall project more than 3 millimeters for each 25 millimeters clearance from such opening. No part of metal hoods used as part of a fireplace, barbecue or heating stoves shall be less than 400 millimeters from combustible material. This clearance may be reduced to the minimum requirements set forth in the Code.