2010 CALIFORNIA MECHANICAL CODE
Not sure about the occupancy in Picture 1.
Picture 1
802.7.4 Installation with Appliances Permitted by
Section 802.4.1.
802.7.4.1 Prohibited Use. Single-wall metal pipe
shall not be used as a vent in dwellings and residential
occupancies. [NFPA 54-09:12.8.4.1]
802.7.4.2 Single-wall metal pipe shall be used only
for runs directly from the space in which the appli-
ance is located through the roof or exterior wall to
the outer air. A pipe passing through a roof shall
extend without interruption through the roof
flashing, roof jacket, or roof thimble. [NFPA
54: 12.8.4.1]
And
TABLE 8-2
CLEARANCE FOR CONNECTORS
[NFPA 54: TABLE 12.8.4.4]
(6 in clearance required to the insulation)
Picture 2
802. 7 Single-Wall Metal Pipe[/b].
802.7.1 Construction. Single-wall metal pipe shall be
constructed of galvanized sheet steel not less than 0.0304
inch (0.7 mm) thick or of other approved, noncombustible,
corrosion-resistant material. [NFPA 54: 12.8.1]