Actual effect (refer to another project of mine: PCIE to MXM adapter card )
0. This project has nothing to do with the PCB photo_included generation script , but if you like, you can regard it as an upgraded version of that project.
1. Windows compiled program: Baidu network disk extraction code: LCNB
If you feel that Baidu Netdisk is too slow, you can download the volume compressed package in the project attachment. Note: Both files must be downloaded at the same time, placed in a directory and then decompressed! ! !
2. The source code will be made public after it is compiled.
3. When the image is too large (such as 1000.000mm @ 1200DPI), the automatic calculation threshold will fail. Please set it manually. Of course, for normal conversions it should be fine.
(First you have to consider whether the computer can handle it)
4. If you think it’s good, please give it a like and leave. Thank you!
2022.2.8-v0.2: Slightly optimized running speed and memory usage, added support for more image formats; fixed a BUG that may cause crashes
Use two programs to convert the same picture (the line width of the comparison program is set to 1, and the DPI of this program is set to 300), and the lower area is for comparison.
As you can see, the results are not much different.
Let's take a picture as an example.
Open the program and use File --> Open Image or Ctrl + O to select the image (Chinese paths are supported).
After the picture is imported, it will be displayed in the preview window on the left in grayscale mode by default. Use the scroll wheel to zoom in and out of the picture, and drag the left button to move the picture.
Check "Automatic Processing", and the program will automatically enhance the edges and overlap them with the original image. Changing the stroke width will change the thickness of the edges, and changing the noise reduction level will change the size of the noise.
Usually the preset values can meet the needs of most pictures.
Set the remaining parameters:
DPI: Control the fineness of the image (recommended 300-600)
Maximum size: in mm (range 1.000-1000.000), accurate to three decimal places. Choose one width/height, and the program will scale the image proportionally.
After the setting is completed, click "Auto Set" and the program will automatically calculate a threshold. If you are not satisfied, you can manually adjust it.
After the threshold is set, you can choose to check Invert or Mirror.
After filling in the parameters, click "Start Conversion" and select the location to save the file.
Usually the conversion will be completed within 1s (under i9-11900K).
In addition, processed pictures can be exported at any time.
File-->Open-->EDA, select the file just saved.
There is only one image primitive in the converted package, and the origin is located in the upper left corner.
Create a new PCB file and drag the package to the appropriate location.
Open the 3D preview and enjoy it!
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet