a method and apparatus for producing continuous lengths of compression - molded material containing thermoplastic resin . discrete lengths of extruded material are indexed through a compression mold . the mold forms , hardens , and integrally joins two successive extruded segments of material . a first molded segment is indexed forward leaving a trailing portion in the mold . a subsequent segment is extruded into the mold , and is integrally joined to the trailing portion by compressing the mold . subsequent segments can be joined to produce a continuous profiled length formed from recycled thermoplastic material , while avoiding damage and downtime caused by contaminants in recycled material .