Xiaomi Yi Action adapter M12x0.5 to C mount

Description
I created this adapter model to help anyone who still owns a Xiaomi Yi Action Cam 1080p today adapt it for professional or work-related use.
In my case, I designed it to adapt a 100x magnification lens for use as an SMD soldering microscope.
Please note that I have not tested it yet, so its proper fit or adaptation is not guaranteed, and I may need to resolve this once I have the chance to test it.
To avoid leaving the camera's internals exposed, the adapter diameter is 16mm.
If you remove the black trim from the front cover, clear away the glue drops from the stock lens, and unscrew it, you can install this adapter for an M12 male to C-mount adapter ring. This allows you to adapt almost any existing lens to this camera which, despite its age, features a quality Sony CMOS sensor worthy of a second life.
#######################################
#######################################
Technical Recommendations for 3D Printing
1. Thread Precision (The most critical point):
Thread Type: M12 x 0.5 (Metric Fine Pitch / S-Mount).
Thread Pitch: It is 0.5 mm. This is a very fine thread (pen-style). If the printer is not well-calibrated or uses a standard nozzle diameter (0.4 mm), the thread might not be functional.
2. Recommended Materials (By order of preference):
Priority 1 (Resin / SLA): "Tough" or "ABS-like" resin is recommended (standard resin can be too brittle to support the weight of the lens).
Priority 2 (Filament / FDM): Only if the printer is highly tuned. PETG or ABS.
Note: No PLA, as the camera heats up and the weight of the microscope lens will eventually deform or break the plastic neck.
Color: Must be Opaque Black (essential to prevent internal light reflections that ruin the image).
3. Configuration Parameters:
Layer Height: Maximum 0.1 mm (0.05 mm is ideal). With 0.2 mm layers, the thread will not fit.
Infill: 100% (Solid). The part must be solid to withstand mechanical stress and the leverage exerted by the lens.
Supports: The design is intended to be printed without supports on the male thread, but this depends on the preferred orientation.
Tolerance Adjustment: It is recommended to check the "Horizontal Expansion" or "XY Size Compensation" settings so the thread does not come out "oversized" and block the threading.