DWG to DXF (libdxfrw)
Converts DWG file into DXF using libdxfrw
The code below uses the Toolbox SDK, which you can install with pip install toolbox-sdk.
Additional Python examples: using SDK, using Requests. If you prefer other programming language or need full API reference, check out Toolbox OpenAPI as well.
Docs
Converts DWG file into DXF using libdxfrw.
Inputs:
Source file in AutoCAD DWG format
-
Output format. Choose output encodings (Default is UTF-8):
UTF-8 (utf-8)
UTF-16 (utf-16)
Windows-1251 / CP1251 (windows-1251)
Windows-1252 / CP1252 (windows-1252)
ISO-8859-1 / Latin-1 (iso-8859-1)
Outputs:
DXF file.
Example:
Try the tool in action
Click on the Demo button above the tool form. The fields are filled in with demo values.
Click on the Run button.