Modifying it a bit to fit the diamond spinner's purposes....
Secrete Crystal (Ex): A diamond spinner can secrete a liquid that quickly hardens into a crystalline substance. A diamond spinner can produce up to 50 (?) pounds of crystal each day, which may be used as raw materials in the creation of any item that could normally be crafted from wood, stone, or metal. Multiple diamond spinners can combine their crystal to create larger objects (such as the walls of their hives). A weapon or armor created with this crystal functions exactly the same as its wood, stone, or metal counterparts, except the crystal has hardness 8 and 25 hit points per inch of thickness. Crystalline items may be enhanced my magic as if they were a wood, stone, or metal item.
A typical hive wall is one-foot thick, having 300 hit points per 10-ft.-by-10-ft. section. The break and climb DCs are both 30. Crystalline walls and items are more susceptible to shatter spells (see the shatter spell description) and similar effects.