This is the backcover of the speedometer of the Husqvarna 401 svartpilen (probably also fit for 401 Vitpilen and 701)
To remove the original speedometer, you need to heat the rubber part to remove it and disconnect the electronics.
It is recommended to print with an SLA printer or use something to make the print waterproof.