After the welding process, protrusions occur at the gasket joints at the corners of the PVC frame, sash and door profiles. This causes various problems in glass installation. With this machine, the end surfaces of the gaskets are milled before welding and by ensuring a smooth connection at the corners, protruding gasket joining problems are eliminated