This is the Web2 client in the Solidworks PDM system, which can preview many 3D images on the web side. Let’s not consider the advanced problem of PDM. Today I will introduce how to integrate this function into your web page. Realize preview 3D format.
Through the request analysis of the web page and the comparison of the back-end server, it is found that the web version of edrawing uses the new scs format to transfer, and does not directly parse the original solidworks files on the web, which ensures the security of the data.
It uses an online service to convert files. The following figure is a screenshot of the request on the 3dcontentcentral website:
After publishing the web2 client, I found that there will be an eDrawingsWebViewer folder inside: there is a converted folder inside, and I researched again and
found a converted Exe file. There is a prompt directly under the cmd command, and the input format is imported. , And the output address can be converted into scs file.
After testing, this conversion tool can directly convert intermediate formats such as x_t step into scs files, which is still very powerful.
Finally, open main.html directly under the Site folder under the local deployment of iis, and enter the URL to display:
At present, it originally has a transit service, which needs to be handled by everyone. The service has not been thoroughly studied yet.
Below is a screenshot of the measurement