1 On the client side, that is, making a browser plug-in so that the browser can display CAD files 2 On the server side, convert CAD into pictures or flash files, and then reference them on the page Need to parse the composition of the CAD file and then follow the rules To put it simply, a CAD file is a file format defined by a company. It saves not graphics but the drawing rules of the graphics. When the program AutoCad opens the file, it reads the drawing rules described in the file to draw the pattern. After you understand the composition of the CAD file You can write your own code to draw the graphics (I have not studied the specific CAD graphics composition. You can use Notepad to open a CAD graphics exchange file.Dxf. You can see that this file is composed of layer descriptions and many point coordinates)
1 On the client side, that is, making a browser plug-in so that the browser can display CAD files
2 On the server side, convert CAD into pictures or flash files, and then reference them on the page
Need to parse the composition of the CAD file and then follow the rules To put it simply, a CAD file is a file format defined by a company. It saves not graphics but the drawing rules of the graphics. When the program AutoCad opens the file, it reads the drawing rules described in the file to draw the pattern. After you understand the composition of the CAD file You can write your own code to draw the graphics (I have not studied the specific CAD graphics composition. You can use Notepad to open a CAD graphics exchange file.Dxf. You can see that this file is composed of layer descriptions and many point coordinates)