PHP script to extract 3D .obj file from a .dwg/.dxf AutoCAD file using the Autodesk Forge API
Basicly the code from Autodesk's tutorial, pakaged into a single PHP script to be run from a webserver. Also does some error reporting and provides a download link, if the conversion has been successful.
The conversion takes some time and server resources. To prevent abuse, an optional password field is included.
This script uses the Autodesk Forge API, so you need to register or login first and then create an app. Insert your app's client ID and secret into the config section of the PHP script and you are good to go!