A teaching model for truss structures