From FreeCAD Documentation
- Surface of the form displayed, unit size can be selected. 600.0 mm2
- Surface of the face displayed, unit size can be selected. 0.0 mm2
- Volume of the form displayed, unit size can be selected. 1000.0 mm3
- Unit , choice your unit.
- The gram unit mass can be chosen :
ton,quintal, kg, hg, dag, gram, dg, cg, mg, µg, ng, pg, fg, gr (grain), dr (drachm), oz (once), oz t (once troy),
lb t (livre troy), lb (livre av), st (stone), qtr (quarter), cwt (hundredweight), tonneau fr, ct.
- Weight of the form displayed, unit mass can be selected. 2.7 g
- Density of the material in kg by dm3 2.7000 kg (by dm3)
- Material Metal Nickel (Ni),8.27,10.0,adapt Price
- In beginning the macro search the file FCInfo_material.txt, if the file not exist, one file FCInfo_material.txt is created.
- The file is created with 10 types of material saved in this format.
- Title of material , Density on dm3 , Price on dm3 , text info on choice
- (4 fields separate by coma)
- Liquid Water (H2o),1,10.0,adapt Price
- Mater Beton,2.4,10.0,adapt Price
- Metal Aluminium (Al),2.7,10.0,adapt Price
- Metal Copper (Cu),8.96,10.0,adapt Price
- Metal Gold (Au),19.3,10.0,Gratis
- Metal Iron (Fe),7.87,10.0,adapt Price
- Metal Lead (Pb),11.35,10.0,adapt Price
- Metal Magnesium (Mg),1.43,10.0,adapt Price
- Metal Nickel (Ni),8.27,10.0,adapt Price
- Metal Pewter (Sn),7.29,10.0,adapt Price
- Metal Platinum (Pt),21.45,10.0,adapt Price
- Metal Silver (Ag),10.5,10.0,adapt Price
- Metal Sodium (Na),0.97,10.0,adapt Price
- Metal Titanium (Ti),4.4,10.0,adapt Price
- Metal Zinc (Zn),7.1,10.0,adapt Price
- Wood Beechwood,0.8,10.0,adapt Price
- Wood MDF,0.75,10.0,adapt Price
- Wood Mahogany,0.6,10.0,adapt Price
- Wood Oak,0.7,10.0,adapt Price
- Wood White pine,0.4,10.0,adapt Price
- New material or editing Metal Nickel (Ni),8.27,10.0,adapt Price
- you can modify or edit one new material in this format:
- Title, Density on dm3, Price on dm3, text info on choice
- (4 fields separate by coma)
- you can also edit the file in your favorite editor respecting the specific format
- you can save the file in a path desired with the variable : seTMaterialSavePathName
- by default the file is created in the macro path
- Delete 1/17 : delete the field displayed
- Save : save the modification or the new material