Rexnord Corp. is pressing ahead with plans to close a factory in Indianapolis and shift many of those jobs to Mexico despite a public shaming from President-elect Donald Trump.

Milwaukee-based Rexnord, a maker of ball bearings and valves, said in a notice Indiana officials received on Friday that it would begin laying off the factory’s approximately 350 employees around Feb. 13.

The layoffs are expected to continue through June, Rexnord said in a notice the company is required by law to provide to employees ahead of their termination.

Chuck Jones, president of a United Steelworkers local that represents the company’s workers in Indianapolis, said Rexnord has dispatched employees to the Indianapolis plant to learn how to do the work of those who will lose their jobs.

“People are upset,” Mr. Jones said. “It’s a slap in the face.”