protected override void setJSON(JObject obj, BaseClassIfc host, HashSet<int> processed)
{
base.setJSON(obj, host, processed);
if (mMaterial > 0)
obj["Material"] = Material.getJson(this, processed);
obj["LayerThickness"] = mLayerThickness;
obj["IsVentilated"] = mIsVentilated.ToString();
setAttribute(obj, "Name", Name);
setAttribute(obj, "Description", Description);
setAttribute(obj, "Category", Category);
if (!double.IsNaN(mPriority))
obj["Priority"] = mPriority;
}