Adding material was using by default transient None material that has no properties assigned. If use accepted that type of material an attempt to write CalculiX input file was ending up with a crash. Using built-in None material prevents that situation. Reported-by: wmayer Signed-off-by: Przemo Firszt <przemo@firszt.eu>