Preparation of nanocomposites based on PP and PA6 by direct injection molding