- cross-posted to:
- cad@lemmy.world
- cross-posted to:
- cad@lemmy.world
I’ve managed to do reverse engineering of circuit boards using GIMP and rough alignment of layers using images like the one pictured. I want to use images to reverse engineer parts in CAD, but the minor lens distortion of a camera on a phone at ~20cm high on top of a stack of objects to keep it eyeballed flat is not enough. The result is off in multiple planes. There are minor errors in my curves in the transparent CAD part pictured, but the hole pattern is correct. The picture has been calibrated to 20mm against the ruler. Any suggestions on how to make this usable for replicating the ellipse that crosses the holes ±0.05mm?
I would use a fixed document camera with a height adjustable holder/desk for the actual piece of the board. The former are often fairly high quality in terms of resolution at their fixed focal length as long as you have good lightning and can often be found for cheap used. They definitely will also have lens distortion,but it should be easy to create your own profile to counteract this when doing a few calibration runs. (I think there I came around a tool for that once,but can’t find it now)
The height adjustable holder/desk makes it fairly easy to always keep the actual image plane in the same distance so your profile once calibrated would fit, additionally you can use it to bring the pane of the object in the right angle to towards the camera if it isn’t “flat” enough. I personally would try to adopt a 3D milling table from AliExpress for it, put it in a box below the actual image pane and use a digital angle meter to make sure it’s actually flat
With that you should be able to achieve an accuracy below 0.1mm at least