Resin for molds and coatings