So i've made a component in solidworks, saved it as stl and imported it into blender. Followed a guide to apply a jpg image on the surface of the model. I got it to work on models that i created from scratch in blender, but not imported models.
went into UV editing and the mesh from the imported model wont show up ontop of the texture image like it does with the models created in blender.
Here is the mesh of the model i've imported. If i select the other model instead that i created in blender, it shows up as expected on the picture to the left.